General view for parameters in SAP Selection Screen.
Source Code:
*&———————————————————————*
*& Report ZANIL
*&
*&———————————————————————*
*&
*&
*&———————————————————————*
REPORT ZANIL.
* Selection Screen Statements
* 1. Parameters Type Options:
* 1.1 TYPE
parameters: p11 type char10.
* 1.2 LIKE (custom)
data lv_val type string.
parameters: p12 like lv_val.
* 1.3 LIKE (data type)
parameters: p13 like lfa1–lifnr.
* 2. Screen-Options:
* 2.1 OBLIGATORY
* If paramters is empty,
* user can’t use execute button.
parameters: p21 type char10 obligatory.
* 2.2 NO-DISPLAY
* There will be no display on
* selection screen.
* Parameter can only be used with
* ‘SUBMIT’.
parameters: p22 type char10 no–display.
* 2.3 VISIBLE-LENGTH
* Arranges visibile length of
* parameter.
parameters: p23 type char10
visible length 2.
* 2.4 CHECKBOX
* Converts parameter
* to check-box
* para. type will be char1
parameters: p24 as checkbox.
* 2.5 RADIOBUTTON GROUP
* Converts parameters to
* radio-buttons
parameters: p251 type char1
radiobutton group g1.
parameters: p252 type char1
radiobutton group g1.
* 2.6 AS LISTBOX
* Changes parameter type to
* ‘LISTBOX’
parameters: p26 type char10 as listbox
visible length 5.


