Symptom
When creating a Service Confirmation using ABSL or the ExternalServicePerformingAndChargingSystemServiceConfirmationCreateRequest web service, the system determines the item as a Material (Product) instead of a Service when the Product and Service have the same ID.
Environment
SAP Business ByDesign
Reproducing the Issue
- Create a Product and a Service with the same ID.
- Create a Service Confirmation through ABSL or the ExternalServicePerformingAndChargingSystemServiceConfirmationCreateRequest web service.
- Reference a Service Contract item that uses the Product/Service ID.
If the Product Type Code is not correctly provided in the request, the system determines the item as a Material instead of a Service.
Cause
The system determines the item type based on the Product Type Code provided in the request payload.
If the Product Type Code is not passed, or is not correctly populated, the system cannot distinguish whether the shared ID represents a Material or a Service and therefore defaults to Material (Product Type Code = 1).
Resolution
To ensure that the Service Confirmation item is identified as a Service when the Product and Service share the same ID, the Product Type Code must be provided in the request payload.
Supported values are:
1 – Material
2 – Service
For a Service, pass the Product Type Code as shown below:
<Product>
<ProductID>ABC</ProductID>
<UnitOfMeasure>HUR</UnitOfMeasure>
<TypeCode>2</TypeCode>
</Product>
Keywords
Service Confirmation; Contract; Product Type Code; Material; Service; Product and Service Same ID; ExternalServicePerformingAndChargingSystemServiceConfirmationCreateRequest; Webservice. , KBA , SRD-CRM-SEO , Service Orders , Problem
SAP Knowledge Base Article - Public