SAP Knowledge Base Article - Public

2651252 - Cannot Activate BADI Enhancement Implementation ABSL Script File

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

  1. Open the affected solution.
  2. Right click on the affected BADI ABSL script file.
  3. 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

Product

SAP Cloud Applications Studio all versions