Show TOC

Attachment Data Collection (1)Locate this document in the navigation structure

Contains the attachment data (0..1) under the Attachments collection. When you open the Attachments Collection, you can retrieve specific attachment content.

To get the note content, you must execute the Attachments Collection with the following changes:

  • Add the Attachment ID field.

  • Add /AttachmentData at the end of the URL.

Note

This is not a collection because it is a relation of 1–to–1, meaning that each attachment is related to one attachment content.

The URLs are as follows:

  • From the Workflow Generic Task Processing service:

    http://<host name:<port>/sap/opu/sdata/sap/wfgentaskprocessing/AttachmentsCollection(value='<item_id'>,scheme_id='IW_WF_GEN_TASK',scheme_agency_id='<SID>_<client>',id='<attachment_id>')/AttachmentData?$format=xml

  • From the Workflow User Decision Task Processing service:

    http://<host name>:<port>/sap/opu/sdata/sap/wfdecisiontaskprocessing/AttachmentsCollection(value='<item_id>',scheme_id='IWF_USER_DECISION_TASK_GW',scheme_agency_id'=<SID>_<client>',id='<attachment_id>')/AttachmentData?$format=xml

  • From the Workflow Dialog Activity Task Processing service:

    http://<host name>:<port>/sap/opu/sdata/sap/wfactivitytaskprocessing/AttachmentsCollection(value='<item_id>',scheme_id='IWF_ACTIVITY_TASK_GW',scheme_agency_id='<SID>_<client>',id='<attachment_id>')/AttachmentData?$format=xml