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: 

BAPI for sales order

Former Member
0 Kudos

Is there any BAPI to read sales order data? (very much like BAPI_PO_GETDETAIL for PO)

1 ACCEPTED SOLUTION

Former Member
0 Kudos

try using this FM "SD_SALES_DOCUMENT_READ"..

If this helps please reward points.

Varun

12 REPLIES 12

anversha_s
Active Contributor
0 Kudos

hi pawan,

use this.

BAPI_SALESORDER_GETLIST

if hlped pls rwrd points

rgds

anver

Former Member
0 Kudos

HI

You can try using FM BS01_SALESORDER_GETDETAIL or SPP02_SALESORDER_GET.

Regards,

Raj

Former Member
0 Kudos

Check the FM:

<b>BAPI_SALESORDER_GETLIST

BAPI_SALESORDER_GETSTATUS</b>

Regards,

Prakash.

Former Member
0 Kudos

BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer

BAPI_SALESORDER_GETSTATUS Sales Order: Display Status

Former Member
0 Kudos

Hi,

use BAPI_SALESORDER_GETLIST

Regards,

Rahul

former_member181962
Active Contributor
0 Kudos

BAPI_SALESORDER_GETSTATUS would get you most of the sales order information in the tables structure STATUSINFO.

Regards,

Ravi

0 Kudos

I don't want list. I have sales order number I want detail...

Raj FM BS01_SALESORDER_GETDETAIL or SPP02_SALESORDER_GET doen't exist in my system . I am using R/3 release 4.6C.

0 Kudos

I need detail of single sales order , I have sales order number with me....

FM BS01_SALESORDER_GETDETAIL or SPP02_SALESORDER_GET doesn't exist in my system I am using R/3 release 4.6C

Former Member
0 Kudos

try using this FM "SD_SALES_DOCUMENT_READ"..

If this helps please reward points.

Varun

0 Kudos

hi,

try this.

SD_SALES_DOCUMENT_READ Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)

SD_SALES_DOCUMENT_READ_POS Reads sales document header and item material: tables VBAK, VBAP-MATNR

rgds

anver

0 Kudos

use

BAPI_SALESORDER_CREATEFROMDATA

0 Kudos

BAPISDORDER_GETDETAILEDLIST

Check off the tables you want back in I_BAPI_VIEW

Append an Order Number to SALES_DOCUMENTS