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: 

Reg Set PF status

Former Member
0 Kudos

HI All,

I have a problem with set PF status I have designed GUI for secondary list using set pfstatus but when I am in secondary lists the standard tool bar is disabled means all the standard buttons Back,save,exit,cancel have been disabled? Can any body let me know how to get back these things?

Thanks&Regards

Mahesh

8 REPLIES 8

Former Member
0 Kudos

try this thing ..

APPEND 'CRET' TO fcode.

APPEND 'EDIT' TO fcode.

APPEND 'DISP' TO fcode.

APPEND 'DELE' TO fcode.

SET PF-STATUS 'STAT_CFORM' including fcode.

hope this will wrk

reward points if helpfull

rohit

former_member195698
Active Contributor
0 Kudos

You have to create you own buttons and add code to handle the Functions. For getting the standard function codes in the PF status use the option .. MENU -> Extras -> Adjust Template .. Choose the template that you want.

Former Member
0 Kudos

Hi Mahesh,

In the GUI .. gor these four buttons to get the standard functionality... we have to give the standard function codes.

write 'BACK' , 'SAVE' , 'EXIT' , 'STOP' for these four buttons to make them enabled....

Regards,

Vidya.

Former Member
0 Kudos

Mahesh,

Use the SET PF-STATUS SPACE in order to override the standard functionality, you can also your own pf-status.

Reward if helpful.

Regards

Former Member
0 Kudos

Hi Mahesh,

Copy the pf status from a standard program and add your new buttons

to do that goto SE41 , give one dtandard program name , pf status name and copy that to ur program and add ur own buttons to that and activate

former_member188685
Active Contributor
0 Kudos

Hi Mahesh,

please give your complete code,

<i> I have designed GUI for secondary list using set pfstatus but when I am in secondary lists the standard tool bar is disabled</i>

that means you have not activated the Pf status properly.

or you are not used in correct place.

please check it,one of them you missed it.

Regards

vijay D T T.

0 Kudos

Hi Vijay,

I have activated my secondary list I am able to see the buttons which we have creatd but the standard buttons are in disabled more this is the problem.

Thanks&Regards

Mahesh

0 Kudos

Hi Mahesh,

once you use the set pf-status option, then you will loose the standard buttons, they no more present,But if you want them then you have to Assign the OK COde(Function Code ) to them and handle them using At user-command event.i think you didn't assign the Fucntion codes to the Standard Buttons. try assigning some codes and see.

Regards

Vijay D T T.