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 : Screen data not available after LEAVE SCREEN statement.

Former Member
0 Likes
477

HI,

There is a standard module pool program for VT02N transaction.

Say for eg user is not entering the forwarding agent value.

In include pgm is valdiating this and throwing the information message accordingly.

After the info message there is leave screen stmr. But the values entered by the user before this validation code takes place ,

were all lost.

I want the old data to be there even though i use leave screen statament.

Can anyone pls tell me how to achieve this?

Re

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
427

Hi vinaya,

user is not entering the forwarding agent value

But the values entered by the user before this validation code takes place ,

were all lost.

? Not entered but lost?

If you don't want data loss, why LEAVE SCREEN?

Regards,

Clemens

Read only

Former Member
0 Likes
427

Issue error message and do not leave screen

Read only

Former Member
0 Likes
427

either,

do the validation before the leave screen, OR

store them in some other field and catch them where you are validating.