Determinations
Determinations calculate field values.
When they run:
- ON MODIFY — after a change
- ON SAVE — at save time
Behavior definition
Declare determinations in the behavior. Example:
determination fillChangeFields on modify { create; }
Implementation in ABAP
Implement the determination in the handler class. Example EML/ABAP snippet:
METHOD fillChangeFields.
MODIFY ENTITIES OF zi_##_tasks IN LOCAL MODE
ENTITY Task
EXECUTE doSomething
FROM CORRESPONDING #( keys ).
ENDMETHOD.