Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table
Advanced RAP: Draft, Side Effects, Authorizations and Business Events

Course quiz

Advanced RAP: Draft, Side Effects, Authorizations and Business Events

Keep this: job aid

Advanced RAP card

  • Draft: with draft (whole BO), draft table per entity, total etag on root; Edit, Activate optimized (runs Prepare), Discard, Resume, Prepare.
  • Use %tky (includes %is_draft) in handlers and EML.
  • Feature control: FOR INSTANCE FEATURES / FOR GLOBAL FEATURES; "can it happen?".
  • Authorization: master (global, instance) on root; children dependent; "may you do it?"; reads via CDS access control.
  • Block activation with validations; prechecks stop requests before the buffer; IN LOCAL MODE skips checks.
  • Side effects: trigger (field, action, determine action, $self, event) affects fields, entities, permissions, messages; no ABP code.
  • Events: declare in root BDEF; RAISE ENTITY EVENT in save_modified (with additional save); event binding; idempotent, monitored consumers.
  • Test: ABAP Unit + EML with CDS/SQL doubles and @testing relation; consumers with buffer double or mock EML; UI and end-to-end for side effects, locks, delivery, access control.