Symptom
You created a Custom Web Service within SAP Cloud Applications Studio and you are trying to add the element TaxCalculationItem to this Web Service.
You are able to check the box of the TaxCalculationItem and save/activate it. Once you close and open the Web Service again you will notice that TaxCalculationItem checkbox is not checked anymore.
Environment
- SAP Business ByDesign
- SAP Hybris Cloud for Customer
- SAP Cloud Applications Studio
Reproducing the Issue
- Open SAP Cloud Applications Studio.
- Open your Custom Solution.
- Open the file where you created the Web Service. E.g: "/YXXXXXXXY_MAIN/SRC/Extension/SupplierInvoice/SupplierInvoice.webservice".
- Add the Node "TaxCalculationItem".
- Save and Activate the web service.
- Close the file.
- Re-open the file and note that the Node TaxCalculationItem is unchecked.
Cause
The element TaxCalculationItem is an association to a DO(Dependent Object) and selection of elements of a DO is not permitted.
Since this element does not contain any sub elements, it is not saved to the backend and thus during reopen it is not selected.
Resolution
This is the expected behavior of the system.
Development Team is working to enhance the tool in a way this kind of elements won't be available into the Web Services if they are not allowed to be add.
Keywords
TaxCalculationItem; SDK; Web Service; Dependent Object; DO; , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , How To