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

Reset (?) Screen (Module Pool)

Former Member
0 Likes
957

Hello,

I'm working with screen painter and have a program which by click of a button [Map] will take you to a second screen 101 and when the user clicks the [Back] button it will take them back to initial screen 100 but once the [Map] button is click again the second screen 101 retains its initial values.

My question: Is there away to "reset" or "destroy" the screen after leaving it?

MODULE user_command_0100 INPUT.

save_ok = ok_code.

CLEAR ok_code.

CASE save_ok.

WHEN 'EXIT' OR 'CANCEL' OR 'BACK'.

    • reset screen 101 **

WHEN OTHERS.

output = save_ok.

ENDMODULE.

Thank you for your help!

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
456

Hello,

Clear all fields which are there on the screen 101.

If you have a table contorl, then refresh the internal table.

Regards,

Naimesh

1 REPLY 1
Read only

naimesh_patel
Active Contributor
0 Likes
457

Hello,

Clear all fields which are there on the screen 101.

If you have a table contorl, then refresh the internal table.

Regards,

Naimesh