Show TOC

Related Objects Collection (0..n)Locate this document in the navigation structure

This collection relates to the Workflow task entity. It contains the instance IDs of the business objects that are linked to the Workflow item (for example, a purchase order). The service supports Workflow items that are either business objects or an ABAP class.

  • Object Structure

    Property Name

    Description

    WORKITEM_ID

    Workflow item instance ID.

    INSTANCE_ID

    Business object instance ID (for example, the purchase order number).

    TYPE_ID

    Business object type or ABAP class (for example, 'BUS2012' – object type for purchase orders – or the ABAP class).

    CATEGORY

    Business Object ('BO') or ABAP Class ('CL')

    DESCRIPTION

    Description of the business object type or the ABAP class (for example, 'Purchase Order').

    IS_LEADING

    Shows if this the leading object of the Workflow item.

  • Supported Operations

    • GET – To retrieve the Workflow item's Related Objects 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.