{"ref":"content:on-the-fly-excel-download-in-a-rap-fiori-app-no-database-table-no-persistence-pu","page":"/content/on-the-fly-excel-download-in-a-rap-fiori-app-no-database-table-no-persistence-pu","json":"/content/on-the-fly-excel-download-in-a-rap-fiori-app-no-database-table-no-persistence-pu.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"on-the-fly-excel-download-in-a-rap-fiori-app-no-database-table-no-persistence-pu","title":"On‑the‑Fly Excel Download in a RAP Fiori App — No Database Table, No Persistence, Pure CDS + ABAP","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/on-the-fly-excel-download-in-a-rap-fiori-app-no-database-table-no/ba-p/14422845","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:document-output","applies_to":{"ecosystems":["abap"]}},{"ref":"capability:fiori-annotations","applies_to":{"ecosystems":["abap"]}}],"summary":"Builds a CDS custom entity backed by an ABAP class that implements IF_RAP_QUERY_PROVIDER and assembles an XLSX workbook at request time — hand-built from Open XML parts with cl_abap_zip for multiple sheets, or in one line via cl_salv_table=>to_xml for one — then streams it to the browser through the @Semantics.largeObject annotation. The same annotation makes [Fiori annotations](capability:fiori-annotations) render the field as a download link with no backing database table, trading the usual persisted-blob approach to [document output](capability:document-output) for a file rebuilt fresh on every click.","short":"Excel download from a RAP custom entity without persistence","author":"hemanthmj","published":"2026-06-18","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"abap-rap-tag"}],"first_seen":"2026-10-15"},"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 5 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-06-18"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2242,"unit":"views"},{"value":5,"unit":"comments"},{"value":6,"unit":"likes"}]},"signals":{"views":2242,"likes":6,"comments":5,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}