Make a report
- Add a pf-status with a botton to call the dialog screen
- Make the dialog screen.
For every field in the dialog screen you want to pass to the report, mark the SET parameter checkbox, and apply a ParameterID in the attrubutes window of the screen. - Create a transaction code for the dialog screen
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.
No comments:
Post a Comment