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

set pf-status

Former Member
0 Likes
2,141

Hi gurus.

i m created one program with tabstrip. i have give two tab on tabstrip and display data in tablecontrol by using subscreen.

i m given set pf-status 'ABC'.when i run the program i have got

lines on screen and got the message 'a status cannot set in sub screen'. i hav already define in set pf-status in both screen. and also check pf-status active.

i cannot understand where is problem ?

can any one give me any idea about this.

Best Regards

pravin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,326

Hi Pravin,

You cannot set the PF-STATUS for a sub screen.

You can set the PF-STATUS for the main screen. remove the unwanted code from the sub screen flow logic and your code will work.

Thanks,

Chidanand

Hi Pravin,

You cannot set the PF-STATUS for a sub screen.

You can set the PF-STATUS for the main screen. remove the unwanted code from the sub screen flow logic and your code will work.

Thanks,

Chidanand

5 REPLIES 5
Read only

Former Member
0 Likes
1,326

Hi Praveen,

Always you have SET your PF_STATUS in your main screen PBO rather you might have defined in your subscreen where tabstripe screen is present which is wrong.

Thats why the error messages is showing.

Replace the PF-Status to your main screen PF-STATUS your issue will be solved.

Cheers!!

Balu

Read only

Former Member
0 Likes
1,327

Hi Pravin,

You cannot set the PF-STATUS for a sub screen.

You can set the PF-STATUS for the main screen. remove the unwanted code from the sub screen flow logic and your code will work.

Thanks,

Chidanand

Read only

BH2408
Active Contributor
0 Likes
1,326

Hi ,

SET PF-STATUS 'ABC'.

it is Sets a GUI (Graphical User Interface) status pfstat which can be up to 20 characters long. There are many of these statuses in the GUI of a program. Each one describes which functions are available and how you can select these via menus and menu bars or by pressing function keys or pushbuttons.

I think u need to create the new screen and use that one in proper place..

Regards,

Bharani

Read only

Former Member
0 Likes
1,326

Anymore issues or have you got your answer ?

Read only

Former Member
0 Likes
1,326

Hello,

You declare the PF_STATUS to main screen because subscreen will not have PF-STATUS.