+ -

Pages

Saturday, July 26, 2014

Calling another report from your own report

Calling a SAP standard report

In this example is used transaction FB03 for the standard report that should becalled.
  • Go into the standard report
  • Place the cursor in the selection fields one by one and press F1
  • Select Technical info for the field
  • The parameter-ID is the name of the parameter you can use
  • FB03 has the parameters BLN, BUK and GJR. Call the transaction from your report using the following syntax ( We don't use the åparameter GJR ):
    • set parameter id 'BLN' field prttab-belnr.
    • set parameter id 'BUK' field prttab-bukrs.
    • call transaction 'FB03' and skip first screen.
    • prttab is a filed from an internal table in your own report.

Calling one of your own reports


You call one of your own reports the same way as you call a SAP standard report, but you will have to define parameter IDs for the fields on the selection screen.

To do this you must edit the selection screen in the Object Browser. Select the screen and add a parameterId in the attributes screen for each field.

Important: If you later change your report and save it, the paramter ID's will be lost, and you will have to define them again.
5 ABAP Tips: Calling another report from your own report Calling a SAP standard report In this example is used transaction FB03 for the standard report that should becalled. Go into the standa...

No comments:

Post a Comment

< >