12-17-2009 2:24 PM
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
12-17-2009 2:27 PM
Hi,
Try
BAPI_SALESORDER_GETLIST
BAPISDORDER_GETDETAILEDLIST-->List of All order Data
12-17-2009 2:27 PM
Hi,
Try
BAPI_SALESORDER_GETLIST
BAPISDORDER_GETDETAILEDLIST-->List of All order Data
12-17-2009 2:46 PM
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
12-18-2009 9:52 AM
12-17-2009 2:56 PM
Hi,
Try BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer