Let's you declare a parameter that will appear on the screen. Like the DATA statement. Can also use TYPE instead of LIKE. Declaring a parameter is enough to tell the system that we are going to generate a selecion screen. Parameter statement is all we need to display a field on a screen. When you specifiy parameters, you are limited to your parameter name being a max of 8 characters. Parameter statement can use any data type apart from floating point numbers. Variable names are converted to upper case by default. Can also give a DEFAULT value to the parameter (DATA statement uses VALUE), which is only a suggestion. OBLIGATORY forces tickbox to appear in blank field: user must put entry in field. ABAP Dictionary works in background for any foreign key relationships or value help texts. VALUE CHECK will ensure program checks field entries, against valid value lists that we defined in the ABAP Dictionary. LOWER CASE let's you display the entered parameter field in lower case. The CHECKBOX is another form of parameter, always has to be of datatype c with a length of 1. The content is either 'X' or empty. Radio buttons belong to a group. Also have to be of datatype c with a length of 1. Need to define a parameter field for each button.
PARAMETERS: my_ee LIKE zemployees-employee.
*See parameter on screen
TABLES: zemployees, zemployees2.
DATA: wa_employee LIKE zemployees-employee.
PARAMETERS: my_ee LIKE zemployees-employee DEFAULT '12345678' OBLIGATORY,
my_g like zemployees2-gender VALUE CHECK,
my_surn like zemployees-surname DEFAULT 'blogs' LOWER CASE,
my_box1 AS CHECKBOX,
wa_green RADIOBUTTON GROUP grp1,
wa_blue RADIOBUTTON GROUP grp1,
wa_red RADIOBUTTON GROUP grp1.
INITIALIZATION.
SELECT * FROM zemployees.
wa_employee = zemployees-employee.
ENDSELECT.
AT SELECTION-SCREEN ON my_ee.