2007 Dec 28 7:52 AM
Can anybody help me out in displaying data on subscreen ? I have defined a subscreen area and i have to place data on it now....Can anybody help me out with some idea's & sample code ?
2007 Dec 28 7:55 AM
Hi,
Refer the program demo_dynpro_subscreens.
PLzz reward points if it helps.
2007 Dec 28 8:00 AM
Hi,
Just go through these simple standard SAP codes,
DEMO_DYNPRO_TABSTRIP_LOCAL
DEMO_DYNPRO_TABSTRIP_SERVER
DEMO_SEL_SCREEN_IN_TABSTRIP
DEMO_SEL_SCREEN_WITH_TABSTRIP
hope this helps.
2007 Dec 28 8:02 AM
Hi Ganesh,
To call subscreen u hav a syntax called
Call Subscreen <subscreen area name> Including <program number> < screen no>.
in pbo area u need to write this.
In PAI write this code
call subscreen <any name eg sub1>.
Now goto tht subscreen screen number there u check tht wether u hav selected tht subscreen radio button or not . then in tht PBO subscreen area
Module Populate_subscreen_area.
sfname1 = lw_kna1-name1.
sfort01 = lw_kna1-ort01.
similary wht ever data u want it to be printed u can populate tht into this area..
Hope u understood
Regards,
Sana.
reward points if found helpful..
2007 Dec 28 11:37 AM
Hi,
Subscreen area is a place where you can display any screens.
For example you have created a subscreen area on screen 9000. during execution you can display any screens, say 9001 or 9002 on that subscreen area u have defined on 9000.
The coding will be like.
Assuming you have created subscreen area on screen 9000, and want to display contents of screen 9001.
in the PBO of 9000,
Call Subscreen SUBAREA Including SY-REPID 9001.
and in the PAI Module.
call Subscreen SUBAREA.
Here the attributes or values you defined on screen 9001 will be displayed on the subscreen area SUBAREA on 9000.
Hope this helps.
Regards,
Renjith Michael.