Max order value pr shopping cart
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:
Re: Budget analysis
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/bbp_doc_check_badi-CheckPurchasingDocument&
Re: Disabling Fields in Carry out Sourcing
Re: Indentifying 'amount' based approvers in an N-step dollar approval process
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
Assigning authorization role to position in PP02 (SRM 5.0) not working
Limit minimum value of the shopping cart
Re: How to validating total value in shopping cart
Do let me know.
Regards
- Atul
Similar Messages
-
Sales order number in Shopping cart related documents tab.
We are using SRM7.0 with classic scenario. Client wants to see the Sales order number (Created in Backend) for the backend PO in shopping cart Related documents tab same as other history like Confirmation and Invoice.
How to update the sales order number to shopping cart? is there any BADI ? Please help me..
Thanks Lot
Srini.Thanks for Reply
I have already tried validation and sub situation but that is not working and second is it is related to FI GL line item so SD consultant cant help i that.
Regards
Shayam -
Line Sort order differs from Shopping Cart to PO
All :
A number of shopping carts are raised on the back of a quotation received from vendors.
Where these quotes require a multi line Purchase Order, we enter the data in the same sequence as they appear on the quotation.
The Purchase Order should also therefore reflect the same sequence. For some reason this does not happen.
EG shopping cart shows items:
1st Line 30 Green Widgets
2nd Line 50 Blue Widgets
3rd Line 900 Red Widgets
BUT PO shows:
1st Line 50 Blue Widgets
2nd Line 30 Green Widgets
3rd Line 900 Red Widgets
Is there some setting I am missing somewhere? Or is there some sort of arcane sorting going on in the background that I don't know about.
Thanks for your time guys
AdrianHi
<b>Seems like a bug in the BAPI call at R/3 side.The sorting incase of multi line Purchase Orders is not happening correctly. Please give some more details.</b>
Please report the same bug to SAP by creating a OSS message as well, for faster processing of the query.
Regards
- Atul -
Copy fixed text values from shopping cart to PO in SRMSERVER 5.5
Hi,
We use SRMSERVER 5.5 and want to use text schemas with fixed values to allow the user to in the shopping cart select specific predefined texts that should be visible on the output of the PO.
When looking at the IMG documentation for standard text schemas, there is one line saying "Note: The system can only copy the long texts for text types for which no fixed values have been defined in Customizing for the source text schema or for the text type in the follow-on document."
Do you have any idea how we can copy the fixed values to the PO from the shopping cart? I have taken a look at BADI BBP_LONGTEXT_BADI but I am not sure how this badi coudl help for the transfer of fixed values.
Thanks for any help,
Christine HammerströHi
<b>Please go through this -></b>
<u>SRM - SPRO Settings -></u>
Text Types Menu Path : SPRO -> SAP Implementation Guide → Supplier Relationship Management → SRM Server → Cross- Application Basic Settings -> Text Schema -> Define Text Types
Text Schema: Menu Path : SPRO -> SAP Implementation Guide → Supplier Relationship Management → SRM Server → Cross- Application Basic Settings -> Text Schema -> Define Text Schema
Fixed Values: Menu Path : SPRO ->SAP Implementation Guide → Supplier Relationship Management → SRM Server → Cross- Application Basic Settings -> Text Schema -> Define Fixed Values for Texts
<u>Please read note 425117 and 581594.</u>
<b>Related links -></b>
Re: Reason code required for movement type 122
Re: Changing properties of long text box
Hope this will help. Do let me know.
Regards
- Atul -
Create a Purchase Order from a Shop Cart where Stock is held
A customer requires a shop cart user (Requestor) to decide that they would like to go to straight to Purchase Order for a Stocked Item rather than a reservation being created and stock being transferred from a remote storage location. The customer would like the Requstor to still have the Shop Cart availability subscreen in order to check stock but also be able to enter account (cost) assignment details within the shop cart.
Customer is on SRM_SERVER 550 SP14 with ERP ECC6 SP18.
I would appreciate if somebody could share their thoughts and ideas.
Regards, Kyle.
Edited by: Kyle Freeman on Jan 28, 2010 4:50 PMKyle,
We are on SRM 550 as well and although we haven't implemented any stores business process in SRM we did look into it in some detail.
If your store uses R/3 or ERP MRP processes then there is not a lot of advantage in transferring the stock replenishment to SRM, you just introduce more steps into what is already a fairly intensive process. If you do not use MRP then transferring stock replenishment to SRM may be the way to go depending on your line of business.
Basic process for using SRM with stores materials would be as follows.
1. Transfer Material codes from the back end system to SRM - needs to be done regularly especially if you are creating new materials all the time.
2. Make the store a business partner so that stock reservations process can be completed.
3. Put materials in an internal catalog and make the catalog only available to users who require goods from the store via the stock reservations process.
4. Also put the materials in another catalog where the source of supply is the external vendor who will deliver the goods to the stores for stock replenishment.
5. Only make this stock replenishment catalog available to users who are responsible for re-stocking the store.
You may already know that stores stock is normally held against a balance sheet account and not a cost center account so stores stock does not require a cost assignment unless you are generating a stock reservation for consumption against a cost center/order.
If you wanted to make both sources available to user i.e. store and external you would only have to make both catalogs available to them.
Hope these thoughts help
Allen -
Prevent Purchase Order creation without shopping cart
We have implemented SRM 5.0 Extended Classic Scenario.
Is it possible to prevent purchase orders to be created for this scenario if there is no preceding document in the form of a shopping cart?Hi Marinda,
The only ways to have a PO without SC is to create a PO from scratch from BBP_POC transaction.
you just have to control thsi through authorizations in PFCG.
Kind regards,
Yann -
I want to add radio button selected value in shopping cart
hi
i am new to java
and i am doing shopping cart project
and i want to aad radio button selected value in cart but only one value.
i am doing that in jsp.
when iam adding that value the name of radio button is printed.
and in remove page nothing displyed
pls help me
Thanks in advance.
my code is-
index.jsp
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<html>
<head>
<title>Shopping cart</title>
<style>
* { font-size: 12px; font-family: Verdana }
input { border: 1px solid #ccc }
</style>
</head>
<body>
<jsp:declaration>
java.util.Enumeration parms;
java.util.Enumeration values;
</jsp:declaration>
<jsp:scriptlet>
parms = request.getParameterNames();
values = request.getParameterNames();
while(parms.hasMoreElements()) {
String name = (String) parms.nextElement();
String value = (String) values.nextElement();
session.setAttribute(name, value);
</jsp:scriptlet>
<img src="images/add.png" onclick="document.location='index.jsp'">
<img src="images/remove.png" onclick="document.location='remove.jsp'">
<img src="images/cart.png" onclick="document.location='cart.jsp'">
<h2>Add to shopping cart</h2>
<form method="POST" action="index.jsp">
<table>
<tr>
<td><input type="radio" name="radio" value="$10.00" checked></td>
<td>$10.00</td>
</tr>
<tr>
<td><input type="radio" name="radio" value="$15.00"></td>
<td>$15.00</td>
</tr>
<tr>
<td><input type="radio" name="radio" value="$20.00"></td>
<td>$20.00</td>
</tr>
<tr>
<td><input type="radio" name="radio" value="$25.00"></td>
<td>$25.00</td>
</tr>
<tr>
<td><input type="radio" name="radio" value="$30.00"></td>
<td>$30.00</td>
</tr>
<tr>
<td><input type="radio" name="radio" value="$35.00"></td>
<td>$35.00</td>
</tr>
</table>
<br><br>
<input type="submit" value="submit">
</form>
</body>
</html>
cart.jsp
<html>
<head>
<title>Shopping cart</title>
<style>
* { font-size: 12px; font-family: Verdana }
</style>
</head>
<body>
<jsp:declaration>
java.util.Enumeration parms;
</jsp:declaration>
<img src="images/add.png" onclick="document.location='index.jsp'">
<img src="images/remove.png" onclick="document.location='remove.jsp'">
<img src="images/cart.png" onclick="document.location='cart.jsp'">
<h2>The shopping cart</h2>
<jsp:scriptlet><![CDATA[
java.util.Enumeration content = session.getAttributeNames();
while (content.hasMoreElements()) {
out.println(content.nextElement());
out.println("<br>");
]]></jsp:scriptlet>
</body>
</html>
remove.jsp
<html>
<head>
<title>Shopping cart</title>
<style>
* { font-size: 12px; font-family: Verdana }
input { border: 1px solid #ccc }
</style>
</head>
<body>
<jsp:declaration>
java.util.Enumeration parms;
</jsp:declaration>
<jsp:scriptlet>
parms = request.getParameterNames();
while(parms.hasMoreElements()) {
String name = (String) parms.nextElement();
session.removeAttribute(name);
</jsp:scriptlet>
<img src="images/add.png" onclick="document.location='index.jsp'">
<img src="images/remove.png" onclick="document.location='remove.jsp'">
<img src="images/cart.png" onclick="document.location='cart.jsp'">
<h2>Remove items from cart</h2>
<form method="get" action="remove.jsp">
<table>
<% if (session.getAttribute("$10.00") != null) { %>
<tr>
<td><input type="radio" name="radio"></td><td>$10.00</td>
</tr>
<% } %>
<% if (session.getAttribute("$15.00") != null) { %>
<tr>
<td><input type="radio" name="radio"></td><td>$15.00</td>
</tr>
<% } %>
<% if (session.getAttribute("$20.00") != null) { %>
<tr>
<td><input type="radio" name="radio"></td><td>$20.00</td>
</tr>
<% } %>
<% if (session.getAttribute("$25.00") != null) { %>
<tr>
<td><input type="radio" name="radio"></td><td>$25.00</td>
</tr>
<% } %>
<% if (session.getAttribute("$30.00") != null) { %>
<tr>
<td><input type="radio" name="radio"></td><td>$30.00</td>
</tr>
<% } %>
<% if (session.getAttribute("$35.00") != null) { %>
<tr>
<td><input type="radio" name="radio"></td><td>$35.00</td>
</tr>
<% } %>
</table>
<br><br>
<input type="submit" value="submit">
</form>
</body>
</html>i used this where park .visits is the java class for
visit object that contains getResort() method
now error has gone but nothing is stored in the
actionform class I would take that to mean the List
1. does not contain a collection of Visit. You can check that by printing some debug statements inside the loop
2. contains collection of visit objects. However the visit objects return null for getResort().
Why dont you debug by printing out the objects from wherever you sit it in request/session scop (i.e in your servlet/web-handler)
ram. -
Order forms and shopping carts
I'm fairly new to web design, having set up 3 or 4 basic
sites. A friend asked me to help him set up a website for his small
candy business. It all went fine until I got to the order form. The
only thing I could think of was set up a form in a layout program
that gets imported into dreamweaver and the viewer would have to
print it out, fill it out and fax it back. I know this is totally
lame, but I have no idea how to go about setting up order forms,
shopping carts, secure certificates, etc. Is there a good easy to
follow step by step explanation and tutorial anywhere?Hi,
I bought Dreamweaver MX unleashed by Pizzi Ruvalcaba. Very
good step by step instructions on setting up an e-commerce site. I
should add that I had to buy "shopping cart" code to implement it.
Regards
Paul -
I need to show grouped id and only the max order value for each unique id
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select #Temp1.id, max(#Temp1.[OrderOfVisit]), #Temp1.VisitNote
from #Temp1
group by #Temp1.id, #Temp1.OrderOfVisit, #Temp1.[VisitNote]
ORDER BY #Temp1.id
drop table #Temp1
---I need to show grouped id and only the max OrderOfVisit for each unique id, and the VisitNote for each OrderOfVisit
----------------need help-------------Sounds like this
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select id,OrderOfVisit,VisitNote
from
select #Temp1.id, #Temp1.[OrderOfVisit], #Temp1.VisitNote,ROW_NUMBER() OVER (PARTITION BY #Temp1.id ORDER BY #Temp1.[OrderOfVisit] DESC) AS Seq
from #Temp1
)t
WHERE Seq = 1
ORDER BY id
drop table #Temp1
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Default G/L Account assignment value in Shopping Cart
Hello Experts,
Need your help but urgently.
There is a Requirement of creating new p.Category so inECC New material Grp is created and i repliczte the same in SRM system Development . Now i went to Default account assignment and assign my new P.Cateogry with default G/L account for Cost center.
It was working fine in Development but when i transport these settings to my SRM_quality system the source system for all the P.Categories Source system changes from QAS300SYCC to DEV300SYCC. i went to BDLS and run old and new logical system for table BBP_DET_ACCOUNT and source system gets changed but still when i create a Shppping cart default G/L account is not comming for all the P.Catoegories except the new one which i have created .
SmritiHi Smriti,
Please see the answer from a development colleague :
- We cannot recommend to transport IMG table V_BBP_DET_ACCT entries
from DEV to PROD for the following reasons:
a) F4-help entries of field CATEGORY_ID contains category GUIDs
of LOGSYS DEV which may not exist in LOGSYS PROD.
b) If already entries in PROD exist in that IMG table it maybe
overwritten.
- Recommendation:
Please maintain IMG table entries with CATEGORY_ID reference
always manually using F4-help (dropdown). Sorry for the inconvenience,
but CATEGORY_ID /GUID triggers backend finding and is a substantial
and unique key field in every SRM system which cannot easily be
reused in other logical systems.
Also see note 872533 top 3.
Hope this helps,
Kind Regards,
Matthew -
How to re-start the workflow for Shopping carts in WAITING status
Hi
We are using 1-step approval work flow, and we get some strange issue. We can add approver in the workflow, but after we click order button and back to check status again, sometimes there will be "Ad-hoc agent not found" issue. Do you know how to solve?
And one workaround for user is to re-add the approval, and sometimes the shopping cart back to normal. But sometimes, after we add the approver, the shopping cart are in waiting status:
Workflow Item:
Workitem-ID 000000714642
Task WS10000276
Text One-Step Approval: Value limit: Shopping Cart
1000114698
Status WAITING
Statustext Waiting
Date 13.06.2008
Time 10:41:22
So may I ask how to re-trigger the workflow?Hi,
Thx for that. I need to trigger the Approval workflow to go the the approval manager.
Can u give me the document on this? thx, kerry.liu [at] ap.effem.com.
Thx very much
Kerry -
Shopping cart not in sourcing cockpit after PO qty been reduced
Hi ,
We have a issue where a shopping cart was created with qty 100 and it came to sourcing cockpit.PO was then created for the shopping cart with the value qty 100. Later GR and Invoice was done for against the PO for quantity 25. PO qty was then reduced to 25. But still the shopping cart has not come back to the sourcing cockpit.
Table BBP_PDIGP shows the following value for the item of the shopping cart :
VAL ASN E = 0
VAL ASN = 0
VAL CF E = 25
VAL CF = 0.00
VAL CF = 0.00
VAL IV E = 25.00
VAL IV = 0.00
VAL PO E = 0.00
VAL PO E AGG = 0.00
QUAN ASN E = 0.000
QUAN ASN = 0.000
QUAN CF E = 25.00
QUAN CF = 0.000
QUAN IV E = 25.00
QUAN IV = 0.000
QUAN PO E = 25.00
NUM ASN = 0
NUM CONF = 0
NUM INV = 0
SOURCE REL IND = blank
My questions are :
1) Root cause of the issue ? Scenario where this can happen ?
2 ) How to resolve the issue ? Just changing the SOURCE REL IND to X does not suffice (Tried the FM BBP_PDIGP_DB_DIRECT_UPDATE to set the sourcing indicator ) . Only when I clear all the values shown above to zero (change the values from 25 to 0) , does the shopping cart comes to sourcing cockpit . But the SC come with the qty 100 which is not correct , it should be 100- 25 = 75.
Please suggest and pls answer all the questions.
REgards,
SauravHi
as of now ,
if the deletion of purchase order can make shopping cart item available in the cockpit.
but you can not expect the sc item should goes to cockpit if the PO quantity has been reduced .
In the PDP scenario - SAP suggested some custom logic if the quantity increased in the PR and remaining item comes / shows in the cockpit but no sap never provide any solution for quantity REDUCED.
Muthuraman
The above is my experience but you can check with SAP what is the standard. -
SRM 7.01 Custom field in Shopping Cart source of supply tab Issue
Hello All,
I have requirement to add two new fields ( Vendor Email Id and YES/NO option field to send mail to supplier from PO) in Source of supply tab in Shopping cart. I have followed below steps
1) Enhanced item structrues with two fields
2) Added new fields in V_DODC_SC_I_VENDOR view with new fields, This fields are appered on screen perfectly.
Now i need to determine YES/ NO field value based on company code value of Shopping cart, I am not able to getING Company code value of item in method WDDOMODIFYVIEW of Pre and post exits to do logic.
Please let me know where can i save this fields data and how, Thanks in advance.
Best Regards,
BhaskarHi Zuber,
Yes, custom field is available in structure /SAPSRM/S_CLL_WD_SC_I_BD.
I have created Context attribute in /SAPSRM/WDC_DODC_SC_I_SOS for view V_DODC_SC_I_VENDOR.
Please let me know how can i map between view V_DODC_SC_I_VENDOR and /SAPSRM/S_CLL_WD_SC_I_BD structure ( SAPSRM/WDC_DODC_SC_I_BD componet context), Thanks in advance.
Best Regards,
Bhaskar -
Custom field in 'Notes and Attachment" tab of shopping cart
Hi All,
I am working in SRM 7.0 classic scenario and i have requirement in which i need to add custom field in 'Notes and Attachment" tab of the shopping cart portal.
I have added those fields in structure --- INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC.
Also implemented the BBP_DOC_CHANGE_BADI in while i am populating the custom field value.
I have created custom field as INPUT FIELD in webdynpro component /SAPSRM/WDC_DODC_NA and view : V_DODC_MAIN_VIEW.
Now I can see the custom field value in table BBP_PDISC, but i am not getting the value in Shopping cart "Notes and Attachments" tab.( I am able to see the field but not the value of it).
The value is getting populated in ITEM DATA tab instead.
Please suggest if i am missing anything in the process and how to achieve this.
Thank you in advance.
Thanks,
SatheeshHi,
You have done everything.. well.. except that you did not set the attribute of the input field to this value.
When you have value u just need to bind it using set_attribute method of the element.
Use ctr+f7 to generate the wizard .. select in set mode.. click on context and select the attribute that you have created in the context.
Hope this helps.
Regards,
Vinay -
SRM 7 - Multiple POs from 1 Shopping Cart
Hi Everyone,
Is it possible to create multiple POs from 1 shopping cart? 1st PO will have partial order qty and the second PO will have the remaining order quantity.
Thanks.Hi Everyone,
Is it possible to create multiple POs from 1 shopping cart? 1st PO will have partial order qty and the second PO will have the remaining order quantity.
In SRM7, it is not possible to create multiple POs from one SC. In sourcing you can combine multiple SC's (using BAdI BBP_SRC_DETERMINE) and process to create a single PO.
Also the BAdI BBP_GROUP_LOC_PO is used for :
If the shopping cart items do not have a source of supply, the standard system creates a purchase order with one purchase order item for each shopping cart item. This is necessary because once a source of supply is assigned to purchase order, the items can no longer be divided up between different purchase orders.
You use this Business Add-In if you want to create a single purchase order for particular shopping cart items that do not have a source of supply assigned to them.
So if your SC has 2 or more line items, then it can be processed in sourcing for multiple PO based on above logic.
But if your SC has one line item, then splitting of qty for multiple PO is not possible.
Hope this clarifies your query.
Regards,
Ram
Maybe you are looking for
-
Are There Any Other Speakers You Can Use with MacPro Besides 5.1?
I have Logitech Z5500 speakers on my PowerMac G5 and I wanted to get speakers for the MacPro but not the 5.1 speakers because I don't want to crowd it up with 5 more speakers. But it seems like the only speakers that have the optical port are the 5.1
-
HI Gurus, Can any one tell me what is REAL TIME COMMUNICATION. Also I request information / details on RTCIS. Regards Ajoy
-
Installing windows XP on Portege R600
I have a pre-installed XP downgrade disk, but I'd really like to install a fresh windows XP instead. So I insert a winXP disk, and install. (a) Installing straight at boot doesn't work: it claims that I have no hard disks! See here: http://www.proble
-
Problem with deleting record from the report.
This is my first post here, just to let you know I just started playing with Apex. Here we go: I have a page with report where the link to the record I have changed with ULR to the javascript: javascript:doDelete(#RECORD_ID#) I have created javascrip
-
Layered Photoshop file for Titles not lining up
I've created a set of subtitles by making a layered PS doc, and setting a line of text on each layer. The text is all set against a guide-line in Photoshop, so I know it is always on the same baseline. I the use Scripts-->Export Layers to File to cre