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

Similar Messages

  • How to determine the process alias using condition technique in Transportation & Shipment Scheudling?

    Dear All,
    I am trying to use the functionality Transportation and Shipment Scheduling in GATP.
    I would like to know that how the sytem determines the process alias using condition technique in Transportation & Shipment Scheudling?
    As the Transportation & Shipment Scheduling functionality can be extended further by using the configurable process to overcome the complex scenario. But it needs that process alias should not be determined by using the condition technique.
    Moreover, is it possible to use both functionality simultaneously in the system. i.e. Transportation and Shipment Scheduling using condition technique and Transportation and Shipment Scheduling using configurable process?
    Thanks & Regards
    Piyush Ranpura

    Hi Piyush,
    I have added a small overview in the SCN WIKI which shows you the two ways for the process alias determination and also here as attachment:
    http://wiki.sdn.sap.com/wiki/display/SCM/Time+and+Scheduling+Functions
    Yes, depending on your customizing you can use both scheduling methods in parallel. e.g. you activate CPS just for a specific ITEM category or product and/or customer and/or....what ever you want.
    best regards,
    Michael

  • How to determine the IPS throughput using Cisco ASA 5500 IPS Solution?

    Hello there!
    I´ve been desinging a solution to protect de Server Farm and I intend to use the ASA 5500 series with AIP-SSM module. There´s any tool to determine the real throughput that I need? I mean, how to determine the performance (Firewall + IPS  throughput), what main points I should consinder?

    If the server farm is running production levels of traffic today you can get statistics off a variety of networking devices passing the existing traffic. Switches, routers and firewalls all count every byte of traffic they pass. There are plenty of tools that can gather this traffic into tables via SNMP too, such as MRTG.
    Do not average your traffic over too great a time peroid, you will miss busy hour peaks. At most, use 5 min averages.
    - Bob

  • How to determine the patch number used (installed using runInstaller)

    Whilst it easy to find the patch number installed using opatch by using the lsinventory argument.
    Is there a way to find patch number for a patch applied via runInstalled?
    META-INF/MANIFEST.MF from platform/iam-platform-kernel.jar,gives the following:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 19.1-b02 (Sun Microsystems Inc.)
    Product-Version: 11.1.1.3.0
    Build-Number: 11.1.1.3.0.0.0
    Built-By: aime1
    Build-Tag: Build_11.1_1_3.0_0_0
    Built-at: 05/02/2011 06:46
    Version: 11.1.1.3.0
    Build-Label: IAM_11.1.1.5.0_GENERIC_110502.0500
    Build-Transaction: NONE
    But I need the exact patch number, eg, p1234567.
    Anyone know where to find this information?
    The system has been patched from 11.1.1.3 to 11.1.1.5
    I am looking for the patches used for WLS, SOA and OIM.
    Regards
    Hanif

    Another way to get it is:
    SELECT XSD_CODE,XSD_VALUE FROM dev_oim.XSD WHERE xsd_code='XL_ADE_LABEL';
    Check Note: 1247564.1 for 11.1.1.3 and 1360009.1 for 11.1.1.5 for builds to patch mapping. Check Note:1299977.1 for how to determine build numbers.
    For WLS you can use: http://docs.oracle.com/cd/E13222_01/wls/docs81/admin_ref/clic.html
    For OIM as mentioned above
    For SOA: $mw_home\Oracle_SOA\bin\soaversion.cmd (or soaversion.sh) to know the SOA version or
    SELECT version, status, owner FROM schema_version_registry where owner = 'DEV_SOAINFRA';-Bikash

  • How to find the Acoount Group used while creating the customer master data.

    Hi,
    I am in xd03 mode displaying the customer master data. I want to know the ACCOUNT GROUP which was used while create this customer. How can i find it? Can any one tell me the process to find the account group?
    Thanks in advance.

    Enter the customer number in XD03 and click enter. Once the screen displays the customer name go to dropdown extras--> Administrative Data. This will give you the account group and the creation date of the customer. The same is stored in KNA1- KTOKD.
    Thanks
    Indranil

  • How to determine the core currently used?

    Hi,
    does anybody knows a Java SE6 method that gets the current processor number?
    It should run at least on WindowsXP with a dual core.
    I'm aware of the fact that the core currently used is a very ephemeral information. Nevertheless I want to verify whether assumptions about the scheduling are correct.
    All solutions without using JNI are welcome.
    Thanks in advance
    -- Thomas

    I doubt it is possible. I am not even sure how you would do that with the windows API. Not sure it is even logical. Since a thread switch can occur at any time that means that an atomic operation would be needed to recover it and that going up/down the call stack to that point would all be places where it would become invalid.

  • How to determine the protocol to use in Sender mail Adapter ?

    Hi All
    Can i use my Microsoft Exhange Server address while configuring Sender Mail Adapter .? If yes , then which protocol i can use out of IMAP and POP ?..
    How do i determine which protocol i should use to connect to my exchange server ?
    Thanks
    rohan

    Hi Rohan,
    //Can i use my Microsoft Exhange Server address while configuring Sender Mail Adapter .?
    Yes, you can.
    //If yes , then which protocol i can use out of IMAP and POP ?..
    You can use either of them. To know more on IMAP and POP, i would suggest you go through these links,
    http://www.trincoll.edu/depts/cc/documentation/email/IMAP_vs_POP/default.htm
    http://www.imap.org/papers/imap.vs.pop.brief.html
    If your are using IMAP, you will have to specify, which folder from which you wnaty the emmail to be retrived, this is not needed for POP.
    Hope this helps,
    Regards,
    bhavesh

  • How to determine the organizational unit using activity category  ????????

    Hello All
    We are working on CRM 7.0 , we need to have the organizational determination based on the activity category , I have put the activity category in the attribute list then I created a determination rule type responsibility and it is working fine in the simulation but after I assigned the determination rule to the transaction type the organizational unity could not be determined. I tried the BADI CRM_ORGMAN_BADI but it was not help.
    Any clues regarding this issue ?
    Regards
    Jacopo

    No answers

  • How determine de Purchasing Group ID

    Hello,
    I need to determine the purchase group ID (field EKGRP) in SRM from a purchase or a shopping cart.
    Until now I can get the GUID value (ex. 50000026) but I need the field EKGRP. I have seen that this field appears into the  BBP_PDBEH table, but it refers to backend system.
    Do you know how can I get it?
    Thank you in advance.
    Best regards.

    Please find the details below:
    1. Get the Org Id say O 50012979 and pass it to the table HRP5500
    OTJID = 'O 50012979'
    Here select the value TABNR
    2. Pass the TABNR value to the table HRT5500
    TABNR = 'TABNR from HRP5500 for O 50012979'
    You can get the value EKGRP here.
    Hope this solves your problem.
    Regards
    Kathirvel

  • How do I assign a user ID to the purchasing group so it shows up on table..

    How do I assign a user ID to the purchasing group so it shows up on table T024?  I'm trying to create a STO but am recieving the following error
    Configuration of User ID is not set up in purchasing group T024 table
        Message no. 00398
    Diagnosis
        Placeholder for batch input error text, this message is not output.
        Configuration of User ID is not set up in   purchasing group T024 table
    Thanks in advance

    Table T024 has no field for a user-Id in standard SAP
    you can only tie a user to a purchsing group via authorization with user roles.
    The message 00398 is a generic message that can be used for everything.
    I guess this message is triggered in a userexit. Designed by a collegue of you.

  • Using ILOM how to determine the host machines sun architecture type

    I am using ilom attached to my sun sparc t3-1 machine. How do I determine the platform group (sun4u/sun4v etc) of my sun host machine through ilom cli.
    If there is no direct command to find out then atleast what mapping i should rely on to determine the platform group of a sun server.

    Thanks.
    Listed show /SYS -l all
    There is lot of information on mother board etc. Nothing straight forward on what platform group does the system belong to.
    I could see /SYS/MB/CMP0 whose type is host processor, which has core0 - core16 targets. Each core target has 8 CPU threads po-p7.
    I don't know what to make of it.
    What i am thinking is this, sun4v means sun 4 series with virtualization. Which means it should have support of hypervisor processor virtulization.
    I could see in show /HOST, the hypervisor_version property with its version number.
    I am thinking if this property exists and is populated with a version number than the system platform group is sun4v.
    Any comments?

  • How can we change the purchasing group which it is maintained in R/3?

    Hello All.
    In case of MM, purchasing group is assigned to material master.
    It means purchasing group is maintained based on material code.
    But SRM has different maintenance level.
    As you know that purchasing group has the responsibility based on material group (Product category).
    So we should change the purchasing group from R/3, when end user create shopping cart.
    How can we change the purchasing group which it is maintained in material master?
    Thank you,
    Best regards,
    SH.

    Hello So Hee,
    I am not a technical guy.
    But for your requirement i am building a logic.
    I am not sure whether it will work.
    You need to check with your ABAPER.
    It is as below:
    When the SC is approved and the other configuration is correct ,
    PR is created in ECC by the virtue of BAPI.
    You want that the pur grp should be populated on the base of matl code and not on matl grp.
    Hence in SC you will not fill up pur grp.
    In the programme for BBPSC01 i.e. SC creation you will add modification that it will call a custom FM.
    This custom FM will get the matl code from SC and will find the value of pur grp from R/3 MM01i.e. matl master(you may get in MARA).
    Now in the BAPI you need to incorporate this additional value of yr pur grp field.
    So the desired pur grp as per yr R/3 matl master will be populated in yr R/3 PR.
    Again: this is all hypothesis.
    That's all I can help you.
    BR
    Dinesh
    <b>Reward if helps</b>

  • TS2446 A email account that was used is now not in use and songs that were purchased and added are bound to this old account from the same computer how do I the purchaser of these songs reclaim the authorization to play and use in my new account

    A email account that was used is now not in use and songs that were purchased and added are bound to this old account from the same computer how do I the purchaser of these songs reclaim the authorization to play and use in my new account. even though account name may have been changed.

    Just authorize the computer and retreive them.
    Go here -> https://iforgot.apple.com/cgi-bin/WebObjects/DSiForgot.woa/wa/iforgot .
    FYI: you should have simply updated the AppleID with new info and continued to use it instead of creating a new one.

  • How to retrive the purchase agreement/promotion  using sale order number

    Hi ,
    I am an ABAPER . I need a flow for *sale order to purchase agreement/promotion *
    My query is how to retrive the  purchase agreement/promotion (VBAK-KNUMA is blank  for all ) using sale order number ?
    Thanks
    Sree
    Edited by: Sree  Merugu on Sep 11, 2008 6:58 PM

    Hi ,
    I am an ABAPER . I need a flow for *sale order to purchase agreement/promotion *
    My query is how to retrive the  purchase agreement/promotion (VBAK-KNUMA is blank  for all ) using sale order number ?
    Thanks
    Sree
    Edited by: Sree  Merugu on Sep 11, 2008 6:58 PM

  • How to find the user exits and BADIS from SPRO

    Hi all,
    please let us know how to find the User exits or BADIS for an application from SPRO.
    Regards,
    Madhavi

    Hi Varisetty,
    Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
    For User Exit:
    Put "/h" in the command box (to start debugging)
    Execute your transaction
    When you enter debugging - put a breakpoint at statement
    CALL CUSTOMER-FUNCTION
    the control will stop at all calls to User Exits
    For BAdi (it's simpler)
    Go to class CL_EXITHANDLER in SE24
    Enter method GET_INSTANCE
    Put a breakpoint in this method
    Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
    Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
    Cheers,
    Adi

Maybe you are looking for

  • I want to move Pages from my old macbook to  my new one. How do I do that best?

    I am moving from my 2007 Late, 13 inch Macbook to a new Macbook Pro, Retina, 15 inch, 2013 Early. I am not sure how best to do this and stay within the proper guidelines for Copyright.

  • Print dialog in Firefox causes Flash player to crash

    We have an application that allows viewing and printing reports.  It works fine in IE and Chrome.  In Firefox, when Print button is clicked and print dialog opens, if it is left for 30-45 seconds without user interaction Flash crashes.  The problem e

  • UserTransaction error Message

              I used to UserTransaction with Stateful Session Bean.           I obtained to UserTransaction object in client applications with folow next :           Context jndiTran = new InitialContext();           UserTransaction userTran = (UserTrans

  • Settlement process with wip, ra and co-pa

    Hello Every one, My current project is in construction industy. We are implementing copa here. Now i want to understand the settlement process with WIP AND RA with copa. Kindly provide me some good documets which can explain me business flow and docu

  • Replacing all java applets

    Hi,  What technology shoud we use to replace all  the Java Applets in our MII applications ¡? .  The reason is that java applets slows them down  ,  sometimes the application screen ( GUI ) seems like not  responding & when the end user is proactive