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;

Similar Messages

  • Shopping Cart creation error

    I am using SRM 4.0 and ECC 5.0 with Ex Classic scenario.
    While I am trying to create Shopping cart following error is coming :-
    "No organizational data exists on item level" 
    I have checked up all Org. plan data i.e. users are consistent all attribute in org nodes in function tab like company code Pur Org or Pur Grp maintained.
    Secondly I have checked in R/3 that Material is also having Organization data like is extended to a Plant and Storage and Pur and Storage views are maintained. Still problem not resolved.
    I am not able to understand this error message.
    Could somebody help me ?
    Thanks
    Sanjay

    Hi Vadim,
    I found out the reason of problem. When we deflag check box for activate Extended Classic. This problem goes away.
    Further as suggested by you we have analyzed Xn BBPSC01 in SAP gui and found in Extended details every data is populated like Prod Cat.,Company,Plant and S Loc etc. except Pur Org and Pur Grp. When we deflag Extended classic check box than Pur Org and Pur Grp are also populated.
    What could be done as I have to use Extended classic scenerio.
    Problem of in ITS service page of basic data not being displayed remains.
    Thanks
    Sanjay

  • Unable to create shopping cart (multiple errors)

    Dear All,
    When I try to create the shopping cart, I get the following errors
    No Logical System for FI is maintained. Inform system admin.
    Enter the company code
    No Logical System for FI is maintained. Inform system admin.(2nd time)
    Error in account assignment for item1
    I have maintained Plant -> Storage Locations -> Extended Attributes in PPOMA_BBP. I got the partner Id from BBP_LOCMAP after running the BBP_LOCATIONS_GET
    I have checked the RFC connection from SRM to ECC (R3 system). I am able to get into ECC without the login details
    Can you please advise on the troubleshooting steps?
    Thanks for your time.

    Hello,
    Does the user you are testing with have the required puchasing roles?
    I have noticed that there are some customizing roles in SU01.
    Are the correct attributes maintained in PPOMA_BBP?
    Please check table BBP_DET_LOGSYS as it may contains old product
    category GUID.
    After downloading the customzing object, DNL_CUST_PROD0, in your
    system, the GUID created in COMM_CATEGORY table could be different from
    the one used in BBP_DET_LOGSYS.
    Redo the "Define Backend System for Product Category" in the IMG
    and recheck.
    Please also verify the business organization settings.
    I hope it helps.
    Kind regards,
    Gaurav
    PLEASE GIVE FULL POINTS FOR USEFUL REPLIES

  • Error message when accessing my shopping cart - "Unknown error... (502)

    I am able to access the Music Store just fine, but when trying to access my shopping cart I get the following error:
    We could not complete your Music Store request. An unknown error occurred (502).
    There was an error in the Music Store. Please try again later.
    I closed and restarted iTunes to no avail. A search of discussions, and support turned up little.
    I bought music just fine a few weeks ago.

    Matthew,
    Where did you see that message? I've been having problems, like everyone else seems to be. When I try to make a purchase, sometimes iTunes tells me my credit card info has expired (it hasn't), that the server cannot be found, or some other problem.
    Thanks.

  • SRM Fiori  showing blank My SHopping Cart and error in Approve Shopping Cart

    Hi Experts
    We are implementing SAPUI5 MyShoppingCart Services embedded deployment with:
    -ehp 3 for sap srm 7.0 sp07
    -netweaver 7.4 sp07
    -gateway 2.0
    we implemented three apps - Tracking SC, Approve and My SC
    we're getting good display in Tracking SC,
    however, we have blank screen for both  My Shopping Cart and Approve SC (even though there are items for approval in SRM)
    see below screenshots
    Tracking SC Screen
    Approve SC Screen
    My Shopping Cart
    is there a table in backend SRM that will verify the products that should be diplayed in My SC screen?
    we only have product master data  imported as of now using tcode /SRMNXP/CAT01.
    should there be buttons already available in the My SC screen even if there's no available products?
    Also what configs could be missing for Approve app?
    thanks in advance.

    Is anybody able to resolve this problem? We are having similar issues where nothing is displayed on My Shopping Cart, Track Shopping Cart and Approve Shopping Cart. We have been struggling for more than a week now. If you were able to solve then problem could you please share with us-
    1. Are there any backend settings that need to be done?
    2. We do not have any external catalog hence we have not installed MDM or TREX. We would like to just search our internal Material/Services Master catalog in the shopping cart. Are there any special settings to achieve this.
    3. We are not even able to see any navigation tabs on UI5 screens. For the basic shopping cart to display are there any settings anywhere or any notes to be installed?

  • Shopping Cart workflow error

    Hi,
    We have just started with the setting up of the SRM 5.0 system. Scenario is Classic. we have activated the Shopping Cart without approval WF, however, when a SHC is created the system shows the status of SHC in Approval. Dont know what i have missed.
    Full points will be awarded.
    Thanks in advance,
    Amit

    Hi,
    Sorry guys, i guess this was a false alarm. I had not completed the settings for SWU3. Issue seems to be resolved.
    Thanks
    Amit

  • Getting error while creating the Shopping cart.

    Hi ,
    I am getting error while creating the Shopping cart.
    a.Error in account assignment for item 1  (Item  Testing SC ) 
    b.Duplicates of Cost Centre T10063 are defined in SRM  (Item  Testing SC ) 
    Kindly provide the solutions.
    Thanks,
    Dev

    Try the following in the ERP backend system:
    Standard Hierarchy Inconsistencies
    Issue: one Cost Center is repeating in more than one node in Cost Center Standard Hierarchy.
    Update from SAP Global support, the following was the email received:
    in transaction KSH3 please run both the ambiguity and completeness check(Menu -> Extras -> Check and Help functions).
    If you think that your standard hierarchy is inconsistent you can check that as following:
    Run transaction Extras -> Hierarchy - Master data -> Test. The result shows you if there are in consistencies. If that is the case run also Extras -> Hierarchy - Master data -> Comparison.
    Alternatively, you can run the report 'RKCORRH1' (TN SE38).
    Run both the Hierarchy->Master data->test and the
    Hierarchy->Master data->comparison.
    As stated above inconsistency message showed after Test. Run the comparison and you get a similar message.
    Once the above two are run, again when you go to test, the inconsistency disappears.

  • Error creating follow on documents for Shopping cart

    Hi expert
    we are on srm 701
    and we are  using classic scenario
    We are currently facing an issue with  follow-on documents are not created in R/3
    i  Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)
    when my manger approve Sc i havent any follow on doc in my back-end and i have this error in RZ20 :Shopping cart 0010000376: Error creating the follow-on document
    but when is  using FM : BBP_PD_SC_TRANSFER the reservation created (for which material that define on  Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders as created reserve)
    but i cant create PO or PR
    Please help to resolve this issue.

    Hello,
    check this section:
    Shopping Cart Transfer
    Regards.
    Laurent.

  • Monitor Shopping cart does not find Error in transmission

    hello,
    We recenlty upgraded to SRM 5.0 stack SAPKIBKT15. Now we find that  Monitor Shopping cart doesn't display the shopping cart with errors in transmission. We know we have them in the system but it displays only when the shopping cart number who has the error in transmission is also entered. So only looking for the status Error in transmission' doesn't give any shopping carts in monitor shopping cart but when entering the shopping number and status 'Error in transmission' it does show.
    Any idea ?
    Thanks as ever!

    Ok I will give it another try, as you are so kind to help me!!
    Users use Monitor Shopping cart in SRM (transaction BBP_MON_SC) With this transaction they can search for shopping carts on General data and item data. If shopping carts end in error in transmission they can search on status 'Error in transmission'. We now have shopping carts with an error in ttransmission. Monitor shopping cart doesn't display them unless I enter the shopping cart number as well. Previously we could enter only status 'Error in transmission and it displayed all the shopping carts with an error in transmission.
    I see transaction Rz20 and I see the errors in the drill down you suggest but what do I need to do to make the Monitor shopping cart display all the errors in transmission when searching for that status ?
    Thanks!

  • Error in process shopping carts

    Hi,
    We are using extended classic scenario.
    Shopping carts are created in SRM. After approval of shopping carts
    errors occured.
    Error messages while monitoring shopping carts are as follows:
    1. Local error:   Error during determn of backend follow-on doc. for
    shopping cart 1000226740 
    2. Backend application error :Shopping Cart 1000227220 (Purch.
    Requisition 1100109923): ME007 System error: block object Purch.
    requisitio n, key 1100109923 
    Inthe description of 2nd error PR NO 1100109923  is visible in
    transaction BBP_PD, but it is not visible in R/3 nor in SRM shopping
    cart
    All the shopping carts having errors are approved almost at same time.
    We have checked RFC connection, queues, idocs as well as scheduled jobs
    and system log for that particular time.
    Can you suggest me how to process such shopping carts and also give a
    solution to avoid this problem as the same problem occurs almost once
    in month.
    Regard,
    Madhuvanti

    1. Is your employee & manager is inheriting the value of attribute BSA in org structure?
    it looks SRM is not able to decide the backend doc
    2. you will not be able to see the PR no in any sys
    because the SRM has just booked this PR no by the virtue of the no range mapping
    external in ECC for PR doc type
    and for back end in SRM
    what is yr settings for
    define backend objects
    and sourcing for prod cat
    BR
    Dinesh

  • Best practice followed on shopping cart error management

    Hi All
    application monitor via WEB.
    Shopping cart Error log:-
    Shopping cart :- backend application errors
    Shopping cart :- Not transfered to backend
    sc xxxx follow on docuemnt(s) not transfered.
    Shopping cart :- Spooler commuication errors
    Shopping cart :- Local errors
    Really SC xxx has created a follow on docuemnts . why still srm system shows and it misleads others. sc xxxx follow on docuemnt(s) not transfered.
    Why once the error SC resolved and follow on docuemnts created  , automaticlly error log deletes right.. why it is not happening some time. Should we manualy delete these errors?
    What is the best practice you guys followed and clear these error?
    Muthu

    Hi Muthu,
    seems we two guys are the only ones with webmonitor problems
    but my situation is different than yours - the webmonitor tells me real errors. I am only investigating to get the system going automatically to transfer shopping carts later on, when SM12 locks in backend are off - like I state in:
    Re: SRM 5.0: CLEAN_REQREQ_UP, BBP_REQEQ_TRANSFER and Webmonitor
    kind regards,

  • With WBS element unable to create the Shopping cart

    Hi,
    With WBS element unable to create the Shopping cart
    Problem description:
    Shiopping cart >Item detail > Account assignment
    A/c assignment category " WBS element", Assignment no (some no,eg 1000-2 ).System picks the G/L account and business area,unable to create the shopping cart.Getting error message that
    "The account assignment objects are defined for different business areas  "
    Did i missed anything ,please
    Thanks
    Hareesha

    Hi Hareesha,
    As Sreedhar has rightly said the issue is definitely with the correctness of the data.
    Check the assignment of WBS to the proper business area which you are using to create the shopping cart.Check your org. structure and attributes and their assignments once again.
    Neverthless some OSS notes for your reference if in case you can not able to make P.Os or the SC's / P.Os are not getting transfered to back end R/3.
    <b>Note 727897 - WBS element conversion in extended classic scenario</b>
    <b>Note 1000184 - Account assignment error when document transfer to back end</b>
    Even after validating the data if the problem still persists please explain it clearly with the errors for further help.
    Rgds,
    Teja

  • Shopping cart not creating follow-on documents

    Hi,
    We were using extened classic for some time in test system and now deactivated extended classic and want to work with classic scenario. However when i create shopping cart for the material it is not creating any follow-on documents like reservation or purchase requisition or PO.
    Can anyone guide me for possible reasons.
    Thanks & Regards,
    Ganesh

    Hi Suresh,
    I am able to create Reservation and/or Purchase Requisition for the shopping cart after maintaining the backend system for product category, but when i am creating shopping cart which should create PO, i am getiing error and status of shopping cart is "Error in Process".
    After going through the transaction BBP_PD, the alert is as below-
    Alerts that Could Belong to this Document:                                      
    Monitor            Shopping Basket\Backend application errors                   
    Date               20.01.2006                                                   
    Time               08:49:44                                                     
    Message ID         BBP_ADMIN 016                                                
    Message text       Shopping cart &1 (PO &2): &3                                 
    Argument 1         5000000668                                                   
    Argument 2         3300000002                                                   
    Argument 3         MEPO                085Check item number 0 in tabl           
    Argument 4         00000000000000000000000000000000                                                                               
    Monitor            Shopping Basket\Backend application errors                   
    Date               20.01.2006                                                   
    Time               08:49:44                                                     
    Message ID         BBP_ADMIN 016                                                
    Message text       Shopping cart &1 (PO &2): &3                                 
    Argument 1         5000000668                                                   
    Argument 2         3300000002                                                   
    Argument 3         06                010Document contains no items              
    Argument 4         00000000000000000000000000000000                                                                               
    Monitor            Shopping Basket\Backend application errors                   
    Date               20.01.2006                                                   
    Time               08:49:44                                                     
    Message ID         BBP_ADMIN 016                                                
    Message text       Shopping cart &1 (PO &2): &3                                 
    Argument 1         5000000668                                                   
    Argument 2         3300000002                                                   
    Argument 3         MEPO                071Item 00010 does not exist             
    Argument 4         00000000000000000000000000000000                                                                               
    Can you throw some light on this, to solve the problem.
    Thanks & Regards,
    Ganesh

  • How to debug a failed shopping cart transfer to ECC in classic mode

    Hello,
    I am using SRM 5 in classic mode, connected to ECC 6.0.
    I have an error message in the administrator monitor that tells me a transfer a shopping cart to ECC has failed.
    "Shopping cart 1000000123: Error creating the follow-on document"
    (Message is BBP_PU 367)
    This is located in the "local errors" section of the administrator monitor.
    The follow on doucment will be a PO in ECC.
    This message does not tell me the cause of the problem therefore I need to retrnsmit the cart and debug to find the error message that is being returned from ECC.
    I have browsed the forum and there are various answers about debugging but but have not found exact instructions on how to debug, and it is now always clear on whether the instructions apply to classic or extended classic.
    I have seen reference to the method in note 539978 that creates test data with FBGENDAT for the ECC BAPI. However this method does not seem suitable for a production system because it will interfere with all shopping carts being transferred while the shoppign cart with the problem is being debugged.
    Therefore I would like to debug in SRM just for the shoppign cart with the problem.
    Hopefully this thread will become the defintiive poitn of reference for debuggin a classic shopping cart transfer to ECC  in SRM 5.
    I propose to use function module BBP_PD_SC_TRANSFER to transfer the shopping cart again by entering the shopping cart GUID.
    Question 1) Can this error message be returned by checks in SRM before the BAPI is called in ECC? If so, where do I place a breakpoint to find the error determined by the checks in SRM?
    Question 2) If the system is getting as far as calling the BAPI in ECC, is it possbile to find the error message passed back from ECC by this approach, given that the actual transfer is carried out by the spooler?
    Question 3) If this approach is valid, in which method/function module do I need to place a breakpoint, at which statement is the error message passed back to SRM from ECC?
    Your help would be appreciated,
    Reagrds

    Hi Paul,
    a small correction to Dishas comment:
    The class CL_BBP_BS_ADAPTER_PO_CRT_470_1 is used for the backend release 4.7, so it is not relevant for you. Instead of this, you have to take the CL_BBP_BS_ADAPTER_PO_CRT_ERP10 and method CREATE_DOCUMENT. This is the last step, before the SRM calls the backend system.
    From the alert "local errors" I suppose, that there is an error in the SRM customizing (in case the error message comes from the backend system, you get the message into the "Backend Application error").
    Typical customizing error, when e.g. the number range of the purchase REQUISITION is not correctly customized (in case the prerequisits for a PO are not fulfilled, the system tried to create a purchase requisition). See the note 1173815 regarding this problem.
    Back to your questions:
    The activating of the FBGENDAT was a good idea, but I would give here two hints:
    - I case of production system you can use only the "Mode B".
    - Activate the FBGENDAT only for a short term:
    -- at first set the breakpoint in the method CREATE_DOCUMENT (as above described)
    -- execute the BBP_PD_SC_TRANSFER
    -- you will be stopped at the breakpoint.
    -- Now you can activate the FBGENDAT in the backend
    -- go on with F8 in the debugger in the SRM system
    -- >>> test data will be filled in the backend system (BAPI_PO_CREATE1)
    -- deactivate the FBGENDAT
    You can do this in one min. and the worst what can happen is that you have 2-3 test data in the BAPI_PO_CREATE1 additionally to the erronous SC.
    Question 1) Can this error message be returned by checks in SRM before the BAPI is called in ECC? If so, where do I place a breakpoint to find the error determined by the checks in SRM?
    - Maybe... Places for setting breakpoints
    -- FM "BBP_PD_MSG_ADD"
    -- System command "RAISE"
    -- FM "META_BAPI_DISPATCH" (typical problem, see above, and also the note 1173815)
    Question 2) If the system is getting as far as calling the BAPI in ECC, is it possible to find the error message passed back from ECC by this approach, given that the actual transfer is carried out by the spooler?
    - Yes, you can find the message in the:
    -- Test data of the BAPI_PO_CREATE1, if you have activated the FBGENDAT
    -- In the method CREATE_DOCUMENT if you "comes back" from the RFC call from the backend
    Question 3) If this approach is valid, in which method/function module do I need to place a breakpoint, at which statement is the error message passed back to SRM from ECC?
    - see above, CL_BBP_BS_ADAPTER_PO_CRT_ERP10 method CREATE_DOCUMENT
    Kind regards,
    Peter

  • Awaiting approval in Shopping cart and no follow on Document created

    Hello Experts,
    Classic Scenario
    I activate BC-Set in process control workflow and create Shopping cart, Still status is Awaiting Approval and when i check in BBP_PD the workitem (its blank) no workitem assigned.
    Create Shopping Cart and approve forcefully with Swo1 and now its in ordered Status but no follow on Document created,........When i goto RZ20(Shopping Basket) to analyze it , The system says  Local Errors.............Shopping cart 3000000012: Error creating the follow-on document.
    Pease guide me on this .
    Thanks to all experts in Advance and appriciate your efforts
    Smriti
    Edited by: Smriti arora on Apr 28, 2010 7:58 AM
    Edited by: Smriti arora on Apr 28, 2010 8:04 AM

    hello Smriti
    I will try help you with your two problems.
    Question 1. "I activate BC-Set in process control workflow and create Shopping cart, Still status is Awaiting Approval and when i check in BBP_PD the workitem (its blank) no workitem assigned."
    this problem is because the customizing not is correct. Follow this steps:
    1.- SRM Server->Cross-Application Basic Settings->Business Workflow->Select Workflow Framework
    Check that Process-controlled workflow is active for all business objects
    2.-SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Customize SAP Business Workflow Automatically
    Execute step by step. is aut.
    3.-Execute transaction SWDD; check that workflow WS40000014 exists...
    4.-SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Generalize Tasks
    execute task for default
    5.-SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Check Task Generalization
    check it "/SAPSRM/WF_CFG"
    6.- SRM Server->Cross-Application Basic Settings->Business Workflow->Process-Controlled Workflow->Technical Configuration->Copy BRF Objects
    class SRM_WF ; all objects; COPY
    7.-execute transaction SCPR20 and active /SAPSRM/C_SC_600_000_SP04
    8.- TEST NOW
    Question 2: "Create Shopping Cart and approve forcefully with Swo1 and now its in ordered Status but no follow on Document created,........When i goto RZ20(Shopping Basket) to analyze it , The system says Local Errors.............Shopping cart 3000000012: Error creating the follow-on document"
    CHECK this point of customizing, here is where you must indicate to system that follow on document create for the shopping cart...exist several options...
    SAP Supplier Relationship Management->SRM Server->Sourcing->Define Sourcing for Product Categories
    Regards!!!!

