Application Development 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: 

Assign GUI-status to screen

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

I355602
Advisor
Advisor
0 Kudos

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

1 REPLY 1

I355602
Advisor
Advisor
0 Kudos

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