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

module pool prgm

0 Likes
1,111

Hi all !

I' have a question regarding module pool programming..

I was trying to use leave to screen 0 .

as far as I know it is used to go back previous screen,

but in my program it is leaving program instead of going back to previous screen.

Please someone explain me is "Leave to screen 0" works like 'Leave program'?

if not then how to use it to switch to previous screen?

Thanks ,

Sri

8 REPLIES 8
Read only

Former Member
0 Likes
1,086

Hi Sridevi

What`s screen number of your previous screen? if it`s 9000, then you need 'LEAVE TO SCREEN 9000'.

regards,

Archer

Read only

0 Likes
1,086

And if in your previous`s attribute, you had set 'Next screen'. After you enter the next screen, you can 'LEAVE SCREEN'  back to this previous screen.

Read only

Former Member
0 Likes
1,086

Hi Sridevi,

I would like to have a brief info about the scenario you have coded for  i.e. what are the flow of screend in your flow logic, i.e. are you moving from screen 9000 to 9001 and then pressing back button where at screen 9001; you have written the code as Leave to screen 0.

Please validate the same at your edn and respond soon, so that the issue can be resolved ASAP.

BR/Thanks

Pranav Agrawal

Read only

VijayaKrishnaG
Active Contributor
0 Likes
1,086

This message was moderated.

Read only

Former Member
0 Likes
1,086

This message was moderated.

Read only

Former Member
0 Likes
1,086

Hi Sridevi,

Try this,


SET SCREEN 0.

LEAVE SCREEN.

regards,

Velmurugan B

Read only

Former Member
0 Likes
1,086

Hi Sridevi,

LEAVE PROGRAM- Its leave a program

LEAVE TO SCREEN 0 - Its go back to your previous screen.

Thanks and Regards

Niraj

Read only

Former Member
0 Likes
1,086

Hi Sridevi,

Leave to screen (n): leaves current Dynpro and starts screen n. You

must consider this as the next Dynpro in a chain of dynpro's.

Regards,

Venkat.