2010 Apr 29 5:49 AM
Hi All,
I have a made a select option in module pool ike this .
SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK b1 with frame title text-001.
selection-screen begin of line.
SELECT-OPTIONS so_time1 FOR syst-timlo.
SELECTION-SCREEN COMMENT 1(20) text-022 FOR FIELD pa_thrh.
parameters: pa_thrh like G_THRSH.
SELECT-OPTIONS so_time2 FOR syst-timlo.
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 200.
I need the pa_thrh field just parallel to the so_time1 but when i tried i am getting a error like error in generating the screen?
Can any advice how to place the fileds side by side in module pool select options?
Tnx,
Joe
2010 Apr 29 5:59 AM
Hi Joe,
Check the below thread
http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html
Cheerz
Ram
2010 Apr 29 5:59 AM
Hi Joe,
Check the below thread
http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html
Cheerz
Ram
2010 Apr 29 6:26 AM
Hi,
In your code the problem is with the
SELECTION-SCREEN COMMENT 10(20) text-022 FOR FIELD pa_thrh.
try by changing the position of pa_thrh.
I mean,
SELECTION-SCREEN COMMENT 52(20) text-022 FOR FIELD pa_thrh.
Note:
If You add 'SELECTION-SCREEN COMMENT' statement also to so_time1 then you have to change position according to size and position. suppose you declare as like this,
SELECTION-SCREEN COMMENT 2(10) text-022 FOR FIELD so_time1.
then add 12 positions to pa_thrh field.
SELECTION-SCREEN COMMENT 64(20) text-022 FOR FIELD pa_thrh
but at this point , You have no choice to use another field i.e, so_time2 because it crosses the line .
for more information refer this sap help,
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba7e235c111d1829f0000e829fbfe/content.htm
hope this resolves Your issue.
Regards,
Raghava Channooru
2010 Apr 29 7:35 AM
Hi All,
I am doing some validation in my subscreen and if i want to move out of subscreen ie i want to navigate to the other transaction or leave to screen 0 means how to make it?? i am getting sme error like in subscreen submit to screen is not allowed.
Tnx,
joe
2010 Apr 29 4:25 PM