10-08-2008 1:57 PM
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
10-08-2008 2:00 PM
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.
10-08-2008 2:16 PM
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
10-08-2008 2:26 PM
It means that particular method is getting called twice at different operations.