cancel
Showing results for 
Search instead for 
Did you mean: 

how to capture the Actual approver from BADI :BBP_WFL_APPROV_BADI

Former Member
0 Kudos

If the approval branch(index) has 5 approvers and If any one of them is approving,

the APPROVAL_HISTORY_TABLE has all the 5 approvers of that branch.

User1 is one of the 5 users.When he is approving,the approval table has all the 5 approvers and no where the actual approver of that branch is captured.

Can we capture the actual approver based on Sy-Uname?

Or is there any other specific solution?please suggest.

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Kittu,

Here is below process for BBP_WFL_APPROV_BADI BAdI call by function modul:

BBP_WFL_DIN_APPR_CONTAINER_SET > BBP_WFL_DIN_APPR_FINALLIST_GET > BBP_WFL_DIN_APPR_CONTAINER_GET > BAdI BBP_WFL_APPROV_BADI.

Now, check what's happened for first function module local variable lv_actual_index and local table lt_cont_approver

coming from BAdI parameters ACTUAL_APPROVAL_INDEX and APPROVAL_TABLE.

Maybe your BAdI method is not correctly implemented.

Regards.

Laurent.

Answers (0)