cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_OUTB_DELIVERY_SAVEREPLICA Required fields

0 Kudos

Hello, Guru!

I'm using BAPI BAPI_OUTB_DELIVERY_SAVEREPLICA in the project for replicate outbound Delivery

More correctly, I'm using incoming IDOC mestype SHP_OBDLV_SAVE_REPLICA, which triggers  BAPI_OUTB_DELIVERY_SAVEREPLICA

Documentation for BAPI BAPI_OUTB_DELIVERY_SAVEREPLICA FM parameters ITEM_DATA states:

Required fields
- OUTB_DELVRY_NO
- ITM_NUMBER
- MATERIAL
- DLV_QTY
- SALES_UNIT_ISO or SALES_UNIT

But, alas !

System requires filling add fileds for item_data concerning amount (besides  DLV_QTY and SALES_UNIT) : DLV_QTY_STOCK, BASE_UOM, SALES_QTY_DENOM,SALES_QTY_NUM

Delivery will not create without these fields.

But system has coefficients, base and alternatively  unit of measure  in material master record.

How can I evade filling this add fields ?

Thank you in advance

Kleonsky Vadim

Accepted Solutions (0)

Answers (1)

Answers (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi Vadim

Check SAP Note 949074 - BAPIs for generating outbound deliveries, and related notes. I believe you need to research the BADI BADI_DLV_CREATE_SLS_EXTIN.

In the other hand, I am afraid you can't use number formats in these fields. Although it's for BAPI's, check SAP Note 143580 - Information on SD BAPIs and customer enhancement concept, and figure out if it matters in your requirement.

I hope it helps you

Regards

Eduardo