Skip to content

Posts from the ‘4. PP’ Category

22
Feb
SAP Tricks

Execute a Function Module without using SE37

A number of companies restrict the execution of function modules in quality, pre-prod and prod environments, for good reason. Therefore you may find you do not have access to the transaction code SE37.  Generally experienced developers may however have access to SE38.

So how do you execute or test a function module in a system/client but wish to get around the authorization issue? Simply use SE38 with program RSFUNCTIONBUILDER.

TIP – You can sometimes use the same technique by using SE93 with the problem transaction and using the program name however do not expect to be able to bypass all authorizations.

30
Nov
SAP Tricks

Currency and Decimal Places in SAP

The number of decimal places varies for currencies. Currencies which do not have two decimal places must be defined in SAP in table TCURX (decimal places for currency codes).

You can maintain this table in the IMG as follows: SAP Customizing Implementation Guide–>SAP NetWeaver–>General Settings–>Currencies–>Set Decimal Places for Currencies. (Transaction code Oy04)

Never delete a currency or change the decimal place value of a currency in SAP.

Some common Customizing settings for table TCURX:

ISO Currency Decimal places
Code
————————————————————————

ADP Andoran Peseta 0
AFA Afghani Afghani 0
BEF Belgian franc 0
BHD Bahraini dinar 3
BIF Burundi franc 0
BYB Belorussian rubel (old) 0
BYR Belorussian rubel (new) 0
CLP Chilean peso 0
COP Columbian peso 0
DEM3 (Internal) German Mark (3 Dec.) 3
DJF Djibouti franc 0
ECS Ecuadorian sucre 0
ESP Spanish peseta 0
GNF Guinea franc 0
GRD Greek drachma 0
HUF Hungarian forint 0
IDR Indonesian rupiah 0
IQD Iraqui dinar 3
ITL Italian lira 0
JOD Jordan dinar 3
JPY Japanese yen 0
KMF Comoros franc 0
KRW South Korean won 0
KWD Kuwaiti dinar 3
LAK Laos new kip 0
LUF Luxembourg franc 0
LYD Libyan dinar 3
MGF Madagascan franc 0
MZM Mozambique metical 0
OMR Omani rial 3
PTE Portugese escudo 0
PYG Paraguay guarani 0
ROL Roumanian Lei 0
RWF Rwanda franc 0
TJR Tadzhikistani rubel 0
TMM Turkmenistani manat 0
TND Tunesian dinar 3
TPE Timor escudo 0
TRL Turkish lira 0
TWD New Taiwan dollar 0
UGX Uganda shilling 0
USDN (Internal) US Dollar (5 dec.pl.) 5
VND Vietnamese dong 0
VUV Vanuata vatu 0
XAF CFA Franc BEAC 0
XOF CFA Franc BCEAO 0
XPF CFP Franc 0

The contents of this table is only delivered with new installations of SAP and never upgraded.

For upgrade installations, new or changed contents of Table TCURX are not delivered.

Currency codes and decimal places for currency codes are defined in ISO standard 4217. For the specification of decimal places for currency codes, SAP uses this ISO standard.

27
Jun
SAP Tricks

Functional Domain Tables

Here are a list of tables which you may find useful related to their domain.

Read more »

26
Apr
SAP Tricks

SM12 – Lock Entries Tips

If you check SM12 you may find some lock entries – this is not a problem. Locked entries are required in standard SAP processing. In most instances the entry will remain in SM12 for a few seconds milliseconds, however they could remain in SM12 for a lot longer depending on the logical unit of work.

Factors which can impact the entry in SM12:

  • Sizing and performance of the enqueue server.
  • Sizing and performance of the application server/number of available processing sessions. (indirectly related)
  • Program logic being executed on the application server.

What you may not know is that there is a hidden menu path for SM12 analysis. To activate this menu path you can do the following:

Run SM12, then enter OK code “test”. You will now see the top menu path has included a new Menu Option labelled “Error Handling”.

This menu option has many parameters and test functions which you can use to analyse the enqueue and dequeue processes.

If you require advice on how to use this new functionality you can refer to OSS note 5424 which is the SM12 FAQ! Success!

14
Apr
SAPTricks

Work Faster in the IMG – Restrict Selections

It is possible you may be in a configuration screen which either has too many entries from which you wish to select to analyse, or you may need to select specific entries based upon values  which are not part of the key of the table/configuration screen.

You could navigate to the table and do checks in SE16N or SQVI etc. Or…… the next time you are in a configuration node of the IMG, try the following tip:………

Select the following from the Top Menu Navigation Bar: Selection–>By Contents

Then select the Fields you require to filter the configuration entries.

 

5
Jan
SAP Tricks

Transaction – CUUPDMV – Material Variant update

One can use transaction CUUPDMV or report RCUUPDMATVAR via SA38 to update the material variants after a model change.

Usage of the Report

A configuration model was changed. For example, a new characteristic was included in a class and this characteristic is analyzed via object dependencies. Alternatively, object dependencies are changed and calculated characteristic values change as a result. At the same time, many material variants, which would now have to be changed, exist in order to adjust the stored configurations to the new model.  The system sees a material variant as a product variant of a configurable material whose characteristic values are already defined in the material master record. It is therefore treated as a stock material. In principle, the configurations of the material variants may be updated manually by executing transaction MM02 and calling the configuration in this case. An alternative is to execute CUUPDMV to update the material variants.

23
Dec
SAP Tricks

Command Line “OK-Codes”

Direct call of transactions, session handling:
/nxxxx

  • This terminates the current transaction, and call transaction “xxxx”, for example, “sa38″ for reporting.

/n

  • This terminates the transaction. This generally corresponds to going back with F15.

/nend

  • This terminates all separate sessions and logs off (corresponds to “System -> Log off”).

/nex

  • This terminates all separate sessions and logs off immediately (without any warning).

/oxxxx

  • This opens a new session and starts transaction xxxx in this session.

/o

  • This lists existing sessions and allows deletion or opening of a new session.

/i

  • This terminates the current session (corresponds to “System -> End session”).

/i1  ,  /i2  ,…

  • This terminates the session with the specified number.

.xyzw

  • “Fast path”: “xyzw” refers to the underlined letters in the menus. This type of navigation is uncommon and is provided more for emergencies (such as a defective mouse).

Background input:

The following commands can be entered in correction mode (“Process in foreground” or “Display errors only”) when processing a background input session: Read more »

3
Sep
SAP Tricks

SAP Tips – Content of database relevant to configuration of objects

Should you wish to see the tables and information extracted from them for a configured item in a sales document you can use the transaction code:

CUTABLEINFO.

Read more »

24
May
SAP Tricks

Variant Configuration Tips

The SAP easy access Menu for most variant configuration parameters can be executed with transaction CU00.

Configuration simulation can be run with CU50.
To check characteristics and values of a configured material use CU80.

Transaction PMEVC can be used to analyse the configuration model for a product. (You can simulate a configuration from here too.) Read more »