BADI  that is called when we create shopping cart

Hi all,
Can any one tell me the BADI that is called when we order a shopping cart.
Thanks&Regards,
Hari

Hi
For Business Object type - BUS2121, the SAVED event is triggered, once shopping cart is saved, using Standard SRM Workflow. 
Refer to SAP transaction - SWETYPV (for Event linkages)
When a user orders a shopping cart. This triggers the SAVED event, which starts the approval workflow. The system analyzes the start conditions in Customizing.
There is information here on which workflow the system should start under which conditions. Each workflow represents an approval process (single-level or multi-level) or is defined in such a way that no approval is necessary.
If approval is required, the system goes through the corresponding approval procedure. The user can meanwhile change or delete the shopping cart. The shopping cart can take on the following statuses:
Not accepted
Approved
Deleted
Changed
You can further process a request via a subworkflow.
If approval is not required, the system sets the status to Approved and immediately starts the subworkflow.
Users receive a work item. Before the shopping cart can be further processed, they have to accept the rejection of items (or not, as the case may be).
After the shopping cart is released, the system calls the spooler. This transfers the shopping cart to the backend system or creates a purchase order locally in the Enterprise Buyer system.
This is how a workflow triggers.
You want to start several Wf for one event ? Technically this is possible, but not recommended as you will loose some functionalities like the approval preview and maybe some related to the workflow restart: In SRM the system consider that only one workflow instance can be active at a time.
For the approval preview, it get the last active version.
For the worklow restart, the same.
Select BOR object BUS2121 using SWO1 transaction.
The whole list of shopping cart approval WF will be displayed.
Please go through the related links as well ->
Re: Activating workflow
Re: Custom Workflow is not behave as like standard..
How workflow is getting trigger when you click order
can we have 'BUS2121' for multiple WF..
Hope this will help. Do let me know.
Regards
- Atul

