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

Similar Messages

  • Displaying custom node group sequences (and their creation)

    Hi,
    firstly my usual disclaimer :) I am a newbie at JavaFX and only jump back in when I have a little time here and there.
    What I'm trying to achieve, is to create an Object call MyItem which is essentially a Group with a rectangle, image and text. I want to be able to create multiple of these MyItem's and add them to a sequence (list, array).
    Then do a foreach item MyItems --> insert into myGroup.content[];
    But it keeps saying that either a Node or a Sequence is not what it's looking for...
    See below which should be able to describe the problem better than my confusing explanation above:
    Main.fx
    package exampleitems;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.paint.LinearGradient;
    import javafx.scene.paint.Stop;
    import javafx.scene.paint.Color;
    import javafx.scene.Node;
    public var stg = Stage {
                title: "TestApp"
                scene: Scene {
                   fill: LinearGradient {
                      startX: 0.0
                      startY: 0.0
                      endX: 0.0
                      endY: 1.0
                      stops: [
                         Stop {
                            color: Color.web("#0c8ec4") //Color.BLACK
                            offset: 0.0
                         Stop {
                            color: Color.web("#0a1945") //Color.GRAY
                            offset: 1.0
                   width: 800
                   height: 600
                   content: []
                resizable: false
    var man=Manager{};
    public function insertThem(){
       var myItemsHere = man.getItems();
       for(node in myItemsHere){
          insert node as Node into Main.stg.scene.content;
    function run(){
       stg;
       insertThem();
    }Manager.fx
    package exampleitems;
    public class Manager {
       var itemsListHolderAA=AAItems{};
       package function getItems(){
          return itemsListHolderAA.getItems();
    }AAItems.fx
    package exampleitems;
    public class AAItems {
       var icon="{__DIR__}images/AA.png";
       package function getItems() {
          var i = 1;
          var myItems=[];
          //while(i < 10){
             insert Items{xPos: 20*i, yPos: 20*i, iconItem: icon} into myItems;
             //i++;
          return myItems;
    }Items.fx
    package exampleitems;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.paint.Color;
    import javafx.scene.CustomNode;
    import javafx.scene.Node;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.Image;
    import javafx.scene.text.Text;
    import javafx.scene.text.Font;
    public class Items extends CustomNode{
       public var xPos: Integer;
       public var yPos: Integer;
       public var iconItem: String;
       override protected function create () : Node {
          Rectangle {
             width: (750), height: (470/20)
             fill: Color.TRANSPARENT
             stroke: Color.web("#0c8ec4") //Color.TEAL
             strokeWidth: 1.0
             arcWidth: 20
             arcHeight: 20
             smooth: true
          ImageView {
             translateX: 2, translateY: 1
             image: Image {
                url: iconItem
             fitWidth: (470/20)
             fitHeight: (470/20)
          Text {
             translateX: ((470/20)+5)
             translateY: ((470/20)*0.666)
             font : Font {
                size: 10
             content: "Hello!"
    }As you can see, my main problem seems to be that the last Node in Items.fx gets displayed, and not all three (try commenting out Text node and image appears etc...)
    So, either I get the Items.fx to return as a Group (?), but then I get the error that it expects a sequence etc.
    So how can I get the myItems[] in AAItems.fx to fill up with a "group" of nodes and then be able to iterate through them on the Main.fx ?
    I hope that's clear? :/
    What I want is a list of Items(.fx) created in AAItems(.fx) and be able to then display (iterate through) them in Main(.fx).
    I'm sure it's a concept flaw on my part on how to implement it. Any help appreciated.

    Oops. I guess not "exactly" what I wanted:
    The Stack container arranges its managed content nodes in a back-to-front Stack. The z-order of the content is defined by the order of the content sequence with content[0] being the bottom and content[sizeof content-1] being the top...
    D'Oh! Just replacing Stack with Group does the job... man... I need a holiday!!! :D

  • Purchasing Groups values not populated in PR default settings - ME51N ??

    Hi,
    We have SAP R/3 MM ECC 6.0.
    I want to set Purchasing Group as one of the default parameters in ME51N (Purchasing Requisition) screen.
    The problem is I have selected 'Purchasing Group' as a default parameter in 'Default Values'/ 'Personal Settings' but,
    the Drop-down help does not show up any values for Purchasing Group to be selected as default.
    However, I can set-up 'Account assignment' & 'Item Category' as defaults and, I can choose their default values.
    Therefore, in result, I do not have any Purchasing Group set as default for my PRs.
    Is there a configuration setting required to populate the drop-down box of Default Settings (for purchasing group)
    with Purchasing Group values? Please advise.
    Could this be a bug?
    Thanks,
    Ruchika

    Hi Karthik,
    I have already done these steps.
    The problem is - Purch. Group field is there in Default settings but, it doesn't show me any values to select from and
    set a Default value.
    None of the purchasing groups available in system are appearing here.  The selection list is Blank.
    Is there anything I need to do to bring the P.Group values in the drop-down selection list of Personal settings?
    Thanks,
    Ruchika

  • Defaulting value of Purchasing Group based on Company Code

    Hi All,
    Currently we have two company codes C1 and C2 each have one - one purchasing org(PO1 and PO2) and purchasing group(PG1 and PG2). So Now hierarchy is as below: -
    C1
      PO1
        PG1
    C2
      PO2
        PG2
    Now user of company code C1 can shop for C2 and vice versa but whenever he shops for C1 his Porg and Pgroup should be PO1 and PG1 only and same in the case for C2. Currently on shopping cart screen both company code C1 and C2 are appearing and like wise values of PO1 : PG1 and PO2 : PG2 is appearing in drop down list.
    Now client is asking that whenever he selects C1 as company code PO1 : PG1 should appear as default entry and for C2, PO2 : PG2.
    Can anyone tell me how this can be achieved and which BADI we are suppose to use to implement this solution?
    Thanks
    Siddarth

    Siddarth,
    You shouldn't require a badi, look into the users attributes and extended attributes to see if that is where the extra information is stored.

  • Change Default purchasing group in requisition

    Hi,
    I have a purhcasing group X populated  from info record while creating the requisitions using ME51N.
    When i try to overwrite the default purchasing group with new purchasing group, systme does not allow.
    System doesnot allow to change the default purcasing group.
    How can i get rid of this ??

    I do not get any error . If in place of original purchasing group (which is defaulted from Info record) , i write new purchasing group then while saving system again changes it back to the original purchasing group.
    I should be able to change the pur. group as i want. But system doens't allow that.
    What can be the reason ??

  • Purchase group security in the create PO role

    Hi, What are other larger companies with multiple purchase groups across multiple plants, doing with purchase group in their create purchase order role?  Are you following the same practice for all the purchase order roles that include purchase group?
    Does anyone control the purchaser's access by purchase org, plant and purchase group or let them have all(*) for purchase group and follow business unit best practices.. We would potentially have 30 plus PO child roles per PO parent role for each plant if created by single purchase group access.
    tanks,
    Dawn Domina

    Hi,
    Follow the steps
    1. Go to "Personal Setting" Tab in PO
    2. Select "Default Values" menu
    3. In the PO Header section Select the Default Purchasing Group e.g. 000 initial
    Remember if the Purchasing group field is blank here then the Purchasing Group field will not appear in me21n transaction instead it will appear after you put relevant details like Material number and Plant. The purchasing group field is defaulted from Purchase Info record in such case. But you can always change it
    Regards,
    Niranjan

  • PURCHASING GROUP FIELD IN THE CREATE PURCHASE ORDER SCREEN

    Hi Guys,
                    I am facing a special kind of problem while creating a Purchase Order.
    Once I type the T-Code ME21N and press the Enter Key, the Screen for creating the Purchase Order opens. But, the thing is that, the Purchasing Group Field is not displayed under the Org. Data Tab at the Header Level of the Purchase Order Screen ME21N. Only, Purchasing Organization and Company Code are displayed.
    But, when you try with ME22N and ME23N, this problem is not there.
    I think, this problem has started from yesterday afternoon.
    I checked some of the Settings. But, I could not make out the actual problem.
    This problem I am facing in IDES Server.
    But, it is fine with the Clients' Servers.
    Please guide me in resolving this issue.
    Waiting for the fast and positive response.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

    Hi,
    Follow the steps
    1. Go to "Personal Setting" Tab in PO
    2. Select "Default Values" menu
    3. In the PO Header section Select the Default Purchasing Group e.g. 000 initial
    Remember if the Purchasing group field is blank here then the Purchasing Group field will not appear in me21n transaction instead it will appear after you put relevant details like Material number and Plant. The purchasing group field is defaulted from Purchase Info record in such case. But you can always change it
    Regards,
    Niranjan

  • 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

  • Purchase Group-ID & Purchase group Name

    Hi All
    My requirment is i need to populate purchase group ID and purchase group name in the alv.Please give me any FM for these values.
    First of all my doubt is group ID means?Is it char 3 type.?
    Thanks
    Vamsi

    Hi Mohan,
    Yes the 3 characters are the Purchasing group code, you can find the code and name in table HRP1000.
    To fetch those you can use the FM :
    BBP_PDH_PUT_PGRP_TO_WEB
    BBP_OM_STRUC_GET_PUSR_FROM_PGP
    BBP_OM_FIND_PURCH_GRPS
    Best Regards,
    Anil

  • Purchasing group

    hi gurus,
    can u tell me please
    While creating PO we are entering purchasing group,this purchasing group controls any thing,can we take a report a purchasing group wise,can we see the purchasing group wise purchase
    also we are maintaining purchasing group at purchasing  view of material master record ,whether we can see purchasing group wise material list
    regards
    jalu

    dear,
    kindly go in transaction "se16" ..and put table name "ekpo" this will give you details how many PO have been created with purchase group...or you can put your own data in purchase group data and can see how mamy purchases hace been made...
    for the material master you can only come to no which purchase grup has been assigned to the material ..this is important because tracking of materials at inventory level is done...
    go to se16 put marc...you will come to know how many materials have been maintained...
    you can also create a z report ...we have a report ..."zmb5l' in which we check the inventory according to purchase group...this is taken all from material master...
    if you want can give you logic also....
    regards,
    rewa

  • Escape Release strategy based on purchasing group

    Dear Experts,
    In our system,  PO release strategy is set up,
    But, some of the POs are not subjected to release strategy because they belong to a perticular Purhasing Group (P01).
    Where this set up is done?
    Regards,
    Shashidhar

    Hi Shashidhar,
    In your system it seems there is a characteristic created for Purchasing Group, if you want it activated for a particular Purch Group, then please do the following
    Determine the strategy that you want to be called ( You can see any existing PO to find it out), once done, you need to identify the characteristics and class
    SPRO-MM-Purchasing-Purchase order-release strategy, define release strategy, select your strategy and go to details and click on classification, in case you get an error and not able to, click on release pre requisites, come back and then try again, in classification you will get to see the various characteristics maintained and also the class name at the top.
    Once you have done that, please go back to the node Edit Class, please put the class that you obtained earlier and get the characteristics for Purchasing Group.
    Then go to the node Edit Characteristic, put your characteristic name say PO_RELEASE_EKGRP, Click on the tab values, and add your Purchasing group here and save it.
    Then go to transaction CL24N, provide the class, and select the release strategy you are interested in, and select change, and detail, there for the characteristic for Purchasing group, you can add the previously added Group, and you are good to go.
    Please let me know if this helps.
    Regards
    Shailesh

  • PO Group for different Purchasing Groups of SC Items

    Hi ,
    I want to create a single PO if 2 different PO Groups are available for items in SC.
    I could see that standard code is splitting PO for different vendors different Purchasing Groups contracts and soo on.
    is it possible to create a single PO for my case mentioned above.
    I am using BADI  BBP_BS_GROUP_BE for this but don't understand how to go about it.
    Please help with your useful suggestions.
    Thanks.

    Hi
    PO can be splitted based on Header Data
    Company Code
    Purchasing Organization,
    Purchase Group
    Vendor
    It also depends upon the backend customizing for assignmnet of plant to Purchasing Organization
    Thanks
    Trinath

  • No Purchasing Group is assigned to Org plan attributes

    Hi,
        When the user is creating a SC he is getting the following error "No Purchasing Group is assigned to Org plan attributes".I have checked the users Org structure in PPOMA_BBP,But everything looks fine.
    Any inputs  will be appreaciated!!
    Thanks
    Rakesh.

    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

  • 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

  • Create new purchasing group

    Hi expert,
    please guide me how to create new purchase group for company code 0122, purchase org 0233.What else need to be set up in config in terms of functionality? guide me step by step with detail path and tcode.
    Thanks

    Hi,
    Folow this path
    SPRO-> Materials Management> Purchasing-> Create Purchasing Groups-->execute>New entries>enter 3 digit Purchasing group, Description and other detail if required  and save.
    This purchasing group we have to assign to Material master in Purchasing view .
    Main purpose of Purchasing group is as below
    Purchasing Group
         Key for a buyer or a group of buyers, who is/are responsible for certain
         purchasing activities.
    Use
         o   Internally, the purchasing group is responsible for the procurement
             of a material or a class of materials.
         o   Externally, it is the medium through which contacts with the vendor
             are maintained.
    Hope this will help you.
    Thanks
    Krishna

Maybe you are looking for

  • Generate a series of waveforms and record the data in a file

    System: Win7 Labview 8.5 or 10 (can choose) PXI-1033 rack with: PXI-5421 AWG PXI-4071 DMM PXI-6542 Digital IO PXI-4110 DCPower PXI-5124 Digitizer I am working on a summer project to create a functional test system for four different types of PCBs. I

  • Can't start Firefox

    I can't start Firefox. I try double click, right click->open or press enter but nothing work. Then I look at processes in task manager, don't have firefox.exe there. And there isn't any error message. I already try restart computer or reinstall firef

  • Component initialization when used by parent component

    Hi everybody I have 'parent' and 'child' components. View V1 belongs to child and, upon receiving an inplug, performs a specific view controller method InitView performing activities such as executing controller methods to populate its context depend

  • Vista users can't see my flash

    I've got quite a number of clent websites out there with flash headers. Some clients are now telling me that they can't see the flash headers at the top of their websites. If the flash if farther down on the page they can see it. We're using exactly

  • Adding spaces between words

    I currently have a navigation menu with 5 words, each of which are also a link. I want each of the words to be spaces about 30 pixels from one another. I don't want to use a table to separate them. I can copy " " seven times between each word in the