cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_DELIVERYPROCESSING_EXEC LIPS-ABTNR issue

Former Member
0 Kudos

Hi Experts.

I have a requirement to create outbound delivery automatically from SAP MII. According to our SAP ERP configuration, department_no value has to be inserted obligatory. That's why I am using BAPI_DELIVERYPROCESSING_EXEC to create outbound delivery, as this FM has DEPARTMENT_NO parameter in its input structure REQUEST.

I am passing the following data to REQUEST structure:

  • ID;
  • DOCUMENT_NUMB;
  • DOCUMENT_ITEM;
  • SHIP_TO;
  • DISTRIBUTION_CHANNEL;
  • DIVISION;
  • PLANT;
  • STGE_LOC;
  • DEPARTMENT_NO;
  • QUANTITY_SALES_UOM;
  • MATERIAL;
  • GOODS_ISSUE_DATE;
  • GOODS_ISSUE_TIME;
  • DELIVERY_DATE;
  • DATE;
  • DOCUMENT_TYPE

All other inputs are left blank.

Unfortunately, as a result of BAPI execution I am receiving the following error:

VU 014 Data incomplete: Department No (LIPS-ABTNR), error group: L7

This strange error, as I am definetly passing DEPARTMENT_NO to BAPI and its value is correct (I've copied value from another outbound delivery created manually).

I've gone through lots of SCN threads and searched for answer in other locations, but still unable to find the solution..

Can somebody please help me to figure out the cause of this issue and find the solution? Any reply will be greatly appreciated!

Thanks in advance!

Best Regards,

Vitaliy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I've figured out the cause of my issue. The problem is not actually in BAPI call. Our system is configured to mark sales orders as "Incomplete" if department number is left blank. That's why I was unable to create outbound delivery.

So first of all I should insert department number to sales order (BAPI_SALESORDER_CHANGE) and then create outbound delivery (I used BAPI_OUTB_DELIVERY_CREATE_SLS as I need to create delivery for sales order).

Really silly mistake

Nevertheless, hope this will help somebody, who will face such problem in future!

Cheers!

Answers (0)