Purchasing group determination

Hello,
We are using the extended classic scenario but we need to activate the classic scenario in the badi BBP_EXTLOCALPO_BADI because we want to create reservation in R/3.
Now we have a problem with the purchasing group in the shopping cart, the system always determine the purc gr from R/3.
We need to obtain the purch grup from R/3 in case the system creates a reservation and in other case (no reservation) from SRM.
We have tried to modify it in the badi BBP_PGRP_FIND but this is not possible because the creation of reservation depends of the request quantity. Also we try to change it on BBP_DOC_CHANGE_BADI but we get sometimes an error message about the purchasing organization differs from target system
Thanks in advance, Juan Manuel

Hello Juan
BBP_OM_DETERMINE_RESP_PGRP this is std fm determines purchase grp upon responsible product category.
BBP_PGRP_ASSIGN_BADI - helps or BBP_PGRP_FIND to determine reponsible purchase group in a sc.
but this badi controls follow on documents need to  created
bbp_target_objtype  i.e overriding the 'Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)' i believe you must do with this target badi. correct me i were wrong.
942052 and 1067803 note
br
muthu

Similar Messages

  • STO error: No Purchasing Group determined

    Hi,
    There is one *STO error message* occurred when i creating optical service order.
    I am trying to create a Optical Service Order and when I going to save it as completely billed, STO error occurs with message: No Purchasing Group determined.
    Could somebody help me in this regard and explain the steps to solve the issue.
    Thanks in Advance...
    Ur Help will be highly beneficial......
    Regards
    Amandeep K. Dhaliwal

    Hi
    product category are directly related to purchase group. depends upon the settings in the organisation structure , the system determines which purchase group is responsible for procuring this product category.
    so back track your product category and purchase group link and this purchase group is made a link with purchase organisation. since product category responsiblity is a mandatory in srm.
    Can you update here . where your user was positioned in org structure?
    hope that you made a link between purch organ with purchase group?
    po1
      --> pg1
    and moreover check following settings. are you try to procure via describe (spl request)?
    Purchase group - responsibilty tab what are the product category you mentioned?
    have you maintain Organisation responsibility under the responsibility tab?.
    still you find difficulty ?
    regards
    muthu

  • Purchasing group determination in Shopping cart

    Hi All,
    when I am creating Shopping cart and choose Free Text  Describe what you want  and then I find that Purchasing group filed at item data tab is not available.
    But when I am selecting select goods/service and choose Product Id then shopping cart  is determining back end purchasing group and purchasing group field is shown at Item data tab.
    why SC is not showing Purchasing group field for free text items.
    Can any one has this similar issue in your system.
    I am on SRM7.01 Extended classic scenario.
    Abdul Raheem

    Hi Nikhil,
    If I choose the one material for the same product category in SC , it is picking back end purchasing group.
    But If i am choosing free text item and selects the same product category , Purchasing group field, it self is not showing in SC.
    I wonder, if I create a Local purchase group, and create a  free Text SC for the same product categoy, it is picking local Purchaing group.
    Abdul Raheem

  • Shopping cart Purchasing group determination

    Hi All,
    I have created Org structure like this
    Backend pur.organsiation> purchasing group(Back end)>buyer1
    department1-->user1
    Buyer1 is responsible for department1
    When user1 is creating shopping cart , I found in shopping cart purchasing group field is not showing.
    Later I have created Local pur org and Local Purchasing group and Buyer4 assigned to it.
    When I create a SC , now purchasing group field is showing with only one buyer i.e Buyer4.
    we are on SRM 7 EHP1 and Extended classic scenario.
    Is this standard behaviour that SC only shows Purchasing groups of local Purchase org.
    Thanks
    Abdul Raheem

    Hi Nikhil,
    I can see buyers for local purchasing group only, not the Back end purchasing group buyers.
    For back end purchasing group I have kept in function tab a check box as purchasing group, and purchasing group number refering to back end system
    Abdul Raheem

  • 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

  • Purchasing group sequence and defaults

    Folks
    We are in SRM 50 and was wondering if anyone has tinkered with the sequence of purchasing groups for a buyer, while creating a shopping cart ? If so, how?
    To explain, when the buyer logs in and he/she is responsible for say 4 purchasing groups, the system seems to be sorting purchasing groups based on the organization ID and it assigns the first purchasing group as default (It used to be the last one in the order in EBP 30, before we upgraded). Even this has exceptions at times. How is the sort sequence of the purchasing group determined/controlled?
    Any insights would be appreciated.
    Suresh

    Hi
    Welcome to the world of SRM. )
    Actually, it depends on the Organizational chart maintained in the SRM system using PPOMA_BBP transaction. For each company code in SRM, there will be at least one Puchase organization assigned to it, which in turn might be linked with several Purchase groups. (this is what you have maintained in PPOMA_BBP , inside the Extended Attributes section of the main root node of the Organization )
    - Well it depends .. sometimes, you might maintain the attributes at every level of the org units.
    Anyways, I will try to help you out on the Defaulting Purchasing group logic as well.
    Well, until, SRM 4.0, we have noticed, purchasing groups based on the organization ID and it assigns the first purchasing group as default. It is sure.
    After SRM 5.0, this purchasing group defaulting is changed to last, as in your case... ( I am not sure.. about this), might be some other reason can be behind this...
    Which SRM scenario are you using ?
    <u>You can control the Puchasing group by implementing the BADIs.. The Standard SRM system provides various BADIs to get this job done.</u>
    Please do read the standard documentation available with them, before writing any code for the custom BADI Implementations.
    Refer to the following Business Add-Ins (BADIs) in SE18 Transaction.
    <b>BBP_DOC_CHANGE_BADI
    BBP_PGRP_FIND_BADI</b>
    <u>In BBP_DOC_CHANGE_BADI, you can change the already defined Purchasing group, based on your business logic and requirements.</u>
    In BBP_DOC_CHECK_BADI, you can issue customer error messages incase the Purchasing group selected does not match with the company code, etc.. as per you business requirements.
    Similarly, In BBP_PGRP_FIND_BADI, you can make your changes accordingly.
    Let me know incase you face any issues.
    Regards
    - Atul

  • The correct purchasing group is not being determined in the SC line item

    Dear all,
    I have a problem in that for some reason, when a shopping text line item is added to the shopping cart, the wrong purchasing group is determined. Further more when you look in the basic data section they is a drop down against the purchasing group field listing all pruchasing groups setup in the org plan via PPOMA_BBP.
    This means that the requisitioner can change the purchasing group to any one even the one that is not relevant to his or her Purchasing Organisation. This of cause is not right because if the requisitioner is allowed to change the P/Grp, the wrong buyer may end up recieving the buyer completion work item.
    What is causing this?
    We have uniquely assigned P/Orgs to P/Grps and assigned resposiibility of P/GRPS to one unique ORg unit (company).
    for example, a suppose product Category 1234567 is assigned to P/GRP 100 & P/GRP 100 is assigned to P/ORG 1000 and the P/GRP responsibility is set to Org unit(company) 1000,  The requisition "sits" under an orgunit linked to company 1000.
    If a requisitioner creates a text item and assigns product category 1234567, when the item is added to the shopping cart , I expect to see that the followig:
    1. The Company code(CC)should be 1000 (This is happening)
    2. The P/org should be 1000(This is happending)
    3. The Plant sssignment is correct
    4. The p/grp is worong. It appear that the first P/Grp is assigned plus a drop down listing all p/grps created for all purchasing P/Orgs.
    Regards,
    Grace

    Yann,
    Yes , we have (need to have)set 2 purchasing groups with the responsibility of the same product category. We have to do this because in our organisation, individual company purchasing organisations have same responsibilities to purchase similar products.
    Please note that we have a classic scenario implementation. SRM 4, Server 5.
    The business requirement and settings in the org plan is for example:
    P/Grp 100 has the reponsibility to procure Prod cats LAM001 to LAM010 via its assigned P/org 1000 which is linked to  own company 1000 and P/grp 200 also has the reponsibility to procure Prod cats LAM001 to LAM010  via its assigned P/org 2000 which is linked to own company 2000.
    Please note that thr buyer responsible for p/grp 100 & 200 are the same and will be the same for similar product cats across the organisation as a whole. Its just the SRM does not allow you in the orgplan to assign the same p/grp to multiple p/orgs, we had to double up on the p/grps.
    Also when a requisitioner who sits under company 2000 chooses a product cat 12345 if creating a SC text line, we DO NOT WANT the requisitioner to change the assigned p/grp.We want it defaulted to 200 (based on the org plan setting I have described above) and fixed(greyedout)
    when thr line item viewed in the basic data section.
    Do you think that because we have set the prod cat range LAM001 to LAM010, which is an alphanumeric product cat range, that could also be the reason for the dropdown listing all orplan p/grps even ones that do not have the product cat LAM001 to LAM010 in its responsubility assignments?
    If you are saying that the system does not know which p/grp to pick, why its it displaying all "unrelated" p/rps in the dropdown. I atlest expect to see two p/grps in the dropdown 100 & 200, because only these two p/grps have been set with product cat responsibility for LAM001 to LAM010 in our org plan.
    Also if you are saying that is the way SRM was designed to work (which may be the case!!!) how then can we set the org plan to meet our the purchasing org/purchasing grp /prod cat responsibility requirements I have described above?
    Regards,
    Grace

  • 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

  • Determine  Org id with purchasing group

    Hello,
    Is there any FM to get the org id with purchasing group.
    Regards,
    Neelima

    You didn't mention what you have as input in order to get the org id. But in any case, try FM BBP_OM_STRUC_GET_ORG_FROM_ORG. It gives you the parent org unit ID of an org unit.

  • Same Purchasing group assigment to multiple Purchasing Org

    Dear all,
    I am facing an issue in SRM 5.0 in Classic Scenario.
    In R/3 the freedom exist to assign independently the Purchasing Organization and the Purchasing Group to a PREQ or PO.
    Then the following lists have been created:
    <u>PurchORG</u>:
    - PORG1: Porg of country 1
    - PORG2: Porg of country 2
    <u>and PurchGROUP</u>
    - PGRP1: Pgrp Office sup
    - PGRP2: Pgrp IT
    and then I want to be able to use all the following combinations:
    PORG1-PGRP1
    PORG1-PGRP2
    PORG2-PGRP1
    PORG2-PGRP2
    To do that I create in my Organization Plan the following:
    - PORG1
         -PGRP11
         -PGRP12
    - PORG2
         -PGRP21
         -PGRP22
    However as I am in Classical Scenario I need to link the OrgPlan Pgrp to the coresponding in R/3
    - PORG1
         -PGRP11 >PGRP1
         -PGRP12 >PGRP2
    - PORG2
         -PGRP21 >PGRP1 : Error Purchasing group ... in system ... already assigned to ... (message BBP_ATTR 030)
         -PGRP22
    1) I have read somewhere but I can not find it anymore that the system messages can be updated to avoid this error and to allow that functionality. Has somebody done it? Where is it? I am correct?
    2) Otherwise do you have an option to do it? 
    How must I create my Org Plan as I suppose all Porg and PGrp must exist once in Org Plan.
    Then must I use the BADI BBP_PGRP_FIND with Determine Responsible Purchasing Group(s) BADI BBP_PGRP_FIND.  Can you explain how, or provide piece of code.
    I looked in doculentation but I don't see clearly the difference between the 2 exit objects (they seem duplicate for me):
    - ES_PURCH_DATA - This output structure should contain the object type and the object ID of the default purchasing group and the higher-level purchasing organization. If you are dealing with a backend purchasing group (purchasing organization), then you must also define the corresponding backend IDs.
    - ET_PURCH_DATA - This output table passes the list of all responsible purchasing groups and their higher-level purchasing organizations. A table line is formed corresponding to structure ES_PURCH_DATA.
    Thanks in advance
    RD

    Hi
    <b>You can go through the link for complete code and other required details -></b>
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    Re: Purchasing group from external requirements
    Re: BAdI BBP_PGRP_FIND
    Re: Purchasing group from external requirements
    Re: Sample code for BADI implementation
    Every purchaser will be assigned to the relevant purchasing groups in Organization structure and purchasing groups have the product responsibility (product category) and person/organization responsiblility assigned in the 'Responsibility' tab. I think this should be sufficient to get the linkage.
    Re: "Proc_Group" assignment to shopping cart  from transferred requisitions
    Using BAdI BBP_PGRP_FIND for purch.group determination
    Use Function Module -> BBP_OM_READ_PURCH_ORG_ID
    Give Logical system and Purchasing group to this FM.
    It will give you
    ES_PURCH_ORG-OT
    ES_PURCH_ORG-OBJID
    Use this info in table HRP1000(Infotype 1000 DB Table) to get the value of text.
    Function module - BBP_OM_DETERMINE_RESP_PGRP
    The purchaing groups are responsible for product catrgories (material group) and not material numbers. If you use "describe requirement" to create a shopping cart, the purchasing group will default from this responsibilty of product categorty and not material number.
    Also the purchasing group can default on other criterias like the organizational responsibility and so on....
    Inorder to determine the reponsible purchase organization for creating shopping carts for all product categories, this task can be accomplished by implemeting the badi BBP_DOC_CHANGE_BADI. here you have to write some logic to change the purchasing organization based on product category. In the purchasing cycle Purchase Organization is not responsible to procure the product, Purchase Group is responsible for the same. In the Organization structure after defining Purchasing organization, you might have define Purchase Group also in the purcase group RESPONSIBLE TAB you have to define the PRODUCT CATAGORY to be procure by this Purchase group.
    Do let me know.
    Regards
    -Atul

  • Vendor Responsibility for Purchasing Groups

    Hi experts!
    We should assign vendor responsibility for purchasing groups, what means depending on which vendor / source-of-supply is selected in the shopping cart the correct purchasing group is assigned.
    Do you have any idea how to handle this in SAP standard?
    Can we use a BADI to help out?
    Many thanks for your ideas.
    Best regards,
    Corinne

    Hi
    Lots of BADIs are there, which can help out ->
    BBP_PGRP_ASSIGN_BADI                  EBP Purchasing Documents: Assign Purchasing Group(s)    
    BBP_PGRP_FIND                                        Shopping Cart: Determine Responsible Purchasing Group(s)
    <u>Related links to check out -></u>
    Re: How to assign purchasing organization to a vendor using the GUI interface??
    Multiple purchasing group responsibility?
    Re: SRM 5.0 - Assign user to multiple purchasing groups?
    Re: Purchasing Group and User Assignment
    How can we change the purchasing group which it is maintained in R/3?
    vendor not intended for a puchasing org
    <u>Other related BADIs -></u>
    BBP_DOC_CHANGE_BADI
    BBP_DOC_CHECK_BADI
    Hope this will definitely help.
    Regards
    - Atul

  • How to create new purchasing group in EBP

    Hi All,
    I am working in Extended Classic Scenario..
    I have one doubt regarding Purcashing group creation.
    Can someone tell me, from where the purchasing group get determined in EBP.
    Do we create Purchasing group in EBP , if yes  then How? or it get determined by backend through Function module ?
    Looking forward for the answer.
    Regards,
    Sheetal

    Hi,
    Purchasing group we can create throguh PPOCA_BBP T-CODE . before creation of purchasing group you have to create purchasing orgnisation under this you can create purchasing org.
    Once you create one org under purchasing org then go to Function tab in details their select purchasing group option and mention the purchsing group.
    In resopnsilbilty tab you have to mention which orgnisation pr position is resopnsible for this purchasing group
    Thanks
    Ravi

  • 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

  • Error on shopping cart : "No purchasing group exists"

    Hi,
    While the user tries to add items to shopping cart through portal, he is getting error "No purchasing group exists" which stops the user from saving the shopping cart.
    We have checked org structure where all the necessary configuration is existing. Please suggest what could be the reason for the error.
    Thanks in advance.
    Tejas Jani

    Hello Tejas,
    System is not able to determine the PGrp. 3 things are important for determining PGrp
    a. Organization Unit
    b. Product category
    c. Logical System  
    To check whether its a data issue or system issue. Best way is to update one of the PGrp
    1. Ensure in function tab PGrp is flagged & assigned to backend PGrp
    2. Maintain Responsibility tab Product responsibility as * & Organization responsibility as highest node in Org structure.
    Now, create a new shopping cart. It should pick this PGrp. If not, check if you have implemented BBP_PGRP_FIND BADI in system. 
    Hope this helps.
    Ashutosh

  • Derivation of fund center based on purchasing group

    Hi,
    It is required to determine the fund center based on purchasing group (during PR creation). I  have gone through one thread which suggests inclusion of the field EKGRP into FMDERIVE, then to COBL.
       However I was trying to check whether it can be done through table lookup using field USERTEMP1 and assigning the same to EKGRP. But in the table lookup screen, the upper part contains the fields BANFN (Purchase Requisition Number) and BNFPO (Item Number of Purchase Requisition) which need to be assigned to source fields. I am not sure what source fields should be assigned and how it will  work.
    Request your input in this regard.
    Thanks in advance!
    Snigdho.

    Hi,
    I am trying to derive fund center based on purchasing group using field USERTEMP1. In the upper part of table lookup screen (I am using table EBAN) what should I assign to the fields BANFN and BNFPO?
    Thanks
    Snigdho

