2011 Apr 15 4:39 PM
Hello
I am developing a report in which i have the following components,
Report first calls a main screen 100 which will display a Tabstrip.The first tab in the tabstrip has a subscreen 111 to display the selection screen.
Now i need to have select-options in this subscreen 111. I think the only way to have the select-options is by programming a selection-screen with screen number 222 and call this in the subscreen 111.
I am able to see the select-options, But the issue is, the value of the select-options are not getting passed to the program.They seem to be blank.
Did i miss any step or is anything wrong? Your help please.
Thanks
Subha
Hello
I am developing a report in which i have the following components,
Report first calls a main screen 100 which will display a Tabstrip.The first tab in the tabstrip has a subscreen 111 to display the selection screen.
Now i need to have select-options in this subscreen 111. I think the only way to have the select-options is by programming a selection-screen with screen number 222 and call this in the subscreen 111.
I am able to see the select-options, But the issue is, the value of the select-options are not getting passed to the program.They seem to be blank.
Did i miss any step or is anything wrong? Your help please.
Thanks
Subha
2011 Apr 15 5:58 PM
Hi,
SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
PARAMETERS : p_vkorg TYPE vbrk-vkorg OBLIGATORY DEFAULT '1000'.
SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln,
s_posnr FOR vbrp-posnr.
SELECTION-SCREEN END OF SCREEN 400 .
[http://sap technical.com/Tutorials/ABAP/SelectOptions/Index.htm]
--
Raul Natu
Edited by: Raul Natu on Apr 15, 2011 5:59 PM
2011 Apr 15 7:30 PM
Hi,
The issue in my case is the selection-screen is not called directly by a main screen in a report program. The selection-screen is present in a tabstrip control subscreen. So the flow is, report calls a main screen -> main screen contains tabstrip control -> first tab of tabstrip has a subscreen which should have select-options. Since select-options cannot be directly put using screen painter options, i need to use another subscreen. So how do i pass the value of this select-option to the main program?
Thanks
Subhashini
2011 Apr 15 7:35 PM
Hi
Have a look this program, it will help u.
SE38 :
DEMO_SEL_SCREEN_WITH_TABSTRIP
Regards
2011 Apr 15 6:12 PM
Why 100? For a report program, you can easily put tabstrip containing subscreens as part of default screen 1000.