Similar Messages

  • CRM BADI CRM_COND_COM_BADI only called when line created or changed

    I am trying to ensure that the BADI CRM_COND_COM_BADI is called (to adjust pricing communication structure) for all line items every time a user hits update or enter during creation of a sales order via the web.  In my testing I am finding that the BADI CRM_COND_COM_BADI only gets called during the creation of a line item or a change of a line item.
    Does anyone know how I can have BADI CRM_COND_COM_BADI called for all line items every time update or order is clicked on the web during order entry?  Is there something I can set in config to make this happen?
    Thanks,
    Sarah.

    Remo,
    Even though this thread is very old and closed, but want to share my thoughts because we faced the same problem. We enhanced the BADI 'CRM_COND_COM_BADI' and was getting called multiple times.
    As per our business scenario, it should be called for Opportunity and for a specific transaction type. So a check was placed in the BADI for the Opportunity and transaction type. This was done using FM 'CRM_ORDERADM_H_READ_OW'. This helped us to skip the complete logic to be called by the BADI enhancement.
    If you found a better solution yet do share.
    Regards,
    Shyamak

  • Connection Timed Out while creating Shopping cart

    Hi,
    When i am creating a shopping cart and click on the cost assignment tab i am getting a time out error. Find the error message below, i am able to open other tabs and able to create the shopping cart also. Please let me know what would be the issue with.
    400 Session timed out - please log in again
    Error: -11
    Version: 7000
    Component: ICM
    Date/Time: Wed Mar 04 13:24:47 2009 
    Module: icxxthr.c
    Line: 1705
    Server: srv215_EBD_00
    Error Tag: {-}
    Detail: Session does not exist
    Rgds
    GGL

    You would need to define secondary RFC Destination. Follow these steps to the end.
    1.Create a secondary RFC user and an authorization in the backend(ECC)
    1a)In Transaction SU01, create a new user (on the 'Logon data' tab,
    you should select user type 'Dialog' or 'Service').
    1b) Call Transaction PFCG for the role maintenance and create your own
    role.
    1c) In the role, select the 'Authorizations' tab and and choose the
    button to change the authorization.
    1d) Do not select ANY template on the dialog box.
    1e) Choose 'Manual' ; then enter authorization object S_RFC and confirm
    the entry.
    1f) Expand the authorization object and choose the pencil symbol for
    the 'Name of RFC to be protected'.
    1g)Choose the pencil symbol for the 'Type of RFC object to be
    protected', select the 'Function group' checkbox and save the
    change.
    1h)Generate and save the authorizations. Then return to the role.
    1i)On the 'User' tab, enter the user you have created and carry out a
    user comparison.
    2. Define an secodary RFC destination in SRM server with the RFC user you have created
    3. Supplier Relationship Management -> SRM Server -> Technical Basic Settings -> Define Backend Systems
       In the Logical system entry of your backendsytem :Enter the secondary RFC destination into RFC(Dialog) field of the
    4.Also make sure that the end user(Person creating shopping cart) has authorization object M_BBP_SHLP.
    Let me know if this helps.
    Thanks,
    Surya

  • Unable to create shopping cart - Jurisdiction code could not be determined

    Hi,
    I've found several threads here asking about tax jurisdiction code but none of them seem to solve my problem.
    When we create shopping carts for our north american back end R/3 system we cannot save them because of an error with the jurisdiction code "Jurisdiction code could not be determined ".  Our ship-to address is correctly maintained with the city, country, post code, etc.  I have tried maintaining the jurisdiction code on our organisational business partner but this makes no difference.  For info, we use Taxware to create the jurisdiction code in the back end.
    We looked at applying oss note 436760 but apparently this note is only valid for SAP Basis Component 4.6 and 6.1 but we are on 7.00.  Do you think it is necessary for us to implement a BADI?
    Thanks in advance for any help.
    Roo

    Hi All,
    Please see my answer to similar concern raised in the thread:
    [BAdI BBP_CATALOG_TRANSFER - Material Group Mapping issue;
    Your question is that initially it was working with Jurisdiction code and now not? Why?
    Because, the backend system is either connected to the third party Tax engine such as Taxware, and doing so, some of the addresses (Country, Region, City and Pin Code combination) may have more than one Jurisdiction code, in such cases, SRM gets confused of which code to select, and hence the error.
    Use the BAdI and get going!
    Thanks for reading!
    Ashok Kawa

  • Create Shopping cart (or PO) in SRM/EBP from a flat file

    Hi all
           I am looking for a function module or BAPI or any program that i can use to create shopping cart in SRM from a flat file.
    Is there a way to set up a break point in ITS transactions that are used to create shopping carts through portal? Can we debug HTML templates?
    If any one knows how to do any of those please let me know.
    Your help is greatly appreciated.
    Thanks
    Sreenivas

    Hi,
    You would get better response for your question from
    Internet Transaction Server (ITS)
    Regarding your question about break point. yes it can be done.
    Regards
    Raja

  • How to deactivate/ignore R/3 info records when creating Shopping Cart?

    Hi all and thanks for reading...
    We have the requirement of ignoring/deactivating R/3 info records when creating Shopping Carts SRM , so that no Vendor is proposed in transactions BBPSC01/BBPSC02.
    At the moment, when info records exist in backed, system is proposing vendor and other data and we want them to be completely ignored, both in classic and extended classic scenarios.
    How can we accomplish that? Is it possible to use BBP_SOS_BADI or is this BADI only valid for SRM local sources of supply?
    Has anybody had the same problem and solved it before?
    Thanks in advance for your help, regards
    David

    Hi  David
    Inforecord  is only source of supply for classic scenario only.
    Find and Check Sources of Supply
    Use
    With the Business Add-In BBP_SOS_BADI, you can search for and check sources of supply according to your own rules. These sources of supply include contracts, vendor list entries and product linkages. For this, the customer fields of the shopping cart or purchase order are transferred to the BAdI.
    Standard settings
    The BAdI provides the following methods:
    1. BBP_SOS_INDEX_UPDATE_CHECK
    Use: Check and update contract items in the source of supply table.
    2. BBP_SOS_SEARCH
    Use: Search for sources of supply according to your own rules.
    3. BBP_SOS_CHECK
    Use: Check and filter the sources of supply found by the standard search according to your own rules.
    4. BBP_SOS_PD_CHECK
    Use: Carrying out your own additional checks when creating a shopping cart document item with an assigned contract.
    Activities
    Implement the BAdI if you wish to determine or check sources of supply according to your own rules.
    See also
    Implementation
    As prasanna mentioned - do you want disable both sides or only one side .
    Muthu

  • I need a Badi that is triggered when saving Sales order in both Va01 and Va

    Hi
    I need a Badi that is triggered when saving Sales order in both Va01 and Va02
    I tried with the following BADI's
    BADI : BADI_SD_SALES
    Implementation : /BEV1/SR_SALES_ORD_1
    Method SAVE_DOCUMENT
    Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
    It is asking for Access key. Which i do not have.
    Should i create a implementation and then create a method and then put my code there?
    Anybody plz help.

    You will probably not find a BADI to suit your needs.  However if you look at include program MV45AFZZ you should find two subroutines:  USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.  You can put the code you need directly into these subroutines.  If these have not been changed yet on your system, you will need an access key to make these changes.
    Please read the documentation in the header of the subroutines for furtner information on when they are called.
    Best Regards,
    Chris H.

  • I need a BADI that's called after Shipment Cost Document is written...

    Hi,
    I'm trying to locate a BADI that gets called after a Shipment Cost Document is created ( Written to file ) OR one that gets called before the lines are transfered to invoicing.
    I need to alter some of the data on tables VFKP items & VFKN acct determination.  We are getting condiotions with zero prices that I need to remove.
    Any suggestions appreciated......

    You will probably not find a BADI to suit your needs.  However if you look at include program MV45AFZZ you should find two subroutines:  USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.  You can put the code you need directly into these subroutines.  If these have not been changed yet on your system, you will need an access key to make these changes.
    Please read the documentation in the header of the subroutines for furtner information on when they are called.
    Best Regards,
    Chris H.

  • Error when create shopping carts in cproject

    Hi,
    We are on SRM4.0 ,Cproject 4.0 and we have an error message "Cannot determine CO account assignment object"  in creating shopping carts in the Cprojet.
    Could anyone can tell me what IMG missing?
    what i have to do,please suggest me.
    BR,
    Jing

    Hi
    Have you check OKB9 transaction in R3 - FI . ?
    Here we maintain the Cost center - cost element ?
    I guess, This is because the the particular material profit center which is link cost center in OkB9 in R3 FI requires a cost object. The cost object enttry is not maintained can u pls chk this with your local FI person and ask him to maintain the cost object for the cost center. See Material is linked to profit center and which is linked to cost center which in turn is linked to cost object. Then this error is material specific. Ask your SAP FI consultant to maintian the cost object for cost center which is linked ot the profit cente in material masters
    To change the deafult G/L account,you need to use the BADI BBP_DETERMINE_ACCT.
    Do let me know with more details in next reply.
    Regards
    - Atul

  • How to make a functions that gets called when the plug in is loaded?

    I'm making an automate plugin, and I want to make a functiosn that gets called when Photoshop loads my plugin. It doen't matter if my plug is never called fro the File->Automate menu. Is there any way to do this? Thank you.
    Daniel

    Hi There,
    I don't believe there is a way to handle this currently within App-V...Other virtualization products do have the ability to exclude processes and force to run outside or the bubble or exclude them from terminating on shutdown.
    It would be a great feature request for a future release. You can easily request it here:
    http://appv.uservoice.com/forums/280448-microsoft-application-virtualization
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • Error while creating shopping cart

    HI All,
    While creating shopping cart by 3 step procedure, I am getting the error as below
    Error when processing your request
    What has happened?
    The URL http://atlsapsr6.ananthtech.com:8000/sap/bc/gui/sap/its/bbpsc02/~flNUQVRFPTIzNjYxLjAwMy4wMi4wMQ== was not called due to an error.
    Note
    The following error text was processed in the system SR6 : Incorrect status in pricing
    The error occurred on the application server atlsapsr6_SR6_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: BBP_PD_ABORT of program SAPLBBP_PDH
    Form: ABORT of program SAPLBBP_PDPRC
    Form: PRC_MAINTAIN_SINGLE of program SAPLBBP_PDPRC
    Function: BBP_PDPRC_UPDATE of program SAPLBBP_PDPRC
    Form: PRC_UPDATE_CALL of program SAPLBBP_PDIGP
    Form: PRICE_AND_VALUE_DETERMINE of program SAPLBBP_PDIGP
    Form: SC_ITM_CHECK of program SAPLBBP_PDIGP
    Form: ITMPROC_CHECK_AND_ENRICH of program SAPLBBP_PDIGP
    Form: ITMPROC_MAINTAIN of program SAPLBBP_PDIGP
    Form: ITMPROC_F_CREATE of program SAPLBBP_PDIGP
    and While creating shopping cart by 1 step procedure, I am getting the error as below
    2 Messages
      No approval workflow found. Inform system administrator 
      You have exceeded your purchasing budget by 10,00 INR 
    Please suggest what to be done,
    Advance thanks
    SATYA

    http://help.sap.com/saphelp_srm30/helpdata/en/4e/1d74eff196d64e880fd28d41d4502b/content.htm
    The budget is defined in the SAP Enterprise Buyer System and does not originate from FI/CO.
    You can save the purchasing budget in various objects in the system:
    §         User (Transaction SU01)
    Tab Personalization ® Personalization object BBP_USER_BUDGET:
    Here you define the amount, currency and validity of the purchasing budget.
    A budget defined here has the highest priority and is called in every case.
    §         Role (Transaction PFCG)
    As under User (above).
    Each user that is assigned to this role has the budget of this role.
    This budget is subordinate to the budget assigned to a user.
    §         Organizational Plan (Transaction PPOMA_BBP)
    Organizational Unit ®  Extended Attributes ® Purchase Order Limits ® User Budget:
    Here you define the amount, currency and validity of the purchasing budget.
    This budget is subordinate to the budget assigned to a user.
    If budgets have been defined both for the role and for the useru2019s organizational unit (and none for the user himself), then the budget with the highest value is used.

  • What FM should be called to Order a shopping cart

    Hi
    I am using BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT in sequence to create the shopping cart..
    Shopping cart gets created.. I see the entries in CRMD_ORDERADM_H & CRMD_ORDERADM_I but I don't find the shopping cart in BBP_MON_SC tcode. Looks like its not ordered.. Can anyone plz help on what FM should be called to order a shopping cart? ...
    Thanks
    Geetha

    Hi
    I tried the FM - BBP_PD_SC_CREATE_EXTERNAL, but I have issues with account assignment data (which will set up default for any user in config). This takes only the default Cost center & doesn't take business area & GL Account. I fed the GL Account & Business area in debugging mode & shopping cart went through without issues & was ordered. Thanks Muthu for your reply..
    Still, due to the issue with GL Acct & Business area (that I face in the FM - BBP_PD_SC_CREATE_EXTERNAL) I am not sure if I will be able to use this..
    Next question: Since BBP_PD_SC_CREATE_EXTERNAL inturn creates BBP_PD_SC_CREATE, I am tried to check what parameters are passed while calling the latter.. I see that the parameters I_SAVE is passed as X..
    When I tried to pass I_SAVE & run the FM - BBP_PD_SC_CREATE, I get the dump CX_BBP_PD_ABORT. Can anyone help on this...
    Did you get the same dump anytime..
    Note -- If I run the FM - BBP_PD_SC_CREATE without passing I_SAVE = 'X' & retain the other data, it goes through sucessfully but doesn't order the shopping cart.. But it creates the SC sucessfully.
    Thanks
    Geetha

  • How to attach files while Creating shopping cart using FM- BBP_PD_SC_CREATE

    Hi
    I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
    Also I have to attach files as we do in Standard SAP shopping cart creation process..
    But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
    Thanks
    Geetha
    Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM

    Hi
    I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
    Also I have to attach files as we do in Standard SAP shopping cart creation process..
    But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
    Thanks
    Geetha
    Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM

  • Including a field from a catalogue in 'create shopping cart' display screen

    Hi all,
       I am new to SRM, and i am faced with the following situation:
    I need to include a field called 'supplier part number'(found in the MDM catalogue screen) in the display for 'Create Shopping Cart'  screen. The field can be viewed in the detailed display for an individual item, once the item's details are fetched from the catalog; But now i need to include this field as an additional field corresponding to all the items listed in the normal display for 'Item overview' instead of selecting an individual item (from the 'item overview') and then checking its  'detailed display' . can you please give me any  leads like - where i could possibly do the changes in the webdynpro component ( in my case it is ' /SAPSRM/WDC_UI_SC_DOTC_BD'; view - 'v_sc_dotc_basic') and any other details that can help me.
    Regards,
    Abhinay.

    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

  • Adding a field from a catalogue in 'create shopping cart' display screen

    Hi all,
    I am new to SRM and i am faced with the following situation:
    I need to add a field called 'supplier part number' to the 'create shopping cart' screen from the MDM catalogue. Once the entries for the field 'supplier part number' are fetched from MDM catalog, they must be displayed corresponding to every line line item displayed under 'item overview'. Currently the entry for 'supplier part number' for a given item is displayed in the 'detailed display' tab observed after clicking on the line item under consideration. But, I need to add this field to the items list under 'item overview' rather than restricting it to detailed display tab alone.
    in my case the webdynpro component associated with adding item details from MDM catalogue is  '/SAPSRM/WDC_UI_SC_DOTC_BD' and the view is  'v_sc_dotc_basic'. I am not able to locate the method/section of code that is responsible for fetching the entries in the field 'supplier part number' from MDM CATALOG to the item overview screen.
    can you please give me any leads like - where i could possibly do the changes in the webdynpro component and any other details that can help me add the  'supplier part number' field to details under items overview tab.
    Regards,
    Abhinay.

    Hello,
    Have you tried to add this field using the Catalog UI configuration tool?
    The URL for the tool should be something like
    http://adress:port/webdynpro/dispatcher/sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App?x

Maybe you are looking for

  • Microsoft Visual Studio - Unable to load DLL 'librfc32.dll'

    Hi, I'm experiencing the following problem: When trying to establish a connection between SAP BPC MS and our SAP NW BW system. I've created a new Integration Services project in Business Intelligence Development Studio. The issue comes up when I try

  • Calling a function module from within a transformation routine

    I created a routine within a transformation and experience the following weird behavior now: When I call a function module within that routine, the load fails with the following error message: Exceptions in Substep: Rules When I click on the button n

  • Front row - black screen with audio

    I recently installed Leopard on my old iBook. When i start Front row, I can see the menus , trailer list, movie list etc., but when i play anything, the screen goes blank, i can see a progress bar moving(which auto-hides), and audio is also OK, but t

  • HT1933 I want to cancel an order

    I want to cancel am order in iTunes the payment is scheduled tomorrow

  • Invoice PDF output duplicated

    Hi, Some times the PDF output of the invoice is duplicated with that of previous invoice,where the invoices are created simultaneously via transaction VF04. We use a custom program and Sapscript for this purpose. But this doesn't happen all the time