Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Add free position to delivery

antonio_sanseverino
Participant
0 Kudos

Hi Guru,

I' ve to add e free position (not referred to Sales Order) to existing delivery, I've tried with BAPI_DELIVERYPROCESSING_EXEC

but it doesn't work, maybe I've to fill a required field...

wa_request-material = MATERIAL

wa_request-quantity_sales_uom = QTY

wa_request-quantity_base__uom = QTY

wa_request-id = 1.

wa_request-document_type = 'A'. "Delivery

wa_request-document_numb = '0080001781'. Existing Delivery number

wa_request-document_item = '00050'.

wa_request-plant = PLANT.

wa_request-date = sy-datum.

wa_request-goods_issue_date = sy-datum.

wa_request-goods_issue_time = sy-uzeit.

2 REPLIES 2

Former Member
0 Kudos

Are you doing free goods? SAP handles that in SD...

0 Kudos

I've created only the delivery, if I try to add a position from VL02N it works, from the BAPI no...