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: 

getting error ' sales order has no configuration'

0 Kudos
490

Hi,

I am using bapi BAPI_SALESORDER_CREATEFROMDAT2 for sales order creation with the variant while executing bapi, I am getting sales document number with warning message

' the sales document is not yet completed: edit data (type - W, ID - V1, Number - 555, Parameter - VBUVKOM, MESSAGE_V1 - VBAPKOM)

when I run the TR CUTABLEINFO for getting the configuration data, it giving information message that " Sales Order has no configuration ".

Need your's valuable help.


1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos
140

Did you check your values in ORDER_CFGS* (Configuration) parameters, iin some case, e.g. if the characteristic valuation of the configuration deviate from the characteristic valuation specified for the BAPI, you may have to build the order in two steps, BAPI create then BAPI change?

You could execute a BAPI such as BAPI_SALESORDER_GETDETAILBOS to get confirguration information from a correct sales order in the ORDERCFGS* parameters.