SAP Knowledge Base Article - Public

2685077 - Event After Modify is not Getting Triggered After Making Changes in the UI Screen

Symptom

You changed the field value in the UI, for which you have written a code logic in the event After Modify of the BO. The event is not getting called even after hitting the enter button after changing the field value.

Environment

SAP Cloud Application Studio

SAP Cloud for Customer

SAP Business ByDesign

Reproducing the Issue

  1. Login to SDK and open the relevant solution.
  2. Navigate to the Event After Modify ABSL which you have created for the logic implementation.
  3. Put a breakpoint in the code for the user and start the debugging.
  4. Go to frontend UI and navigate to the respective screen.
  5. Enter/ change the field value according to which you want the logic to be implemented.
  6. Hit Enter.
  7. The breakpoint did not hit the event after modify of the BO in SDK.

Cause

The event after modify is not getting triggered because the field which is being modified is not under the same node where the logic is placed.

Resolution

You have to ensure that After Modify event is created under the same node as the element of the BO.

Keywords

Afer Modify Dependent Object Logic not triggered , KBA , after modify event not triggering , logic in event after modify not working , field logic is not working , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , Problem

Product

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