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: 

call subscreen dynamically

Former Member
0 Kudos

Hi all

I need to call subscreen from user exit screen depend on user data.

i can't write "if ... endif" on proccess.

how should i do it?

1 REPLY 1

0 Kudos

Hi

Use the below statment

CALL SUBSCREEN <SUBAREA> INCLUDING <PROGRAMNAME> V_DYNPRO.

This v_dynpro need to be fill with the screen number you wanna call before you use the above statment .

Include a Module find_screen before a call and in that use if condition .If you face any issue with this then assign the value v_dynpro(Screen number) before PBO start ,such as PAI of other screen from which this screen is called or if it is called from report such as call screen number . Then fill the v_dynpro before the call screen .

Hope this answer helps.

Cheers

J.