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: 

Need to add Pushbutton in O3O_RT02 Transaction

former_member705696
Participant
0 Kudos

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.

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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.

0 Kudos

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