SAP Tricks #1

Hi Guys ,

I will give you table of most popular and famous SAP shortcuts and Tricks , Here you go :

Command Description
/n Exit any tcode and go to the main SAP screen
/nend  Close all sessions and logoff
/bend  Cancel a batch input foreground process
/n+Tcode  Call the transaction Tcode in the same session . Ex./npa30
/o  Generate a session list
/o+tcode  Open a transaction tcode in an new session
/i  Close the current session
/h  Turn the debug mode on
/nex Exit SAP
CTRl+Y copy any text from the screen

Please share any shortcuts or tricks you Know.

To be continued …


How can I log access to sensitive HR Infotypes in SAP HCM?

Tracking access and maintenance of particularly sensitive infotypes is good practice as part of an overall Governance, Risk and Compliance strategy and can be achieved using infotype audit logs and the infotype logging report.

You configure the PA audit log in the following tables:

HR Documents: Infotypes with Documents (V_T585A)
HR Documents: Field Group Definition (V_T585B)
HR Documents: Field Group Characteristics (V_T585C).

These tables are displayed via program RPUAUD00 which can be executed using either of the following transactions:

S_AHR_61016380 – Logged Changes in Infotype Data
S_ALR_87014081 – Logged Changes in Infotype Data

PD infotype changes can also be logged by configuring the following table:

Activate Change Documents (T77CDOC_CUST.)

The PD audit log can track changes to infotypes 1000, 1001, and 1002. The results are displayed with program RHCDOC_DISPLAY which does not currently have a standard delivered transaction attached.

More information on the infotype logging report is available in the SAP help.

No batch input data for screen SAPMH5A0 5000 Message no. 00344

I was trying to upload some relationships data using Transaction code “PP01” and i’ve got that error “No batch input data for screen SAPMH5A0 5000 Message no. 00344” . After many many trials recreating the LSMW program and rerecording i decided to do a very quick search on that error and that was what i have found.

  • While executing the upload program i found the relationship infotype is not being selected and that was the main cause for the error (as shown below) :


So I have to use an alternative screen which gives me the ability to enter the infotype (1001- Relationship)  as a code not by selection as you do it in Tcode “pp01”.

  • That’s why i used Transaction code “PP02” to record the program and that perfectly solved my problem.

Done !

How to Compensate Employee Overtime

I’ve spent a long period of time searching for this technique , and finally i decided to document it as i forget it once completing the project 😀 .

Here’s the steps needed to calculate overtime rules :
1- Define Generation Rules
2-Set Time Type Determination
3-Modify Feature MODT
4-Set Valuation bases , to compensate the overtime number of hours.

How to Transport a Request between 2 Servers

1- Go to TC : se01
2- Select your Request and Press f9
3- Go to TC : STMS
4- Press F5
5- select the server which you will trnsport your request to , ex.QAS
6- Press F5 again
7-Select your request by pressing F9
9- Press Ctrl+ F11
10 – Select Immediate and in Options tab select All
Then Press Enter.

Notes: This Task seems so simple but for beginners it so difficult , so i decided to add it to my post .
Hope everything is clear and benefcial.

SAP Servers don’t appear while login into BW

While working with crystal reports , i needed to login to BW server in order to select the query i’ve created.

Unfortunately i didn’t find any server , although all the servers appear at the SAP GUI and i can access them normaly.

The solution to this problem may be one of the following :

1- Check that your saplogon.ini is exist at the windows folder, if not then search your computer for the saplogon.ini file and paste it in windows folder.

2- Right click on your computer – > Properties -> advanced -> then choose environment variables

in the top area ” User Variable for (user_name)” , add the following  variable

Variable name : SAPLOGON_INI_FILE

variable value : C:\Users\(user_name)\AppData\Roaming\SAP\Common

In the below area (System variables)

Choose Variable name : Path then select “Edit”

in the variable value add the following path :

;C:\Users\user_name\AppData\Roaming\SAP\Common (the same value at the top section)

Then press Ok.

Hope it works fine with you ISA.