Call function module SAP_WAPI_WORKITEMS_TO_OBJECT
objtype = 'BUS1001006' (e.g. Material - Substitute with the applicable business object)
objkey = material number
top_level_items = 'X' or space
selection_status_variant = 0000
Worklist is returned with workflows tasks linked to the business object.







