Symptom
You have created a Key User Tool (KUT) field. You have added it to your PDI custom code solution via a .ref file, and you have added the KUT field to your Business Add-in (BADI) ABSL script file. You cannot activate this ABSL script file as you receive the errors:
-
Error during activation in: ByD Scripting Language Implementation
- Error in activation of runtime object
- Syntax error in generated ABAP method
Environment
-
Cloud Application Studio (SDK)
Reproducing the Issue
-
Open the affected solution.
- Right click on the affected BADI ABSL script file.
- Errors will occur.
Cause
Adding KUT fields to a BADI ABSL is not supported. Therefore activation will fail.
Resolution
You will need to remove the KUT field from the BADI ABSL. You can create a PDI field in the same location, and use the PDI field in the BADI ABSL.
Keywords
BADI, Enhancement Implementation, SDK, PDI, custom, solution, KUT, Extension field, activation, failed, , KBA , sdk , activation , kut , failed , badi , enhancement implementation , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem