Document output

In ABAP the document is built inside the system that holds the data: a PDF print form from Form Builder, or a spreadsheet, Word file or text that a library writes from ABAP structures and tables.

Overview

SAP SHIPS

SAP Interactive Forms by Adobe: the Form Builder in the ABAP Workbench designs PDF-based print forms, which go to a printer by default or back to the program as a PDF to send by fax or e-mail.

Not covered: At PDF print forms. Spreadsheets, Word documents and text filled from a template are not what Form Builder produces, and the ABAP libraries that write XLSX, DOCX and Handlebars output sit there.

THE COMMUNITY ADDS

ABAP libraries write the formats Form Builder does not: abap2xlsx spreadsheets, zcl_docx Word files and HandlebarsABAP text from templates, and PDF writers such as open-abap-pdf build a PDF from ABAP code. SAP Forms Service by Adobe renders forms for an ABAP system from outside it.

Artifacts8

8 of 8 artifacts
ArtifactSignals
Packages7
abap2xlsxLibrary that reads and generates Excel spreadsheets from ABAP
Signals
none
HandlebarsABAPSingle-file Handlebars templating for ABAP 7.40 SP02 and up
Signals
none
open-abap-pdfStandalone PDF generator written in ABAP
Signals
none
SAP Spool PDFSubmits an ABAP report to the spool and converts the output to PDF
Signals
none
XTTABAP template engine for Excel, Word, HTML and PDF
Signals
none
zcl_docxABAP class filling a tagged Word .docx template with data
Signals
Quiet
zcl_pdfStandalone ABAP class drawing PDFs without Adobe Document Server
Signals
none
Services1
SAP Forms Service by AdobeAdobe Document Services on BTP for print and interactive PDFs
Signals
none

Content8

Group by
Piece, what it offers
A method to create an Adobe form attachment for a work item using the class concept.
SAP Community, Mithun_Sharma1, Blog
On‑the‑Fly Excel Download in a RAP Fiori App — No Database Table, No Persistence, Pure CDS + ABAP
SAP Community, hemanthmj, Blog
Custom Form with Custom Data Source in SAP Public Cloud (Grow with SAP)
SAP Community, Gourab_Dey, Blog
Show 5 more
Print Preview from RAP Action with v4 OData and Multiple Selection
SAP Community, Gxalmet, Blog
How to Merge Two Separate Smart Forms into a Single PDF in SAP
SAP Community, chandu_kumar_badukuri, Blog
Basic code's of ABAP
SAP Community, RakeshZore, Blog
Merge multiple PDF forms into a single document for download or printing.
SAP Community, MiljanDjuric, Blog
Generating Adobe Form Using RAP framework OData Services
SAP Community, Megastar, Blog

Seen working2

ArtifactSignals
Samples2
abap-platform-reuse-servicesRAP sales order using number ranges, change documents and Adobe forms
none
SAP-samples/forms-service-by-adobe-samplesProjects integrating SAP Forms Service by Adobe with ABAP Environment
none

Details

Coverage
statecore and community, ABAP
assessed
relationshipunassessed
also inCAP, BTP/BAIP
For your agent
Ref
capability:document-output
JSON
/capabilities/document-output.json
MCP
Connecting an agent