Reg : Shoping cart creation

Hi Gurus,
I am new to SRM. I have a requirement, where I have to create a shoping cart based on the information entered in a BSP page. Kindly suggest me how to create a shoping cart when the user clicks some button on the BSP page after entering all the required data for a shopping cart. Should I trigger a workflow or should I call a Function Module or BADI for creating the shopping cart.
Thanks in advance for your help & support.
- Vinay

Hi,
You can use the FM "BBP_PD_SC_CREATE" or "BBP_PD_SC_CREATE_EXTERNAL" to create a SC externally.
Pls refer the foll links for more pointers/sample code;
/message/3086605#3086605 [original link is broken]Creating Shopping Cart locally or Externally
Creating PO in SRM through external interface
SRM 4.0 (SERVER 5.0) integration
BAPI to create Shopping cart from portal
BR,
Disha.
Do reward points for useful answers.

Similar Messages

  • Shooping cart creation in SRM 7.0 using web dynpro ABAP classes.

    Hi,
    We have recently upgraded to SRM 7.0 from SRM 4.0. We are using customized portal application for the creation of the shopping cart.I am planning to create custom FM which will use the standard Web dynpro ABAP classes to create the shopping cart.
    Could you please guide with the classes that are need to be implemented and the sequence of the classes used in the shopping cart creation.
    I think these are the classes that are used in the standard web dynpro ABAP component.
    CL_FPM_EVENT ->                  Creates an instance of this class based on an event ID.
    CL_BADI_FLT_DATA_TRANS_AND_DB -> Data Handling: Transport and Database.
    CL_EXITHANDLER ->               Class for Ext. Services Within Framework of Exit Technique.
    CL_EX_BBP_DOC_CHANGE_BADI ->     BAdI Class CL_EX_BBP_DOC_CHANGE_BADI.
    CL_BBP_OBJECTS_ACCESS ->         Access Functions for Object Types.
    /SAPSRM/CL_PDO_BO_SC ->          Shopping Cart BO.
    Your expert comments will be appreciated...
    Regards,
    Naresh

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Booking different events at once / shoping cart in eventmodule

    Hi erverybody,
    how to book different events in the eventmodule, but with only one payment / invoice?
    I need a possibility to book different events with one check out.
    Like in the shop, but with all the posibiltys of the eventmodule: eventlist with participents, and how many booked, follow up emails.
    Is it possible to combine the event  module with a shoping cart?
    And is it possible to have a print button to print out a personal paticipent letter?
    I need this for a homepage for a education company.
    Thanks.
    Regards,
    Sebastian

    Tech support says no.  Only a thee step process where you combine events into an invoice which is then sent by email and paid for in a second customer action.  That makes keeping track of available spaces a problem if the client never follows through on the invoice, or loses the email...
    BC is not ready for this type of commerce. Looking at Drupal next I guess.

  • Shopping Cart Creation for Stock Material

    Hi,
       I'm implementing a project that i must create SC from an external ECC system. When I try to create the SC the system sends me the message below. There's a way to create the SC from this external system for Stock Material?
    "Purchase of product 0000000000000000000000000000000030238225 is not permitted in the backend"
    We're using the Classic Scenario.
    Thanks and best regards,
    Alexandre.

    Hi Muthuraman,
    Thanks for your answer, I've look for the nots that you've sent me but it's a quite different what I need. I've been searching on the forum for something that can hep me and actually there's a older question that you help a person with something similar.
    Here is the question and your answer. I've tried to follow the instructions but those Functions didn't stop when I execute the 'BBP_PD_SC_CREATE_EXTERNAL' function.
    There's a way to clear the account assignment while creating the document on the  backend when  I'm using the function to create the SC?
    Thanks and Best Regards,
    Alexandre.
    Question:
    'In a SRM classic scenario it's possible to create a shoping cart for material stock or it's only possible to create for indirect material (center cost, order, etc).'
    Answer:
    'yes. Indeed you need enhancement
    http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_PO_NEW-CreatePOin+backend
    you need to clear the account assignment while creating a PO in the backend.
    so PO will be created in the backend rather than in SRM .
    but see impacts - how inventory gl accounts are posted while doing good receipt. Is it taking GL account from valuation class .
    Hide the Order as direct too in SRM .
    create one custome field in shopping cart to determine to order a PO in the backend (for stock materials) so when you check this field, this sc item PO will be created without account assignment.
    Muthu'

  • Shopping cart Creation Time is different from system time

    Hi ,
    Shopping Cart Creation Time is Different from System time.
    Could you tell me,        to which time it is refering to.
    How to change it.
    Create By is      webseruser
    Where can I find the required settings for the same
    Thanks In advance

    Hello,
    Are you checking this in BBP_PD?
    If you go to SU01 and check parameter "Personal Time Zone" -> "of the user", this time will appear to end user when creating document (document header in web).
                                                                                    If you do not have informed any value, it will be populated the pattern system timezone, defined in SU01 as well.
                                                                                    - I created a RFX in my test system with a user who's timezone (in tx SU01) is set as:
    Sys. Time Zone     CET                                                                 
    of the User        INDIA                                                                               
    - CET time  was 20:01:55                                                              
    - GMT time was 18:01:55                                                              
    - India time was 23:31:55                                                                               
    Looking at this RFX in BBP_PD I see the following:                                     
    Same user (India timezone and CET as "Sys. Time Zone"):                                
    Created_At: 20:01:55                                                                   
    Changed_at: 20:01:55                                                                   
    DETAILS (header):
    Created at: 18:01:55                                                                   
    Changed at: 18:01:55                                                                   
    RFX header (description): 23:31:55                                                     
    So, for end users, you should populate field "of the user" in SU01.
    In BBP_PD header details, you will have the GMT time (which is stored in internal tables).
    In BBP_PD created_at and changed_at you will have the system time zone, as defined in SU01.
    Regards,
    Ricardo

  • When to use servlets and jsp in an application like  shoping cart?

    Hi All
    I m going to design and implement a web application using servelts and jsp. I am still at its requirements analyze stage.
    The application is almost likely a shopping cart. So if any of you have the deep knowledge about this domain with servlets and jsp please help me for a good design. What I realy need to know is that
    1. what are the core requirements for a shoping cart ?
    2. use cases ?
    3. best way to follow mvc with servlets and jsp for it?
    you can answer to this at the abstract level. no need to go in detail.
    if you have any documents like design and use cases mail me to [email protected]
    your cooperation is highly appreciated in this regards.

    Look into this kid
    http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.htm

  • Accoung Assignment tab is disable during shopping cart creation

    Hi Gurus,
    Ned your expert advice on this issue.
    We are using SRM7.0 classic scenario. During configuration, under SPRO>Supplier Relationship Management>SRM Server>Cross Application Basic Settings>Account Asisgnment, we define Account assignment categories, define G/L account for Product Category and Account assignment Category and no entry under Maintain Local Accounting Data.
    However during shopping cart creation, Account Assignment tab is disable. We cannot even add line item and throwing an error. We assigned therequired entries under PPOSA_BBP but still unable to complete the shopping cart.
    Please advice how to resolve the issue.
    Thanks.

    Hi,
    Have you enabled the 'default' checkbox?
    Regards,
    Nikhil

  • How to make non editable field after requestor created the shoping cart

    Hi,
    i need to make non editable field (Price field) after requester created the shooping cart.The field should be  non editable only for requster .
    this i need to make when workflow triggers when the buyer sends  back the shopping cart to requester.
    one solution which i found:depend on the status of the shoping cart
    but i dont know whether it is correct way.
    if not please suggest me the solution.

    Hi,
    You can implement the BADI" BBP_UI_CONTROL_BADI".
    You can check for the role of the user who has logged in(e.g. for user REQUESTER,there will be a distinct role to idnetify that the user is a requester) and then acc set the display properties for the field PRICE.
    For sample code pls refer the foll links:
    Sample code for BBP_UI_CONTROL_BADI
    Re: Hiding Shopping Cart Fields in SRM 3.0
    Re: How to Hide the attributes from template BBPSC01?
    Re: How to validating total value in shopping cart
    Re: Price filed in Shopping cart should be in display mode
    BR,
    Disha.

  • How to debugg shoping cart check status

    Hi guys,
    can any one explain me brif about How to debugg shoping cart check status and farther steps in that and give me the screen no's and program's.
    thanks,
    murali

    Hi
    Which SRM version are you using ? What is your detailed business requirement ?
    <u>See these link -></u>
    Re: Debugging Shopping Cart
    <b>Other related information.</b>
    <u>We can debug the shopping cart from sap GUI via tran. /nBBPSC01
    1 Click on internal Goods/services and select the product for which you want to create a SC and press enter.
    2 In command window input /h and press enter
    3 Click on the button Order it will go in debug mode.
    4 Insert break points on Statement - Select
    5 Insert break points on Statement - Insert
    6 Insert break points on Statement - update
    and press F5 key to move one step ahead and F8 key to halt directly at each break point.This way go upto the save mode and order your SC at run time in debug mode.</u>
    Hope this will help.
    Regards
    - Atul

  • Using Wforms (Adobe interactive forms) in lieu of shopping cart creation

    Our users complain of too much data entry during shopping cart creation and less frequent users complain about forgetting GL a/c and product ID. In talking to SAP their suggestion is to implement Wforms to avoid end users logging into SRM and rather enter relevant details on wform and then convert it to Shopping cart.
    Has anyone implemented and can share how the experience has been,how difficult it to to implement wforms and support thereafter.I undertsand that wforms had issues in the past but SAP now claims to have overcome all those limitations.Please share your experience.

    Hi Ruchi,
    Did you say SAP proposed that you use WFORMS in place of SRM Shopping Cart?? I am not entirely sure we are quite there yet! There is lots of details available [here |http://www.sdn.sap.com/irj/sdn/adobe]which describe SAP interactive forms. Maybe this will help you. But I am surprised your users find the SC creation difficult, especially the 4 step wizard, can you not assign default values to many of these areas where they are having trouble? (GL accounts etc)
    Regards,
    Jason

  • Reg : Restriction of creation of transaction code

    hi all,
       I want to restrict creation and deletion of  transaction codes (Y or Z).
       How to get done it.
       We use SE93 and SE80 to create T-Code, ( Is there any t-code to create y or z t-code)
       We can restrict SE93 to create or delete t-code, but we cant restrict SE80 as we create many other objects in SE80.
      Suggestions reg this.

    Jean,
    When you do screen debugging the tcode se93 while creating/deletion of a tcode it takes us to
    Program SAPLSEUK
    Include LSEUKI01
      process after input.
      module exit_tcode_menu at exit-command.
      field tstc-tcode
            module xcode_390.
    Under this module xcode_390 we have the code which performs the creation/deletion of the tcode
    when 'ADD'.
       call function 'RS_TRANSACTION_ADD'
            exporting
                 objectname         = tstc-tcod
            exceptions
                 already_exists     = 01
                 permission_failure = 02.
       if sy-subrc = 1.
         message id sy-msgid type 'E' number sy
                 with sy-msgv1 sy-msgv2 sy-msgv
       else.
       when 'DELE'.
       call function 'RS_TRANSACTION_DELETE'
            exporting
                 objectname    = tstc-tcode
            exceptions
                 not_excecuted = 01.
       if sy-subrc ne 0.
         message id sy-msgid type 'E' number
                 with sy-msgv1 sy-msgv2 sy-ms
       endif.
    The same for CHANGE too.Try to put a validation here
    if sy-tcode ne 'SE80' and also the SY-MANDT in the if condition.In addition to this lock SE93 using SM01 too.
    But when we debug through SE80, it is taking us to
    Progrm SAPLWB_INITIAL_TOOL
    Under this program we have an INCLUDE LWB_INITIAL_TOOLO01
    form set_status_0100.
      data:
        l_disabled_functions   type ui_functions.
      call method g_initial_tool_ref->if_wb_program~wb_manager->get_status
           importing
              P_DISABLED_FUNCTIONS   = l_disabled_functions.
      SET PF-STATUS 'INITIAL_TOOL' excluding l_disabled_functions.
      SET TITLEBAR  'WBM'.
      clear g_fcode.
    endform.                    " SET_STATUS_0100
    Or just try to disable the option CREATE and DELETE in the above program.Just try these options,may be you will get some lead.Mind you both are SAP Standard Programs and needs accesskey.Also check whether your requirement is worth enough to tamper with SAP Standard code
    K.Kiran.

  • Shopping cart creation category dropdown selecting the most used category

    Hi SRM gurus,
    While creating a shopping cart one of our most used category gets selected by default before we start doing anything.
    Everytime we have to change the category.
    Is there a way that will become blank and we can select from the dropdown or the find list.
    Kindly suggest.
    We are using SRM component version 4.0, SRM server 5.0, our patch level 0008.
    Thx. & reg.,
    Sridhar.

    Hi
    <b>Yes.. This was happening with us when we used SRM 4.0 version.
    We have used an  BADI Implementation to resolve this issue.</b>
    <u>The BADI name is <b> BBP_F4_READ_ON_EXIT </b></u>
    For Product category -> Product category (attr. WGR, PRCAT)  GET_CATEGORY Method, you need to go ahead.
    <u>Read the documenation of this BADI and you will get the problem resolved after implementing the same.</u>
    Here is the documentation
    BBP_F4_READ_ON_EXIT
    Short Text
    Restrict the Display in Input Helps and Search Helps
    You can use the Business Add-In (BAdI) BBP_F4_READ_ON_EXIT to restrict (or augment) the list of values and favorites that are output in the input and search helps. You can only process data elements for which input helps exist on HTML templates. The following three BAdIs are also available:
    BBP_F4_READ_ON_ENTRY
    Use this BAdI if you do not just want to restrict the favorites and values list but also want to select this yourself.
    BBP_F4_MEM_UPDATE
    BBP_F4_SAVE_DB
    The following three modules are used to process the values per data element:
    BBP_GET_<data element>_F4
    Supplies a list of all values and user-specific favorites. You can influence how this module works using BAdI BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT.
    BBP_UPD_<data element>_FAV
    Updates the favorites in internal function group storage. You can influence how this module works using BAdI BBP_F4_MEM_UPDATE.
    BBP_SET_<data element>_FAV
    Writes the current favorites to the database. You can influence how this module behaves using BAdI BBP_F4_SAV_DB.
    Use
    Only implement this BAdI and only program the appropriate method if you want to restrict or augment the value set of standard selection.
    If you determine favorites using a BAdI, the standard modules do not process the favorites further. Warning: If, deviating from standard selection, you determine the list of favorites yourself using a BAdI, you have to temporarily store the favorites in the methods of the BAdIs and carry out final saving to the database yourself.
    Standard settings
    If data is added via the methods, no check of this data occurs. The check has to occur in the methods themselves.
    The interfaces of the methods of the BAdI are (almost) always the same:
    IV_LANGUAGE
    Language for determination of the texts
    IV_USER
    User for which the values are requested
    ET_<data element>_LIST
    The list of valid values changed by you
    EV_X_FAV_PROCESSED
    Use "X" to stipulate that you have filled the favorites list. Only present if favorites table exists for relevant data element.
    ET_<data element>_FAVOURITES
    Changed favorites list for user IV_USER. Only exists if favorites table exists for relevant data element.
    The methods have to fill the structures of the transfer tables completely. Incompletely filled structures can cause followup errors and unforseen consequences.
    Activities
    Reading of value lists and favorites using function module BBP_GET_<data element>_F4 occurs as follows:
    1. First the BAdI BBP_F4_READ_ON_ENTRY is called. It is possible to fill the input list (and favorites) with default values.
    a) In the case of default values, exactly these values are returned to the initiator. No further processing or check occurs and the module is exited.
    b) If no default values exist, the standard selection is carried out.
    2. Before the values are transferred externally you can restrict or augment the number of hits using the BAdI BBP_F4_READ_ON_EXIT. You can therefore delete entries from or add entries to the input list or favorites list.
    3. BAdI BBP_F4_READ_ON_EXIT provides an individual method for each data element for which an input help and/or favorites table exists. These are listed below.
    If you use this method, you need to indicate processing using the parameter EV_X_LIST_PROCESSED or EV_X_FAV_PROCESSED. Otherwise the selection is lost.
    List of available methods per data element in BBP_F4_READ_ON_EXIT:
    Field/Data element  Method
    Currency    GET_CURRENCY
    Region    GET_REGION
    Country    GET_COUNTRY
    Language    GET_LANGUAGE
    Industry     GET_INDUSTRY
    Academic title    GET_ACADEMIC
    Time zones    GET_TIMEZONE
    Procurement cards   GET_PCARD
    Legal forms     GET_LEGAL
    Format for name format    GET_NAMEFORM
    Quality management systems    GET_QMSYSTEM
    Fixed values    GET_DOMVALUE
    Form of address texts    GET_TITLEKEY
    Units of measure   GET_UNIT
    Bank data    GET_BANKINFO
    Tax number types   GET_TAXNUMT
    Tax numbers per country    GET_TAXTYPE
    Tax groups per tax type    GET_TAXGROUP
    Terms of payment    GET_PAYMTERM
    RFC destinations   GET_RFC_LOGS
    Logical systems   GET_LOGSYS
    Tax codes     GET_TAXCODE
    Catalogs (attribute CAT)   GET_CATALOG
    Roles (attribute ROLE)   GET_ROLE
    Account assignment categories (attribute KNT) GET_KNT_ATTR
    Purchasing organizations (from PdOrg)  GET_PURCHORG
    Purchasing organizations (per company)   GET_PORGCOMP
    Purchasing group (from PdOrg)  GET_PURCHGRP
    Purchasing group (per company)  GET_PGRPCOMP
    Product category (attr. WGR, PRCAT)  GET_CATEGORY
    Products    GET_PRODUCT
    Goods recipient plant (attr. REQUESTER)  GET_GRCPLANT
    Goods recipient user (attr. REQUESTER)  GET_GRCUSER
    Requester (attribute REQUESTER)  GET_BOBUSER
    Cost centers (attribute CNT)   GET_COSTCENT
    Asset classes (attribute ANK)   GET_ASSETCL
    Assets (attribute AN1)   GET_ASSETNO
    Asset subnumbers (attribute AN2)  ET_ASSETSUB
    Network (attribute NET)   GET_NETWORK
    WBS element (attribute PRO)  GET_WBSELEM
    Order (attribute ANR)   GET_ORDERNO
    Customer order (attribute AUN)  GET_SDDOC
    Customer order item (attribute APO)  GET_SDDOCPOS
    Document type (attribute BSA)  GET_DOCTYPE
    Transaction type (attribute TEND_TYPE)  GET_TENDTYPE
    <i>Incase you face any problems, do let me know.</i>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • ECATT Shopping Cart Creation

    Hi Board,
    I'm interested in the option to create shopping carts via eCATT  (Transaction secatt) and excel-based input file. Has anybody ever sucessfully recorded the Simplified Shopping Application (transcation bbpsc01) and used it for mass creation of shopping carts into the system.
    As I haven't got any SRM system available, is anybody out there who could verify that it works?
    Many regards,
    Richard

    Hi board,
    an update to my post yesterday. Is there any possibility at all to feed shopping cart data from any file type into the SRM server system. I thought BADI BBP_PD_DOWNLOAD may be starting point for this but the documentation says something different.
    Any idea?
    Kind regards,
    Richard
    Message was edited by: Richard Hösl

  • Table to find Shoping Cart Vs Purchase Order

    Hi Friends
    I try to find a table in SRM to see a Shopping Cart and Purchase Order (SC vs PO, subsequent documents) , actually I use BI but is not clear for me
    Thank a lot!!
    Regards!!

    Hello
    Get the Shopping cart Header Guid from CRMD_ORDERADM_H by passing the Object_id as the Shopping cart #.
    Go to CRMD_ORDERADM_I with Header = Above Guid and get all the item Guids.
    Go to BBP_PDBEI with each item Guid , you will get the BE_OBJECT_TYPE   &  BE_OBJECT_ID .
    If it is extended classic scenario, Backend will be SRM.
    If classic , it will be ECC.
    You will get the PO or PR Number here.
    If it is an SRM document ( extended classic), you can go once again to CRMD_ORDERADM_H and get the GUID.
    Thanks
    Kedar

  • Reg.New field creation in Consumption posting area

    Dear Experts
    We want to create new one filed in the below refered path.
    SPRO->Material Management->Purchasing->Account Assignment category. in the below screen
    Consumption posting filed - New field to be added.
    How to create the above. Pls advise
    Thanks
    Rajakumar.K

    Hi,
    u can discuss with ABAP er for creation of new field in that existing screen means u can go for the enhancement as per ur requirement.
    otherwise, u can use the existing 17 types of account assignment categories that are provided by std. SAP. u can use the following any one of consumption posting area.
    A Asset
    V Consumption
    E Accounting via sales order
    U Unknown
    P Accounting via project
    or u can check any possibility to define any new consumption posting indicator.

