2010 Jan 20 7:43 AM
Hi all,
I am using a module program of PBO and PAI. The selection-screen is used only for program type I and not M. However, I have a requirement of using a selection-screen on my first screen and second screen.
The flow:
Main screen (selection-screen) --> 2nd screen (selection-screen) --> 3rd screen (Display output)
So how do I insert it for such a delicate case? Thanks.
Hi all,
I am using a module program of PBO and PAI. The selection-screen is used only for program type I and not M. However, I have a requirement of using a selection-screen on my first screen and second screen.
The flow:
Main screen (selection-screen) --> 2nd screen (selection-screen) --> 3rd screen (Display output)
So how do I insert it for such a delicate case? Thanks.
2010 Jan 20 7:49 AM
Hi Siaong,
Like the way you are creating your Selection screen of your 1 screen by defining fields in the PBO of that screen, In the same manner Declare fields in the PBO of 2nd screen.
Thanks
Saurabh
2010 Jan 20 8:04 AM
Hi,
I only used selction-screen before i executable report program not in module program.
What is the steps for me to use selection-screen statement in module program??
1. Create screen 100 type subscreen.
2. In the Top include program, insert the folowing code:
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
PARAMETERS PY_AREA TYPE PA0001-ABKRS.
SELECTION-SCREEN END OF SCREEN 100.
3. Create screen 200 type subscreen.
4. In the Top Include program, insert the folloing code:
SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
SELECTION-SCREEN BEGIN of LINE.
SELECTION-SCREEN COMMENT 5(20) label1.
SELECTION-SCREEN PUSHBUTTON 30(10) text-a01 USER-COMMAND CLI1 VISIBLE LENGTH 10.
SELECTION-SCREEN COMMENT 45(10) v_red.
SELECTION-SCREEN PUSHBUTTON 60(15) text-a02 USER-COMMAND CLI2 VISIBLE LENGTH 10.
SELECTION-SCREEN END of LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(20) label2.
SELECTION-SCREEN PUSHBUTTON 30(10) text-a01 USER-COMMAND CLI3 VISIBLE LENGTH 10.
SELECTION-SCREEN COMMENT 45(10) v_amber.
SELECTION-SCREEN PUSHBUTTON 60(15) text-a02 USER-COMMAND CLI4 VISIBLE LENGTH 10.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 200.
Is the above correct?
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |