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

Selection screen restart

usersant077
Explorer
0 Likes
1,416

Hi gurus.

I have a selection screen that it’s entries are updating my z db table. When an entry is created successfully a message type I is shown.

After the entry is created, message is shown and user accepts it, I want the selection screen to be cleared and the program to restart, so another entry could be entered - without leaving the screen and come back.

Any suggestion on how to achieve that?

Thank you very much.

1 ACCEPTED SOLUTION
Read only

venkateswaran_k
Active Contributor
1,234

Hi

You add following statement at end of selection event.

end-of-selection.
  write:/ 'clearing parameters'.
  free memory.

This will clear your parameters in selection screen

Regards,

Venkat

Hi gurus.

I have a selection screen that it’s entries are updating my z db table. When an entry is created successfully a message type I is shown.

After the entry is created, message is shown and user accepts it, I want the selection screen to be cleared and the program to restart, so another entry could be entered - without leaving the screen and come back.

Any suggestion on how to achieve that?

Thank you very much.

3 REPLIES 3
Read only

venkateswaran_k
Active Contributor
1,235

Hi

You add following statement at end of selection event.

end-of-selection.
  write:/ 'clearing parameters'.
  free memory.

This will clear your parameters in selection screen

Regards,

Venkat

Read only

0 Likes
1,234

Thank you!! 🙂

Read only

Abinathsiva
Active Contributor
0 Likes
1,234

Hi,

Inserting record to DB through selection screen is not advisable, since it is already in use free/ clear selection values, end of selection.