cancel
Showing results for 
Search instead for 
Did you mean: 

Change Price of a Shopping Cart approved

Former Member
0 Kudos

Hi,

It is possible change the price of a shopping cart after approval?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi. I think it would be possible, if you call function module BBP_PD_SC_UPDATE followed by BBP_PD_SC_SAVE.

First read in the cart details with BBP_PD_SC_GETDETAIL then move all the data from display to update structures, make your changes then call the update and save functions.

Normally when you try to edit an approved cart it won't let you, but I have used the update function to change a cart after approval on SRM 7 and it worked fine. I changed several fields including quantity, but possibly not price, but can't see why that would be any different.

Regards,
Dave.

Former Member
0 Kudos

Thank you David i used the FM's BBP_PD_SC_GETDETAIL; BBP_PD_SC_UPDATE; BBP_PD_SC_SAVE and then COMMIT WORK AND WAIT and the price of the SC really changed even in the approved SCs.

Thank you.

Answers (2)

Answers (2)

robin_janke
Contributor
0 Kudos

Hi,

it is possible to update an already approved shopping cart in the higher support packs of SRM7. You have to use the sourcing cockpit to achieve this.

In this way you can also trigger a re-approval of the shopping cart when changing data.

When you don't want to use the sourcing cockpit you have to go the way that David provided.

Regards,

Robin

Former Member
0 Kudos

The FM BBP_PD_SC_UPDATE doesn't work in approved SC. I have support package 0016 it is possible use the sourcing cockpit? Can you give me some tips for that please?

Thank you!

Former Member
0 Kudos

Hi. I used the FM on SRM 7 EHP 2 and a low support pack, 6 I think. I wonder if really high ones stop it working?

Can you give us details of exactly what is happening when you want to change it? Has the cart created a purchase order already? If it has you are going to struggle to use the sourcing cockpit. Also, the cockpit will require someone to manually change the cart.

If you need to change the carts automatically then maybe you could export a flag from your program, then enhance around the point in the FM that stops it working, possibly when it checks the status of the cart?

You could also try changing the status of the cart to remove the approved / follow on doc created status with FM CRM_STATUS_UPDATE, then change the status back at the end.

Regards,
Dave.

Former Member
0 Kudos

Sorry, further to that, please explain how the update FM is not working? Does it give you an error message in the E_MESSAGES table?

Former Member
0 Kudos

Hello David,

Could you please clarify . If the changes done for approved SC will reflecting for its follow-on document PO?

Thanks in Advance David.

Regards,

Sankarbabu

Yateesh_h
Active Participant
0 Kudos

Hi,

You should be able to edit the shopping cart that is in the middle of an approval process. The shopping cart will then re-calculate the approval and the approval process will start from the beginning.

Hope this helps

Cheers,

Yateesh