2009 Jan 02 10:45 PM
Hi,
I want to add an extra pushbutton on a sap program screen. What are the steps involved for it?
There is no BADI / exit avaliable for it. I have requested OSS key for the screen object and PAI Module.
But do I need to do anything in PBO ?
Basically, I want my fuctionality when that pushbutton is pressed by user.
Thanks and rgds,
Rupalee.
2009 Jan 02 11:04 PM
You are less likely to get good answers,Untill you not tell us for which transaction and for what addin functionality you want to add push button.
2009 Jan 02 11:04 PM
You are less likely to get good answers,Untill you not tell us for which transaction and for what addin functionality you want to add push button.
2009 Jan 02 11:06 PM
Well, You dont have to have anything in PBO if you want to do something after user press the button.
It is like changing standard program and is not suggestable, though, you can change by regestering the program/screen.
You have to find out the standard PBO process and add your code there.
Try menu exits if you can find any before changing standard SAP code.
Good luck
2009 Jan 03 12:20 AM
Hi Rupali,
There are two ways I can think rightnow.
1) Without doing modifications to SAP standard
Please identify SAP program and screen number where you wish to make modifications.
Verify whether any screen exits are allowed in your screen.
If your answer is "Yes", then you can add "pushbutton" and all user-exit code which handles your
button.
2) This approach involves making modification to SAP standard using access keys
Identify SAP program and screen number where you wish to make changes
Check whether SAP using GUI-STATUS on the screen, get access key to modify the GUI-STATUS
Modify PAI in the screen to handle your pushbutton logic.
Always preference must be given to SAP standard with doing modfiications direclty. Since this will create
issues during your functional or technical upgrades in future.
Let me know if you have further questions.
REgards
Krishna
2009 Jan 03 4:05 AM
Hi,
You need to add the Pushbutton on the required SAP Screen in the Screen Lauout Editor and have to declare the same in your Program also with the same name.
then look for the PAI Module handling the User Action's and code your Logic under the SY-UCOMM as your Pushbutton Function Code.
2009 Jan 29 7:09 PM