Symptom
You have developed a Reuse Library to make some changes to a Business Object but you notice that the changes do not trigger Standard Determinations as expected.
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Application Studio
Reproducing the Issue
Prerequisites:
- You have developed a Custom Solution.
- You have created a Reuse Library within that Solution.
- During normal Business Activity in the UI, the Reuse Library is triggered.
Cause
The Reuse Library is on the LCP framework and Custom Events (AfterModify, BeforeSave, Action) are on the ESF2 framework.
The issue is that the Standard Determinations only check for the modifications made by the ESF2 framework and can't see the changes made by the LCP framework.
Resolution
To resolve this issue, you need to move the modification to a Custom Event directly on the Business Object.
Keywords
LCP, ESF2, framework, Custom Event, AfterModify, BeforeSave, PDI, SDK , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem