SRM BAdI BBP_PGRP_ASSIGN_BADI not triggering

Hi All,
I want to assign purchasing group to the shopping cart item based on Plant and Storage location.I found BAdI BBP_PGRP_ASSIGN_BADI suitable for this at SRM side, so I implemented it.But this BAdI is not triggering.
Can anyone please let me know why its not trigerring?
Thanks in advance.

Hi Rahim,
There are two BADI's existing in the SRM system for this:
(1) BBP_PGRP_ASSIGN_BADI - This BADI will be used to assign the Purchasing Group for the follow-on- documents created for the Shopping cart.
(2) BBP_PGRP_FIND - This BADI will be used to change the Purchasing Group based on some logic in the Shopping cart itself.
So, In your case, I request to sit with your Technical Guy and give these BADI details to acheive this requirement.
It is possible and we have implemented similar logic in our project.Please let me know for any help.
Also, Request to please post this type of queries in the SRM Community so that you will get the replies fast.
Thanks
Sunil.

Similar Messages

  • BAdI BBP_PGRP_ASSIGN_BADI not triggering

    Hi All,
    I want to assign purchasing group to the shopping cart item based on Plant and Storage location.I found BAdI BBP_PGRP_ASSIGN_BADI  suitable for this, so I implemented it.But this BAdI is not triggering.
    Can anyone please let me know why its not trigerring?
    Thanks in advance.

    668754  Call of BADI BBP_PGRP_ASSIGN_BADI in ExtReq - inbound
    692056  Backend purchasing group to BBP_PGRP_ASSIGN_BADI incorrect 
    751310  BADI interface enhancement and call adjustments 
    954511  BADI enhancement ET_PD_PORG not transferred
    1027026  BBP_BID_INV: BBP_TRANSFER_GROUP doesnt split bid invitation
    1026818  BBP_PGRP_ASSIGN_BADI: Wrong backend purchasing organization 
    there are above problems reported on this BADI . tell your actions what you want to achieve by code so technical resources can cath the errors.
    update a piece of code what you wriiten to change the standard behaviors.so someone will help easily.
    As per standard SRM -> Upon the PURCHASE GROUP ->Responsibility TAB - purchase group determined by product category.
    Product category - CARS -> Purchase Group -> AAA -- responsible purchaser JAMES
    Product category - BIKE-> Purchase Grouo> BBBResposible Purchaser --> MIKE GANON
    muthu

  • Badi BBP_CREATE_BE_PO_NEW not triggering

    Hi all,
    Iam working on classic scenario. Working in ERP 4.0. The requirement is to populate dummy account assignment details to the shopping cart (which is successfully achieved using the badi BBP_DOC_CHANGE_BADI). 
    Next I have to remove the populated dummy account assignment details during the process of PO creation, which Iam trying to achieve using the badi BBP_CREATE_BE_PO_NEW.
    But this badi gets triggered only when the old scenario ie ERP 1 or 2 is being used. But it does not trigger while using ERP 4.0.
    I have tried checking SDN and other sites, but could not get any reply. I have checked the link http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=23593303, but does not help.
    Please help.
    Edited by: Aiswarya Chandrasekaran on Jun 6, 2011 6:31 AM

    hi,
    for this scenario, pls confirm if PO is created in the ERP system or locally in SRM.
    if PO is created locally in SRM, then this BAdI will not be triggered.
    if PO is created directly in the ERP system, then BBP_CREATE_BE_PO_NEW  BAdI should be triggered.
    regards.

  • Migrated BADI Implementation not triggering in ECC 6.0

    Hi Experts,
    Need your urgent assistance how to deal with migrated BADI implementation which is not triggering in ECC 6.0. This is for PO (ME_PROCESS_PO_CUST). In the original version (4.6) it was working fine. But when this is migrated to ECC 6.0, it's not firing. Please help to trigger this one in ECC 6.0.
    Points will be awarded and thanks in advance,
    LM

    Hi LM,
    Can you just paste the code in the BADI.(The method in which code is there)
    Is this BADI implemented and in the Active status.
    Check in SE19 if the implementation exist or not?
    There may be chances that some condition is not met which can trigger this BADI. Have you read the documentation of the BADI?
    Regards,
    Atish

  • BADI PROCESS_PO_CUST  is not triggered from APO tcode  /n/sapapo/snptlb

    Hi ..
    We are using BADI : PROCESS_PO_CUST  to make Client Specific Changes and is Working Fine in R3.
    But While create PO in APO Via transaction(/n/sapapo/snptlb)  this BADI is not triggered.Please let me know if you have any inputs on the same
    Cheers
    Mukundan.R

    Solved. Thanks to ABAPOne.
    Referring to: FIELDSELECTION_ITEM method in ME_PROCESS_PO_CUST Badi

  • BADI ME_PROCESS_PO_CUST is not triggering while creating/changing PO

    Hi,
    I am new to BADIs,
    I am trying to implement BADI ME_PROCESS_PO_CUST in ECC 6.0. I have done the implementation and activated. I kept a break point in PROCESS_ITEM method, but the BADI is not triggering while creating or changing the PO. Please advice me what could be the reason behind this?
    I used the SQL trace but i couldn't get the BADI ME_PROCESS_PO_CUST in the list.
    thanks in advance
    Regards
    Jagadish

    hello jagdish,
    implement   this user exit.....
    MM06E005...
    go to     EXIT_SAPMM06E_017   in that   then you can put a break point in the user defined function module.....
    or use
    BREAK  'C5133392'  (use your user in place of C5133392)....it will stop here while creating PO or changing PO...
    now you can do whatever you want to do in create or change PO using this function exit......
    perform the validations on import parameters.....to create  or change ....and activate the project....
    hope this will give you some idea and help

  • BBP_PO_SEND_XML - Not triggered during the creation of PO

    Hi All,
    We are using SRM 7.0, configuration for sending PO in the form of XML is done as suggested with the method BBP_PO_SEND_XML. The problem is, this BADI is not triggered when we save (even after order) the PO with XML option and the status is displayed as Incorrectly processed. But, when I select the Incorrectly processed output type and click on Repeat Output, the BADI is called and is processed succesfully.
    Any reasons, why the BADI is not triggered during the creation or change of PO and is getting triggered only when we select the option Repeat Output? Please help me in correcting this issue.
    Thanks,
    Phani.

    Logic inside META_PO_SEND was written in user name check. Whereas the method BBP_PO_SEND_XML is triggered with batch user. Due to this reason, custom logic is not triggered.

  • Badi BBP_PGRP_ASSIGN_BADI is not getting triggered

    HI Experts,
    Badi  BBP_PGRP_ASSIGN_BADI is not getting triggered.i have implemented this badi for determine the purchasing group based on location.we do not want to hit ECC for determine purchase group, we are created Ztable on SRM side in this we maintain Purchase group and Location.
    Please let me know, after which process the BADI will be triggered.Is this badi correct one to proceed.
    This is the SRM 7.0 implementation.  
    Tanks in advance
    Edited by: suresh.mv on Dec 7, 2011 7:10 PM

    Hello suresh,
    Just append the structure BBPS_RESP_ITEM_DATA_BADI  i.e import parameter with IS_RESP_ITEM_DATA with GUID TYPE CRMT_OBJECT_GUID.
    When SC is created the GUID is passed in this structure and you get the Sc details by BBP_PD_SC_GETDETAIL.
    Please reward if it works.
    Regards,
    Neelima

  • PO Response mail not triggering in SRM SUS

    Hi,
    We are on SRM7 wtih ECC 6, When user click on Process, Confirm all and Send for a PO from SUS corresponding XML "PurchaseOrderConfirmation_Out" not triggered in SRM.
    with the same settings in Dev and Quality xml triggered successfully but not in PRD
    If any one come accross the same issue, please share the solution.
    Regards,

    I think the shopping cart must be waiting for some approvals...
    Please check the workflow log of the shopping cart...
    PO will be created..once the shopping cart is released....

  • BBP... badi is not getting triggered

    BBP... badi is not getting triggered... Set External breakpoint... PO getting created, but not stopping in the breakpoint. Does it mean that the badi is not getting fired?

    Hi,
    If you are trying to debug the badi which creates the backend document(Po/PR),then see the foll threads for more pointers:
    Re: How can I debug BADI BBP_CREATE_BE_PO_NEW  ??
    Re: Debugging a BADI which is called in update task in background.
    BR,
    Disha.

  • Workflow not triggered for BP when start condition's field is set by BADI

    Hi guys,
    I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
    Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
    Can someone please help me in this or let me know where I can find its cause in system.
    Any help would be really appreciated.
    Regards,
    Shaili

    If this is just one field, create your own custom event and code launching it when saving BP with your field changed.
    Maybe event Changed is executed only for changes in GUI.
    If you program your own one you will have 100% control of it.
    Regards
    Radek

  • BADI ME_PROCESS_PO_CUST not getting triggered

    Hello Experts,
    i implemeted BADI ME_PROCESS_PO_CUST to ZME_PROCESS_PO_CUST.
    there is only one badi implemented for this.
    And it is working fine in development and transported to Quality system.
    in Quality system this badi itself is not getting triggered.
    Please help me any body have any idea about this.
    Thanks in advance
    Mahammad Farooq

    Hi,
      check the below thread:
    LINK[BAdi - ME_PROCESS_PO_CUST  not trigger.;
    if every thing is active then the only issue could be multiple implementatins
    check in table SXC_EXIT to check the status .
    if there are any inactive implementations delete all and put in a request and transport to you QA system.
    Regards,
    Himanshu

  • Badi for account details not triggering twice

    Hi ,
    I m creating a BADI for duplicate check in account details.My requirement is in the account details
    it should check for the account details like first name , last name , email id if it exists it should throw an error message if not it should save ....
    Im implementing a BADI for this req  BUPA_ADDR_CHECK  but the particular BADI is triggering only once ....So the logic for duplicate check   is failing....
    Any methods by which the BADI can be triggered every  time
    Any suggestions .......
    Regards,
    Sijo...

    Hi Sijo,
    The fields that are available for duplicate checks need to be decided by you. There is no fixed interface.
    You need to mark in the duplicate check customizng, which fields you want, and they will automatically be taken up by this BADI ADDRESS_SEARCH. You can have a look at the function module ADDR_DUPLICATE_CHECK_FOR_BAPI that makes use of the duplicate check. The parameter T_SEARCH_FIELDS contains fields -
    TABLENAME
    FIELDNAME
    CONTENT
    These can hold any table, any field. Yuor implementation would need to use the content and then check it.
    Hope this helps.
    Cheers,
    Rishu.

  • DOC_CHANGE_BADI not triggered for OLD SC-SAVE mode for EDIT- SAVE steps

    Hi Experts ,
    We have SRM7.0 ( SP08) with ECC6 ( Ehp4) having Classic Scenario.
    In our business Price list ( Price in ECC Contract) will be always change  so, we have done small enhancement in BBP_DOC_CHANGE_BADI in method BBP_SC_CHANGE, to get latest Price of the already assigned SoS ( ECC Contract ).
    When we create new SC/Template  from scratch or copying old SC or Template it brings latest prices correctly .
    Case 1)Template - If we EDIT Template  &  just click on u201CSAVE AS TEMPLATEu201D button (w/o any change!) .. Doc Change BADi called & Template items updates with  latest Prices .
    Case 2) OLD SC in SAVE Mode -But exactly same is not happening with OLD SC with SAVE mode ?  i.e.  When we open Old SC in EDIT Mode and SAVE it ( or even Check and refresh it) ..it do not updates items with latest Prices of Contract. It means Doc Change BADi is not getting called..by clicking on just  EDIT and SAVE buttons, unlike Template .
    If we have to change something i.e. enter some Text  or add one line Item and deleted it again..etc, then only Doc Change BADi is getting called and updated with latest pricesu2026which is not recommendable ..to change the OLD SC in SAVE mode every time.
    Can anyone please suggest/confirm,  why DOC_CHANGE_BADI is not getting triggered  in case of Mode , if  we open OLD SC( SAVE status) in EDIT Mode  and just SAVE it..just like Template ?
    What can be done to achieve above ?
    Thank you .
    NAP

    We are having the same SRM release and SP level. I did a brief test for the two scenarios you mentioned. There was no difference for me: neither template edit/save without change or old SC edit/save without change went through BBP_DOC_CHANGE_BADI implementation. And I wouldn't expect there is a different behavior here as an SC template is also technically an SC document. I would suggest that you make an attempt to change the price in BBP_DOC_SAVE_BADI implementation instead.

  • Mails not triggering in CHARM

    Hi Experts,
    I have configured Solution Manager 4.0 for CHARM.  It is working fine.  My requirement is that, it should trigger mail whenever support team changes.
    Initally, I defined a action to trigger mail once whenever a support team is assigned.  It worked fine. But the problem with this setting is that, whenever I change support team, it is not triggering a mail and this is understood because I configured to trigger once only.  So, I changed the setting of action to "unprocessed", it starts triggering mails whenever I change the support team.
    Now Issue is that, it is also triggering the mail to support team whenever the transaction is saved (Ex:  When I create change document for a support message, transaction saves automatically) even though support message is not changed.  This leads to unnecessary mails.
    In order to avoid unnecessary mails, I deleted the existing action and created a new one wherein start condition was not maintained but maintained setting under scheduled condition as per SAP note 865619 and implemented BADI also. 
    Now I am not getting a single mail whenever a support team is assigned or changed.
    Any suggestion please provide.
    Thanks in advance.
    Regards
    Kumar

    Hi Kumar,
    This can be done very well.
    For this you can implement the BADI ORDER_SAVE, method CHECK_BEFORE_SAVE.
    In this method you write a code as mentioned below,
    1. Use FM
      WA_HEADER = IV_GUID.
      Insert wa_header into table lt_header.
      CALL FUNCTION 'CRM_ORDER_READ'
       EXPORTING
         IT_HEADER_GUID                = lt_HEADER
          IT_ITEM_GUID                  =
       IMPORTING
         ET_CUSTOMER_H                  = lt_customer_h
         ET_ORDERADM_H                  = lt_orderadm_h
          ET_OPPORT_H                   =
          ET_PARTNER                    = lt_partner
          ET_STATUS                     = It_status
          ET_REFOBJ                     = lt_CRMT_refobj_WRKT
           ET_SUBJECT                    = lt_CRMT_SUBJECT_WRKT
       EXCEPTIONS
         DOCUMENT_NOT_FOUND            = 1
         ERROR_OCCURRED                = 2
         DOCUMENT_LOCKED               = 3
         NO_CHANGE_AUTHORITY           = 4
         NO_DISPLAY_AUTHORITY          = 5
         NO_CHANGE_ALLOWED             = 6
         OTHERS                        = 7
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    2. You will get the Business Partners entered on the screen in the internal table lt_partner, read the address number1 for the partner function of the support team.
    3. Get the contents from view CRMV_LINKPARTNER using the LV_GUID. And get the address number2 for partner function of the support team.
    4. Compare the address number2 & address number1. If they are not equal then trigger a mail  else don't.
    Let me know if you need some more help.
    Reward if it helps.
    regards,
    mahantesh

Maybe you are looking for

  • Do while loop problem

    I have a problem with do while loop. I am displaying a dialogue box where a person should enter the type of quiz he had performed. The problem is that the user should enter only the following 3 words, either "Earthquakes" or "Place" or "Animals". If

  • Can't upgrade my macbook pro to the recent Mac OS...

    I have problem with my macbook pro 15 inch, that i bought in mid 2009.  Before the problem, i can upgrade my laptop to Mac OS 10.6 without buying the OS upgrade. But after it has problem and i reinstall it with a DVD which comes with it. i can update

  • User differs on ~/Library/Keychains/login.keychain,should be 501,owner is 0

    I am having sever keychain errors. When I try to verify or repair my keychain, I get this error: "User differs on ~/Library/Keychains/login.keychain, should be 501, owner is 0" How can I fix this? Thanks.

  • My Auntie left me an Iphone from US still locked to AT&T

    My Auntie left me an Iphone from US still locked to AT&T and the problem now is her iphone 4s is protected with icloud and find my iphone features and she forgot her password in icloud and her yahoo email associated to this iphone and her itunes is n

  • Difficulty in resolving ORA-06502: PL/SQL: numeric or value error:

    Hi I am having great difficulty to resolve the following error - ORA-06502: PL/SQL: numeric or value error: character string buffer too small . In my Oracle Package, I have a Function that returns a varchar(255). My Function is basically as follows: