cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to extract workflow details from S/4HANA Cloud?

Matheus_Boneli
Product and Topic Expert
Product and Topic Expert

Accepted Solutions (1)

Accepted Solutions (1)

Matheus_Boneli
Product and Topic Expert
Product and Topic Expert

To extract these data you need to use the CDS Views I_WorkflowStatusDetails (it consist of processor and recipient) and I_WORKFLOWSTATUSOVERVIEW, to see the fields available in those CDS Views you can use the apps Query Browser or View Browser,

As per scope item 2QU https://rapid.sap.com/bp/#/scopeitems/2QU

In CDS View I_WorkflowStatusDetails you can use the fields:

  • WORKFLOWINTERNALID
  • The Processor CB User
  • Work flow Task definition (PR TS02000702 and PO TS00800531)
  • Work flow scenario (PR WS02000458 and PO WS00800238)

WS00800157 - Release of Purchase Requisition Header Level
WS00800173 - Release of Purchase Requisition Item Level
WS02000434 - Release of Central PR Header Level
WS02000438 - Release of Central PR Item Level
WS02000458- Release of Purchase Requisition for header level using the APP Manage Workflow for Purchase Requisitions – New
WS02000471- Release of Purchase Requisition for item level using the APP Manage Workflow for Purchase Requisitions – New
WS00800251- Workflow for blocked invoices
WS00800303 - Workflow for parked invoices as complete
WS00800238 - Workflow for Purchase Orders

In CDS View I_WORKFLOWSTATUSOVERVIEW you can use:

  • WORKFLOWINTERNALID
  • PR and PO number

If you prefer you can also use the CDS View I_WorkflowRecipients that provides recipient/approver details.

2669062 - How to Create and Expose a Custom CDS View

rahulb87
Explorer
0 Kudos

Hello @MatheusKleinubing,

I have a PR approval setup (item wise) in the system. I want to get a report out of the system which shows the setup.

For example:

PR approval Item wise setup:

For Purchase grp ABC -> We have 3 approvers.

For Purchase group XYZ -> We have 5 approvers. 

Is there a way to get the report of the setup of all purchase groups?

Regards

Rahul

Answers (0)