2008 June 25 How to Create BAdi

BAdi For current development
Adviced by Pak Nanang,Wai Meng and Radi.
TCode(TransactionCode)
SE18 - DisplayBAdi
SE19 - CreateBAdi

Deduction is within a standard SAP program there are places we can customized to our own requirements. The places are called user exit.
For my current limited knowledge:-
1. BAdi TCode - se19,se18
2. Dynamic Action

Been guided to do BAdi in two different ways.
1. SE19 -> Create Implementation -> Choose classic BAdi(Select from the list z* find) -> Press Create Impl. -> Choose the new name + The App Name. Then Change and Save the method you modify added.
2. OOAM -> Goto -> Enhancement (this is the place where you can find the list of BAdi related to PMS only so you do not need to search for z*) -> Choose classic BAdi

Why some programmers use se19 instead of ooam this is because they might want to us another BAdi which can do the desire value or behavior.

For the enhancement
The tcode use is
SE19
( to create ),
OOAM ( to view the layout and put the BAdi inside the PMS form - Functional Changes),
phap_admin_pa ( to execute the app ).
Appcreate ( to run the app but in more web based )

Guide was given by Wai Meng to find the coordinates in the forms ( using the debug mode - create a break point - look into the table (t_body) and find the unique Row and column Id)
Guide given by Pak Nanang was basically on how to create the BAdi and placement.
Guide given by Radi was basically the logic and the place to pin point the score value to be use by the Badi.

----------------------------------------------------

TCODE Picked Up
PFTC_DIS - workflow
SE91 - Message (havent test)

TABLE
T9B03 - The Value and coordinate use by the BAdi

Notes : I could be wrong any SAPIAN out there if i am wrong in any of my post please do voice out Thanks in advance



More How to and Tips :

https://www.sdn.sap.com/irj/sdn/thread?tstart=0&threadID=767077

http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html
0 comments:

Post a Comment

message

Labels

NuffNang

Search google

Blog Archive

My Blog List

Twitter

Message

Followers