Selection Screen Parameter in SAP ABAP

How to add an input field in selection screen & using parameters :

In Selection screen we can use Parameter for create a new selection screen.
Syntax like:

PARAMETERS: <FieldName> TYPE <Table-Field>.
  PARAMETERSmatnr TYPE makt-matnr.

 

Similarly using OBLIGATORY we can create a mandatory field.
 PARAMETERSmatnr TYPE makt-matnr oblicatory.

 

When we need to create a multiple range for input option then we use
below syntax:
SELECT-OPTIONSs_FieldName FOR <Table-Field>. 
SELECT-OPTIONSs_matnr FOR makt-matnr. 

 
Checkbox:

For create a checkbox we used below syntax:

Parameter: P_Field as checkbox.

 

Radio Button:
Syntax is: PARAMETER: P_BUTTON AS RADIOBUTTON GROUP xyz. 


 

   

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

INITCAP- First letter of the word Capital in SAP ABAP

BAPI to Change STO PO/ PO Delivery date in SAP