SAP Knowledge Base Article - Public

3296090 - DATREF_NOT_ASSIGNED When Trying to Update Sales Order Due to ItemScheduleLine in The Payload


You are trying to update a Sales Order via webservice, and when executing the payload, the system returns the error: DATREF_NOT_ASSIGNED.


SAP Business ByDesign

Reproducing the Issue

Send the payload to update the Sales Order document.


The reason the system is returning the error is because in the payload you passing the tag ItemScheduleLine to be updated.

This is not permitted as the ATP (Available To Promise) has already been executed.


This is the system expected behavior.

When updating Sales Orders, please do not pass the tag ItemScheduleLine to update.
The tag ItemScheduleLine can be used for new documents, but not already created ones.

See Also

3295420 - Error DATREF_NOT_ASSIGNED When Trying to Complete Execution for a Service


DATREF_NOT_ASSIGNED, Sales Order, Item, itemScheduleLine, Webservice, EDI , KBA , AP-CI-CI , Customer Invoice , How To


SAP Business ByDesign all versions