02-02-2016 11:54 AM
Hi Guys,
I have requirement to add PUSHBUTTON in O3O_RT02 transaction. Please help me sharing some idea to achieve the same.
Screen shot given.
Regards
Shyamal.
02-02-2016 12:15 PM
What did you already try to change the current GUI status?
Hint: Try to set a break-point for statement set pf-status (and identify some enhancement point following the standard execution) or analyze PBO code, then do the same for PAI to be able to handle your ok_code.
Regards,
Raymond
02-02-2016 12:39 PM
Hi Raymond,
I found one PF-STAUS as below in program SAPLOIO_RT
set pf-status 'MAIN' excluding gt_excl. line no - 241
There are enhancement spots in program SAPLOIO_RT.
I know how create enhancement spot BUT what code should I write there?????
Shyamal
02-02-2016 12:48 PM
Just add a simple
SET PF-STATUS status OF PROGRAM zprogram EXCLUDING gt_excl.
in a form executed after the identified linee. Here the excluded function code is stored in global area, so no code required to recover it.
Regards,
Raymond
02-03-2016 6:00 AM
Hi Raymond,
I wrote the below code as per your advice but existing old BUTTONS dont not exists when run the transaction.
SET PF-STATUS 'ZPF1' OF PROGRAM 'ZTEST_SHM' EXCLUDING gt_excl.
Buttons are coming from 'ZPF1'. But old buttons are not coming.
Please advice.
Shyamal.
02-03-2016 6:42 AM
Of course you must first copy the standard status to your customer status (the same way we were all used to do in good old REUSE ALV FM) than add (or remove) some functions.
Regards,
Raymond