On‑the‑Fly Excel Download in a RAP Fiori App — No Database Table, No Persistence, Pure CDS + ABAP
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 annotationsFiori annotationsDescribing a service so a Fiori client can render it without hand-written UI code — titles, value helps, hierarchies and visibility expressed as model annotations rather than screen logic.SAP and community, unassessed render the field as a download link with no backing database table, trading the usual persisted-blob approach to document outputDocument outputProducing a document a person receives — a printed form, a generated PDF, a filled template — and getting it to a printer or a queue rather than returning it as a payload.SAP and community, narrow by design for a file rebuilt fresh on every click.
Where it sits
Who is behind it
Properties
About this work
For document-output
For fiori-annotations
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · abap-rap-tag.
For your agent
- Ref
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
- MCP
- Connecting an agent