Skip to Content

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

Error while creating a sales order BAPI_SALESORDER_CREATEFROMDAT2

Hi All,

I am using the BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order.

I am passing all the required fields and also the rejection code at the item level.

Also I am using a variant configuration material and hence ai am filling the VC config tables.

When I execute this BAPI it is giving me the error 'Item 000010's configuration can no longer be changed' although configuration is maintained for this material.

When I try the same case with no rejection code and with VC configuration, the sales order is created.

When I try the same case again with rejection code and NO VC configuration, the sales order is created.

When I maintain both the rejection code and VC configuration I am getting the error.

Does anyone have any idea what is causing this error or I am supposed to populate any flag in ORDER_ITEMS_INX to get this correctly.

Any answers will be greatly apppreciated!

Thanks

Sandeep

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question