BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

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 output's ABAP route, rendering a PDF through the Form Builder and getting it back into the program, and a route into attachments's ABAP side distinct from Generic Object Services: a file attached to an SAP Business Workflow work item instead.

Where it sits

Explains
Document outputABAPDocument outputcapabilityProducing 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.AttachmentsABAPAttachmentscapabilityStoring 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.
Source
reachable

Who is behind it

Mithun_Sharma1author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
509

For document-output

on the edge
Applies in
authored
abap

For attachments

on the edge
Applies in
authored
abap

More on this10

Group by10 of 10 pieces
Piece, what it offersStill applies
Also explainingDocument output10
RAP - Native File Upload
Software-Heroes, Björn S.
nothing recorded
On‑the‑Fly Excel Download in a RAP Fiori App — No Database Table, No Persistence, Pure CDS + ABAP
SAP Community, hemanthmj
nothing recorded
Custom Form with Custom Data Source in SAP Public Cloud (Grow with SAP)
SAP Community, Gourab_Dey
nothing recorded
Print Preview from RAP Action with v4 OData and Multiple Selection
SAP Community, Gxalmet
nothing recorded
How to Merge Two Separate Smart Forms into a Single PDF in SAP
SAP Community, chandu_kumar_badukuri
nothing recorded
Basic code's of ABAP
SAP Community, RakeshZore
nothing recorded
Merge multiple PDF forms into a single document for download or printing.
SAP Community, MiljanDjuric
nothing recorded
Generating Adobe Form Using RAP framework OData Services
SAP Community, Megastar
nothing recorded
Building an Attachment Upload and Download Solution Using UploadSetwithTable Control
SAP Community, AyhamTThe reasoningRunnable code
nothing recorded
Configure Journal Entry Posting Approval from Store Template in Build Process Automation
SAP Community, SaranyaSampath
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsDocument outputcapability, core and community
explainsAttachmentscapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communityabap-development-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • 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