cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_OUTB_DELIVERY_CHANGE is checking availability, while updating text and date fields

neeraj_jain1
Discoverer
0 Kudos

Hi,

We are using Basic type : DELVRY03 and message type DESADV to update text fields and Planned GI date and one of the custom date field through Idoc. We have done a debug in production which suggests that BAPI_OUTB_DELIVERY_CHANGEis checking availability for the material and it will be in error if the stock is not available, which is not a correct behavior.

While updating the delivery with same fields there is no availability check happens.

Can someone throw a light on the possible cause with the BAPI.

Accepted Solutions (0)

Answers (2)

Answers (2)

anand_sagarsethi
Contributor
0 Kudos

Compare the values passed to Function Module: WS_DELIVERY_UPDATE when its called from BAPI and from normal delivery process; you will be able to find the difference

Jelena
Active Contributor
0 Kudos

Check what data is in the IDoc, you might have some field filed in that causes the function to think you're doing more than you think you're doing. Also check for SAP notes on this.

Other than that - open an incident with SAP Support and give them all the details and system access.