‎2007 Feb 12 3:31 PM
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.
‎2007 Feb 12 3:32 PM
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
‎2007 Feb 12 3:36 PM
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.
‎2007 Feb 12 3:38 PM
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
‎2007 Feb 12 3:34 PM
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