What is Selection Screen?

Answer

"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

  1. Parameters
  2. Select-Options

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.

Sap-Select-Option-Report-Programming

You can also define a select option like a variable

select-options s_vbeln for vbak-vbeln no intervals no-extension

All SAP ABAP Questions

Ask your interview questions on sap-abap

Write Your comment or Questions if you want the answers on sap-abap from sap-abap Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---