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

Subscreens

Former Member
0 Likes
745

Hello folks,

Can anybody help me in creating a subscreen with some dictionary fields??

Here is what I am doing. I had created a subscreen area on a screen xxxx and trying to paint some dictionary fields on that subscreen area. But it is giving out some error. I am not able to paint a text box or a push button or anything on that subscreen area.

Can anyq tell me where and what I am doing wrong.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
720

You cannot paste any fields in the subscreen area. What you have to do is

1. In the main screen put subscreen area

2. is create another screen with type subscreen

3. In the PBO and PAI of main screen you call this subscreen using call screen.

for examples see transactions ABAPDOCU

Cheers,

Satya

Hello folks,

Can anybody help me in creating a subscreen with some dictionary fields??

Here is what I am doing. I had created a subscreen area on a screen xxxx and trying to paint some dictionary fields on that subscreen area. But it is giving out some error. I am not able to paint a text box or a push button or anything on that subscreen area.

Can anyq tell me where and what I am doing wrong.

Thanks,

3 REPLIES 3
Read only

Former Member
0 Likes
721

You cannot paste any fields in the subscreen area. What you have to do is

1. In the main screen put subscreen area

2. is create another screen with type subscreen

3. In the PBO and PAI of main screen you call this subscreen using call screen.

for examples see transactions ABAPDOCU

Cheers,

Satya

Read only

0 Likes
720

Thanks a lot Venkat.

Read only

Former Member
0 Likes
720

Create a subscreen for the same program for which you have defined a normal screen. You can choose this attribute while creating a screen in SE51.

Now in Flow logic of MAIN screen you have to link the subscreens to a particular subscreen area like this

In PBO

<b>CALL SUBSCREEN AREA1 INCLUSING SY-REPID NUMBER1.</b>

In PAI

<b>

CALL SUBSCREEN AREA1.</b>

AREA1 -> Subscreen area defined on main screen .

NUMBER1 -> Number of the subcsreen you created.

Now in your subscreen NUMBER1 you can put fields as normal i.e. put any decitionary field you want.

For example see program DEMO_DYNPRO_SUBSCREENS and its screens in SE51.

Cheers.

Sanjay