Using selection-screen Parameters in SAP ABAP

How to add an input field in Selection Screen using SAP ABAP ? Using Parameters in SAP ABAP Programming

+ -
PARAMETERS statement is used to create a single input field, check box, radio buttons on the selection screen .
Syntax : 
PARAMETERS  TYPE . " General parameter for a input field

PARAMETERS  TYPE  OBLIGATORY. "Parameter for mandatory input field

PARAMETERS  AS CHECKBOX. " Parameter for check box printing


PARAMETERS  RADIOBUTTONGROUP . " Print Radio button group
PARAMETERS  RADIOBUTTONGROUP . " Print Radio button group
PARAMETERS  RADIOBUTTONGROUP . " 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.

Using Parameters in SAP ABAP

PARAMETERS : P_CHK AS CHECKBOX .

The above statement prints a check box on selection-screen like below.

Using Parameters in SAP ABAP

**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.

Using Parameters in SAP ABAP

Learner Questions


No Questions by learners, be first one to ask ..!!

    Please Sign in to ask a question

    Was this lesson helpful to you? Yes No 93 People out of 100 think this lesson helpful


    Lesson Navigation

    Select Statements types← Previous Lesson
    Next Chapter →