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 GOODS_RECEIPT

Former Member
0 Kudos

Hello,

CO11n in the transaction is a function "CO_RU_GODDS_RECEIPT" there is a badi (GOODS_RECEIPT), I would like to write a change in this Badi, what steps should I do or how I can implement.

Thank you

3 REPLIES 3

Former Member
0 Kudos

Hi,

After finding the appropriate BADI go to transaction SE19 (Business Add-Ins Implementation). Enter the implementation name and click on create.

Enter the name of the Business Add-In in the next screen.

Then press enter and save. Then go to interface, it shows all the available methods.

Click on the required method it will go to the class builder to implement this method. In this method develop the required code and activate the method then activate the implementation. Only activated BADI Implementations are called by BADI Adapter.

0 Kudos

I've done, but has an extension of me SPOT verlangt.da I have a ZSPOT eingegebn.

The Probelm is: if the CO11N run

Break point.

CALL METHOD lp_badi_if-> goods_receipt

EXPORTING

i_order_header = i_caufvd

it_confirmations = lt_xafrud_tab

CHANGING

ct_goods_receipt = lt_ximseg_tab.

t_xafrud_tab [] = lt_xafrud_tab [].

t_ximseg_tab [] = lt_ximseg_tab [].

then I see in (debugger)

Once:

IF_EX_WORKORDER_GOODSMVT ~ GOODS_RECEIPT method.

Break-Smidt.

endmethod.

then second:

IF_EX_WORKORDER_GOODSMVT ~ GOODS_RECEIPT method.

Break point.

endmethod.

is this a Probelm ?

Thanks

Former Member
0 Kudos

It means that particular method is getting called twice at different operations.