Symptom
Extension field ABC created in business context "Registered Product - General Information" has been added to web service QueryRegisteredProductIn, but it cannot be found in the response of this web service.
(ABC represents extension field name)
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Service Entitlements work center.
- Go to Registered Products view.
- Select a registered product.
- Choose Edit.
- Go to General tab.
- Select the Profile on the upper right corner.
- Select Key user settings, choose Start Adaptation Mode.
- Select OK in the pop-up window.
- Right click on section Registered Product.
- Select + Extension Fields in the pop-up window.
- Under business context "Registered Product - General Information", select extension field ABC. (ABC represents the Extension Field Name)
- Select Show Further Usage.
- Go to Services tab.
- This field has been added to Web Service QueryRegisteredProductIn, operation FindByElements.
- Go to Application and User Management work center.
- Go to Service Explorer view.
- Search for the service: QueryRegisteredProductIn.
- Select the service and download the WSDL file.
- Create a new project in the SoapUI.
- Execute the query using the request payload in SoapUI.
- In the response payload there is no content about the extension field.
Cause
Due to technical limitation, extension field in business context "Registered Product - General Information" cannot be added into web service QueryRegisteredProductIn. Though it seems added to this service in adaptation mode, actually it is not added.
Resolution
This is a current limitation.
As workaround, create a custom OData service using the BO IndividualProduct.
To create a custom OData:
- Go to Application and User Management work center.
- Go to OData Services view.
- Select Custom OData Services from dropdown.
- Choose New.
- Enter the Service Name.
- Select Save, Choose Save and Open.
- Expand the header.
- Enter the work center view as /IBASE/MDM_REGISTEREDPRODUCTS.
- Choose 'Select Business Object'.
- Enter the BO Name: IndividualProduct and BO Node Name: ServiceProcessInformation.
- Select OK.
- Expand the dropdown next to ServiceProcessInformation.
- Select the check box next to the extension field ABC and SerialID. (ABC represents extension field name)
- Choose Save.
- Choose Activate.
- The Service URL is created.
- Open the generated service URL in a browser.
- Replace $metadata in the URL with IndividualProductServiceProcessInformationCollection.
- Execute the URL to view all serial IDs and their extension fields.
Note: To fetch a specific serial ID, append the filter with ?$filter=SerialID eq'XYZ'&$format=json (XYZ represents Serial ID).
Keywords
Extension Field; Adaptation Mode; Registered Product; General Information; Service; QueryRegisteredProductIn; OData; ServiceProcessInformation , KBA , AP-IBA-IPO , Installation Point , AP-IP-INV , Inventory , Problem
SAP Knowledge Base Article - Public