2006 Nov 24 3:10 PM
Hi EXPERTS,
i have a BADI_LE_SHP_GOODSMOVEMENT.it will trigger when the header MOT of the delivery for PK as well as the item category of the sales BOM header ZTAQ.
iam creting this include program in MV45AFZZ.by using ZA01 TABLE.But i dont know how to write that code.plz help me out from this issue.
Thanks
2006 Nov 25 3:49 AM
Hi,
If you are creating the BAdI then why are you doing it in MV45AFZZ.
Follow the steps:
1) Go to SE19.
2) Enter an implementation name.
3) When you press create button enter the definition name -LE_SHP_GOODSMOVEMENT in the popup.
4) Then double click on the method - CHANGE_INPUT_HEADER_AND_ITEMS.
5) Put your source code in the ABAP editor.
6) Save and activate.
I am not very clear with your requirement but I have given the steps to develop the BAdI.Hope this will be helpful
Pravat.
<i>*Reward points if helpful.</i>
2006 Nov 25 3:49 AM
Hi,
If you are creating the BAdI then why are you doing it in MV45AFZZ.
Follow the steps:
1) Go to SE19.
2) Enter an implementation name.
3) When you press create button enter the definition name -LE_SHP_GOODSMOVEMENT in the popup.
4) Then double click on the method - CHANGE_INPUT_HEADER_AND_ITEMS.
5) Put your source code in the ABAP editor.
6) Save and activate.
I am not very clear with your requirement but I have given the steps to develop the BAdI.Hope this will be helpful
Pravat.
<i>*Reward points if helpful.</i>
2006 Nov 25 2:26 PM
Hi
Thanks for ur reply.plz tell me the procedure how to write code inside the SE19.
Thanks
2006 Nov 27 5:59 AM
Hi,
I had already explained the detail steps to put your source code through SE19.
Pls check my previous reply.
Pravat.
<i>*Reward points if useful</i>
2006 Nov 25 2:28 PM
hi kiran ,
1. go to se19 .... give implementation name(zxxxx)... click enter....
2. give definition name in the window that is displayed ..... click enter
3. give short description
4. u will see various methods available in the interface tab...
5. double click on ur method ...
6. it will take u to a window where u have to write ur code in between method IF_XXXXXXXXX_XXXXXXXXXX
endmethod.
regards
aswin