Maybe you are looking for

  • CAN ANY BODY EXPLAIN THESE QUESTIONS, VERY URGENT

    WHAT IS THE USE OF CHAPTER ID, IN CHAPTER ID RATES    WILL  BE   DETERMINES. HOW MANY TAX CODES NEED CST, LST. WHERE CAN I SEE EXCISE REGISTER WHAT IS MEANT BY RG1 CAN ANY BODY EXPLAIN BRIEFLY, WHAT IS THE USE OF RG1 HOW DO I GET OPENING BALANCE FOR

  • Replace hard drive, now will not boot

    Pavilion dv7-6b78us was running windows ultimate Had to put a new hard drive the factory one died unexpectedly. Had a 700 gig I think. now have a 350 gig. replaced HD and proceeded to run all the test to make sure it was alright. When I tried to inst

  • HT1904 parental controls and shared libraries

    We're slowly migrating towards having all our music and movies in iTunes. One item that's crutial to this migration is proper parental controls, especially with shared libraries. They seem to work well on the kids iTouch devices and hide the content

  • OAM: Lost Password Management

    I am having hard time configuring challenge and response attributes in OAM. We have OAM 10.1.4.3 Identity server running with AD 2003 as LDAP server. We added two new attributes: Challenge and response as Case insensitive and Case Sensitive String in

  • Troublesome Internet Connection

    I'm currently using the internet at my college dorm room, randomly and relatively often, the computer seems to lose contact with the DHCP server and all internet related programs cease to work. When I check my System Preferences, Network, its apparen