Application Development and Automation 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: 
Read only

Create outbound delivery using BAPI

0 Likes
947

Hi everyone,

I created outbound delivery with BAPI_OUTB_DELIVERY_CREATE_SLS. Bu when I check the lips table

Ntgew field shows comma. Why could it be?. Thanks in advance.

 
data:  l_miktar   LIKE vbap-kwmeng
ls_sales_items-ref_doc = lw_kntfis-zsatisno.
ls_sales_items-ref_item = lw_kntfis-ZSATISKLM.
ls_sales_items-dlv_qty = l_miktar.
ls_sales_items-sales_unit = lw_kntfis-ztartbrm.

APPEND ls_sales_items TO lt_sales_items.

CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_SLS'
EXPORTING
ship_point = vbap-vstel
due_date = lv_mctarih
IMPORTING
delivery = lv_created_delivery
* NUM_DELIVERIES = l
TABLES
sales_order_items = lt_sales_items
return = lt_bapiret2.
1 REPLY 1
Read only

former_member27
Product and Topic Expert
Product and Topic Expert
0 Likes
904

Hi Emre,

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as the overview provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html

Regards,

Dedi

Regards,
Dedi Metser