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: 

badi doubt t.code MB11

Former Member
0 Kudos
128

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
87

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>

4 REPLIES 4

Former Member
0 Kudos
88

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>

0 Kudos
87

Hi

Thanks for ur reply.plz tell me the procedure how to write code inside the SE19.

Thanks

0 Kudos
87

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>

Former Member
0 Kudos
87

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