Maybe you are looking for

  • ECC 5.0 database instance install error in  database load (post processing)

    HI  all! The installation of the environment : VM SERVER v1.03 ECC 5.0 /WINDOWS SERVER 2003 SQL SERVER 2000 SP3 DB INSTANCE install occur error in database load (post processing)  step: sapinst.log: INFO 2008-10-16 14:20:54 Creating file C:\Program F

  • How to use Google weather API in flex?

    Hi there, I have 2 services. ServiceONE : http://api.locationservice.com/city/key=123abc ServiceTWO: http://www.google.co.in/ig/api?weather='anyCityName' I am using HTTPService for both. Firstly I fetch result which gives me city name, by sending Ser

  • Security on Time Dimension?

    A while back when we built out our BPC environment it was recommended that the Time Dimension not be part of security.  What are you thoughts on applying secuirty on the time dimension? Th reason I ask is because the getonly range on templates is fra

  • Sum in joined tables

    Hello, I have a master table: t0  t1   t2    t3 1   d    1,81  700 2   d    1.81  800 and a detail table (t0 e tb0 colums joined) tb0  tb1 tb2   tb3 1   A   100   0 1   A   200   0 1   B   500   0 2   B   500   0 How can I get this following output?

  • What to download to learn SAP Netweaver?

    Hello, I am new to SAP Netweaver, and SAP in general. I am learning to be a SAP BASIS admin. I am curious to know what downloads are available from which I can install on my PC and go about learning. Thank you in advance for your help.