08-07-2006 8:57 AM
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
08-07-2006 9:01 AM
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
08-07-2006 9:19 AM
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.
08-07-2006 9:34 AM
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.
08-07-2006 9:39 AM
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
08-07-2006 9:41 AM
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
08-07-2006 9:45 AM
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.
08-07-2006 10:24 AM
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
08-07-2006 10:37 AM
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.