Skip to Content

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

Function module or BAPI to get the sales order condition details

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

Former Member
Former Member replied

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 View this answer in context

Helpful Answer

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