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.