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: 

Function module or BAPI to get the sales order condition details

Former Member
0 Kudos

Hi,

Can any one revert back with the FM or BAPI to get the sales order details.

I tried using BS01_SALESORDER_GETDETAIL, in my driver program of smartform but when i execute the form using VA03 -> Sales Document -> Issue output to -> Print preview, I am getting the required output.

if i see the print preview in the overview of the sales order (enter sales order and press enter), the above specified FM is not populating any data.

Regards,

Sunil

1 ACCEPTED SOLUTION

former_member206377
Active Contributor
0 Kudos

Hi,

Try

BAPI_SALESORDER_GETLIST

BAPISDORDER_GETDETAILEDLIST-->List of All order Data

4 REPLIES 4

former_member206377
Active Contributor
0 Kudos

Hi,

Try

BAPI_SALESORDER_GETLIST

BAPISDORDER_GETDETAILEDLIST-->List of All order Data

0 Kudos

Hi Sunil,

BAPI "BAPISDORDER_GETDETAILEDLIST" should work. As you need the item conditions,

Fill the I_BAPI_VIEW with header = 'X', item = 'X' and sdcond = 'X'.

Fill the SALES_DOCUMENTS-vbeln = sales order number.

Thanks,

Prathap

0 Kudos

Hi,

Thanks and it solved the problem.

Regards,

sunil

Former Member
0 Kudos

Hi,

Try BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer