Show TOC

Business Object Attachments Collection (0..n)Locate this document in the navigation structure

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:

    1. On the SAP Gateway system, go to transaction SPRO, open the SAP Reference IMG and navigate to Start of the navigation path SAP NetWeaver Next navigation step SAP Gateway Next navigation step OData Channel Next navigation step Administration Next navigation step General Settings Next navigation step Activate and Maintain Services End of the navigation path.

    2. Select the Workflow service.

    3. Choose Call Browser.

    4. Navigate to WorkflowTaskCollection(<workitem_id>)/RelatedObjects.

    5. Navigate to RelatedObjectCollection(workitem_id=<workitem_id>,instance_id=<instance_id>,type_id=<type_id>)/BusinessObjectAttachments