SAP Client Copy

This is steps is applicable only if you want to do a client copy on the same server.
1- Go to transaction Code : SCC4
2- Select the client you will copy from and click on the copy icon .
3-Go to (Tc: RZ10) and choose the profile (Instance profile) and version (12) then click edit
change the parameter name ( login/no_automatic_user_sapstar … and set value = 0 )
4- Restart the service.

5- Login in the coped client , with User : SAP* and Password : PASS
6-Go to (tc: SCCL) copy from (client 000) , fill other parameters -> with (SAP_ALL) and choose from where you want to copy the client
7- Schedule the job in background.

The following link is helpful :




Are you tired from SAP Security Message?


SAP Security pop up message appears when you try to export any report to your desktop might be annoying for many of us. To avoid this message please follow below steps.

Image 1 :Security Message

1- Go to you SAP GUI login screen. Click on the upper left icon as shown below (Image 2) ,then select options…

Image 2 : Login Options

2- Below screen will appear , from the left side select “Security” then Select “Security Settings” .

3- from the right side change status from Customized to “Disabled” as shown below (Image 3).

Image 3 : Security Screen

4- Click Apply and Ok.

5- You will need to close all open Windows and restart SAP GUI for changes to reflect.

Done …

How to Translate SAP Infotype Screen

  1.    Run transaction PA30/PA20, take your infotype, click on the field, choose F1, check technical details: program name, field name and screen.
  2.  Run Screen Painter SE51, choose a program with screen number. Usually program name for infotype is MP000100 (for infotype 0001) and screen number 2000.
  3.  Show lauout of your screen and next double click on the field. You should see window with Atributes. Check if your field has choosen “From dict.” If yes you have to translate data element if not you have to translate screen painter text.
  4.  Run transaction SE63 translation. Choose Translation\ABAP Object\ Short Text\ [S3] ABAP Texts\SCRT Screen Painter Texts.

–          In the Object field inter the following Object name : MP900500                                2000


Which path to choose depands on point 3. Then in first case you have to enter name of the data element or progam name and screen number. Then you have to choose from language to language. I think that in your case you should choose English->English.
5. Change or translate your field names from orginal to target. Save

7. To include the changes in a request use program RS_LXE_RECORD_TORDER


8. Don’t forget to activate the screen in order to make the changes affect.

Exporting / Importing SAP Output Devices

Exporting Steps:

1- Go to transaction code : “SPAD

2- Choose the top menu “Utilities ->  For output devices -> Export Devices”.

Or from tc: “se38” , use program name “RSPOXDEV“.

3- Enter the file name at the field “Export/Import file name” . ex: “C:\temp\ PDF”

4-Select the radio button “Frontend computer” in order to download the file to your pc.

5- Choose radio button “Export“.

6- Choose Export Printer configuration.

7- At the output Device field ,enter the output device name you want to export. ex: “PDF”

8- Press Execute and you will have the file in the selected destination .

Importing Steps :

1- Go to transaction code : “SPAD

2- Choose the top menu “Utilities ->  For output devices -> Import Devices”.

Or from tc: “se38” , use program name “RSPOXDEV“.

3- Enter the file name with destination at the field “Export/Import file name” . ex: “C:\temp\ PDF

4- Choose radio button “Import

5- Select the check box “Perform Import (Unicode)

6- Press Execute .

7-Go back and check that the file is now appear in your output devices .


Summation in SAP Script

To sum values in sap script, I did the following:

1-      Go to se38

2-      Create a program with type subroutine pool

3-      Add the following function to your program :

form calc_sum TABLES in_tab  STRUCTURE itcsy

out_tab STRUCTURE itcsy.

data: Sum_kwert LIKE komvd-kwert.

Read Data into internal table (in_tab)


CHECK sy-subrc = 0.

(your variable name) = in_tab-value. “Take the value from the internal table into a variable

 “Do your Calculation here , for example summation .

 “Pass the calculated value to the script


CHECK sy-subrc = 0.

out_tab-value = (Your Calculated Value).

MODIFY out_tab INDEX sy-tabix .

endform.                    “calc_sum

Then open your SAP Script , right click on the main window then choose edit text
Then open your SAP Script, right click on the main window then choose edit text and add the following code :

/E                         Sum_Line

/:                            DEFINE &KOMVD_KWERT& = &KOMVD-KWERT&

/:                            DEFINE &SUM_KWERT&

/:                            PERFORM CALC_SUM IN PROGRAM Z_LVSKOMMIL1_PROG

/:                            USING &KOMVD_KWERT&

/:                            CHANGING &SUM_KWERT&

/:                            ENDPERFORM