{"ref":"content:rap-singleton-pattern","page":"/content/rap-singleton-pattern","json":"/content/rap-singleton-pattern.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"rap-singleton-pattern","title":"RAP - Singleton Pattern","url":"https://software-heroes.com/en/blog/abap-rap-singleton-pattern-en","content_type":"blog","published_on":"source:software-heroes","explains":["capability:abap-transactional-model"],"summary":"Builds the RAP Singleton pattern: a root CDS view entity constrained to always return exactly one row, its composition child for line items, and a [transactional model](capability:abap-transactional-model) behaviour definition — managed with unmanaged save, a determination that fills the user ID, and an EML update inside SAVE_MODIFIED to write the saved data elsewhere. Generates the Fiori elements object-page app from that service and adjusts Component.js so preferredMode lands the user in edit mode against the fixed semantic key, since the app always has exactly one record to open.","short":"Building the RAP singleton pattern with a one-row root entity","author":"Björn S.","published":"2026-08-25","provenance":{"discovered_via":[{"source":"source:software-heroes"}],"first_seen":"2026-09-18"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 2 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-08-25"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}