on 09-06-2007 6:42 AM
Hi Experts,
How should i validate the total value in shopping cart. Scenario is
If the shooping cart value is > $10,000, Based on the total value, user-defined fields has to be enabled for input and the workflow has to trigerred to get the approval.
Any inputs will be rewarded
Jai
HI Jai,
Disha is correct. You can use the UI control badi to control the fields in the shopping cart based on the dynpro no.
For your workflow, use a start condition with the total shopping cart value...
Let me know if you need more details..
Regards
Rakesh
Ps. Please close the thread if your question is answered..
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 use the BADI "BBP_UI_CONTROL_BADI" for this.In the BADI,first read the SC details using the FM "BBP_PD_SC_GETDETAIL" where you will pass the SC GUID from the BADi.Get the Total value of the SC from the table E_HEADER(fiele is TOTAL_VALUE) and accordingly set the BADi parameters "CV_INPUT_READY" for the User defined/custom fields.
For sample code for the BADI,refer the foll thread:
HTH.
BR,
Disha.
<b>Pls reward points for useful answers.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.