Calling a dialog screen from a report and passing data

 Make a report


Place the following code in the report:

* p_rc is for receiving data from the dialog screen
data: p_rc type i.

at user-command.
* Call the dialog screen. ZRE1 is the transaction code of the screen
  call transaction 'ZRE1'.

* Get parameter from the dialog screen. ZRZ is the parameterID for the field in the dialog
* screen you want to pass to the report.
  get parameter id 'ZRC' field p_rc.

Converted from CHM to HTML with chm2web Standard 2.7 (unicode)