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: 

subscreen

Former Member
0 Kudos

hi..

i am trying to call the subscreen from main screen. i am facing the runtim error like this. please help me out..

DYNP_WRONG_SCREEN_TYPE.

thnx & regards.

Ashraf.

4 REPLIES 4

Former Member
0 Kudos

Hi

Check which kind of screen you have chosen: you have to set the attribute SUBSCREEN in the SCREEN TYPE ATTRIBUTE in the screenpainter.

Max

0 Kudos

i have created one variable like sy-dynnr. and i assign the subscreen on it. and i m calling that screen. see... this my status.

data: sub_no like sy-dynnr value '1001'.

call scubscreen area1 including sy-repid sub_no.

thnx .

Ashraf.

0 Kudos

Hi

The screen 1001 has to be an SUBSCREEN, so you have to check the attribute of screen 1001 by screen painter and set the attribute SUBSCREEN in SCREEN TYPE section.

max

Former Member
0 Kudos

Hi Ashraf,

Just ensure that the second radiobutton is selected in the "screen type" section when looking at the attributes of the screen through SE51.

Should solve your problem

Regards,

Aditya