02-17-2009 5:24 AM
How do we Assign new GUI-status to screen that we create.At present by defualt 'MEN' is coming
but i didn't created however ?.I am new to screen programming.Plz help.
02-17-2009 5:46 AM
Hi,
Follow code:-
At screen logic:
PROCESS BEFORE OUTPUT.
MODULE status_8001.
In the PBO of the screen,
MODULE status_8001.
SET PF-STATUS 'ZPF_STAT'.
ENDMODULE.
Now in every screen use same concept and set appropiate status for the desired screen.
Every time a screen is called, the PBO of screen is executed and PF status will be changed.
Use code to remove a status from the screen:-
SET PF-STATUS space.
Say if from one screen you move to another and you dnt want any pf-status on that screen, then this will remove the pf-status from the next screen.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Edited by: Tarun Gambhir on Feb 17, 2009 11:16 AM
02-17-2009 5:46 AM
Hi,
Follow code:-
At screen logic:
PROCESS BEFORE OUTPUT.
MODULE status_8001.
In the PBO of the screen,
MODULE status_8001.
SET PF-STATUS 'ZPF_STAT'.
ENDMODULE.
Now in every screen use same concept and set appropiate status for the desired screen.
Every time a screen is called, the PBO of screen is executed and PF status will be changed.
Use code to remove a status from the screen:-
SET PF-STATUS space.
Say if from one screen you move to another and you dnt want any pf-status on that screen, then this will remove the pf-status from the next screen.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Edited by: Tarun Gambhir on Feb 17, 2009 11:16 AM