SAP Knowledge Base Article - Public

2777084 - Custom fields with keyword key does not get added in WSDL

Symptom

Fields with keyword 'KEY' is not added in the WSDL

Environment

SAP CLOUD FOR CUSTOMER

SAP BUSINESS BYDESIGN

SAP CLOUD APPLICATION STUDIO

Reproducing the Issue

You have created a custom BO with few alternative keys, example one of the alternative key is named as UniqueKey and few more fields.

Now when you create the webservice for the same custom BO, all the fields expect the UniqueKey is getting added in the WSDL file of that field.

Cause

KEY is a reserved work used by SAP and you cannot consume in your ABSL.

Resolution

The word "KEY" in the label and element descriptions are NOT recommended to use.
You will have to revise your declerations and will have to remove the word 'KEY'.

Keywords

SDK, C4C, BYD, Activation Failed, Error when processing class, Errors during activation of solution, Custom Solution,Field missing , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions