Shopping Cart...Recalculate functionality...Pls help..

Hi,
While creating a shopping cart / PO, after selecting the items from the catalog when I go in Cart Preview option and change the quantity and then click on Recalculate button then system gives me wrong figures.
Ex- If the item selected from catalog contains 1 quantity with price as 1.11 Euro each the total value is 1.11. When I change the quantity to 10 and after clicking on the Recalculate button the price changes to 11.10 and total price to 111.00 which is not correct.
Qty   Price Information  Total price
1       1.11 ;                     1.11 ;         original
10     11.10 ;                   111.00 ;     after changing the qty
Actually, the following should be the result when i change the quantity -
10     1.11 ;                     11.10
Please help in sorting this issue.
Thanks in advance.
~Abhay

Hi Bala,
The MDM related information is as under-
MDM console - 7.1.04.149
MDM Import Manager - 7.1.04.153
MDM Data Manager - 7.1.04.146
For SRM 7.0, we are at level 6 and highest support pack is SAPKIBK206-SRM_PLUS for mySAP SRM
We are on Sun O.S & oracle database 10.2.0.2.0
Hope this is what you are asking for.
Regards,
Abhay.

Similar Messages

  • Trouble with remove item fro shopping cart.. Pls Help..

    hi.. i'm an amatuer student who just learnt abt JSP.. i was given a project tot do shopping cart.. and it's due soon.. i need help regarding my codes.. i try so many methods but it doesn't work.. there is problem with my remove item.. when i try to remove an item.. it does not remove the item.. can somebody help me with my codes.. is there something wrong with my JavaBeans??
    i have 2 javafiles..
    Product.java
    package product;
    public class Product {
         String id, name, size, colour, other;
         int quantity;
         double price, total;
         public Product(String newid, String newname, String newsize, String newcolour, String newother, double newprice, int newqty)
         //public Product(String newid, String newname, double newprice)
              id= newid;
              name= newname;
              size= newsize;
              colour= newcolour;
              other = newother;
              price = newprice;     
              quantity= newqty;
         public String getId()
              return id;
         public String getName()
              return name;
         public String getSize()
              return size;
         public String getColour()
              return colour;
         public String getOther()
              return other;
         public int getQuantity()
              return quantity;
         public double getPrice()
              return price;
         public double getTotal()
              return (price*quantity);
    ShoppingCart .java
    package product;
    import java.util.*;
    public class ShoppingCart {
           int noItems = 0;
         Vector products = new Vector();
              public void addProduct(Product i){               
                   products.addElement(i);     
              public void deleteProduct(String id){
               Enumeration productEnum = getProducts();
                   while(productEnum.hasMoreElements()){
                             Product product = (Product)productEnum.nextElement();
                             if(product.getId().equals(id)){                                             
                                  //products.removeElement(id);
                                  products.removeElement(product.id);
                                  break;                         
              public void emptyCart(){
                   products.clear();
              public int getNoProducts(){
                   return products.size();     
              public Enumeration getProducts(){
                   return products.elements();
              public double getTotal(){
                   Enumeration productEnum = getProducts();
                   double total=0;
                        while(productEnum.hasMoreElements()){
                             Product product = (Product)productEnum.nextElement();
                             total = total + product.getTotal();
                        return total;
    viewsc1.jsp
    <%@page import="java.util.*"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <META name="GENERATOR" content="IBM WebSphere Studio">
    <META http-equiv="Content-Style-Type" content="text/css">
    <LINK href="theme/Master.css" rel="stylesheet" type="text/css">
    <TITLE>viewsc1.jsp</TITLE>
    </HEAD>
    <BODY>
    <jsp:useBean id="sCart" class="product.ShoppingCart" scope="session"/>
    <%@page import="product.Product"%>
         <table width="80%" border="0" align="center">
           <tr>
             <td align="center"><img src="image/title.jpg" width="450" height="80"></td>
           </tr>
           <tr>
             <td align="center" height="90"> </td>
           </tr>
           <tr>
             <td align="center" height="210">
                 <table width="98%" border="1" height="142">
                   <tr>
                     <td height="129">
                       <table border="0" width="100%">
                         <tr>
                           <td colspan="9" bgcolor="#CCCC99" align="center" height="22">
                             <img src="image/vsc.jpg" width="300" height="50">
                           </td>
                         </tr>
                         <tr>
                           <td height="15" colspan="9"></td>
                         </tr>
    <%
    String name= request.getParameter("name");
    if(name!= null){
         if(name.equals("Empty")){
              sCart.emptyCart();
    %>     
              <SCRIPT>
                alert("Your Shopping Cart is empty."); 
                location.href="chooseCategory.jsp";
            </SCRIPT>
    <%     }else if(name.equals("delete")){
         String index = request.getParameter("Id");
          sCart.removeItem(index);
                   out.println(index);
         }else if (name.equals("update")){
          String[] prodQtys = request.getParameterValues("newQty");
         // sCart.updateQtys(prodQtys);
    if(sCart.getNoProducts()!=0){%>
            <tr>
              <td height="15" align="center" width="20%"><B>Item ID</B></td>         
              <td height="15" align="center" width="20%"><B>Item Name</B></td> 
              <td height="15" align="center" width="11%"><b>Size</b></td>
              <td height="15" align="center" width="9%"><B>Colour</b></td>                               
              <td height="15" align="center" width="13%"><b>Price</b></td>     
              <td height="15" align="center" width="10%"><b>Qty</b></td>
              <td height="15" align="center" width="12%"></td>
              <td height="15" align="center" width="12%"><b>Total:</b></td>
              <td height="15" align="center" width="12%"></td>
            </tr>
    <%     //<FORM action="viewsc1.jsp?name=update" method=POST>
              Enumeration products =sCart.getProducts();
              while(products.hasMoreElements()){
                   Product product = (Product)products.nextElement();
                        if(product.getQuantity()!=0){
              %>
              <tr>        
              <td height="15" align="center" width="20%"><B><%=product.getId() %></B></td> 
              <td height="15" align="center" width="11%"><b><%=product.getName() %></b></td>         
              <td height="15" align="center" width="9%"><B><%=product.getSize() %></b></td>
              <td height="15" align="center" width="9%"><B><%=product.getColour() %></b></td>                                                          
              <td height="15" align="center" width="13%"><b><%=product.getPrice() %></b></td>          
              <td height="15" align="center" width="9%"><input type=text name="newQty" value="<%=product.getQuantity()%>">               
                   <a href="editQty.jsp?id=<%=product.getId() %>&name=<%=product.getName() %>&qty=<%=product.getQuantity()%>">Edit</a>
              </td>
              <td height="15" align="center" width="9%"><B><%=product.getOther() %></b></td>
              <td height="15" align="center" width="10%"><b><%=product.getTotal() %></b></td>
               <td align='center'><a href="viewsc1.jsp?name=delete&Id=<%=product.getId() %>">Remove</a></td>
            </tr>
    <%          }else{ %>
              <tr>        
              <td height="15" align="center" width="20%"><B><%=product.getId() %></B></td> 
              <td height="15" align="center" width="11%"><b><%=product.getName() %></b></td>         
              <td height="15" align="center" width="9%"><B><%=product.getSize() %></b></td>
              <td height="15" align="center" width="9%"><B><%=product.getColour() %></b></td>                                                          
              <td height="15" align="center" width="13%"><b><%=product.getPrice() %></b></td>          
              <td height="15" align="center" width="9%"><B><%=product.getQuantity() %></b></td>     
              <td height="15" align="center" width="9%"><B><%=product.getOther() %></b></td>
              <td height="15" align="center" width="10%"><b><%=product.getTotal() %></b></td>
               <td align='center'><a href="viewsc1.jsp?name=delete&Id=<%=product.getId() %>">Remove</a></td>
            </tr>
    <%     }
         } %>
    <tr>
    <td height="50" valign="bottom" colspan="9" height="15" align="right" width="12%"><b>Total:</b><%=sCart.getTotal() %></td>
    </tr>
    <%
    }else{%>
         <SCRIPT>
                alert("Your Shopping Cart is empty.");
                location.href="chooseCategory.jsp";
            </SCRIPT>
    <%}
    %>
    <tr>
                      <td colspan="9" height="15" align="center">
                           <input type=submit value='Update Quantity'>
                        <a href=chooseCategory.jsp><IMG border="0" src="image/BtnContinueshop.gif" width="153" height="27"></a>
                        <a href="viewsc1.jsp?name=Empty"><IMG border="0" src="image/BtnEmptyBsk.gif" width="75" height="27"> </a>
                        <a href=checkout.jsp><IMG border="0" src="image/BtnCheckOut.gif" width="156" height="27"></a>
                    </td>
                    </tr>
                    </form>
                  </table>
    </BODY>
    </HTML>

    When you insert products, the Product object itself is the element you use.
    public void addProduct(Product i){
         products.addElement(i);     
    }But when you remove the product, you use the ID of the product as the element.
    products.removeElement(product.id);That doesn't seem right, now does it?

  • Add shopping cart item functionality is not working in PO

    Hi Experts,
    I found that Add shopping cart item functionality is not working in Purchase order.
    We are raising the Purchase order in SRM and i am trying to use the Add shopping cart item functionality to add the shopping carts line item in to purchase order.
    Once I will click on start search, it will give me a list of Approved shopping cat and when I am trying to add any shopping cart in PO line item, nothing is happening and  It is not allowing me to add the shopping cart line items in to this PO and also there is no error message.
    Please suggest us how i can fix this issue.
    Thanks in advance.

    HI,
    If the shopping cart's have same vendor and company code, then only we can club the shopping carts
    in to single PO.
    Please go throught it
    http://help.sap.com/saphelp_srm40/helpdata/en/38/4cc5376848616ae10000009b38f889/frameset.htm

  • IMPLEMENTING SHOPPING CART UPDATE FUNCTIONALITY

    Hi,
    I'm able to create a shopping cart in held state using BBP_PD_SC_CREATE by passing 'X' to  IV_PARK. and a shopping cart in awaiting approval state by passing NULL to IV_PARK.
    And while updating a shopping cart, I'm using BBP_PD_SC_UPDATE fm, and as it has an import parameter IV_PARK  here , i'm doing the same. But here, when i update a HELD SC and order it, i mean, by PASSING IV_PARK as NULL, my shopping cart is still in HELD STATE.
    PLS help in implementing of taking over a held shopping cart and ordering it, so that the cart goes into AWAITING APPROVAL state.
    Thanks,
    Karthik Babu

    Hi,
    When you call BBP_PD_SC_UPDATE for a held SC, pass I_PARK = NULL, I_SAVE = X. With this the SC will move from HELD to AWAITING APPROVAL status and corresponding workflow will be trigerred.
    Regards,
    Prasanna

  • How to change an approver in shopping cart( by function module ) ?

    Hello, i wish to change my approver ( not through the portal) but by function module ( or some other way) .  Then, the creator of the SC will see the new approver in his cart details and also, when the new approver logs in, he will have the shopping cart in his list.
    thx

    Hi
    you can use FM RH_UPDATE_SUBST_LIST_SERVER to substitute an approver from the backend
    thanks
    Nimish Sheth

  • Developing a shopping cart in java please help

    Implement a shopping cart with following features.
    1. Create items with required attributes.
    2. Define shopping cart parameters
    3. define stock values
    4. Create an order
    5. add to cart
    6. Copy cart
    7. remove item from cart
    8. Check out
    9. Print history.

    dhaval_shah wrote:
    What do you need help with?he's ordering you to do it for him. Not even a "please" to make it sound like a request.
    Of course we're not anyone's homework service (though a lot of kids seem to be under the impression that we are) so the kid can expected to be flamed and made fun of (which will likely lead to him getting agressive and abusive, leading to even more fun for us regulars and his eventual bannishment).

  • Can't access iTunes shopping cart.  Who can help?

    For some reason I can not access my iTunes shopping cart. It shows me how much money I have to spend, but I can't see any of the songs that I have added to the shopping cart. Has anyone ever had this problem? Please advise ASAP. I'd like to buy some music.
    Thanks
    Dell   Windows XP  
      Windows XP  

    If your getting some error message Id recommend emailing the music store about this issue, as USUALLY issues with the shopping cart are caused on apples side. you can goto the link below, roll to the bottom and fill out a email form to the music store
    http://www.apple.com/support/itunes/musicstore/download/

  • Shopping cart does not load - help!

    i had several items in my shopping cart and after upgrading to a new laptop, i cannot access the cart at all! itunes tries to load and comes up blank. any thoughts?

    No error? Either way, if more than one computer is affected: contact iTMS Support via e-mail for a resolution.

  • Disable 'Find' (good /service) function in 'items in shopping cart' SRM 5.5

    Hi SRM experts,
    after clicking on Shopping Cart (- Full functionality) you have the choice of searching in catalogs or you can scroll down to 'Items in Shopping cart' and enter the product-id directly in 'Good / Service'.
    How can I disable this 'Find' option? So not the whole line, but only the 'find' option with the binoculars.
    Hope you can help me out with this one.

    Hi Kubus,
    I think you are talking about the 'Order as Direct Materail' button..
    Use BBP_DP_PROD_CHK_BADI.
    Method PRODUCT_CHECK
    Clear the parameter EV_DP_POSSIBLE.
    Have a look at the following link:
    Hide order as direct material button
    Thanks,
    Pradeep

  • Need help on getting started with shopping cart!!

    hi guys,
    i want to build a fairly simple shopping cart with servlets and jsps.. can you please point me to a starting point.. a tutorial or a general road map for it.. i am pretty okay with servlets and jsps and currently using them for a web-app..
    any help would be greatly appreciated..thanks..

    go to http://www.moreservlets.com, download the free pdf book "Core Servlets and Java Server Pages", there is a example program on section 9.4 talks about shopping cart.
    Hope it helps.

  • Need to delete / clear PO value for a deleted shopping cart item.

    Hi friends
    Please help me on below mentioned issue.
    I have a shopping cart with one deleted item, That deleted item shows a PO number under table BP_PDBEI field BE_OBJECT_ID in production server.
    User want that PO number to be delete or clear from that shopping cart deleted item.
    We are not authorize to delete or clear a entry from the SAP standard table itself.
    Is there any function module, I can use directly in production server which can delete / clear this PO number from table BP_PDBEI field BE_OBJECT_ID from shopping cart deleted item
    Please help urgently.
    Thanks a lot in advance.

    Hi
        check this FM
    ISM_PORDER_DELETE
    ISM_PORDERNEW_DELETE
    ISM_PORDERRET_DELETE
    Regards,
    Viquar Iqbal

  • Need to delete PO value for a deleted shopping cart item.

    Hi SRM experts
    Please help me on below mentioned issue.
    I have a shopping cart with one deleted item, That deleted item shows a PO number under table BP_PDBEI field BE_OBJECT_ID in production server.
    User want that PO number to be delete or clear from that shopping cart deleted item.
    We are not authorize to delete or clear a entry from the SAP standard table itself.
    Is there any function module, I can use directly in production server which can delete / clear this PO number from table BP_PDBEI field BE_OBJECT_ID from shopping cart deleted item
    Please help urgently.

    Hi Sharma,
    normally if this PO doesn't have further follow-on documents, should be able to be deleted. Once the PO is deleted, the SC will be updated and in the follow-on document history of the SC you will see an additional remark "follow-on document deleted".
    But I guess, this is not what you would like to do.
    Without manual database changes you won't be able to delete the connection between the SC and PO.
    If you somehow will get authority to the database changes, please don't forget to delete also the relations between PO and SC. You will find it in the tables SRRELROLES and BBP_PDBINREL.
    Regards,
    Peter

  • Receiving Error in Shopping Cart : Order Does not exist

    Hi
    While creating Shopping Cart and click Insert From Clipboard button, I am receiving " Order xxxx does not exist (Item yyy ).
    Please tell me why I receive this error and what causes and possible fixes to this?
    Details:
    The scenario I am doing is I have a webdynpro ABAP application which copies Value, Cost Center, OR Cost objects in to Clipboard.
    now when I go to Shopping card - > descrive requirment -> Cost assignment section-click Insert From ClipBoard - throws below error:  "Order xxxxxx does not exist (Item yyyy)"
    Indeed OR cost objects which are valid in the SRM system and every OR line is seen as invalid by SAP with above error message. Please explain
    Thanks
    Praveen
    Edited by: Praveen kumar Kadi on Jun 21, 2011 9:16 AM

    Hi,
    Thnaks for your reply.
    Actually manual copy To clipboard works fine from Shopping Cart. when we use webdynpro application to copt to Cliboard with same data it doesn't work. So I believe the key to debug SRM Shopping Cart-> CopyToClipBoard functionality like how the values have been copied to from shopping cart. So that we can compare Shopping Cart->CopyToClipboard value with Webdynpro CopyToClipBoard values.
    How to find what and which values and in which format copied from shopping Cart-CopyToCliboard.? Anyway to see this in debug.
    Please help with some screenshots/debug screens.
    thanks
    Praveen

  • ITunes 9-- No "Shopping Cart",  "Wish List"  a poor substitute!

    I miss greatly the easy functionality of the iTunes8 "Shopping Cart".
    iT9's "Wish List" lacks SC's functionality and ease of use.
    Has anyone who valued the iT8 Shopping Cart's functionality found a way to approach it in iT9?
    I haven't and really miss it-- but maybe I just haven't figured WL out yet?
    There seem to be two ways to populate your Wish List:
    1. use the drop down menu beside the "Buy" button in iTunes Store, or
    2. drag your song to your own Wish List album (i.e. an album you create with that name).
    #1 method I have found to be incredibly frustrating:
    a. It took my a long time to figure out how to access that WL (iT Help was silent about this).
    Answer: from iTunes Store's home screen, hold mouse over your user name in upper right hand corner of home screen and an arrow for a drop-down list appears including Wish List. The resulting list had my new songs in it and a bunch that seemed to have come from iT8 (I maintained a "Shopping List album to back up my SL because periodically it became inaccessible and I had trouble getting Apple to reset it for me) but it is really unpleasant to use, especially if you have a lot of songs there. If you are trying to access the most recent songs added, it is especially cumbersome-- it's divided up into pages and the song list sub-window, within the main window, goes off the bottom of my iMac 24" screen. Therefoer, you have to scroll down to get to the song list sub-window and then scroll again within that sub-window because the song list's page isn't fully shown and you have to scroll down within it to even see all songs on that one page. Then, Worse yet, the song list is into multiple pages, each of which requires a click to see content. You cannot get an overview within your own WL. Even more frustrating, every time you buy a song, this awkward display reverts to the first line of the first page which causes you to have to go thru this whole process all over again. Ugh.
    #2. The 2nd method of making your own Wish List album is better, but still requires you to deal with the awful scrolling window within a scrolling window. I can't get any large overview of the various arrangements of a song that I am searching for. iT9's approach makes me feel awkward and blind compared to iT8. To populate your WL album, you must individually drag each song into a relatively small album accurately and one at a time. This is a pain vs. just double clicking on it in iT8 to add it to my SC. Once you've got the songs you want in your WL, you can see and sort them much like you could in the old SC. So the real problem I'm encountering here is the basic way that iT9 is designed to display music search results-- what I call scrolling windows within scrolling windows. I tried using the view menu to make it the kind of sweeping view that iT8 offered, but nothing seemed to improve the view.
    Has anyone else found a work-around to recover the functionality lost in replacing SC's with WL's? Any user tips would be greatly appreciated! I used to really enjoy perusing iT8 and comparing varying artists/arrangements of the same song and this has become really unpleasant in iT9. I love iOS4 for my iPhone 3G though and had to update to iT9 for that. Too bad there's such a trade-off required!

    SEBrew wrote:
    Has anyone else found a work-around to recover the functionality lost in replacing SC's with WL's? Any user tips would be greatly appreciated! I used to really enjoy perusing iT8 and comparing varying artists/arrangements of the same song and this has become really unpleasant in iT9.
    This was discussed ad nauseum when iTunes 9 first came out months ago. If you search the discussions (using the Search Discussions box above and to the right), you'll probably find some of the myriad threads on the subject.
    Best of luck.

  • How to identify Shopping cart status ?

    Hi Experts,
    I need your inputs regarding how to identify the status of the shopping cart ( like Awaiting approval, pending) passing through GUID of the shopping cart..
    Pls provide me if any classes or anythin in such related are available..

    Hello
    Please use FM BBP_DOC_STATUS_GET to get the current status of shopping cart.
    Inputs: SC/PO guid, All the status in the CRM JEST table.
    Output: Current Status of the Doc
    Hope this helps.
    Regards,
    Neelima

  • Unlock shopping cart

    Guys
    Any idea on how to remove the lock for the shopping cart? The user is unable to edit the SC and it says it is in process by another user though nobody is editing it. SM12 didn't help.
    Regards
    Rajeev

    Hi
    Which SRM version are you using ? Might be due to bug in the system...
    Try the SRM Function module - *BBPPD_SC_UNLOCK* to unlock the shopping cart..._
    Create a bespoke Program -_Please do the following using standard FM:_
    1. Lock the SC (BBP_PD_SC_LOCK)
    2. Update the SC (BBP_PD_SC_UPDATE)
    3. Commit the SC (BBP_PD_SC_COMMIT)
    4. Unlock the SC (BBP_PD_SC_UNLOCK)
    Related pointers ->
    Re: BBP_PD_SC_UPDATE is not updating SC
    Re: BAPI for Find / Select Shopping Cart
    Hope this will help. Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • Quick Start Guide Info not working. Need info for Job Interview

    I am brand spanking new to Java but I have a job interview next week and this is one of the topics I need to learn a little about. Here is my issue if someone would kind enough to help. I downloaded and installed SDK and JDK I am going through the qu

  • Operating System Size

    Hi, I have a 48 hour old Macbook with the 80gb hard drive. I have loaded nothing on it and it shows 57gb of available space. Can this be right? the OS and misceallaneous other programs take up 23 gb? I went as far as to try a new install from the dis

  • Partnerlink - Problem building schema

    Hi, I have following problem: I created 2 BPEL processes. One of these processes should be called from the other as a partnerlink. When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I tr

  • Unable to drag and drop photo's in iPhoto

    I used to be able to drag and drop photo's in an event to reorganize them, but cannot drag and drop any photo's now.

  • How can one scape from the edit window of an appointment without saving changes?

    I did move accidentally an appointment with invitees and it opened the edit windows, but I can´t escape from it without sending uselessly the changes to invitees !