Sunday, 8 April 2012

Using PARAMETERS with syntax

PARAMETERS : s_plant LIKE lips-werks.





PARAMETERS : s_plant TYPE lips-werks.





PARAMETERS : s_plant TYPE n,
                          s_matnr(18) TYPE c.






PARAMETERS : s_plant(4) TYPE n DEFAULT '1501',
                          s_matnr(18) TYPE c DEFAULT 'Power Circuits'.






PARAMETERS : s_plant(4) TYPE n DEFAULT '1501',
                           s_matnr(18) TYPE c DEFAULT 'Power Circuits',
                           s_date LIKE sy-datum DEFAULT '20110216'.






* CHSPL is of type CHAR with length 1. Also it's domain XFELD has value range set as 'X' and blank.

PARAMETERS : s_CHSPL LIKE lips-CHSPL.




PARAMETERS : s_kostl LIKE lips-kostl MATCHCODE OBJECT qals.









PARAMETERS : s_matnr LIKE lips-matnr LOWER CASE.




PARAMETERS : s_matnr LIKE lips-matnr LOWER CASE OBLIGATORY.





PARAMETERS : s_matnr TYPE c AS CHECKBOX.




PARAMETERS : s_matnr TYPE c AS CHECKBOX DEFAULT 'X'.





PARAMETERS : s_matnr TYPE c RADIOBUTTON GROUP abc,
                          s_matnr1 TYPE c RADIOBUTTON GROUP abc ,
                          s_matnr2 TYPE c RADIOBUTTON GROUP abc .







PARAMETERS :s_matnr TYPE c RADIOBUTTON GROUP abc,
                          s_matnr1 TYPE c RADIOBUTTON GROUP abc DEFAULT 'X',
                          s_matnr2 TYPE c RADIOBUTTON GROUP abc .