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:
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.