Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_DELIVERYPROCESSING_EXEC problems

Hi All,

I'm using BAPI_DELIVERYPROCESSING_EXEC to create an inbound delivery. I use the following parameters:

lt_request-document_type = 'B'.

lt_request-document_type_predecessor = 'B'.

lt_request-document_numb = t_ekpo-ebeln.

lt_request-document_item = t_ekpo-ebelp.

lt_request-document_category_sd = '7'.

lt_request-document_type_delivery = 'EL'.

lt_request-material = t_ekpo-matnr.

lt_request-plant = t_ekpo-werks.

lt_request-stge_loc = t_ekpo-lgort.

lt_request-quantity_base__uom = t_ekpo-menge.

lt_request-base_uom = t_ekpo-meins.

lt_request-delivery_date = sy-datum.

lt_request-vendor = ekko-lifnr.

append lt_request.

call function 'BAPI_DELIVERYPROCESSING_EXEC'

tables

request = lt_request

createditems = lt_createditems

return = lt_return.

call function 'BAPI_TRANSACTION_COMMIT'

exporting

wait = 'X'.

I have the following return messages into table lt_return:

VL295 Dlv. type (dlv. catgry for mat. 630004573 and BWART ) cannot be determined

VL564 Delivery type was not transmitted

Can anyone help me? Where is the error?

Many thanks.

Luca

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question