PARAMETERS statement is used to create a single input field, check box, radio buttons on the selection screen .
Syntax : PARAMETERS <P_NAME> TYPE <TABLE-FIELD>. " General parameter for a input field PARAMETERS <P_NAME> TYPE <TABLE-FIELD> OBLIGATORY. "Parameter for mandatory input field PARAMETERS <P_NAME> AS CHECKBOX. " Parameter for check box printing PARAMETERS <P_NAME1> RADIOBUTTONGROUP <RADIOBUTTON GROUP>. " Print Radio button group PARAMETERS <P_NAME2> RADIOBUTTONGROUP <RADIOBUTTON GROUP>. " Print Radio button group PARAMETERS <P_NAME2> RADIOBUTTONGROUP <RADIOBUTTON GROUP>. " Print Radio button group
Examples of using parameters in SAP ABAP
PARAMETERS : P_MATNR TYPE MARA-MATNR .
The above statement prints a input field on selection-screen like below.
PARAMETERS : P_CHK AS CHECKBOX .
The above statement prints a check box on selection-screen like below.
**Radiobutton group is nothing but a group of radiobuttons PARAMETERS : P_RADIO1 RADIOBUTTON GROUP RG1. PARAMETERS : P_RADIO2 RADIOBUTTON GROUP RG1. PARAMETERS : P_RADIO3 RADIOBUTTON GROUP RG1.
The above statement prints a radio button group on selection-screen like below.