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

subscreen

Former Member
0 Likes
589

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
Read only

Former Member
0 Likes
511

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

Read only

0 Likes
511

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.

Read only

0 Likes
511

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

Read only

Former Member
0 Likes
511

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