cancel
Showing results for 
Search instead for 
Did you mean: 

Max order value pr shopping cart

former_member283293
Participant
0 Kudos

Hello,

Running ECS 5.0

The business needs to set a value limit for a shopping cart pr user or role. If the total value for a shopping cart exceeds this value, we need an error message and not beeing able to proceed with the cart.

How could this be set up?

rgds

GAR

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

You can either do this using the Spending limit

workflow or implement the BADI "BBP_DOC_CHECK_BADI".

Spending limit workflow links:

http://help.sap.com/saphelp_srm40/helpdata/en/79/ca013a0c88bc7ce10000000a114084/content.htm

http://help.sap.com/saphelp_srm40/helpdata/en/b8/bdfc373db56203e10000009b38f842/content.htm

http://help.sap.com/saphelp_srm40/helpdata/en/84/a7e3389870c05ce10000000a114084/content.htm

BBP_DOC_CHECK_BADI:-

In the BADI,first read the value of the shopping cart using the FM "BBP_PD_SC_GETDETAIL".IIn the table IT_ITEM,you will get the total value of the SC by multiplying the price and quantity fields.Check whether that value exceeds the req value and then throw the error message.

Hope this helps.

BR,

Disha.

<b>Pls reward points for useful answers.</b>

former_member283293
Participant
0 Kudos

Thanks guys, will try the BADI if we cannot meet business requirements with the workflow