Maybe you are looking for

  • Data output more than once

    Hello Experts I'am facing a peculiar problem pertaining to Infoset query ( Tran SQ01,SQ02, SQ03) . The requirement is to create a query based on table GLPCA and CATSDB. I've created the query as required, However when i execute the same the output is

  • Unable to Add Bank Details in Employee Master data................

    Hi All,            I am Unable to select the Bank Name in Bank Details field-Finance Tab- Employee Master data window. Where as I can see the bank names for other employees which were already added earlier. Thank you, Sree.

  • SSAS Tabular Calculated Column: Want a calc column that only populates if row value = X

    I have a table with SalesAgentID, SalesAgentTypeID (can be types 1,2, or 3), and I want to add a new column called Type1, Type2, Type3. Type 1 would only show the SalesAgentID if SalesAgentTypeID =1. It seems like I should be able to do this with a c

  • IDVD problem with Leopard

    I just installed Leopard a week ago and only discovered the "blank screen" problem today when I tried to load iDVD. The problem is NOT my graphic card, nor is it my understanding of HOW to use the program, and I have installed all updates available t

  • User define function explanation.

    Hi , Can any one explain what these user define function will do , since this is mapped in message mapping. I am writing the code which is written in it.I dont understand what it means and how it will give result. Please explain.. 1: public void Vali