Shoppingcart wokflow error

Hi All,
I have a requirement where the SC has to be approved by the LIne manager(head of org unit) followed by the SLApprover with appropriate limit.
for eg:
SC value : 1000USD
Line manager apporval limit is 500$
Req SLApprover's limit is 1000$
It works fine in the above case.
SC value: 1500USD
Line manager limit : 500$
Req SLApprover(say 'X')  limit 1000$
2nd level SLApprover  (say Y ---X's SLApprover) limit 2000$
in this case it shows in the approval preview correctly
1 line maanger
2.  Y.
but when I order the SC and approved by the line manager and when i try to open the item from the UWL of 'Y' , i get the error
"Work item not or no longer valid ((might have been already processed)"  whereas i can see in the approval preview and the workflow log its still lying with Y. Please can you suggest what can be the reason and what is the solution.
thanks

Hi,
we run into the same problem after upgrade SRM from 7.0 to 7.02.
When we try to open a shopping cart from UWL the error "Work item not or no longer valid (might have been already processed)" comes up.
But when i take a look at tx SWIA, the workitem has status "READY" !
I run the automatic workflow configuration after upgrade again. Alle background jobs are running.
What could cause this error message?
Regards,
Ben

Similar Messages

  • Oracle wokflow error

    Hi all,
    I have created a custom wokflow which was working fine up until now,the workflow gets initiated when the user clicks a button in the form.
    Now the problem i'm facing is when the user clicks on the button the workflow is not getting initiated,so when compiled the same from back end its a throwing a error immediately after wf_engine.CREATEPROCESS as ORA-00942: table or view does not exist.
    i'm working on r12,database is 10g.
    Please help. Thanks in advance.

    hi Helios,
    Thanks for your time.
    Actually when i complied this apps.WF_ENGINE.CREATEPROCESS('XXMPESWF',PNWF_SEQ.NEXTVAL,'XXMPESPRO',NULL,P_REQUESTOR); directly
    (XXMPESWF=ItemType,
    PNWF_SEQ.NEXTVAL=itemkey,
    XXMPESPRO=process name
    null=UserKey,
    p_requester=Owner)
    it showing the following errors
    ORA-00942: table or view does not exist
    ORA-06512: at "APPS.WF_ENGINE", line 4163
    ORA-06512: at line 6

  • Shopping cart follow on document error

    hai,
    i am using classic scenario.and i configured self service procurement and started with creation of shopping cart.later i have checked the status of shopping cart.it is approved but backend purchase requisition number not updated in the check status screen.i have scheduled background jobs clean_reqreq_up,bbp_get_status_2...later i checked in rz20 where i found an error  as given below
    background errors:-
    spool errors:-
    local errors: shoppingcart 34:error in follow on document.
    i didnt get one thing .i am using classic scenario but it shows the error under the local errors.could anyone please give the solution .thanks in advance

    Hi,
    Please check the follwing steps
    1.Have your RFC is configured properly (logical system , assign logical system, RFC setting)
    2.See the number ranges in R/3 whether it is assigned with the type EC.
    one thing you can do is
    You can create a shopping cart use that shopping cart number in the fm BBP_REQREQ_TRANSFER
    Thanks,

  • Error while adding items to cart using oracle.apps.ibe.shoppingcart.list.ShopList.saveQuoteFromListLines API

    Hello,
    I am getting the below error message when I try to add line items to cart using oracle.apps.ibe.shoppingcart.list.ShopList.saveQuoteFromListLines API.
    ORA-01403: no data found in Package IBE_Shop_List_PVT Procedure Save_Quote_From_List_Items
    This is the underlying procedure/package getting called:  IBE_Shop_List_Wrapper_PVT.Save_Quote_From_List_Items
    Please help me in resolving this issue.
    Thanks in advance!

    L S P.. wrote:
    Hi,
    Actually that notes says about invalid objects in ASO and IBE objects.
    But i couldn't found any invalid objects. Also i was cleared cache using functional administrator also.
    But still am getting this error.
    Please help on this.. It is on critical.Please log a SR if the doc did not help.
    Thanks,
    Hussein

  • Error while pasing arrays to pl/sql procedure

    Hi,
    I am trying to pass an array from java to pl/sql procedure.
    I tried this code:
    CREATE OR REPLACE TYPE HEADER_UPLOAD IS OBJECT
    (VENDOR_NAME VARCHAR2(240) --hr_all_organization_units.name%TYPE
    ,BILL_TO_CUSTOMER_NAME VARCHAR2(240)-- hz_parties.party_name%TYPE
    ,BILL_TO_CUSTOMER_NUMBER VARCHAR2(240) --hz_cust_accounts.account_number%TYPE
    ,BILL_TO_SITE_USE_ID VARCHAR2(240) --hz_cust_site_uses_all.site_use_id%TYPE
    ,RESELLER_NAME VARCHAR2(240) --hz_parties.party_name%TYPE
    ,RESELLER_ADDRESS_1 VARCHAR2(240)--hz_locations.address1%TYPE
    ,RESELLER_ADDRESS_2 VARCHAR2(240)--hz_locations.address2%TYPE
    ,RESELLER_ADDRESS_3 VARCHAR2(240)--hz_locations.address3%TYPE
    ,RESELLER_ADDRESS_4 VARCHAR2(240)--hz_locations.address4%TYPE
    ,RESELLER_COUNTRY VARCHAR2(240)--hz_locations.country%TYPE
    ,RESELLER_STATE VARCHAR2(240) --hz_locations.state%TYPE
    ,RESELLER_CITY VARCHAR2(240)--hz_locations.city%TYPE
    ,RESELLER_POSTAL_CODE VARCHAR2(240)--hz_locations.postal_code%TYPE
    ,FEDERAL_GOVT_END_USER VARCHAR2(240)
    ,END_USER_NAME VARCHAR2(240)--hz_parties.party_name%TYPE
    ,END_USER_ADDRESS_1 VARCHAR2(240)--hz_locations.address1%TYPE
    ,END_USER_ADDRESS_2 VARCHAR2(240)--hz_locations.address2%TYPE
    ,END_USER_ADDRESS_3 VARCHAR2(240)--hz_locations.address3%TYPE
    ,END_USER_ADDRESS_4 VARCHAR2(240)--hz_locations.address4%TYPE
    ,END_USER_COUNTRY VARCHAR2(240)-- hz_locations.country%TYPE
    ,END_USER_STATE VARCHAR2(240) --hz_locations.state%TYPE
    ,END_USER_CITY VARCHAR2(240) --hz_locations.city%TYPE
    ,END_USER_POSTAL_CODE VARCHAR2(240)--hz_locations.postal_code%TYPE
    ,END_USER_CONTACT_NAME VARCHAR2(240)
    ,END_USER_EMAIL VARCHAR2(2000)
    ,SHIP_TO_CUSTOMER_NAME VARCHAR2(240)--ra_customers.customer_name%TYPE
    ,SHIP_TO_ADDRESS_1 VARCHAR2(240) --hz_locations.address1%TYPE
    ,SHIP_TO_ADDRESS_2 VARCHAR2(240) --hz_locations.address2%TYPE
    ,SHIP_TO_ADDRESS_3 VARCHAR2(240) --hz_locations.address3%TYPE
    ,SHIP_TO_ADDRESS_4 VARCHAR2(240) --hz_locations.address4%TYPE
    ,SHIP_TO_COUNTRY VARCHAR2(240) --hz_locations.country%TYPE
    ,SHIP_TO_STATE VARCHAR2(240) --hz_locations.state%TYPE
    ,SHIP_TO_CITY VARCHAR2(240)--hz_locations.city%TYPE
    ,SHIP_TO_POSTAL_CODE VARCHAR2(240)--hz_locations.postal_code%TYPE
    ,SHIP_TO_CONTACT_NAME VARCHAR2(240)
    ,SHIP_TO_CONTACT_PHONE VARCHAR2(50)
    ,SHIPPING_INSTRUCTIONS VARCHAR2(240)--oe_order_headers_all.shipping_instructions%TYPE
    ,SHIPPING_METHOD VARCHAR2(240) --fnd_lookup_values.meaning%TYPE
    ,ALERT_EMAIL VARCHAR2(2000)
    ,LICENSE_EMAIL VARCHAR2(2000)
    ,ORDER_CONTACT_FIRST_NAME VARCHAR2(150)
    ,ORDER_CONTACT_LAST_NAME VARCHAR2(150)
    ,ORDER_CONTACT_PHONE VARCHAR2(50)
    ,ORDER_CONTACT_FAX_NUMBER VARCHAR2(50)
    ,ORDER_CONTACT_EMAIL VARCHAR2(2000)
    ,NOTES VARCHAR2(4000)
    ,CURRENCY_CODE VARCHAR2(240) --fnd_currencies.currency_code%TYPE
    ,SERVICE_RENEWAL_ORDER varchar2(10)
    ,CUSTOMER_PO_NUMBER VARCHAR2(240) --oe_order_headers_all.cust_po_number%TYPE
    ,RESUBMITTED_ORDER VARCHAR2(10)
    ,PREV_CUSTOMER_PO_NUMBER VARCHAR2(240) --oe_order_headers_all.cust_po_number%TYPE
    ,END_USER_PO_NUMBER VARCHAR2(50)
    ,PO_NET_TOTAL NUMBER
    ,FOB VARCHAR2(240) --fnd_lookup_values.meaning%TYPE
    ,FREIGHT_TERMS VARCHAR2(240) --fnd_lookup_values.meaning%TYPE
    ,FREIGHT_ACCOUNT_NUMBER VARCHAR2(200)
    create or replace type header_upload_tab is table of header_upload;
    java code is: this is a java class which first inserts the csv file data into array headerdata
    public static String[] parseCSV(long l)
    throws SQLException, FrameworkException, IOException
    String s = "parseCSV";
    String lResult[] = new String[3];
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Start");
    OracleConnection oracleconnection = (OracleConnection)TransactionScope.getConnection();
    OraclePreparedStatement oraclepreparedstatement = null;
    OracleResultSet oracleresultset = null;
    BLOB blob = null;
    long l1 = System.currentTimeMillis();
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before fetching the File data from FND_LOBS");
    oraclepreparedstatement = (OraclePreparedStatement)oracleconnection.prepareStatement(" SELECT FILE_DATA FROM FND_LOBS WHERE FILE_ID = :1 ");
    oraclepreparedstatement.defineColumnType(1, 2004);
    oraclepreparedstatement.setLong(1, l);
    try
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before Executing the query");
    oracleresultset = (OracleResultSet)oraclepreparedstatement.executeQuery();
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After Executing the query");
    while(oracleresultset.next())
    blob = (BLOB)oracleresultset.getObject(1);
    finally
    if(oracleresultset != null)
    oracleresultset.close();
    if(oraclepreparedstatement != null)
    oraclepreparedstatement.close();
    if(oracleconnection != null)
    TransactionScope.releaseConnection(oracleconnection);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Time taken to get the BLOB object(" + (System.currentTimeMillis() - l1) + " milliseconds)");
    l1 = System.currentTimeMillis();
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Get the stream from the BLOB");
    InputStreamReader inputstreamreader = new InputStreamReader(blob.getBinaryStream());
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before creating the csvreader");
    xxbcIbeOrderUploadCSVReader OrderUploadcsvreader = new xxbcIbeOrderUploadCSVReader(inputstreamreader);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After creating the csvreader");
    OrderUploadcsvreader.setFieldSeparator(",");
    OrderUploadcsvreader.setHandleEscapes(true);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before getting the headers");
    // Fetch the Header Record
    ArrayList arraylistH = OrderUploadcsvreader.getHeaders();
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After getting the headers");
    String s1 = (String)arraylistH.get(0);
    if ("HEADER".equals(s1))
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Parse and Create the Header Record");
    // Fetch the Header Data. This data will be inserted into Staging table, XXBC_IBE_ORDER_HEADER_IFACE
    ArrayList arraylistHData = OrderUploadcsvreader.readRecord();
    String headerData[] = new String[60];
    for(int i = 1; i < arraylistH.size(); i++) {
    headerData[i] = "";
    for(int i = 1; i < arraylistH.size(); i++)
    String h_element = (String)arraylistH.get(i);
    String h_value = (String)arraylistHData.get(i);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, h_element);
    if ("VENDOR NAME*".equals(h_element)) headerData[1] = h_value;
    if ("BILL TO CUSTOMER*".equals(h_element)) headerData[2] = h_value;
    if ("BILL TO CUSTOMER NUMBER*".equals(h_element)) headerData[3] = h_value;
    if ("BILL TO SITE NUMBER*".equals(h_element)) headerData[4] = h_value;
    if ("RESELLER*".equals(h_element)) headerData[5] = h_value;
    if ("RESELLER ADDRESS LINE 1*".equals(h_element)) headerData[6] = h_value;
    if ("RESELLER ADDRESS LINE 2".equals(h_element)) headerData[7] = h_value;
    if ("RESELLER ADDRESS LINE 3".equals(h_element)) headerData[8] = h_value;
    if ("RESELLER ADDRESS LINE 4".equals(h_element)) headerData[9] = h_value;
    if ("RESELLER COUNTRY*".equals(h_element)) headerData[10] = h_value;
    if ("RESELLER STATE*".equals(h_element)) headerData[11] = h_value;
    if ("RESELLER CITY*".equals(h_element)) headerData[12] = h_value;
    if ("RESELLER POSTAL CODE*".equals(h_element)) headerData[13] = h_value;
    if ("FEDERAL GOVT END USER".equals(h_element)) headerData[14] = h_value;
    if ("END USER*".equals(h_element)) headerData[15] = h_value;
    if ("END USER ADDRESS LINE 1*".equals(h_element)) headerData[16] = h_value;
    if ("END USER ADDRESS LINE 2".equals(h_element)) headerData[17] = h_value;
    if ("END USER ADDRESS LINE 3".equals(h_element)) headerData[18] = h_value;
    if ("END USER ADDRESS LINE 4".equals(h_element)) headerData[19] = h_value;
    if ("END USER COUNTRY*".equals(h_element)) headerData[20] = h_value;
    if ("END USER STATE*".equals(h_element)) headerData[21] = h_value;
    if ("END USER CITY*".equals(h_element)) headerData[22] = h_value;
    if ("END USER POSTAL CODE*".equals(h_element)) headerData[23] = h_value;
    if ("END USER CONTACT**".equals(h_element)) headerData[24] = h_value;
    if ("END USER CONTACT EMAIL**".equals(h_element)) headerData[25] = h_value;
    if ("SHIP TO CUSTOMER*".equals(h_element)) headerData[26] = h_value;
    if ("SHIP TO ADDRESS LINE 1*".equals(h_element)) headerData[27] = h_value;
    if ("SHIP TO ADDRESS LINE 2".equals(h_element)) headerData[28] = h_value;
    if ("SHIP TO ADDRESS LINE 3".equals(h_element)) headerData[29] = h_value;
    if ("SHIP TO ADDRESS LINE 4".equals(h_element)) headerData[30] = h_value;
    if ("SHIP TO COUNTRY*".equals(h_element)) headerData[31] = h_value;
    if ("SHIP TO STATE*".equals(h_element)) headerData[32] = h_value;
    if ("SHIP TO CITY*".equals(h_element)) headerData[33] = h_value;
    if ("SHIP TO POSTAL CODE*".equals(h_element)) headerData[34] = h_value;
    if ("SHIP TO CONTACT**".equals(h_element)) headerData[35] = h_value;
    if ("SHIP TO CONTACT PHONE NUMBER**".equals(h_element)) headerData[36] = h_value;
    if ("SHIPPING INSTRUCTIONS".equals(h_element)) headerData[37] = h_value;
    if ("SHIPPING METHOD*".equals(h_element)) headerData[38] = h_value;
    if ("ALERT EMAIL*".equals(h_element)) headerData[39] = h_value;
    if ("LICENSE EMAIL**".equals(h_element)) headerData[40] = h_value;
    if ("ORDER CONTACT FIRST NAME*".equals(h_element)) headerData[41] = h_value;
    if ("ORDER CONTACT LAST NAME*".equals(h_element)) headerData[42] = h_value;
    if ("ORDER CONTACT PHONE NUMBER*".equals(h_element)) headerData[43] = h_value;
    if ("ORDER CONTACT FAX NUMBER".equals(h_element)) headerData[44] = h_value;
    if ("ORDER CONTACT EMAIL*".equals(h_element)) headerData[45] = h_value;
    if ("NOTES".equals(h_element)) headerData[46] = h_value;
    if ("CURRENCY*".equals(h_element)) headerData[47] = h_value;
    if ("SERVICE RENEWAL ORDER".equals(h_element)) headerData[48] = h_value;
    if ("CUSTOMER PO NUMBER*".equals(h_element)) headerData[49] = h_value;
    if ("RESUBMISSION*".equals(h_element)) headerData[50] = h_value;
    if ("PREVIOUS CUSTOMER PO NUMBER**".equals(h_element)) headerData[51] = h_value;
    if ("END USER PO NUMBER".equals(h_element)) headerData[52] = h_value;
    if ("PO NET TOTAL*".equals(h_element)) headerData[53] = h_value;
    if ("FOB*".equals(h_element)) headerData[54] = h_value;
    if ("FREIGHT TERMS*".equals(h_element)) headerData[55] = h_value;
    if ("FREIGHT ACCOUNT NUMBER".equals(h_element)) headerData[56] = h_value;
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, (String)headerData);
    } // End of processing Header Data
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Insert the Header Record into Interface Table");
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, (String)headerData[1]);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, (String)headerData[2]);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "checkpoint");
    oracleconnection = (OracleConnection)TransactionScope.getConnection();
    oracleconnection.setAutoCommit(true);
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After getting connection");
    ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "HEADER_UPLOAD_TAB", oracleconnection );
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "before new array");
    ARRAY array_to_pass = new ARRAY( descriptor, oracleconnection, headerData );
    if(IBEUtil.logEnabled())
    IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "calling procedure");
    OraclePreparedStatement ps =
    (OraclePreparedStatement)oracleconnection.prepareStatement ( "BEGIN insert_data(:1); END;" );
    ps.setARRAY( 1, array_to_pass );
    ps.execute();.......continued
    the above code executes till the message :---IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "before new array");
    after that it gives error as :---Exception=java.sql.SQLException: Fail to convert to internal representation
    Kindly Help....
    Thanks in advance
    Gaurav

    Gaurav,
    Just a guess, but try the following:
    ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "SCOTT.HEADER_UPLOAD_TAB", oracleconnection );In other words, prefix the data-type name, HEADER_UPLOAD_TAB, with its schema owner name.
    Good Luck,
    Avi.

  • Purchase Order  in SRM Error in process

    Hello ,
    We are using extended classic scenario . SRM 5.0 , ECC 6.0.
    There is a PO on SRM with status 'Error in Process ' in process .But I checked the line items of the POs. PO has been successfully created and also transfered to ECC for all the line items. In ECC too the PO is visible.
    Then why the status of the PO is not 'ordered' ? How can I do to change this status to 'ordered' ?
    Please let me know how to find out the root cause of the issue as well as how to resolve the same .
    Regards,
    Saurav

    HI,
    Could you please tell me, how did you solve this issue. I'm having the same type of issue.
    Creation of shoppingcart thro'MDM catalog. It is approved. Local Purchase order is not getting
    created because of the following error and it is not replicated to the ECC 6.0.
    in Application monitor in SRM 7.0 Portal screen.
    1. Backend error: Enter G/L Account
    2. Purchase order still contain faulty items.
    3. Issue with error showing Sum of Quantities >1.728< larger than total quantity
    PO Status is'error in process'
    Regards,
    Anjan

  • Newbie - JSP & bean shopping cart logic error?

    Hello,
    I am attempting to bulid a shopping cart facility on a JSP site that I am building.
    I am having difficulties adding an item to the basket.
    The page below (bookDetail.jsp) displays items for sale from a database. At the foot of the page, I have set up a hyperlink to add an item to a basket bean instance created in this page.
    What happens is the page will load correctly, when i hover the mouse over the hyperlink to add the item to the basket, the status bar shows the URL of the current page with the details of the book appended. This is what I want. But when I click the link, the page will only reload showing 20% of the content.
    Netbeans throws up no errors, neither does Tomcat, so I am assuming I have made a logical error somewhere.
    I have enclosed the Book class, and the ShoppingCart class for your reference.
    Any help would be really appreciated as I am at a loss here.
    Cheers.
    Edited highlights from bookDetail.jsp
    //page header importing 2 classes - Book and ShoppingCart
    <%@ page import="java.util.*, java.sql.*, com.shopengine.Book, com.shopengine.ShoppingCart" errorPage="errorpage.jsp" %>
    //declare variables to store data retrieved from database
    String rs_BookDetail_bookRef = null;
    String rs_BookDetail_bookTitle = null;
    String rs_BookDetail_author = null;
    String rs_BookDetail_price = null;
    //code that retrieves recordset data, displays it, and places it in variables shown above
    <%=(((rs_BookDetail_bookRef = rs_BookDetail.getString("book_ref"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_bookRef)%>
    <%=(((rs_BookDetail_author = rs_BookDetail.getString("author"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_author)%>
    <%=(((rs_BookDetail_bookTitle = rs_BookDetail.getString("book_title"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_bookTitle)%>
    <%=(((rs_BookDetail_price = rs_BookDetail.getString("price"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_price)%>
    //this link is to THIS PAGE to send data to server as request parameters in Key/Value pairs
    // this facilitates the add to basket function
    <a href="<%= response.encodeURL(bookDetail.jsp?title=
    "+rs_BookDetail_bookTitle+"
    &item_id=
    "+rs_BookDetail_bookRef +"
    &author="+rs_BookDetail_author +"
    &price=
    "+rs_BookDetail_price) %> ">
    <img src="images\addtobasket.gif" border="0" alt="Add To Basket"></a></td>
    // use a bean instance to store basket items
    <jsp:useBean id="basket" class="ShoppingCart" scope="session"/>
    <% String title = request.getParameter("title");
    if(title!=null)
    String item_id = request.getParameter("item_id");
    double price = Double.parseDouble(request.getParameter("price"));
    Book item = new Book(item_id, title, author, price);
    basket.addToBasket( item );
    %>
    ShoppingCart class that is used as a bean in bookDetail.jsp shown above
    package com.shopengine;
    //import packages
    import java.util.*;
    //does not declare explicit constructor which automatically creates a zero argument constructor
    //as this class will be instantiated as a bean
    public class ShoppingCart
    //using private instance variables as per JavaBean api
         private Vector basket;
         public ShoppingCart()
              basket = new Vector();
         }//close constructor
    //add object to vector
         public void addToBasket (Book book)
              basket.addElement(book);
         }//close addToBasket method
    //if strings are equal, delete object from vector
         public void deleteFromBasket (String foo)
    for(Enumeration enum = getBasketContents();
    enum.hasMoreElements();)
    //enumerate elements in vector
    Book item = (Book)enum.nextElement();
    //if BookRef is equal to Ref of item for deletion
    //then delete object from vector.
    if (item.getBookRef().equals(foo))
    basket.removeElement(item);
    break;
    }//close if statement
    }//close for loop
         }//close deleteFromBasket method
    //overwrite vector with new empty vector for next customer
         public void emptyBasket()
    basket = new Vector();
         }//close emptyBasket method
         //return size of vector to show how many items it contains
    public int getSizeOfBasket()
    return basket.size();
         }//close getSizeOfBasket method
    //return objects stored in Vector
         public Enumeration getBasketContents()
    return basket.elements();
         }//close getBasketContents method
         public double getTotalPrice()
    //collect book objects using getBasketContents method
    Enumeration enum = getBasketContents();
    //instantiate variable to accrue billng total for each enummeration
    double totalBillAmount;
    //instantiate object to store data for each enummeration
    Book item;
    //create a loop to add up the total cost of items in basket
    for (totalBillAmount=0.0D; enum.hasMoreElements(); totalBillAmount += item.getPrice())
    item = (Book)enum.nextElement();
    }//close for loop
    return totalBillAmount;
         }//close getTotalPrice method
    }//close shopping cart class
    Book Class that is used as an object model for items stored in basket
    package com.shopengine;
    import java.util.*;
    public class Book{
         //define variables
    private String bookRef, bookTitle, author;
         private double price;
    //define class
    public Book(String bookRef, String bookTitle, String author, double price)
    this.bookRef= bookRef;
    this.bookTitle=bookTitle;
    this.author=author;
    this.price=price;
    //create accessor methods
         public String getBookRef()
              return this.bookRef;
         public String getBookTitle()
              return this.bookTitle;
         public String getAuthor()
              return this.author;
         public double getPrice()
              return this.price;
    }//close class

    page will only reload showing 20% of the content.Im building some carts too and I had a similiar problem getting null values from the mysql database. Are you getting null values or are they just not showing up or what?
    On one of the carts I'm building I have a similiar class to yours called products that I cast onto a hashmap works alot better. Mine looks like this, maybe this is no help I don't know.......
    public class Product {
        /**An Item that is for sale.*/
          private String productID = "Missing";
          private String categoryID = "Missing";
          private String modelNumber = "Missing";
          private String modelName = "Missing";
          private String productImage = "Missing";
          private double unitCost;
          private String description = "Missing";
          public Product( 
                           String productID,
                           String categoryID,
                           String modelNumber,
                           String modelName,
                           String productImage,
                           double unitCost,
                           String description) {
                           setProductID(productID);
                           setCategoryID(categoryID);
                           setModelNumber(modelNumber);
                           setModelName(modelName);
                           setProductImage(productImage);
                           setUnitCost(unitCost);
                           setDescription(description);        
          public String getProductID(){
             return(productID);
          private void setProductID(String productID){
             this.productID = productID;
          public String getCategoryID(){
             return(categoryID);
          private void setCategoryID(String categoryID){
             this.categoryID = categoryID;
          public String getModelNumber(){
             return(modelNumber);
          private void setModelNumber(String modelNumber){
             this.modelNumber = modelNumber;
          public String getModelName(){
             return(modelName);
          private void setModelName(String modelName){
             this.modelName = modelName;
          public String getProductImage(){
             return(productImage);
          private void setProductImage(String productImage){
             this.productImage = productImage;
          public double getUnitCost(){
              return(unitCost);
          private void setUnitCost(double unitCost){
              this.unitCost = unitCost;
          public String getDescription(){
              return(description);
          private void setDescription(String description){
              this.description = description;

  • Error log in to livecycle workflow designer

    Hello,
    I can't log in wokflow designer, i've got this message :
    error
    com/ibm/CORBA/IIOP/ObjectURL
    My installation of livecycle on the server (websphere 6) is good (forms 7.2.2 + assembler 7.2.2 + workflow 7.2.2), the connection to the database work fine too.
    need help :(

    Hi Kevin
    I suspect the Websphere Client is incorrectly installed.
    You will have to uninstall and then re-install.
    When installing the client, you MUST choose a custom install and install the "Pluggable Application Client".
    Diana@adobe

  • SC created without any warning or error message

    Hi,
    I'm working with SRM 5.0, classic scenario.
    Problem is following:
    I create a SC for a specific material for storage location A for example. But this specific material wasn't created for storage location A. SRM doesn't block my SC cart created neither give me any warning or error message.
    After SC goes into error into shoppingcart monitor indicating that this specific material wasn't created for storage location A.
    Is this normal SRM behaviour? I don't think so...
    Can I activate any warning or error message in order to avoid this?
    Thanks a lot,
    regards,
    caroline

    Hi
    This seems to be normal behaviour.
    Please check for errors, dumps etc. using BBP_MON_SC, RZ20, and ST22 Transactions, if any.
    You need to use BBP_DOC_CHECK_BADI for issuing Warning / Error messages.
    Implement BBP_DOC_CHECK_BADI for filter type - BUS2121 (Shopping carts) and get the job done.
    P.S. Carefully read the Standard SAP Documentation of this BADI using SE18 Transaction.
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Help by setting up a conditional process in regards to a collection, error

    I have a simple application containing 2 pages:
    page 1: catalog
    page 2: order overview page
    on page 1 is a report with a list of articles, one column in the report is a link which branches to page 2 filling in a bindvariable. Sofar, not a problem. When the user first comes on page 2, a collection must be made, so I made a process called: make collection.
    Code
    HTMLDB_COLLECTION.CREATE_COLLECTION(
    p_collection_name => 'SHOPPINGCART' );
    commit;
    This works, but the user will visit this page more than once, and he will be branching to this page based on several buttons also on page 2, the collection only needs to be made once. So how do I make in this case the process conditional, I already had a look at:
    Verifying Whether a Collection Exists
    Use COLLECTION_EXISTS to determine if a collection exists.
    HTMLDB_COLLECTION.COLLECTION_EXISTS (
    p_collection_name => collection name );
    Which is a boolean, thank you Jes for helping me out there, and can have a value of:
    IN/OUT
    Tried a bunch of things didn't manage to get it to work. Now it fires everytime, and delivers an error stating the collection already exists. Please advice how to construct the conditional part of the process, the function as mentioned above HTMLDB_COLLECTION.COLLECTION_EXISTS should be helpful, getting nowhere, read the documentation abot the conditional parts, still no luck. Please help
    Anyone?
    Message was edited by:
    Peter

    Hi Pete,
    Change your process to something like -
    DECLARE
      bExists BOOLEAN;
    BEGIN
      bExists := HTMLDB_COLLECTION.COLLECTION_EXISTS(p_collection_name => 'SHOPPINGCART');
      IF NOT(bExists) THEN
        HTMLDB_COLLECTION.CREATE_COLLECTION(p_collection_name => 'SHOPPINGCART');
      END IF;
    END;

  • Ejb compilation error

    I am trying to compile the following sample code. Compilation error message is
    ShoppingCartBean.java:2: cannot find symbol
    symbol: class EJB
    location package javax.annotation
    import java.util.HashMap;
    import javax.annotation.EJB;
    import javax.ejb.Remote;
    import javax.ejb.Remove;
    import javax.ejb.Stateful;
    @Stateful
    @Remote(ShoppingCart.class)
    public class ShoppingCartBean implements ShoppingCart, java.io.Serializable {
    private HashMap<String, Integer> cart = new HashMap<String, Integer>();
    @EJB
    private Calculator calculator;
    private Calculator set;
    @EJB(beanName="CalculatorBean")
    public void setCalculator(Calculator c) {
    set = c;
    public void buy(String product, int quantity) {
    if(cart.containsKey(product)) {
    int currq = cart.get(product);
    currq = calculator.add(currq, quantity);
    cart.put(product, currq);
    else cart.put(product, quantity);
    public HashMap<String, Integer> getCartContents() {
    return cart;
    @Remove
    public void checkout() {
    System.out.println("To be implemented");
    }

    ague wrote:
    @Stateful
    @Remote(ShoppingCart.class)
    public class ShoppingCartBean implements ShoppingCart, java.io.Serializable {The annotation is used incorrectly; should look liek -
    @Remote ({ShoppingCart.java})
    afaik

  • Error: 3816: Local System Creation during install was not successful.

    Hello,
    This is our first time installing Oracle Wokflow 2.6.3 Standalone.
    We are having problems with the Event Manager.
    When we access the event manager pages:
    … pls/wf/wf_event_html.listevents?resetcookie=T
    …pls/wf/wf_event_html.listsystems?resetcookie=T
    etc.
    We get this error:
    Error: 3816: Local System Creation during install was not successful. Please review the install log file for errors.
    Error Stack:
    WF_EVENT_HTML.isAccessible(EVENTS)
    WF_EVENT_HTML.ListEvents()
    •     The installation was successful.
    •     We cannot change the Local System in the Global Workflow Preferences option.
    •     The table WF_systems is empty.
    •     Should the local system appear in this table?
    Thanks

    Software component sap.com/LM-TOOLS with version 7.00.9.3 is found on the system but in the stack it is listed with version 7.00.9.0.
    Software component sap.com/SAP-JEECOR with version 7.00.9.1 is found on the system but in the stack it is listed with version 7.00.9.0.
    You are trying to upgrade a system with the lower version of sap.com/LM-TOOLS and sap.com/SAP-JEECOR. The other thing I notice is that if you are upgrading to  EhP4/EhP1 NW then the version of LM and SAP-JEECOR should look something like 7.01.3.0.
    Are you using MOPZ to download EhP's ? As the error message says synchronize the system with SAP Solution Manager and then generate a new stack file.
    Hope this helps.
    Thanks,
    Naveed

  • Application Error in Place order page

    Hi all,
    In istore site I got "Application error" in "place order" page for some customers, but other customers its working fine, and i checked the log file it shows CC holder is "Null". So please give some idea regarding this issue.
    java.lang.NullPointerException
    at
    oracle.apps.ibe.shoppingcart.quote.ShoppingCart.savePaymentInformation
    (S
    hoppingCart.java:4077)
    at
    oracle.apps.ibe.shoppingcart.quote.ShoppingCart.savePaymentInformation
    (S
    hoppingCart.java:3819)
    at
    oracle.apps.ibe.shoppingcart.quote.ShoppingCart.saveCCPayment(Shopping
    Ca
    rt.java:4412)
    at
    oa_html.__ibeCCkpBHdrBillPay._jspService(__ibeCCkpBHdrBi
    ll
    Pay.java:2280)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at
    oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at
    org.apache.jserv.JServConnection.processRequest(JServConnection.java:4
    56
    at
    org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:595)Thanks
    Bala

    Bala,
    Most probably you need to clear the server cache or compile the JSP pages (depends on your application release) -- Please see (11.5.0/12: Oracle iStore Checkout Error: "500 Internal Server Error OracleJSP" [ID 577510.1]) for details.
    Thanks,
    Hussein

  • Application Error when adding configurator item to shopping cart

    Hi All,
    We are getting application error while selecting the configurator model item in iStore pages in oracle apps R12.
    The view source shows following message:
    java.lang.NullPointerException
         at oracle.apps.ibe.shoppingcart.quote.ShoppingCart.addModelsToCart(ShoppingCart.java:7079)
         at oracle.apps.ibe.configurator.Configurator.addItemToCart(Configurator.java:272)
         at ibeCFgpLaunch.jspService(_ibeCFgpLaunch.java:1241)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at ibeCCtpBuyRoute.jspService(_ibeCCtpBuyRoute.java:2490)
    While selecting the normal standard item i got below error:
    Error:
    There is an error in order submission.
    ERROR_RETURNED (API=ASO_QUOTE_CUHK.Create_Quote_PRE)
    Also i checked all invalid objects , but i couldn't find any ASO or IBE related invalid objects.
    Please help, it was urgent..

    L S P.. wrote:
    Hi,
    Actually that notes says about invalid objects in ASO and IBE objects.
    But i couldn't found any invalid objects. Also i was cleared cache using functional administrator also.
    But still am getting this error.
    Please help on this.. It is on critical.Please log a SR if the doc did not help.
    Thanks,
    Hussein

  • Spring error convering 9i to 10g

    Hi,
    we are porting a legacy sales package from App Server 9i to 10g (10.1.3.1.0). It uses Andromda, Hibernate and Spring. We have almost got it working in OC4J 10.1.3.1, but have got the following error. We encountered similar problems when trying to port Pebble (blogging software) over from the standard Tomcat WAR file into OC4J.
    It seems that it just can't quite see the HTML and JSPs, despite them being in the package etc.
    Any ideas, hope so, we're stumped.....
    Iain and Paul
    2009-08-18 11:00:48.837 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : java.io.FileNotFoundException: D:\oc2\
    j2ee\home\applications\btos\btos\include\shoppingCart.html (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at oracle.jsp.provider.JspFilesystemResource.fromStream(JspFilesystemResource.java:151)
    at oracle.jsp.parse.XMLUtil.getFromStream(XMLUtil.java:236)
    at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:449)
    at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:296)
    at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
    at web2d_inf._jsp._generalSales._jspService(_generalSales.java:287)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at uk.co.mpcontracting.modules.security.filter.PrincipalConversionFilter.doExtendedFilter(PrincipalConversionFilter.java:61)
    at uk.co.mpcontracting.modules.security.filter.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:184)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

    Hello,
    ORA-00096: invalid value UNUSED for parameter plsql_compiler_flags, must be from among NON_DEBUG, DEBUG, INTERPRETED, NATIVEPlease, have a look on the following Note from My Oracle Support:
    ORA-96 WHEN IMPORTING A DUMP CREATED WHILE PLSQL_COMPILER_FLAGS=NATIVE [ID 154857.1]Before exporting, you may have to set the parameter plsql_compiler_flags to INTERPRETED,NON_DEBUG which is normally the default value.
    Hope this help.
    Best regards,
    Jean-Valentin

Maybe you are looking for