‎2018 Nov 29 8:42 AM
Hi,
I am working with a spec where I have to create(not update) Foreign trade data (EIPO/EIKP) while we create Delivery using tcode VL10D. Normally, this is done once the user adds the information under foreign trade tab and hit save button that will create an entry in EIKP and EIPO Tables. I need a BAPI or any method that gives the functionality to create Foreign trade data under delivery.
I have found FM EXPIMP_POSTING but this FM requires EXNUM so this can be used to update the foreign trade data but can't create. so I believe there is another FM that generates the EXNUM for EIKP table.
thanks
‎2018 Nov 30 7:56 AM
I have found the solution.
the following BADI triggered once the PO is entered in MIGO
method IF_EX_MB_MIGO_ITEM_BADI~ITEM_MODIFY.
Build error message and export it in memory.
The following BADI triggered on SAVE, post, check events.
Pass error/information message to table et_bapiret2.
That combination will solve the problem.
‎2018 Nov 30 7:56 AM
I have found the solution.
the following BADI triggered once the PO is entered in MIGO
method IF_EX_MB_MIGO_ITEM_BADI~ITEM_MODIFY.
Build error message and export it in memory.
The following BADI triggered on SAVE, post, check events.
Pass error/information message to table et_bapiret2.
That combination will solve the problem.