"Selection screen" is the screen where one specifies the input values for which the program should run.
The selection screen is normally generated from the
Syntax
1
2
3
4
5
6
|
Selection-screen begin of screen <screen #> selection-screen begin of block <#> with frame title <text> ......... ......... selection-screen end of block <#> selection-screen end of screen <screen #> |
Parameters
Parameters helps one to do dynamic selection. They can accommodate only one value for one cycle of execution of the program.
Syntax
Defining parameters as a data type
1
|
Parameters p_id(30) type c. |
Defining parameters like a table field.
1
|
Parameter p_id like <table name>-<field name>. |
Parameters can be Checkboxes as well as Radiobuttons.
1
2
|
Parameters p_id as checkbox.Parameters p_id1 radiobutton group <group name>. Parameters p_id2 radiobutton group <group name>. |
Parameters can be listbox.
1
|
Parameter p_id like <table name>-<field name> as listbox |
Select Options
A Select-Option is used to input a range of values or a set of values to a program
Syntax
1
|
select-options s_vbeln for vbak-vbeln. |
You can also define a select option like a variable
select-options s_vbeln for vbak-vbeln no intervals no-extension