cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify POWL Button Click of INBOX for Workflow decision?

keyur_pawar
Active Participant
0 Kudos
199

Hello Experts,

I'm working on SC approval step. I would like to write some code in one of the FM which has triggered during SC approval.

Here, I want to know what decision has taken (Approve or Reject) in the FM. Please help me to identify weather user has Clicked on Approve or Reject?

Please refer attached screenshot for details. inbox.jpg

Regards,

Keyur Pawar

Accepted Solutions (0)

Answers (1)

Answers (1)

ivy_li
Advisor
Advisor
0 Kudos

Hi,

Usually we will go to trx swi1 to check each workflow, and in the log details, you will see by which approver the document is approved or rejected.

We also have some tables which will store useful information for each workitem:

===


/SAPSRM/D_WF_000 - Table for persistent class /SAPSRM/CL_WF_PROCESS
/SAPSRM/D_WF_001 - Activation Table of new SRM Workflow Framework
/SAPSRM/D_WF_003 - Table for persistent class /SAPSRM/CL_WF_PROCESS_LEVEL
/SAPSRM/D_WF_004 - Table for persistent class /SAPSRM/CL_WF_DECISIONSET
/SAPSRM/D_WF_005 - Table for persistent class /SAPSRM/CL_WF_AREA_CONTEXT
/SAPSRM/D_WF_006 - Table for persistent class /SAPSRM/CL_WF_DS_ITEM
/SAPSRM/D_WF_008 - Table for persistent class /SAPSRM/CL_WF_RECORD
/SAPSRM/D_WF_012 - Table of persistent class /SAPSRM/CL_WF_AREA_BASE
/SAPSRM/D_WF_013 - Table of persistent class /SAPSRM/CL_WF_WORKITEM
/SAPSRM/D_WF_016 - Table that stores approvers
===

BR,
Ivy