Business Object Attachments Collection (0..n)
Use
This collection relates to the related objects entity. It contains the attachments that are linked to the business object instance (for example, a purchase order) that is linked to the Workflow item. This collection contains only the attachment header data. If you require the attachment content, you must navigate to the appropriate media link. For more information, see the Media Links section.
-
Object Structure
Property Name
Description
WORKITEM_ID
Workflow item instance ID.
ID
Attachment ID in UTF8.
FILENAME
Note's file name.
EXTENSION
Note's file extension (always TXT).
CREATOR_ID
ID of the user who created the note.
CREATOR_NAME
Full name of the user who created the note.
CREATED_AT
Note creation date.
-
Supported Operations
-
GET - To retrieve the Workflow item Business Object Attachments collection, perform a GET operation on the relevant URL.
To obtain the URL:
-
On the SAP Gateway system, go to transaction SPRO, open the SAP Reference IMG and navigate to .
-
Select the Workflow service.
-
Choose Call Browser.
-
Navigate to WorkflowTaskCollection(<workitem_id>)/RelatedObjects.
-
Navigate to RelatedObjectCollection(workitem_id=<workitem_id>,instance_id=<instance_id>,type_id=<type_id>)/BusinessObjectAttachments
-

