on 12-04-2007 1:43 PM
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
Hi
Yes possible to do it through bbp_doc_check badi for bus2121.
You can use the 1 step Spending limit approval Workflow.
For more info,refer the foll link:
http://help.sap.com/saphelp_srm40/helpdata/en/79/ca013a0c88bc7ce10000000a114084/content.htm
<b>Also, Please go through the links below -></b>
You have to use the BADi "BBP_DOC_CHECK_BADI" for this.For sample code,refer the foll links:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/bbp_doc_check_badi-CheckPurchasingDocument&
http://help.sap.com/saphelp_srm50/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
Do let me know.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.