cancel
Showing results for 
Search instead for 
Did you mean: 

FM to display the all current approver of the SC

Former Member
0 Kudos

Hello Friends,

Is there any function module available to pull the current approver and from the date it is waiting for his/her inbox by passing SC number.

John.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Check this out

BBP_BW_APPROVER_COUNT

pass the Obj Type as BUS2121 and SC number in Obj ID

ashwin_mundkur
Advisor
Advisor
0 Kudos

Hi John,

Use the function module BBP_PDH_WFL_APPROVAL_SIMULATE pass the iv_object_type as BUS2121 and iv_object_id as shopping cart number. You will get the list of approvers in the ET_ADHOC_AGENTS table.

thanks,

Ashwin

Do reward points for useful answers

Former Member
0 Kudos

Hi,

In addition to the previous replies,you can also use BBP_PDH_WFL_WI_FROM_OBJECT_GET with

iv_object_id = SC ID

iv_object_type = BUS2121

you can then use SRM_WAPI_WORKFLOW_GETDETAIL to get WI details.

You can also use FM 'SWL_WI_GET_HISTORY' for the WItem details.

related threads:

BR,

Disha.

Do reward full points for useful answers.

Former Member
0 Kudos

Hi Friends,

I try all the FM , but nothing is work out for me. i want to get the current approver for the SC and when it is awaiting for his/her inbox. i tried different FM's but nothing is working out.

john.

ashwin_mundkur
Advisor
Advisor
0 Kudos

Hi John,

When you execute BBP_PDH_WFL_APPROVAL_SIMULATE with sc id and BUS2121, what do you see in the adhoc agents table?

Also, Go to SWI6 and enter BUS2121 in bus object, enter object key as SC number. Select all instances, all days and execute to see what is happening with the workflow for this cart. Check the 'Log' icon and the tabular icon to see the details.

thanks,

Ashwin

Do reward points for useful suggestions

Former Member
0 Kudos

Hi,

Try with the FM "BBP_PDH_WFL_APPROVER_GET", input the shopping cart number.

Regards

Jagadheesh