Almost all custom ABAP reports enable the user (or background variant) to supply select-options to restrict the data that is retrieved and processed. Standard ABAP reports allow the developer to use the keywords:

  • SELECTION-SCREEN
  • SELECT-OPTIONS
  • PARAMETERS

In your Diffuser program, you must define the select-options and parameters of a program within the following Diffuser statements:
mdr-begin-selection-screen and mdr-end-selection-screen

Everything else regarding syntax remains exactly the same. This allows the technical settings button to be seen on screen.

An example declaration of parameters and select-options is as follows:

*---------------------------------------------------------------------* 
* PARAMETERS and SELECT-OPTIONS 
*---------------------------------------------------------------------* 

mdr-begin-selection-screen. 

SELECTION-SCREEN BEGIN OF BLOCK general WITH FRAME TITLE text-t01. 
PARAMETERS: 
  p_bukrs  TYPE vbak-bukrs OBLIGATORY,   p_keydat TYPE d OBLIGATORY. 

SELECT-OPTIONS: 
  s_belnr  FOR vbak-belnr,   s_crdat  FOR vbak-erdat. 
SELECTION-SCREEN END OF BLOCK general. 

mdr-end-selection-screen. 

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment