Application Development 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: 

sub screen

Former Member
0 Kudos

Hi all,

I am working with ECC 6.0.

The scenario is I have one sub screen with the normal screen.

I am call the sub screen in my PBO of the main screen

CALL SUBSCREEN SUB SCREEN AREA NAME INCLUDING MODULE POOL PROAGRAM NAME "SCREEN NO OF SUB SCREEN"

But its saying ID is missing or needed "subscreen"

But while I was working with 4.7 the same syntax was workin fine.

<< removed >>

Thanks in Advance

Edited by: Rob Burbank on Jun 14, 2010 2:05 PM

9 REPLIES 9

Former Member
0 Kudos

Hi Ravi,

Check the screen type of the sub screen, it should be Subscreen not Normal.

Regards

DKS

Former Member
0 Kudos

Hi Ravi,

Whenever you are creating a sub screen u have to given a no. and screen type please check u have filled all the fields and ur using same no. and screen type in ur syntex .

syntex is correct for both sap 4.7 and ECC 6.0 .

Thanks

Girish

0 Kudos

Hi,

I have given the screen no of sub screen as well as attribute parameter i have given it as sub screen.

Sub Screen Name: SZY3D

mY SYNTAX WAS

Module pool program Name: zde4th

SUB SCREEN NO : 1200

CALL SUBSCREEN SZY3D INCLUDING ZDE4TH '1200'. I called this syntax in the PBO of my normal screen.

I have done all these then also its not working. Its throwing error.

0 Kudos

Hi,

Try using SY-CPROG or SY-REPID instead of your program name.

What is the error that's occuring.

Former Member
0 Kudos

Hi Ravi,

The syntax should be CALL SUBSCREEN SZY3D INCLUDING 'ZDE4TH' '1200'. like this. The program name should be given in single quotes if u r not using sy-repid.

Thanks & Regards,

Naresh.

0 Kudos

hi

i have given the way you have coded, sgill tehn its throwing error.

former_member320332
Contributor
0 Kudos

Hi,

Please check whether you have given CALL SUBECREEN in both PBO and PAI of the screen and as you have mentioned you have given the screen type as subscreen and chcked other things also then it should not have any issues.

Thnaks.

Former Member
0 Kudos

Hi

define a variable in your top include like this,,

scrnr like sy-dynnr value 0000.

this should be your subscreen number.

and user sy-repid and your scrnr variable in the PBO of your normal screen.

i hope you declared this code only inside the pbo event and didn't declare the screen number in top include.

<removed by moderator>

Thanks

Lalit Gupta

Edited by: Thomas Zloch on Jun 30, 2010 12:33 PM

s_nnoorie
Active Participant
0 Kudos

Hi,

I faced the same problem when i was doing the tabstrip with table controld for the first time.

Check the following.

1. Check Sub-screen attributes is SUbscreen.

2. Synatx for calling subscree

in PBO - CALL SUBSCREEN : PAYOFF_REF1 INCLUDING 'ZPPR1005' '0010'

in PAI - CALL SUBSCREEN : PAYOFF_REF1.

3. Check your Screen area.

These three can be the reasons.

Thnaks & Regards