Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Displaying Data on Subscreen area

Former Member
0 Likes
790

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 ?

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 ?

4 REPLIES 4
Read only

Former Member
0 Likes
737

Hi,

Refer the program demo_dynpro_subscreens.

PLzz reward points if it helps.

Read only

Former Member
0 Likes
737

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.

Read only

Former Member
0 Likes
737

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..

Read only

Former Member
0 Likes
737

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.