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

Agent assignment through BADI

Former Member
0 Likes
139

Hi All,

I am implementing BADI BBP_WFL_ADMIN_APPROV for determining approvers in confirmation. I have written following code for testing

method IF_EX_BBP_WFL_ADMIN_APPROV~ADMIN_APPROVER_GET.

DATA: wa_agent TYPE swhactor.

wa_agent-objid = '501696440'.

wa_agent-otype = 'US'.

append wa_agent to et_agent.

endmethod.

When I doing confirmation, it is stopping at this badi and populating et_agent but when I go to approval preview it shows " Agent assignment does not exists".... The workflow WS10400020 however gets started.

Please guide me what to do for solving this problem.

Regards

Praveen Ghosh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Useful

masa_139
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

Please run the FM BBP_PDH_WFL_ADMIN_GET in test mode or test with debug mode.

Please also double check the task is Genaral Task.

Regards,

Masa