A method to create an Adobe form attachment for a work item using the class concept.
Walks through an ABAP workflow class, ZCL_WF_PDF, whose methods call an Adobe form through a Form-Builder-generated function module, convert the returned PDF between hexadecimal string and binary with SCMS_XSTRING_TO_BINARY and SCMS_BINARY_TO_XSTRING, and attach it to a work item via SAP_WAPI_ATTACHMENT_ADD and SAP_WAPI_WRITE_CONTAINER, with the class, background-task and SWDD workflow steps shown in full. It explains 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's ABAP route, rendering a PDF through the Form Builder and getting it back into the program, and a route into attachmentsAttachmentsStoring a file somebody uploaded next to the record it belongs to, and getting it back out — where the bytes actually live, who may read them, and what the UI shows while they are being scanned.SAP and community, unassessed's ABAP side distinct from Generic Object Services: a file attached to an SAP Business Workflow work item instead.
Where it sits
Who is behind it
Properties
About this work
For document-output
For attachments
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · abap-development-tag.
For your agent
- Ref
content:a-method-to-create-an-adobe-form-attachment-for-a-work-item-using-the-class-conc- JSON
- /content/a-method-to-create-an-adobe-form-attachment-for-a-work-item-using-the-class-conc.json
- MCP
- Connecting an agent