Restrict Company code when i press F4

Hi,
  Iam having 2 company codes : 1000 and 1100.
  My scenerio : i added tcodes : me22n,me23n,me21n  in one role and assiged to user A and user B.
If A user login and enter tr.code : me21n then in org.data tab---in company code if i press F4 it will show only one company code (i.e.1000)
If B user login and enter tr.code : me21n then in org.data tab---in company code if i press F4 it will show only one company code (.i.e. 1100)
   I want to restrict particualr user for particular company code when i press f4 in me21n or me22n tr.code.
Guide me for the same.
Thanku

You will need to use a search help exit to put in an additional validation that performs a check against a users auths for plant.  Your development team will know how to do this.  If you do a search on "search help exit" you will get a few hits on SDN

Similar Messages

  • Delete G/L Accounts for one company code when transaction data exists

    SAP transaction OBR1 can be used to reset transaction data.
    If you execute this transaction for a specific company code, the FI transaction data of that company is deleted. Because of the procedure to keep FI and CO in line, also the CO data has te be deleted.
    But you can not reset CO transaction data for one company code. You have to reset CO transaction data for a whole controlling area.
    If you can not delete the FI and CO transaction data for a specific G/L account in one company code, you can not delete that G/L account.
    There exists another solution for the deletion of FI and CO transaction data for one company code, and thus for the deletion of G/L accounts?
    Thank you very much for your feedback.
    Edited by: E. Deleu on Mar 3, 2008 3:42 PM

    Helllo,
    I believe the account group information is what you get when loading hierarchies. Please look into the hierarchy extractor 0GL_ACCOUNT_T011_HIER.
    Regards,
    Christoffer

  • Assing more than one Plant to company code when valuation area is CdCd

    Hello,
    Is it possible to assing more than one plant when you change you valuation area (OX14) from plant to CdCd ?
    Regards

    Hi,
    Is it possible to change the valuation level from a plant to a company code?
    We currently have two plants and this leads to cost price differences between the plants for the same materials.
    From a sales point of view the business requires margin reporting to be the same no matter which plant makes the same.
    Is there a procedure to be followed to do this?
    If at a later stage we want to move back to plant level valuation is thie possible?
    Your input and help appreciated.
    Regards

  • Why I can not find my CoCd(Company code) when I Assign plant to company cod

    Hi All,
    In SPRO.
    I have defined my company in /Enterprise Structure/Definition/Financial Accounting/Define company.
    When I try to Assign plant to company code(/Enterprise Structure/Assignment/Logistics-General/Assign plant to company code). It reports my company code is not existing.
    Can someone tell me what's wrong. have I missed sth?
    Thanks and regards,
    Samson Zhu

    Plant will be copied Logistics->general -> Define, delete, copy check plant
    after defining and copying then you can assign this plant to company code as you specified.
    I think this will solve ur problem.
    Regards
    Ravi

  • There is no list of Company Code when assigning Controlling Area to CCode

    Hi all,
    I want to assign Controlling Area to Company Code by OX19 but i don't see any Company Code in search help.
    Pls see these screenshots:
    http://i358.photobucket.com/albums/oo30/vquang124/CompanyCode.jpg
    http://i358.photobucket.com/albums/oo30/vquang124/ControllingAreaAssignment.jpg
    Help me pls,
    Thanks,
    Quang

    Hi,
    As you see the Company Code Q001, that was not assiged to any Controlling Area.But if i type Q001 to CCode filed, there is an error:
    Data in company code Q001 is not maintained.
    Message no. KT294
    Diagnosis
    Assignment control requires that the currency, fiscal year variant, and chart of accounts are all maintained in the company code. At least one of these settings is not maintained in company code Q001.
    Procedure
    Complete data maintenance in company code Q001. Only then can you assign company code Q001 to controlling area Q001 possible.
    Cause may be the CCode was not assigned to 1 COA? Right?

  • Change a costcenter company code when the transactional data is posted

    Hi,
    we need to change the comapny code of a cost center. There are a few transacational data posted against the cost center. How can I change the cc of a cost center now? Please suggest.
    Thanks

    Hi,
    The field Co.code is unique in cost center master data is unique.  The same co. code has to be used till the fiscal year end. 
    I think you would have tried to change from today's date.  Please try what I have explained from the beginning of the fiscal year eg. 01.01.2009 to 31.12.9999, then it will accept.
    Thanks and Regards,
    Bhuvaneswari.S

  • Company Code restriction at Financial statement Version

    Hi All,
    We have a requirement from business for company code creation, and all elements will be same as existing company code like CHOA, FSV, PPV,FYV,CO Area etc, however my client create this company code fro recalculation of Accural amount, so they want that whatever the document posted should not be reflect to company's corporate books means financial statemen. As iam very new iin this requirement, so request you to kindly suggest that is it possible in SAP. IF yes then how do we restrict company code at Financial statement version.
    Thank you for your support in advance.
    Regards,
    Jamuna

    Hi Gaurav,
    Thanks for your response, it would be great if you can detailing the same, how do we exclude this field, do i need to take any ABAPER help, and also if this field get excluded, so will business be able to execute this report at company code level by selecting another company code associated with respective COA.
    Thanks,
    Jamuna

  • How to restrict  sale offices under company code

    Hi guru's
    I want to see all the sales offices under the company code, like comapny code br11 and sales office is br01, if i select comapny( user entry) it will display all the invetory information then in the filter if i slect saleas office it should display all the sales offices(br01,br02...)  which r under( br11).
    del
    ( assign points if helpful)

    Hi,
    I think you are in Bex queries.
    In Query Designer you can restrict Company code with Sale soffices.
    Just try it.
    Place the onject in Filters and right click and select restict.
    Hope this helsp...
    Let us know status.....if you still any issues.
    Reg
    Pra

  • ASSIGN CHART OF DEPRICIATION TO COMPANY CODE IN ASSET ACCOUNTING

    HI ALL
    When im assigning chart of depriciation to company code, if i press save getting error like "Inconsistency between FI company code AML andchart of deprec. AML"
    so plzz help
    TCODE:OAOB
    Thanks in advance
    VENKAT REDDY

    Prakash,
    I think you have posted the thread into the wrong forum.
    Please post the same into Finance forum.
    Prase

  • "The company code does not exist or has not been fully maintained" in mm01

    Hi all,
    I am creating a material, it needs me to provide company code. when I gave out my company code, it reports:
    "The company code ZXXX does not exist or has not been fully maintained".
    what should the problem be?
    thanks and regards,
    Smaosn Zhu

    Hi Raja,
    Checked all you specified.
    I have done these assignments:
    1. assign comp - > comp code
    2. assign plant- > comp code
    3. assign purch. org - > comp code
    4. assign purch. org - > plant
    but the problem is still there.
    let me try to re-do it.
    thanks,
    samson

  • One lockbox for multiple company code

    Hi Guru's.
    Currently we have one company code to many lockbox configured, process
    is working fine.
    We are in process of merging two companies.
    We have a scenario were we have one Lockbox shared between multiple
    company code, when we process the lockbox file lockbox process will
    clear one company code Invoice and other Invoice for different company
    code are unprocessed.
    We have looked in to user exit EXIT_RFEBLB20_001 and EXIT_RFEBLB20_002,
    was not much of help.
    Regards,
    KJ

    I had this scenario few years back in a company and we used exit RFEBLB20_002. We used logic to find the invoicing company code from the BSID table using the document number from lockbox file, then change the default lockbox company code to invoicing company code. Unfortunately this scenario will work only if you use unique document number ranges for each company codes which is not the case for most companies.
    Edited by: PaulKr on Sep 26, 2011 9:08 PM

  • Extend vendors to a new company code

    Hi,
    We are creating a new company code and I want  to know whether there is any standard transcation code to  mass create the vendors master from  the existing company code to the new company code without any BDC or LSMW.
    Thanks,
    SS

    Hi,
    Go to transaction XK99. Here you can extend vendors from one company code to another with below steps:-
    1. In XK99 slect the LFB1 - Company code dat ,and press F8.( Do not select the fields like MM17).
    2. Their will be 2 tab. select the check for DO not change for existing data.
    3. In other tab (data to be created)...give the list of vendors or Balck and the TO comp code.
    4. Bottem of this tab you have to mention the FROM company code.
    5. Press F8 and save.
    With the same method you can extend vendors from one Pur org. to another pur org. by selecting LFM1 instead of LFB1.
    Regards,
    Gaurav

  • XK99 detailed steps to extend vendors from one company code to other

    Company code X having vendors 9000000000 to 9999999999. Now I wanted to extend all vendors to Y company code. Kindly suggest me detailed steps. i know XK99 but give steps.

    Hi,
    Using XK99 T.code you can extend vendors from one comp code to another.
    1. In XK99 slect the LFB1 - Company code dat ,and press F8.( Do not select the fields like MM17).
    2. Their will be 2 tab. select the check for DO not change for existing data.
    3. In other tab (data to be created)...give the list of vendors or Balck and the TO comp code.
    4. Bottem of this tab you have to mention the FROM company code.
    5. Press F8.
    6. Now save.
    With the same method you can extend vendors from one Pur org. to another pur org. by selecting LFM1 instead of LFB1.
    Let me know if still need any further info.
    Hope this will help you..
    Thanks,
    Kumar Arcot

  • Changing controlling area from single company code to cross company code

    Hi,
    Due to my client requirement, in the middle of the year, we need to change the controlling area from being same as company code to cross company code controlling area. Although the currency is same. We are going to create a new company code. Is the changing controlling area settings possible to do? what are the precautions and changes need to be taken?
    One more question, we need to change the company code when the new company code is created in the system in Cost Center Masters in the middle of the year. Is this possible after changing controlling area from single company code to cross company code. Right now company code is not appearing in the cost center master.
    Thanks & Regards,
    Saidarao

    Hi,
          If both companies having transaction data its not possible,Normally before defining Organisational Strucutre only we have to deside both companies is assigning same controlling are or have to maitain separately for this we have to compare the Fiscal year,Operating chart of accounts ,if both having same then we will assign both the company codes to one controlling area if these two companies having different currencies also its not a problem.When we creating Controlling Area we have to choose option of controlling area as same company code (if one company code one controlling Area) for example if you assigning two companies then we have to use cross company code cost accounting.If u need any further information let me know.
    Regards,
    Satya

  • How to change company code in Assignment tab (CJ20n-project builder)

    Dear All,
    Is there any config to maintain company code in assignment tab (project builder) ? We have a problem in our project. It shows that in basic data, user put company code A (in basic data) but in Assignment tab they put different company code let say B. When we do settlement , two accounting document created to company code A and B. By right it should be only company code A. In addition, we cannot change the company code, when the status is already Release (REL).
    Please help how to change the company code B to A and how to reverse the accounting document that has been created under these two accounting document.
    Thank you.
    Best Regards,
    nies

    Now I understand your scenario, you have the Requesting Company Code and the Company Code Different.
    You usually use this primarily with IM module if you want to manage the asset under construction (cross company) belonging to a different i.e., company code (Requesting ) than company code on main WBS.
    You can not change the company code (Assignment Tab) as you already have actual posted against it.
    You've also created an AUC (in wrong company code) and even if you reverse the settlement you would not be allowed to delete the AUC or the delete the settlement rule (its grey out as its already used)
    What I can suggest is to reverse the settlement, lock this WBS which was created wrongly, create a new WBS and then continue with you regular process.
    Above are my views but you can expect views from others.
    Regards
    Sreenivas
    Please close the post if satisfied.

Maybe you are looking for