Issue in BADI  BBP_PGRP_FIND

Hi SRM Gurus,
How can i get the Shopping Cart Item details,Company Code
and Product Category in the BADI 'BBP_PGRP_FIND'?.
I checked with the BADI Interfaces and i could find only Product
Category.
My Exact Requirement is to get the Approvers(Maintained in a Customer Table) based on the Combination of Company Code,Product Category and Shopping Cart value and to change
the Purchasing Group.
Thank You.
With Regards,
P.Arunkumar

Hi. If you create a custom table that contains 2 fields, User Name and Either Cart Number of Cart GUID you can write the current cart deatils for SY-UNAME into the new table using the BBP_DOC_CHECK_BADI.
When you enter the current user name and cart number/GUID you should delete the old data for that user.
This BADI is called all the time, and so you can enter the current cart that the user is looking at in this custom table, then call function BBP_PD_SC_GETDETAIL from BBP_PGRP_FIND.
Regards,
Dave.

Similar Messages

  • How to determine the purchasing group using BADI BBP_PGRP_FIND

    Hello Friends
    We use SRM Server 5.5 (Classic scenario).
    As you know that, purchasing group has the responsible product categories in PPOMA_BBP, when user creates the shopping cart to determine the purchasing group. 
    In our case, we should determine the purchasing group using other criteria.
    MM side is OK to determine the purchasing group using specific criteria.
    Because Material Master has the purch. Group information. 
    In case of SRM, we should develop the logic using BBP_PGRP_FIND BADI.
    But I’m not sure how to use this badi.
    We want to determine the purchasing group based on the following logic.
    If described shopping cart without product ID
    Do Standard purchasing group determination logic.
    Else
    Assign the purch group from MARC- EKGRP (Purchasing Group)
    Is it possible to determine above the logic?
    If yes, Could you give me some information?
    Thank you,
    Best regards,
    SH
    Message was edited by:
            So Hee Lee

    Thank you for your answer.
    I found the way to develop the our logic using BADI: bbp_pgrp_find.
    But I’m not sure the following logic is correct.
    To differentiate described req. or product id req, We check the E_ITEM – PRODUCT using BBP_PD_SC_GETDETAIL.
    IF E_ITEM – PRODUCT is blank, Read the category ID to find the purchasing group.
    To find the purch. Group, we can use FM:  BBP_OM_DETERMINE_RESP_PGRP.
    Import parameter: IS_RESP_ITEM_DATA – Category _ID
    Export parameter: ES_PURCH_DATA
    ELSE
    CALL the customer function to read the R/3 purchasing group from MARC- EKGRP
    Search the HRT5500-TABNR using purchasing group from R/3.
    Search the HRP5500 – OBJID using HRT5500-TABNR
    Call the FM:  BBP_OM_DETERMINE_RESP_PGRP
    Import parameter: IS_RESP_ITEM_DATA – PROC_GROUP – OBJID
    Export parameter: ES_PURCH_DATA
    Thank you
    Best Regards
    SH

  • BADI  BBP_PGRP_FIND

    Hello Friends,
    Can you please help me out in developing a program logic to default the purchase group in the shopping cart based on plant and product category via BADI  BBP_PGRP_FIND .

    Hi Kavitha,
    Could you please clarify which system you found the badi :BBP_PGRP_FIND.
    wether is it from ABAP WORKBENCH or SRM system.?
    Regards,
    Venkat.

  • BAdI BBP_PGRP_FIND missing import data

    Hi all,
    I want to change the purch group and the purch org within shopping carts.
    I implemented BAdI Definition BBP_PGRP_ASSIGN_BADI for external requirements --> working fine!
    But BAdI Definition BBP_PGRP_ASSIGN_BADI does not fit to "normal" shopping carts (created local within SRM).
    Question:
    How can I change the responsible purch group and purch org for shopping carts?
    I have found BAdI BBP_PGRP_FIND but there is missing a lot of data, for example
    item_guid, company_code...
    Any idea how to change the purch data within SC?
    Note:
    CHANGE BAdI does not seem to be a solution because I just want to make a proposal, user should be able to change the data afterwards.
    Thanks for any suggests!
    Best regards
    Andreas

    Hi Andreas,
    If user needs to be changed the purchasing group and purchasing org while creating SC then you can define in Org Struture.
    For example User X needs profile should be configured to PurchOrg1 PurchOrg2 then depend upon the product cateogry In org structure under "Responsiblity" tab you need to give the list of product categories under product responsiblity and Org id under Organization responsibility.
    Kind Regards
    Sameer

  • Using BAdI BBP_PGRP_FIND for purch.group determination

    Hello all
    For normal sc items I'd like to have one single purchasing group being determined during sc creation (by default).
    Except for described req. items, the purch. group should be determined using the normal logic based on product category and its logical backend system.
    I thought it would be fairly easy to achieve this, but the bad thing is, that when activating BAdI BBP_PGRP_FIND it automatically deactivates the standard logic which would be the one needed in case of described requirements.
    So I'm searching how to implement BAdI BBP_PGRP_FIND in a way where I can run the standard purch. group determination logic for described requirement items but to run own new determination logic for all other sc items.
    EDIT
    In other words:
    IF described req.
      do normal standard determination logic
    ELSE.
      assign single default purch.org./purch.grp.
    ENDIF.
    Somebody an idea on this one? Is there a function module / method I can call from within the BAdI to run the standard determination logic?
    Thanks for any helpful input.
    Renaud

    Me again... after some further investigations I found function module BBP_OM_FIND_SC. It returns a list of found purchasing org. / groups responsible for a specified user, product category and logical backend system.
    Hope this helps someone else one day...
    Kind regards,
    Renaud

  • Obtaining Location in BADI BBP_PGRP_FIND

    I've implemented BADI BBP_PGRP_FIND in order to pass back a custom list of purchasing groups.  We plan to use a Z table which links purchasing groups to locations.  The idea is that we will only show certain purchasing groups in the drop-down list, based on the location currently chosen.  However, I can't figure out how to determine the value of the 'Location' field on the shopping cart.  I'd like to make the list of purchasing groups context-sensitive based on the location.  Is there any way I can do this? I put a break-point in our implementation of BBP_SC_CHANGE, but I don't see the loccation value stored in any of the import parameters.  In any case, even if I was able to get the location value, I'm not sure it would matter, since the BBP_PGRP_FIND BADI only seems to run before the shopping cart screen is displayed.

    I put a break-point in our implementation of BBP_SC_CHANGE, but I don't see the loccation value stored in any of the import parameters.
    Location is a partner type (PARTNER_FCT=00000075) stored in the "IT_PARTNER" parameter.
    In any case, even if I was able to get the location value, I'm not sure it would matter, since the BBP_PGRP_FIND BADI only seems to run before the shopping cart screen is displayed.
    You can always invoke the BBP_PGRP_FIND BADI in your BBP_SC_CHANGE method logic by create an instance of it.

  • Where do we post issues about bad apple customer support

    where do we post issues about bad apple customer support?

    Well, these are user-to-user forums. I'm not sure that posting complaints about Apple customer support here would be a) productive (what can we really do?) and b) acceptable under the terms of use, though I'm not sure. My inclination would be to write a letter directly to Apple. Even in this email age, "real" letters seem to command more attention.
    Best of luck.

  • Issue in BADI BBP_CUF_BADI_2

    Hi SRM Gurus,
    I have requirement to add 3 custom fields(YES/NO Box,PO Number,PO Value) in the Item Detail Basic Screen and i have added the 3
    fields in the structure  BBP_PDS_ITEM_SC_CI and so the fields are displayed in the Item detail Basic data screen.
    If the YES/NO box contain value NO then the fields
    PO Number and PO value should be in display mode.
    If it is changed to YES then the PO Number and PO Value
    should be in editable mode.
    The Issues is whenever i select YES/NO option in the YES/NO
    box and click 'Check' or 'Refresh' option the value in the
    YES/NO box is getting refreshed bcos of this i was not able
    to perform any operation further.
    I'am not sure how it is getting refreshed.
    Please throw some light on this.
    Thank You.
    With Regards,
    P.Arunkumar

    Hi. If you create a custom table that contains 2 fields, User Name and Either Cart Number of Cart GUID you can write the current cart deatils for SY-UNAME into the new table using the BBP_DOC_CHECK_BADI.
    When you enter the current user name and cart number/GUID you should delete the old data for that user.
    This BADI is called all the time, and so you can enter the current cart that the user is looking at in this custom table, then call function BBP_PD_SC_GETDETAIL from BBP_PGRP_FIND.
    Regards,
    Dave.

  • Imac7,1 freezes with severe graphics issues after bad-tv filter

    firsttly, sorry, this could be a double post, i think i forgot deleting the old one in the wrong category.
    well, i don't really know if this is a common issue or whether this is firmware or snow leopard related: if i apply the bad-tv filter in fcp7 (fcs3) my screen is going crazy after a few seconds: squares and dots in all kinds of colours etc...then snow leopard freezes and i have to force a reboot. everything else is working great! any ideas or related problems out there?
    i've got the 1.3 firmware update. clean install!

    I was teaching an FCP class today, and I had the same problem with the Bad Film filter on four new 24" iMacs, each with 256MB ATI Graphics Card.
    They were all running SN 10.6.1 and FCP 7.0.1

  • Timing Issue in BADI MSTO_PROCESS_ITEM PO

    In ECC 6.0 some logic has been added to BADI MSTO_PROCESS_ITEM, method check. Two non rfc function modules have been used to update custom fields. MEPO_DOC_HEADER_PROCESS and MEPO_DOC_ITEM_PROCESS. Every once in awhile the custom fields are not updated. When we take the purchase order and go in change mode, it updates the fields correctly. When we go through debug, same thing updates correctly, and create also. it only happens sometimes. Could there be a timing update issue in the badi? Buffer issue?  If yes, what are some solutions. Could we put a wait command in the badi?

    Hi,
          IM_item is itself an object, it contains methods. check the assosiate type IF_PURCHASE_ORDER_ITEM_MM.
    check the sample code it willhelp you.
    sudheer.A

  • Issue on Badi Execution for copy appset

    Hai,
    I have write a badi to Copy Transaction data from appset to another appset it works fine and now i has to enhance the code to copy same to another account.
    here comes the issue.,
    when i execute the code for hard coded it works fine and post the data for the logic.
    but when i keep account =<all> it throughs the error as exception error when i debug the code it shows due to duplicate records.
    how can i solve the issue.
    thanks,
    Rajesh

    hai,
    the problem is with the work status .
    i unlocked the work status for the source and destination applications
    and i run the logic the code executed sucess fully...
    this is because when the work status is in "confirmed"  it doesnt allow to load data to that member.
    thanks,
    Rajesh

  • Hi experts, issue regarding badi MRM_WT_SPLIT_UPDATE

    Actually this badi dont have the option of multiple use,
    and it is already implemented,
    but they is no document for which purpose it is implemented.
    Now the issue is i have to use the same badi .
    How can i use this badi again
    thank you

    Hi
    Please, see SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    Regards
    Eduardo

  • Issue in BADI

    there are two diferent work orders created from 2 different users. For one order when i go through IW32 and go to operations tab and delete an operation then IT_OPERATION table of  method BEFORE_UPDATE from  BADI WORKORDER_UPADTE that  have implemented shows value D(D means delete) for that operation in the IT_OPERATION table . This is working fine . But for the second work order when i delete an operation i get the value as U(U means UPDATE) instead of D for this operation. This value is incorrect. I am deleting operations from both work orders from my user id. But it is showing two different behaviours .
    Can someone suggest as why is this happening and how can it be resolved?

    Hi ,
    My Issue has been sorted out.Thank U very much Imthiaz.
    I reward full point to you.
    Thank You.
    With Regards,
    P.Arunkumar

  • Issue in BADI Implementation BBP_CREATE_BE_PO_NEW

    Hi SRM Gurus,
    I used the BADI 'BBP_CREATE_BE_PO_NEW'  to create the PO which uses
    'BAPI_PO_CREATE1' in the backend to create the PO.
    The Issue is the Email_id is not filled in the BACK end.
    I have passed the required entries in table 'IT_POADDRDELIVERY'.
    But in Debugging i found that in the Backend the Table parameter POADDRDELIVERY of "BAPI_PO_CREATE1'
    has been commented out because of which Address details
    are not filled.
    Is there any other method to Fill the Delivery Address details?
    Please throw some light on this.
    I'am working on ECC 5.0 Classic Scenario.
    Thank You.
    With Regards,
    P.Arunkumar

    Hi ,
    My Issue has been sorted out.Thank U very much Imthiaz.
    I reward full point to you.
    Thank You.
    With Regards,
    P.Arunkumar

  • K8N Neo2 Plat Boot Issues. Bad Flash?

    Well i just got my board in the other night and i had everything up and running and wasn't too satisfied with the OC on the memory scores i was getting so i flash to bios 1.55 from one of the sites linked from here.  Everything went fine on the flash with no apparent errors but now when i try to boot it gives me the normal boot beep then right after a  tiny faint beep and it locks up at the Platinum screen where you can hit DEL or TAB to post.  I flashed from a win98 virtual ram drive to avoid the issues of a bad floppy.  There were no errors on flash at all and it rebooted itself at the end.  I've tried to reset the CMOS many times and still nothing.  I've tried changing out mem, psu, vid cards, and other parts just to see if i can get past the screen but it won't budge.  Anyone heard of any simular problems and if so how can i fix it short of rma?

    Unfortunately i've tried the bad flash for my bios and nothing happens at all.  The Floppy never even starts and neither does the light on it to read from the floppy.  I left it running for atleast 15 mins once and nada.  Wish there was an easy way to fix it heh.  Guess i've learned my lesson to triple check before flashing.  Any other ideas?

Maybe you are looking for

  • New MBP with short but frequent freezes

    Every hour or so, one or more apps freeze, then causes the whole thing to freeze showing the spinning wheel. This lasts 10 to 30 seconds most times, and then eveything continues as normal. It's not under a particularly heavy load at the time (althoug

  • CAN I LOCK A DVD AFTER IT'S BEEN BURNDED SO NO-ONE ELES CAN COPY IT?

    Can you lock a DVD after it has bee burned?

  • Disk permissions messed up with latest update

    I have a Mac Mini that started acting up after installing the latest Snow Leopard update (10.6.?). After downloading, installing and restarting it kept stalling on restart. The apple will show then immediately the screen will scroll a bunch of lines

  • Matched and purchased songs, should I delete the duplicate?

    I clicked on show duplicates in Itunes and lots of duplicates but one says Matched (iCloud Status) and one says Purchased.  Should I delete one of the duplicates? and if so which one?

  • Help plz just for a project...

    can some1 explain this? public class Grading System{      public void get_GradeEquivalent(String temp_grade){      int grade= Integer.parse.Int(temp.grade);      String remarks= "";      if ((grade>=90)&&(grade<=95)){      remarks= "Exellent";      e