Tuesday, April 9, 2013

SAP Selection Screen Programs

Program for the all types of SAP selection screen events.


Example 

REPORT  ZTHREE.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
"----Parameters---"
PARAMETERS: P_STATUS(10).

"-----selection options-"
data: lv_number type int4.
select-options: s_number for lv_number.

"---check box--"
PARAMETERS: P_CH_BOX AS CHECKBOX.

"---RADIO BUTTONS--"
PARAMETERS:  p_radio1 radiobutton group grp1,
             p_radio2 radiobutton group grp1.

"----push button---"
SELECTION-SCREEN: BEGIN OF LINE,
"------DIMENSION FROM THE 2 SPOT OF THE LINE TWO THE 10-----"
   PUSHBUTTON 2(10) text-003 USER-COMMAND cl1,
   PUSHBUTTON 12(10) text-004 USER-COMMAND cl2,
END OF LINE.

"---dropbox-- write always -  VISIABLE LENGTH----"
PARAMETERS:  p_list as LISTBOX VISIBLE LENGTH 10.

SELECTION-SCREEN END OF BLOCK B1.






1 comment: