cancel
Showing results for 
Search instead for 
Did you mean: 

How to get User Id of Initiator in Mass Processing/Consolidation, Instead of SAP_WFRT?

Rishav2727
Discoverer
0 Kudos
460

In Consolidation/Mass Processing, BRF+ is maintained with INIT in case of Rejection of CR but is routes to SAP_WFRT. How to Find the user who initiated Consolidation?

View Entire Topic
Manikandaraja
Explorer

Hi,

We faced the same situation in our MDC implementation. So I followed below process to send the Change Request back to Requester or CR initiator.

Generally consolidation process will create a change request in draft mode and it's created by workflow user.

So some dialogue user should Resubmit that particular change request to start the Work Flow. So I have implemented Dynamic Agent selection service BADI at Rejection step.

In Dynamic Agent Selection BADI I read the change request data (USMD_CHANGED_BY) from USMD120C table based on CR Type and Status (as we know which is the 1st level of approval).

Assign that particular user (USMD_CHANGED_BY user) back to changing parameter CT_USER_AGENT_GROUP of GET_DYNAMIC_AGENTS method.

By this approach I was able to route the change request back to Requester incase of rejection.

Please let me know if you required any further details and if this solution helps you please mark my answer as answered.

Thank you

Best Regards

Mani