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 program

parabsandeep
Participant
0 Likes
1,351

HI,

I have two screen say screen 1001 and screen 1002, i have set pf-status for screen 1002(Back, Exit, Cancel) now when i press Back button on screen 1002,

screen 1001 should be called which is working perfectly fine, but i am facing a problem in which the pf-status of screen 1002 is also getting copied to screen 1001.

please help guys. i have also cleared the OK_code.

Moderator Message: Please use proper subject line while posting.

Message was edited by: Kesavadas Thekkillath

8 REPLIES 8
Read only

Former Member
0 Likes
1,324

Hi Sandeep,

Where did you give your pf status.

check whether  you have called the pf status directly in the program or in the pbo module for 1002 MODULE status_1002 OUTPUT.

Regards,

Ramya R

Read only

0 Likes
1,324

HI Ramya,

i have called pf status in the PBO module of screen 1002.

Regards,

Sandeep

Read only

0 Likes
1,324

Hi sandeep ,

Please provide your main program.

regards,

Ramya

Read only

laurent_fournier2
Contributor
0 Likes
1,324

Hi,

I suppose that if you don't set a PF status in screen 1001 also it will keep the status set in 1002.

what exactly is your requirement?

Read only

0 Likes
1,324

I have'nt set pf-status in screen 1001, mine issue is pf-status of screen 1002 is getting excuted in screen 1001.

Read only

0 Likes
1,324

Hi again,

As I said, if you go to screen 1002 that has a PF status and then back to 1001 that does not have PF Status, most probably, screen 1001 will "keep" PF status of 1002.

If you go first to 1001, logically, no pf status will be present.

Again, can you please describe the requirement ?

Read only

Former Member
0 Likes
1,324

if u don't want the pf status to be copied to 1001 do not activate the pf status of the same if want to change the same can be edited and changed

Read only

che_eky
Active Contributor
0 Likes
1,324

To restore the standard list status in 1001, use the following statement in the PBO of 1001:

SET PF-STATUS.

i.e. use the command without specifying a GUI status.

The help states "If the data object status contains only blanks, the standard list status is set and the additions have no effect."

SET PF-STATUS status [OF PROGRAM prog] [EXCLUDING fcode].

Che