Purchase Order - Default Company Code depending on Purchasing Org in Me21n

Hi Gurus,
I have  requiremnet to default Company code to a value depending on Purchasing Organisation in Purchase Order Create/Change Transaction ME21n , ME22n.,(  Also -ME31K, ME32K )
Purchasing Org and Company code can be seen in Me21n -> Header -> Org . Data Tab
Please let me know the user exit or Badi  to do the same. If no what is the solution .
Regards
Avi

Hello AVI,
U can use the BADI ME_PROCESS_PO_CUST.
In that there is one method Process_header.
From there u can do all the things that u need in the header part of the Purchase Order.
I think the Below User Exit can also be used  :
MM06E004.
With Regards,
Sumodh.P

Similar Messages

  • Purchasing Organization to Company code relationship question

    My client is running EEC 6.0 in production.  When the original configuration was done, the purchasing organization was incorrectly assigned to the company code (table V_T024E_Assign; menu path: IMG > Enterprise Structure > Assignment > Materials Management > Assign Purchasing Organization to company code).  This should have been left blank since we wanted the purchasing organization to serve multiple company codes.  I know that I can blank out the company code and assign each plant ( e.g.  plants for company code 1 and plants for company code 2) to the purchasing organization.
    The question that I have is:  What impact would this change have on any of the existing purchasing related transactions currently in the system (e.g. purchase orders, invoices, receipts, issues)?  Would it cause any problems?
    Any assistance is answer this would be appreciated.  If you need more information, please let me know.
    Greg Brown
    FI/CO consultant

    (1) You can assign a purchasing organization to one company code. This is company-specific purchasing.
    (2) You can assign a purchasing organization to no company code but to plants.
    This purchasing organization can then procure for all plants assigned to it, irrespective of the company code to which the plant belongs.
    Since each plant must be assigned to a company code, the company code can be determined via the plant in each procurement transaction, even if the procuring purchasing organization is not assigned to a company code.
    A purchasing organization must be assigned to one or more plants. This is plant-specific purchasing.
    When you will delete the realtion of P.Org and Company code. It will shift to the second situation where P.Org is assigned to Plant and since Plants are assigned to company code so it will refer to the respective company code.
    Thanks,
    Birender Agnihotri

  • Purchase order default price

    Hi
    We wanted to disable the option of default purchase price coming while creating any purchase order..
    Whenever any new purchase order is created,the previous price is coming as default..How to disable the default price in the system  while creating purchase order..
    Regards

    Dear,
    it is comming from info record which got created due to the first PO
    see the infor record-purchase reference doc and item no
    read the help document for that you will understand easily

  • Contract from centralized purchase organization without company code

    Hi Experts.
    We have six company codes
    And having one centralized purchase organization and it is not assigned to any company codes
    While creating contracts all company code uses this centralized purchase organization.
    My question is :-
    I want to create contract with above centralized purchase organization without company codes in it so while converting above contract to po we can use any one company code in the po.
    How to create contract with centralized purchase organization without company code? (Later this contract can be used to convert po from any the company codes )
    Please helpu2026
    Thanks in Advance
    Prashanth.Venkategowda

    Hi,
    What you need to do is:
    In SPRO->Org.Structure->Definition->Materials Management->Maintain
    Purch. Org. you need to "declare" all your Purch. Orgs.
    In "SPRO->Org.Structure->Assignment->Materials Management->Assing
    Purch. Org. to company code" you must NOT assign your corporal Purch.
    Org to any company.
    In the Plant assignment screen assign your corporal Purch. Org to all
    the relevant Plants.
    In this kind of hierarchy you make all the purchasing activities
    (contracts, PO's etc.) for this purch org.
    Thats all.
    In the case that you have 2 level hierarchy: one corporal and many
    company\plant assigned purch. orgs you need to do additional step.
    After assigning a "small" purch. orgs to the plants and companies you
    can assign them to "reference" Purch Org. (that not assigned itself to
    any plant/company) in the ""SPRO->Org.Structure->Assignment->Materials
    Management->Assing Purch. Org. to reference Purch. Org."
    That kind of hierarchy allows you to make a contracts at the "reference"
    org. level and use them in PO's by the lowest purch. orgs.
    Hope that it will help.
    Regards,
    Udaya.

  • Contract from purchase organization without company code

    Hi Experts.
    We have six company codes
    And having one centralized purchase organization and it is not assigned to any company codes
    While creating contracts all company code uses this centralized purchase organization.
    My question is :-
    I want to create contract with above centralized purchase organization without company codes in it so while converting above contract to po we can use any one company code in the po.
    How to create contract with centralized purchase organization without company code? (Later this contract can be used to convert po from any the company codes )
    But now while creating contract it is asking company code .
    Please helpu2026
    Thanks in Advance
    Prashanth.Venkategowda

    Hi,
    You can solve this query by using reference pur org.
    Assign  reference pur org to company codes and plants.Assign pur org to reference pur org.
    for configuration settings please refer the below links.
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/purchasing-org-assigment-to-multiple-company-codes-plants-1041710
    Making centralized contract
    Hope it helps you.
    Thanks.

  • Assignment of Purchase Organization with Company Code and Plant

    Please give me solution to Assign Purchase Organization with Company Code and Plant. While creating a material in organization level plant and purchase organization should be assigned.
    Please help me out.
    Thanks

    Hi,
    I am not sure if i have really understood your query.
    Material creation means creating master data, as far as creation and assignment of organization elements with other organizational elements are concern for eg : purchase org in you case is part of standard configuration.
    You create Purchase org using t-code OX08 here you copy from and existing one and then chane the description of Pur org as per your requirement.
    You assign Purchase Org using t-code OX01 to company code assignment, t- codeOX17 for plant assignment to Purchase Org.
    Normally you do all your changes in Devlopment server save the changes in an transport request then move it to quality and production enviornment.
    Hope this helps.
    BR

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Exchange rate type company code dependent

    Hi Experts,
    as I know in SAP it's not possible to maintain exchange rate types per company code. In function module FI_CURRENCY_CHECK the exchange rate type "M" will be always set for all postings.
    Now I need a possibility to maintain exchange rates company code dependent. Do you think it's a good idea to change the above mentioned function module so it's possible to set an own exchange rate per company code? Do anyone have experiences or other solutions?
    I also know that it's possible to set per document type an own exchange rate type and also it's possible to set in V_TCURF an alternative exchange rate type for "M". But both are not an option for me.
    Best regards
    Christian

    Hi,
    You cannot have diff exch rate types for different company codes, since exch rate maintainance will be at client level only.
    Practically yours is a peccular requirement.
    We can't figure out how system will behave in case if you modify th eFM as you said.
    REgards,
    Srinu

  • Default Settings for Items - default company code

    Upon entry into Power Shop, how can I look up what the default Company Code is for the user?  Is there a BADI/FM combination that can be used?

    bbp_compcode_fav -table
    this fav table stored recently used company codes. as ganesh said below default flag if you specified in buk attribute .
    input -username
    you will get desired defaulted company code
    br
    muthu

  • No purchase order history was found for first purchase order

    Hi 
    We are doing the third party sales in system. User created the sales order and the process for the third party. Then he created the PO and due to some reason user has deleted the 1st PO and then created the PO for same material and sales order. Now user wants to create the billing document for the sales order no but system giving the message that u201CNo purchase order history was found for first purchase orderu201D and Message no. ZSD 006.
    Could you please suggest how to solve above issue?
    Thank you for your help.
    Regards
    Kishore Gulhane
    09324086205

    Hi Ashok
    Thank you for your reply ,
    But user has delete the first PO not the sales order. he is trying to create the billing document for same sales order no.
    Please suggest
    Thank you
    Kishore Gulhane

  • Purchase Order Tax Jurisdiction Code Default

    Hello,
    I have a business requirement to have my tax code default based off of Delivery Address Region field.
    I can achive this by creating a custom condition table with region, creating a custom access sequence, inserting the custom table, and attaching it to condition type NAVS.
    My problem is that my tax code requires a tax jurisdiciton code. So I can default the tax code but that is useless without being able to default the tax jurisdiction code.
    How can I default the tax jurisdiction code in the delivery address, _*WITHOUT DEFAULTING IT IN THE PLANT OR STORAGE LOCATION MASTER DATA. IT NEEDS TO DEFAULT BASED OF OF REGION.*
    Is there a condition type for Tax Jurisdiction code or something along those lines.....

    Hello,
    There is a BADI available with name ME_TAX_FROM_ADDRESS [SE18] (Tax jurisdiction code taken from address). As per documentation, this is the correct one for you.
    The Business Add-In (BAdI) ME_TAX_FROM_ADDRESS provides you with additional functionality to determine the tax jurisdiction code in purchase orders. At item level, the tax jurisdiction code maintained in the delivery address can be used for tax calculation purposes.
    Thanks,
    Venu

  • How to change purchase order logo & company name in runtime

    Hi Experts,
              In Sap B1 9.0 i am adding a purchase order.after that i want to take a preview of that puchase order to take print out.but in my situation am having 2 logos and company names.while adding first purchase order i need a logo1 and company 1 routinly its keep on going after that am adding a purchase order 7 in that i want to change logo2 and company2 how to acheive this in crystal report.
    Regards
    Vinoth

    Hi,
    Not possible to select layout (run time). You have assign default layout for each vendor to get correct logo and company name.
    Why you want different logo and company names? Is it same DB or different DB?
    Thanks & Regards,
    Nagarajan

  • Purchase Order - Default Ship-To Address

    Hello,
    We are trying to change our default ship-to address for our PO's in SAP but we are having issues.  Even though we have changed the default ship-to address in the Business Partner Card, the Ship-To address field still appears as "DC, USA" which is not even the full address listed in the Admin>Company Details field. Is there another "warehouse" default ship-to field somewhere that we are missing? Please advise on how to change our default ship-to address for all PO's moving forward. Thank you.
    Best,
    Matthew Siegfried
    Sherbrooke Cellars

    Dear,
    Check the below threads:
    Help Required in Ship To Address in Purchase Order
    Vendor ship to address
    Purchase Orders Ship to Addresses
    hope this will help you.
    Neetu

  • Purchasing Organization and Company Code

    Currently we have one Purchasing organization(0001) (linked to) for multiple Company Codes(LE) for all of Americas
    Now for a new implementation in Europe we are thinking of having one more Purchasing Organization for another multiple(10-12)company Codes.
    Now the Questions is:
    1) Should we just go with One Purchasing Org across all the Company codes in terms of SAP Pros and Cons
    2) Or we should have 2 Purchasing Org one each for Europe and US.
    What are the Pros and Cons within SAP for having 1 Purchasing Org for two different countries(can we have issues like Currency,Doc type,etc)

    Hi,
    Vendor Master data at P Org level is maintained with Vendor CUrrency, Terms of payment, INCOterms,  Schema group (for pricing), etc.  which are for sure, critical for procurement process.  When the currency is getting changed from USD to EUR, you may not want to club these into one which could lead to issues in payment processing. 
    Downside of this is data maintenance.  extension of vendors, inforecords etc to new P Org
    This doesn't mean SAP can not handle multiple currencies even though vendor currency is USD, in PO, you can order in EUR....I have seen, buyers breaking their heads in handling this currency issues (most of the times spending a lot of time on manually working out these issues in the PO)
    Advantage of having single POrg:
    Data maintenance.  No extension of vendor to new porgs is required....Of course, Company code extension has to be done anyway
    Regards

  • Purchasing for different company codes

    Hi Experts,
    Running SRM 5.0 and experiencing problems when trying to implement the following scenario:
    User A located under one company X/pur.org XX/pur.grp XXX should be able to place a PO through Process PO (Only through PO direct, no SC used) transaction for another company Y.
    In attribute BUK of User A both company codes are maintained.
    When placing the PO for User A the purchasing org YY and pur.grp YYY of company Y is selected (as well as the location for Y). PO is placed for the "other" org.
    The next transaction User A does is to place a PO for his "own" company. The pur.org XX and pur.grp X is defaulted from the org.structure. When trying to select the location through the find search the location of the previous transaction is the only one displayed (location for Y), as if the system thinks the user is in the "other" company code. It is possible to manually enter the BP number of the right location. However all validations against the PO still is made against the wrong company code..and the PO can not be placed
    Is this scenario not possible through the Process PO transaction? Are there any settings that can be made to get around this?
    Would appreciate any input.

    Hi
    Which SRM version are you using ?
    <u>Please see related Pointers -></u>
    Re: Company Code defaults
    Re: One purchase org to multible company codes
    Re: Cross Company Charge
    Re: how can I assign one user two company code in PPOMA_BBP??
    Re: Procurement for Multiple Company Codes
    Re: can I repeat the attribute BUK in Org. Structure ?
    Re: PPOMA Attribute "COMPANY"
    Re: Entry Channel setup for multiple company codes
    Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • Standard or customise imac

    i am thinking of getting the imac 27" and wondered would it be better to customise it or keep the standard spec. standard at the moment is: 3.4GHz Quad-core Intel Core i5, Turbo Boost up to 3.8GHz 8GB 1600MHz DDR3 SDRAM - 2X4GB 1TB Serial ATA Drive @

  • Access SAP Tables from Java Program

    Hi All, We have a requirement to integrate attendance portal(which is done in java) with SAP. Our problem is how to access SAP tables from a Java program? Database is Sybase. Please suggest us a good solution. Thanks in advance...

  • Permission to copy dvds to my SSD for faster installation

    I would like permission to copy dvds to my SSD for faster installation. I would also like to know if the standard multi-volume installer methods work with Master Collection CS5 installation where discs are organized into DISK1\ DISK2\ DISK3\ what dis

  • Install LR 5 CC

    I keep getting a fatal error when I try to install/download LR from CC. I currently have LR 3 on my mac. PS and BR installed without a problem.

  • Special pricing for nonprofits

    We are a nonprofit and we were wondering if we could use Lightroom 5 at a discounted price. We have the tax exempt documentation that proves we are a 501(c)(3). I didn't find information on the website where to send our documentation. Thanks!