Symptom
You are trying to add a new item to a Service Order using the ManageServiceOrderIn interface, however, the system is not allowing you to perform the update and it is returning the following error: Changing Line not possible; field is read-only.
Environment
SAP Business ByDesign
Cause
Once the Service Order is released and document status is no longer In Preparation, passing item ID is not allowed, hence the error.
Resolution
This is the system expected behavior.
Please remove the Item <ID> tag from under the <Item actionCode="XX"> tag of your payload and once the request is sent, the system will add the new item to the Service Order.
Please see below, a sample payload Request (XXXX represents the internal system ID's.):
<ServiceOrder ItemListCompleteTransmissionIndicator="false" actionCode="02">
<ID>XXXX</ID>
<Item actionCode="01">
<ID>XXXX</ID>
<ProcessingTypeCode>SVP3</ProcessingTypeCode>
<ItemProduct actionCode="01">
<ProductInternalID>XXXX</ProductInternalID>
<UnitOfMeasure>HUR</UnitOfMeasure>
</ItemProduct>
<Quantity unitCode="HUR">6</Quantity>
<ItemTextCollection>
<Text>
<TypeCode>XXXX</TypeCode>
<ContentText>XXXX</ContentText>
</Text>
</ItemTextCollection>
<AddServiceAndSparePartsActionIndicator>true</AddServiceAndSparePartsActionIndicator>
<RequestedFulfilmentItemPeriod>
<EndDateTime>2019-07-02T19:21:00Z</EndDateTime>
</RequestedFulfilmentItemPeriod>
</Item>
</ServiceOrder>
</glob:ServiceOrderBundleMaintainRequest_sync>
Keywords
Web Service; ManageServiceOrderIn; Add; Item; Update; Service Order; , KBA , AP-SVO-SO , Service Order , How To