‎2007 May 21 12:58 PM
how can i create a subscreen with table control on a selection-screen.
i ve seen examples for tabstrip or calling selection-screen as subscreen and all that stuff. but i wann it the other way.
can any one help me?
tx
kiran
‎2007 May 21 1:12 PM
‎2007 May 21 1:24 PM
HI,
goto se11.enter one table name(mara) and press display.that screen contains table control inside tabstrip.so debugg that screen it will helpu a lot.(enter /h in command field and press enter to enter into debugging).
rgds,
bharat.
‎2007 May 21 1:32 PM
Hi Kiran,
You can create a sub-screen on the selection screen.
First of all create a selection screen.
SELECTION-SCREEN BEGIN OF BLOCK b1.
PARAMETERS: p_matnr TYPE mara-matnr.
SELECTION-SCREEN END OF BLOCK b1.
Double click on the selection - screen no. (1000), and it will navigate you to the screeen. There go to layout editor and create your own subscreen with table control. Its working fine. I checked it. NOw it depends upon your functionality as to how you want your data to flow.
Revert in case of issues.
Pls reward points if helpful.
Karan.
‎2007 May 21 2:03 PM
hai karan
can u explain more in detail on this sentence"Double click on the selection - screen no. (1000), and it will navigate you to the screeen. There go to layout editor and create your own subscreen with table control."
tx 4 ur reply.
kiran
‎2007 May 22 5:15 AM
Hi Kiran,
In a normal program, when you declare a parameter and activate the program, a selection screen is automatically created. THis has the screen no. 1000. Now if you press (Ctrl + Shift + F5) for navigation window to appear (similar to se80 screen), you will see screen no. 1000 attached to your program. Go to that screen, and then edit the screen just as any other normal module pool program.
You will however have to take care of the data flow between your selection screen parameter and your tabstrip.
Hope this is clear.
Pls Reward if Helpful.
Regards,
Karan.