Example 2: KSB1

Previous  Home  Next

Let us take another Excel report export example of KSB1

1.Start recording KSB1 from new transaction wizard.

 

ksb1

 

2.Enter the login details.

 

trans sap

 

3.Enter the cost center (1110 in here), Posting date and layout (if any specific) for which you want to export report. Hit F8 or Execute button.

 

ksb3

 

4.In the next screen navigate to List-> Export-> Spreadsheet menu.

 

ksb4

 

5.Click on ok in the Filter criteria dialog.

 

ksb5

 

6.Select table and click on OK.

 

ksb6

7.Select Microsoft Excel and click OK.

 

ksb7

 

8.You will notice your report pop up automatically in an excel file.  Do not close it. Press Alt+Tab to go to a SAP message prompt.

 

ksb8

 

9.Confirm the SAP message to “Save data in spreadsheet” by clicking on OK.

 

MDF-SAP_To_Excel-EX2-KSB1

 

10.Back in the New transaction wizard click on OK to create the file.

 

ksb2

 

11.Examine Mapper and “#SAVE_EXCEL_REPORT#,2” field. Refer Example 1  to understand the functioning of this field.

 

ksb9

 

12.Click on Run and it should export the report to \\Mydocuments (the path specified in column D)

 

ksb10

 

13.Open and verify the data in exported Report file.

 

ksb11

 

14.Similarly you can export multiple report files as below.

 

ksb12

 

ksb13

 

     This concludes the Excel report writing functionality of Process Runner.

 

Next:
Automatic Condition Splitter