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
- Open the UI Designer for the TI component (COD_XX_TI.TI) in the SDK.
- In Extensibility Explorer, select Button Group.
- Choose Add Custom Action.
- Select a custom action file, set Action Type confirm.
- 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
- In UI Designer, start Add Custom Action from Extensibility Explorer > Button Group.
- In the dialog, select the appropriate Instance Binding that matches the screen’s Business Object context (for example, /Root or a specific node path).
- Ensure the Action Type is set as required (for example, Single).
- Confirm, then save and activate the UI changes.
- 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
SAP Knowledge Base Article - Public