2013 Mar 09 2:39 PM
hi sages,
new to abap,, plz help,,
selection-screen BEGIN OF SCREEN 0111 as subscreen.
PARAMETERS : deb_rdb radiobutton group RD1 default 'X',
cre_rdb radiobutton group RD1.
selection-screen end of screen 0111.
i wrote this code in the TOP include,, 0111 happend to be a subscreen,, and its attribute is also a subscreen,,,plz help
regards,
Kaushal.
2013 Mar 09 3:54 PM
hello,
http://scn.sap.com/thread/3322490
follow my any of 2 process............
close your thread after getting answer......
Thanks
Sabyasachi
2013 Mar 11 6:46 AM
Hi Kumar..
It's simple,
--> First you need to create a screen EX:2100,and in that screen goto screen painter and in the tools icon select 'SUB-SCREEN AREA' (this is the area where we are going to populate your sub-screen).
-->Drag sub-screen area and create it in the screen.
-->Name the sub-screen area you have created in the screen 2100,EX:SUB1 (Name of the sub-screen area).
--> Now in the PBO of the screen 2100 give this code,
CALL SUBSCREEN SUB1 INCLUDING sy-repid '0005'
here '0005' is the sub-screen we are going to create.
In PAI of the screen 2100,
CALL SUBSCREEN SUB1.
--> Now create a new sub-screen EX: 0005
just for us to know whether the sub-screen is displayed or not have a TEXT FIELD in the sub-screen.
Now the Activate and execute.
Hope its helpful,if you have any doubts please ask.
Thanks..
Regards..
Askar.
2013 Mar 13 8:57 AM
2013 Mar 13 9:32 AM
Hi Kaushal,
1. Define the selection screen in TOP Include.
2. Call the screen 9001 and insert a sub-screen area in the Layout. Also, provide a name as 'SUB_SCR'
3. In the Flow logic of screen 9001, write the code as shown below to call the sub-screen into it
4. Activate the Screen and the program and Execute.
With Regards,
Gurulakshmi
2013 Mar 15 3:26 AM
2013 Mar 15 3:30 AM
hi gurus,
is it not possible that i create a screen , and at the time of calling in the subscreen area it gets created to a subscreen ???
( right now m trying with the subscreen ,, and on that subscreen i have radiobuttons )
2013 Mar 15 10:12 AM
What is the error message you are getting? If you declare a selection screen as a subscreen as you have in your top include, you do not need to create another subscreen with the same name. The selection screen generates the subscreen itself when you call it using CALL SUBSCREEN (selection screens declared as subscreens cannot be called using CALL SELECTION_SCREEN).
2013 Mar 18 7:12 AM
Please Tell a little more about your requirement or paste your code.
I am afraid that you cant call a normal screen into a sub-screen area.
Thanks
Askar
2013 Mar 18 7:26 AM