SAP Knowledge Base Article - Public

2610403 - Extension Field For Sales or Service Order Cannot Be Updated on Item Level via your PDI solution

Symptom

An Extension field on item level in Sales Order or Service Order cannot be updated.

Environment

SAP Business ByDesign

Reproducing the Issue

Your PDI solution is trying to update an Extension field in SalesOrder-Item.node or ServiceOrder-Item.node but this is not possible due to the following error: Changing data not possible; data is read-only

Cause

  • In order to modify the item in a Sales or Service Order the system checks for the CancellationStatusCode, FulfilmentProcessingStatusCode, InvoiceProcessingStatusCode and CustomerOrderLifeCycleStatusCode.
  • Apart from the lifecycle status code the ApprovalStatusCode and CancellationStatusCode are also checked by the system.

In a Service Order for example the item will always become read only when the item is canceled via Reason for Rejection or when the Service Order is in Approval.

In a Sales Order, for service items it will also become read only when the Delivery Status is Finished.
For materials it will also become read only when the Delivery Status is Finished and the Invoice Status is either In Process or Finished.

Resolution

Apart of the lifecycle status code the following mentioned statuses should also be checked before updating item:

Status/ApprovalStatusCode - a change is only allowed if the status value is 'Approved' or 'Not Started'
Status/CancellationStatusCode - a change is only allowed if the status value is 'Not Cancelled'
CustomerOrderLifeCycleStatusCode - a change is only allowed if the status value is not 'Completed'
Status/FulfilmentProcessingStatusCode - for a service item a change is only allowed if the status value is not 'Finished'
Status/InvoiceProcessingStatusCode - for a material item a change is only allowed if the status value is not 'In Process' or 'Finished'

 

See Also

2838653 - Extension Field For Project Invoice Request Cannot Be Updated on Item Level via your PDI Solution

Keywords

CancellationStatusCode; FulfilmentProcessingStatusCode; CustomerOrderLifeCycleStatusCode; Sales Order; ApprovalStatusCode; CancellationStatusCode; InvoiceProcessingStatusCode; Read Only; Changing data not possible; data is read-only , KBA , read only , pdi extension field , changing data is not possible , data is read-only , AP-SLO-SO , Sales Order , How To

Product

SAP Business ByDesign all versions