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: 

What is the BAPI function to get Sales order items?

Former Member
0 Kudos

I am creating a Delivery Order by calling BAPI_OUTB_DELIVERY_CREATE_SLS BAPI function. This function requires the SALES_ORDER_ITEMS import parameter so I need to get Sales order items.

Anyone can help me? please!!!

3 REPLIES 3

Former Member
0 Kudos

hi,

Use this one BAPISDORDER_GETDETAILEDLIST.

0 Kudos

Is there a BABI funtion module with

import:

- Sales Order number

export

- Sales Order Items

Thanks,

Nguyen Quang Dai

0 Kudos

Have you tried BAPISDORDER_GETDETAILEDLIST ? because it's very simple, you just pass the order number Tables 'SALES_DOCUMENT'. In importing parameter I_BAPI_VIEW pass 'X' to 'ITEM' (the second one) and then you will get the item details.

Check on SE37 with these parameters.