FM to get Purchasing Organisation-EKORG

Hi,
Is there any FM to get Purchasing Organisation '_EKORG_' based on the Cost Center input(_KOSTL_)..?
Thanks in adv,
Shiv

You can check this,
table T024E gives the link for Company code and purchasing org.
pass the company code to CSKS.

Similar Messages

  • Two purchasing organisations for one user

    Hi Experts,
    We are running SRM 4.0, extended classic scenario with a large international setup.
    I have an issue with purchaser that need to be able to shop for two different pur. orgs. in two different company codes (A & B).
    I have added both A & B in the Company Code attribute for the user.
    And I have made both the local purchasing groups for A & B responsible for the purchaser.
    When I create a SC I can select whether to use Company code A & B and I can select the matching Purchasing Group. When I finish the shopping cart the order is created in SRM with correct the Local Purchasing Organisation which the Pur. Group I chose belongs to.
    But when it is tranfered to R/3 it is allways assigning pur. org. A. (also if the order in SRM has local pur. org. B). This results in a error, if the purchase wants to make a purchase for Company B.
    Is it not possible in SRM to able to chose more than one backend pur. org.?

    Hej igen, Anders.
    I don't suppose you have found a solution here?
    What I was thinking is, that you should try using the GUID of the purchase order from SRM and use it in the function module BBP_PD_PO_TRANSFER_EXEC_V2 to test which data are getting sent from SRM to R/3. You know you can find the GUID of the PO from transaction BBP_PD with BUS2201, and this GUID is the only thing needed to test the function module. This FM is sending your shopping cart/PO data from SRM to R/3, so if you can debug this to see that here the p org is correct, you would know that the error occurs in R/3.
    On the other hand you could also see in BBP_PD for the purchase order in SRM if the p org is already wrong here?
    Cross buying is possible, so hopefully you get to find your error. Otherwise post a reply here, we'll figure something else out.
    BR
    Dennis

  • How can we default a Purchase Organisation in the PR generated through MRP

    Hi,
    How can we default a Purchase Organisation in the PR generated through MRP
    (This is a Auto generated PR when the MRP Run is taken)
    We take a MRP Run for CBP. After the MRP Run system Auto generates a PR. But this PR does not have the P.organisation mentioned in it. It has to be done manually.
    How can we Default the P.Organiastion in the PR.
    NS

    The Purchasing Organization is only filled in the Purchase Requisition
    when a source is assigned because it represents a source of supply.
    Please also refer to attached note 206684 for more information.
    When executing a MRP-run, it is checked first if there exists a quota
    arrangement, the source list is read after it and the purchasing
    organization is taken from the source list. But before filling
    the relevant field in the purchase requisition (EBAN-EKORG), the
    system checks if there exists a record in the source list which is
    RELEVANT TO MRP, which means that the parameter 'MRP' has to be set to
    '1'.
    So please ensure that MRP = 1 in ME01 for the existing records and start
    the next planning run with planning mode = 3 and check the results.

  • How to get purchase organization,  PAYMENT_TERMS and INCO_TERMS for vendor?

    Dear friends,
    How to get purchase organization,  PAYMENT_TERMS and INCO_TERMS for a vendor(LIFNR)? I couldn't fine these data in LFA1 table.
    Thanks a lot!

    Hi,
    You can find ZTERM(Terms of Payment) in LFB1 table for a particular vendor (LIFNR) and company code.
    and Incoterms INCO1 in LFM1 table for a particular vendor (LIFNR) and purchase organisation.
    Hope this answers your query.
    Regards,
    Brajvir

  • Purchase organisation Field in Vendor master data

    Hi All
    During the creation of  Vendor master ,Needs to make the Field Purchase organisation as a mandatory. I have checked the in the following configs.
    Define Account Groups with Screen Layout (Vendors
    Define Screen Layout per Company Code (Vendors)
    Define Account Group and Field Selection (Vendor)
    The option is not available. for the above requirement.
    thanks & Regards
    DP

    In many companies the address data is maintained by different people than accounting data and purchasing org data.
    I would not like that accountants to create my purchasing org data, and I am certain that my accountants dont want the buyer to create his accounting data.
    if you could make this combination mandatory, then the user would have to maintain all screens at the same time, which may result in delays. as he can only start once he has all data available. SAP standard allows to create a vendor with general data and purchasing org data and purchasing can start buying. the company code data is only needed in the moment the goods arrive.
    So you gain time to collect the data while you already started business.
    Further, not all vendor master need to have  purchasing org data. and not all vendors with purchasing org views need a company code view.
    e.g. a restraunt may send you bills for lunch, but you do not place purchase orders with this restaurant. No purchasing org view needed here.
    a goods supplier, that is needed for Intrastat purposes only, does not need a company code view, as you will never get invoices from the goods supplier.

  • Vendor extended to different purchase organisations

    dear all mm gurus,
    pl update thru which t-code, one can see vendor extended to different purchase organisations.
    pl help
    regards
    srihari

    Hi Shri Hari,
    You can try this in tcode MKVZ.
    Mention the vendor number you want to check in the first tab.
    Leave the purchasing organisation field and other tabs blank and execute.Then you will get the details for which purchasing organisations your vendor has been created.
    Thanks,
    Sampath

  • Cant see Purchasing organisation for 0vendor

    Hi,
    I have a requirement to calculate total suppliers or vendors  & common supppliers based  purchase organisation
    so when i fgo to 0 vendor I cant fin d the purchase organisation field over there
    as this report need to be done using master data how can be this done

    Hi,
    I can see purchasing organisation as an attribute of 0plant in 0vendor
    our client vendor information is based on purchasing organisation but not on plant,here plant and purchasing organsiation are same so it is not mandatory that in vendor master table LFA1 they wont be entering plant data
    where as they will enter vendor wise data based on purchasing org in table LFM1
    but our datsrc 0vendor_attr get data only from LFA1
    in order to get data from LFMI vednor data based on purchase organisation should i create my own master datasrc

  • Partner number of Purchasing organisation and group

    Hi
    I have to find the partner number of the Purchasing organisation and group to which a user is assigned. I have the partner number of the user.
    I know that we can view this in PPOSA_BBP, I want to write a code to fetch this.
    I have found the purchasing group of the user using BBP_OM_STRUC_GET_ORG_FROM_USER( here I have to pass the user name which I found from the partner number of the user using BUP_PARTNER_TO_USER_CONVERT.)
    Eventually, once I have the partner number of Purchasing org and grp I have to fetch the address details using BUPA_ADDRESS_GET_DETAIL(this requires the partner number.)
    Someone suggested me to use BAPI_ADDRESSORG_GETDETAIL but I dont know how to pass data in this bapi.
    Please help me.

    hi ,
    consult your  functional person some where they will assign link between purchasing organization -purchasing group--product category.
    T024E - organization
    T024   - groups
    for exact solution get the link from where the configuration do.
    rgds
    Chalam

  • User assignment to purchasing organisation and purchasing groups

    Dear Experts,
    My issue is related to user assignment to purchasing organisation and purchasing groups.
    According to the project requirement, we are using central purchasing organisation and we should create the purchasing organisations and purchasing groups locally. it is not reflected from the back end systems through RFC.
    Also we have one more team working with indirect materials and they also use SRM. They have already created the organisation model. Two projects are inter-related and belongs to same department in the company, but main different is one uses direct and the other in-direct materials.
    Now we should create our purchasing organisation and purchasing groups and assign the users to it.
    If we create it separately means not uder the main root and assign the users, we are able to create shopping cart till the contract. But when i create the new purchasing organisation and purchasing groups under the main root which is created for other project which deals with in-direct materails, i am not able to create shopping cart with the user. I am getting the error
    ' Process scheme could not be found
    Please let me know how to deal with this scenario. here i need to add the purchasing organisation and purchasing groups under main root because of the reason that in the other project, purchasing organisation and purchasing groups defined needs to be accessed by our users as well. I mean the users should be able to access all the purchasing organisation and purchasing groups created under root node which gets the purchasing organisation and purchasing groups from the back end systems and the purchasing organisation and purchasing groups we created manually since we cant get it from back end system since it is central purchasing organisation.
    Please asvise
    Best regards,
    Srinath
    Edited by: srinath_Vijaya on May 27, 2010 4:21 PM

    Hello Masa,
    Thanks very much for your time and solution.
    Actually the problem was something else and was fixed.
    The reason for getting error 'Process schema was not yet defined' is because of missing definition of process schedma for the workflow since the process based workflow setting has been activated.
    So this has been resolved by copying the sap standard customizing BC set for SRM workflow using transaction SAPR20 and then process schema for workflow got configured or copied automatically from SAP BC set and the error was removed.
    Also the reason for error with user was that no purchaser assignment was done to the purchasing organisation and now it has been done and the users can access the SRM and create shopping cart and the contract.
    Regards,
    Srinath

  • Purchase Organisation not copying to PR

    I am creating a PR thru MRP run (MD02) and PR is getting generated. My next step is to execute Auto PO creation using ME59N, but it was faling and I found that my earleir PR doesnot have Pur Org data in its line item.
    Eventhough I am having Purchase Org to Plant assignment in SPRO. Two purchase organisations are assigned to the plant.
    Can someone tell, why the purchase org is not copied to PR which is created during MRP run.
    Thanks
    Vineeth Varghese

    Dear Vineeth Varghese,
    The system behaviour is correct. For the Purchasing Requisition,
    Purchase Organization will be taken from Source List if you make
    Source determination.
    For MRP, Purchase Organization will only be taken from
    Source List.
    Hope this information will able to help you.
    ian, Wong Loke Foong

  • One Purchase group assignment to Mutiple Purchase Organisation in SRM 5.5

    Hi
    We have business requirement that one purchase group caters two purchase organisation in SRM 5.0
    Is it possible ? How?
    Regards,
    NNK

    Hi Nitin,
    You can not assign same purchasing group for two different purchasing  orgnisations in SRM. if you try to do then you will get below message.
    "Purchasing group 101 in system QASCLNT500 already assigned to New organizational unit
    Thanks
    Ravi

  • Multi Company Code Purchasing Organisation Config

    Hi All,
    We're creating one corporate purchasing organisation, which will serve multiple company codes.
    Reading the documentation for the activity 'Assign Purchasing Organisation to Company Code' it says that for such a scenario, you can assign a purchasing organisation to no company code. However, when we do this, we get the error 'Company Code does not exist' displayed in the 'status' column.
    Furthermore, in the IMG activity 'Assign purchasng organisation to Plant', we get the error 'Company Code of plant / purchasing organisation are not identical' in the 'status' column.
    When using ME21N to create POs, no plants are identified in the input help, and I suspect that it has something to do with the two IMG entries above - I would be grateful for any assistance / guidance.
    Thanks in advance for the help,
    Mark

    Hi Mark,
    Link all your plants with your corporate purchase organisation using the following link in SPRO.
    SPRO >Enterprise Structure >Assignment>Materials Management>Assign Pur. organization to Plant
    Hope this will help you.
    Regards,

  • Find the Purchasing Group and Purchasing Organisation

    hi
    I have a specific requirement in which I need to select data from BSIK and based on document number BELNR I need to get the Purchasing Organisation and Purchasing Group
    Please let me know how to do it. Points for all helpful answers

    hi,
    EKKO     Purchasing Document Header
    EKPO      Purchasing Document Item
    EINA            Purchasing Info Record: General Data
    EINE        Purchasing Info Record: Purchasing                         Organization Data
    EKKN     Account Assignment in Purchasing                   Document
    T023            Material Groups
    T024            Purchasing Groups
    Pls check out these tables.
    U will get result.
    <b>pls reward if helpful.</b>

  • Multiple Purchasing organisations

    Dear SRM Gurus,
    We are on SRM 5.0
    Our backend R3 structure is as below:
    Plant 1----Company Code 1 -
    Purchasing org 1
    Plant2 -
    Company Code 2 --- Purchasing org 2
    We have created both Purchasing organisations in SRM and assigned the same buyer with different purchasing groups to each of the Purchasing orgs.
    Based on the location of the shopper, we want the purchasing organisation to default during the PO creation.
    Firstly how do we assign the same buyer user to both purch orgs?
    Secondly how on PO creation do we get the PO to default to the correct PO org and company code?

    Hi Deelan,
    for your first question: go and use trx POMA_BBP using "Purchaser Assignment"
    view for the PGroup.Have a look into SAP Note 836262 for details.
    After following the steps mentioned in the note, you will not find the purchaser´
    assigned to the PGroup in PPOMA_BBP itself (where the default view would be
    "Staff Assignment" view). The user would be still assigned to the other business
    org unit. But in BUB3, when you display the available "Relationship" for the
    purchaser's BP number, you would find a new "Is Employee of" relation to the
    PGroup (in addition to the business org unit which the user already had). Then
    the purchaser should be able to perform purchaser activities according to the role
    assignment.
    For the second, use BADI Assign Purchasing Groups to derive the right combi in
    your case.
    Cheers,
    Claudia

  • Error :Purchasing info record not found in purchasing organisation

    Hi,
    after invoice verification with T.Code MIRO,
    Goods issue for consumption: with T.Code MB1A
    it display error message: purchaseing info record not found in purchasing organisation, pls tell me steps to correct it.
    thanks in advance
    ramesh.

    Dear Azis,
             Double Click on the serial no of the Component you will get the  inforecord fieldin the Purchasing tab. But this is only for Stock Materials.
    Please recheck again your components.
    Regards,
    Shareeq
    Edited by: K M AHAMED SHAREEQ HUSSAIN on Oct 13, 2009 2:42 PM

Maybe you are looking for