SAP Knowledge Base Article - Public

3732772 - Exception in UI Designer when adding a custom action button to the TI screen

Symptom

  • When attempting to add a custom action button in the UI Designer for the TI screen, an exception occurs.
  • Error message: "UI Designer has caught an exception".

Environment

  • SAP Cloud for Customer core applications
  • SAP Cloud Applications Studio
  • SAP Business ByDesign

Reproducing the Issue

  1. Open the UI Designer for the TI component (COD_XX_TI.TI) in the SDK.
  2. In Extensibility Explorer, select Button Group.
  3. Choose Add Custom Action.
  4. Select a custom action file, set Action Type confirm.
  5. Observe that the exception is raised.

Cause

The custom action was added without selecting an Instance Binding, so the action lacked a bound Business Object node instance context.

Resolution

  1. In UI Designer, start Add Custom Action from Extensibility Explorer > Button Group.
  2. In the dialog, select the appropriate Instance Binding that matches the screen’s Business Object context (for example, /Root or a specific node path).
  3. Ensure the Action Type is set as required (for example, Single).
  4. Confirm, then save and activate the UI changes.
  5. Reopen the screen and verify that the custom action is added without the exception.

See Also

Keywords

UI Designer, AddCustomActionModeler, Click event handler failed to execute, Custom action button, Instance binding, Visit TI, Exception handling. , KBA , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer core applications all versions