Skip to Content
0
Former Member
Feb 04, 2014 at 10:50 AM

BAPI for Inbound Delivery VL31N

3429 Views

Hi,

I need to create inbound delivery in background mode.

I searched and found Function module BBP_INB_DELIVERY_CREATE form SCN.

But Its not updating the material number in delivery.

I have posted the same to SAP support. They've replied that this is the consulting issue since the BAPI is in not released status.

I did implicit enhancement to update the material in ME_CONFIRMATION_VIA_EDI function module. Its working fine. Is it recommended?

Code:

DATA: WA_XKOMDLGN LIKE LINE OF XKOMDLGN.

LOOP AT T_KOM INTO WA_XKOMDLGN.

SELECT SINGLE MATNR INTO WA_XKOMDLGN-MATNR

FROM EKPO WHERE EBELN EQ WA_XKOMDLGN-VGBEL

AND EBELP EQ WA_XKOMDLGN-VGPOS

MODIFY T_KOM FROM WA_XKOMDLGN.

ENDLOOP.


Is any other option to create VL31N background (using BAPI)?

Thanks,

Maruthamuthu S

Attachments

inbound.jpg (88.1 kB)