cancel
Showing results for 
Search instead for 
Did you mean: 

How to change an approver in shopping cart( by function module ) ?

Former Member
0 Kudos

Hello, i wish to change my approver ( not through the portal) but by function module ( or some other way) . Then, the creator of the SC will see the new approver in his cart details and also, when the new approver logs in, he will have the shopping cart in his list.

thx

Accepted Solutions (0)

Answers (2)

Answers (2)

saumya_govil
Active Contributor
0 Kudos

Hi Antish,

Try the FM BBP_PDH_WFL_APPROVER_CHANGE. Thsi should help!

Regards,

Saumya

Former Member
0 Kudos

hi thx a lot. one last question. what do you insert in the parameter IT_INSERT_AGENT,.thx

saumya_govil
Active Contributor
0 Kudos

Hi Antish,

First please tell me, does this FM solve your requirement?

If yes, great!

In IT_INSERT_AGENT you need to pass the agents Name with leading 'US', i.e. if the login ID is 12345, then pass US12345 into this attribute.

Hope this solves your issue!

Regards,

Saumya

Former Member
0 Kudos

thx im trying to run it. should you fill in the field IT_INSERT_AGENT-DISPAGENT also?

saumya_govil
Active Contributor
0 Kudos

Hi Antish,

I don't think it is mandatory to pass DISAGENT. Try to run without passing it.

Let me know in case of any issues.

Regards,

Saumya

Former Member
0 Kudos

The table CT_STEP_ITEM_APPROVER is not returning me anything. i've checked my data through BBP_PD.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

SC owner can change approver and add approver.

Approver can forward the workitem.

Is it not enough?

Regards,

Masa

Former Member
0 Kudos

nope. the idea is when an approver leaves an organisation,the shopping carts that he has to approve should be transferred to another approver.i need a way to do this.For 1000 shopping carts , it is not practical to log on the portal and change the approver manually.thx

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

How about SWIA transaction? System Admin can forward workitem.

If the user left company, you can use SWI2_ADM2 transaction.

Regards,

Masa

Former Member
0 Kudos

Unfortunately , the user leaving organisation is only one possible scenario.he could be in vacation for example.someone else should be able to approve it.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Have you checked both transaction? SWIA and SWI2_ADM2. Admin can forward workitems.

Regards,

Masa