Parameters statements are almost same like data statements but it used for the user inputs. The variables declared using parameters statement are known as parameters and these will be displayed on selection screen while running the program. The user needs to enter or modify the values there and again continue the program execution.
The syntax of parameters statement is
- parameters variable name[length] [data type] [decimals] [default value].
- parameters variable name like previous defined variable name [default value].
Parameter statement has lot of additions for use.
- DEFAULT
- TYPE
- DECIMALS
- LIKE
- MEMORY ID
- MATCHCODE OBJECT
- MODIF ID
- NO-DISPLAY
- LOWER CASE
- OBLIGATORY
- AS CHECKBOX
- RADIOBUTTON GROUP
- FOR TABLE
- AS MATCHCODE STRUCTURE
- VALUE-REQUEST
- HELP-REQUEST
Also Read : ABAP Tutorial Home page -> Steps to create ABAP program -> ABAP Transaction codes