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.
Showing results for 
Search instead for 
Did you mean: 

sales order with reference to quotation

Former Member
0 Kudos

How to use BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order with reference to quotation? what parameters I need to fill in?


Former Member
0 Kudos

According to SAP note, there is no way we can use BAPI_SALESORDER_CREATEFROMDAT2 alone to create sales order with reference. However, SAP note: 370988 provides a solution. For those who are interested, please refer to the note.

Former Member
0 Kudos


I've also had this problem.

In the past when faces with this requirement I have used

BAPI_READ_SALES_DOCUMENT (Note: I am away from a system today so that may not be the EXACT name of the funciton module but it's close ) to read in the document data from the quote, then transfer that data to the input structures of BAPI_SALESORDER_CREATEFROMDAT2. Seems to work reasonably well although it doesn't offer much in the way of automatic error handling.

Hope this helps,