Removing a company code

Hi,
I am going forward and backward in executing the task of removing a company code.
What is the right sequence to delete a company code from the system .
Thanks,
Chitra

Hi Chitra,
please refer this link
Inactivating a company code
Re: Closing of Company Code

Similar Messages

  • Remove Default Company Codes

    Hi Guyz,
    Please help me to findout if there is any way to remove default SAP company codes in system.
    Thanks in advance,
    Shoban

    Please try transaction code EC01
    Regards,
    Rich Heilman

  • Remove Company Code with all the Employees in it from r/3?

    Hi i have a bit unusual requirement.
    i want to know how can i Remove a Company Code with all its assigned Employees completely from a system(r/3) ?
    can this be possible at all? if yes then please also mentions what can be the side effects of this action.

    Jack,
    You will have to follow reverse engineering....
    As Sikandar Guru Mentioned.....identify all the PERNRs for mass deletion....
    Secondly I believe, that you want to Delete the Company Code.....check with Finance Folks.......If they have no issues, you can delete the co. code with TCODE EC01... but this will not delete the Relationships to Personnel area...etc.
    There may be custom Features, Reports or programs functioning based on Co. Code.......
    So, in a way....its not feasible..neither wise to attempt deletion of Co. Code....
    S_PHO_48000106 is the TCode for Mass Deletion.
    Good Luck !!!
    Kumarpal Jain.
    Edited by: Kumarpal Jain on Oct 26, 2009 3:20 PM

  • Getting the company code popup

    hi,
    when i work with FB60 transaction i get the popup for company code
    if i to work with the same transaction again then the popup for company code doesnot come.
    i am to get that popup when i enter the transaction so when i asked my colleague for help he gave a program which removes any company codes in the buffer
    in which the code is like this
    TYPES: BEGIN OF T_TFBUF,
            USNAM TYPE TFBUF-USNAM,
            APPLK LIKE TFBUF-APPLK,
            LFDNR LIKE TFBUF-LFDNR,
           END OF T_TFBUF.
    DATA: WA_TFBUF TYPE T_TFBUF.
    SELECT SINGLE USNAM APPLK LFDNR INTO WA_TFBUF FROM TFBUF WHERE USNAM =
    SY-UNAME.
    IF SY-SUBRC EQ 0.
      DELETE FROM TFBUF WHERE USNAM = SY-UNAME.
    ELSE.
    WRITE: 'NO BUFFER AREA CLEARED'.
    ENDIF.
    even then i am not getting the popup .
    if you have a better program than this please provide me.
    thanks in advance.
    sultan.s

    Hi Sultan,
    As far I know, it has nothing to do with user buffer, but it is required for setting the parameter ID.
    Just use SET PARAMTER ID 'BUK' Value  Space. into your code. I think it will resolve issue.
    Regards,
    Atish

  • Removing a plant to its current company code

    Hello Gurus,
    I am working on this request that the old plant will be removed to its current company code and assigned it to new company code. SAP has been using for couple of years already so many data has been created and documents processed. I am aware of the plants set up configuration and OX18 but I think it will not be good removing the old plant in 0X18 and just assigned it to the new company code requested. I am thinking that create a  new plant exactly the same with the old plant settings then assign it to requested company code. However, how about the existing data from the old plant? Are there any programs that can be used to copy the existing data of plant configuration?
    Please advice!
    Thanks!

    Dear Sidarth,
    Make sure that the plant has nil transaction both quantity wise and value wise. ie MM and FI.
    Then you can reassign the same plant to your new company code.
    Check the use of the Conversion Workbench (CWB), special tool like the
    Migration Workbench, especially developed for this kind of tasks.
    regards
    anand

  • Removing number assignment across company code

    Hi all,
    I'm new to FI-AA and am wondering if it's possible to remove the number assignment across company codes in the section "Change View "FI-AA: "Assignmt. to company code providing number range" ?
    I've tried leaving the column "No.CoCd" blank as there isn't any delete icon available to remove the assignment but the system will then prompt me to fill in all required fields.
    thanks
    jazreel

    Hi Bernhard,
    thanks for the reply
    It just prompts me to fill in the required fields (message no. 00055), no other error messages.
    It's the same even after i try to save the changes.
    regards
    jazreeel
    Edited by: jazreeel on Jan 10, 2011 3:43 AM

  • Remove assignment of profit centers to company codes

    Dear all,
    I have to remove assignment of profit centers to company codes, we have about 300 profit centers which need to be corrected, is there any easier way to correct the profit center master data other than manually uncheck the assignment using KE56. your advaices will be greatly apprectiated.

    See if you have access to SE38 and enter the program RCOPCA60_2
    I want to highlight the text that goes like
    "To create the report proceed as follows:
    1. Create report RCOPCA60_2 using Transaction SE38.
                  Enter the following for the program attributes:
                  Title:        Mass change of company code assignment SAPNet 316440
                  Type:         Executable program
                  Status:       SAP standard production program
                  Application:  Cost accounting
                  In the 'Display Object Directory Entry' dialog box enter KE1 as a development class.
    2. Implement the attached source code into the newly created report and activate it.
    3. Enter the following entries via the menu path 'Goto -> Text elements -> Selection texts'"

  • Weburl - Remove "Company Code"-Dialog?

    Hello,
    i start the transaction "MIRO" directly via the web url
    http://<server>:<port>/scripts/wgate/webgui/!?~transaction=MIRO
    When opening this url a dialog "enter company code" appears.
    Is it possible to avoid the appearance of this dialog? for example by configuring a default company code?
    Only when i am able to avoid this dialog, it is possible for me to set parameters in the "incoming invoice"-view automatically via the url.
    Many thanks,
    Gerhard

    Jack,
    You will have to follow reverse engineering....
    As Sikandar Guru Mentioned.....identify all the PERNRs for mass deletion....
    Secondly I believe, that you want to Delete the Company Code.....check with Finance Folks.......If they have no issues, you can delete the co. code with TCODE EC01... but this will not delete the Relationships to Personnel area...etc.
    There may be custom Features, Reports or programs functioning based on Co. Code.......
    So, in a way....its not feasible..neither wise to attempt deletion of Co. Code....
    S_PHO_48000106 is the TCode for Mass Deletion.
    Good Luck !!!
    Kumarpal Jain.
    Edited by: Kumarpal Jain on Oct 26, 2009 3:20 PM

  • OB52 based on Company Code

    Dear All,
           As we are having several company codes and want users only to be able to open and close periods from transaction code OB52 belonging to their posting period with respect to company codes how can I restrict and allow them open & close periods based on company code repectively. Is there any process this be done.
    I tried with the notes I got from one sap-img link. But it did not work & there something is missing. Kindly if anyone have done this before send be step by step process. Awaiting for you reply...
    regards,
    Raj B...

    How about trying it this way?
    1. Remove access to OB52
    2. Create a maintenance view similar to V_T001B specific for each company.
    3. Create a TCODE for each of these views.
    4. Use this TCODE for authorization assignment.
    This should be simple but your number of views would be increasing with respect to the number of companies.
    ~Eswar

  • How to copy Company Code Account data from a client to another client

    Hi.
    In prod system, unfortunately, we have deleted all Company Code (CC) data from the system - including accounting payable data, and we need to restore data from backup. So far we have created an new 'spare' client with all restored information.
    Next step is to copy CC-related records in related tables from 'spare' client back to prod client and append them into tables were all the records referring this particular CC has been removed.
    For instance we see that the prod system is missing all CC-related records for accounting tabels such as BKPF BSEG and others.
    The questions are:
    1) How can we do this copy?
    2) If we need to do this for each single tabel manually, how can we know which tables that needs to be appended in prod system? As far as I have notised, i see this will affect table BKPF, BSEG, BSAK, BSAS, BSIK, BSIP, BSIS. Any others?
    We have allready triyed transaction EC01 for this purpose. But, unfortunately, this copy function, regarding Company Code organizational object does not seem to take into account the above-mentioned tabels which I need to restore into prod.
    I suppose this must have been an issue before for sombody...?
    So can anybody help with a strategy to solve this issue?
    Thanks.

    Just to be mentioned. This is regarding a particular CC, not all have been removed from the prod system. And I only need to restore accounting information for a spesific CC.

  • How to reassign new chart of accounts to company code

    I created company code, assigned fiscal year K4 to 4040 co. code. Later on I created Open/Close Posting period/Assign Company code to Fiscal Year. I prepared new chart of accounts 4040 for Canadian company.
    When I tried to assign 4040 chart of accounts to my company code in Fin Actg Global Settings, I notcied that automaticlly CACA (Chart of accounts Canada was already assigned. I tried to replac CACA by 4040 But error message "Reset company code data before changing the chart of accounts"
    I tried to delete G/L accounts Tnasaction code OBR1 & OBR2 But nothing changed.
    I wish to assignment of chart of accounts in company code in Global settings & wish to re-assign different chart of accounts. I have not created any assignment of company code to controlling area, plant, sales organization, etcu2026 While removing this it says Reset company code data before changing the chart of accounts. Screenshot is attached.
    1)       When I am trying to remove assignment of K4 fiscal year to company code it does not allow me. SO how to solve this problem.
    Should I delete company code & then retry the same?
    Please suggest how to reassign chart of accounts to company code as no data like customer, vendor or sales transaction is made.
    Pl advise solution THANKS

    Hi Paul,
    Thanks for the answer. I have not copy any company code to my co. code 4040. Just as new entry I created 4040 company code. In Org object Check everything about table found OK. No seprate G/L A/C is created by me for co. code 4040
    To see if company code is productive means Active? In "Enter Global Parameter? Tab-->Cost of Sales Accounting ACTV is 2. When I tried to make it Inactive (Blank), it is not allowing me and showing error msg as below.
    You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.
    I checked this but asking for Application Area to put & I do not know hwat area I should put.
    Am I going right as suggested by you?
    I had deleted G/L accounts earlier but Sales Actg is active so sould not go ahead.
    As per Venkat I had decided to delete company code, But I want to solve without deletion.
    I am SD guy so asking many Qs of FICO as I am learning now.
    Thanks
    Reason why you are not able to delete the assignment is that, you have already created GL accounts for the COA. I hope you have not done any posting using those GL accounts.
    First of all please make that you company code is not set as productive. if set prodictive you will not be able to delete any master data. So please remove the productive check(if any).
    Then you try to delete the GL account that you have created for the COA. once you delete the GL account the system might ask for the deletion of the account group. After that you should be able to change the assignment.

  • CJ20N project builder restriction on plant or company code

    HI there
    I hope this is in the right formum..
    I just cannot seem to get the transaction CJ20n to check on orglevel Plant (WERKS) or Company code (BUKRS).
    When displaying or changing a project people should not be able to  access projects from differents companies (or plants). When I look at the basic data, organisation fields of the project, there are CO area and Business area, as well as Company code and plant. On one of the last (company code or plant) I want to have an authorisation check wether the user is allowed to display or maintain the project
    when I trace the actions, I only find checks on
    C_PROJ_KOK (controlling areaa)
    C_PROJ_PRC (profit center)
    C_PROJ_VNR (project manager)
    but they are not company specific here
    I activated object C_PPBD Authorization for maintaining planned independent requirements SAP note 635612), but this is not being checked on transacton start or when changing project meta data e.g. description.
    Has somebody any ideas/tips on howto get CJ20n to check on WERKS (plant) or BUKRS (company code)? I would be very thankfull
    Jos

    Jos,
    It looks like your question got hijacked, so a shot at your original question regarding CJ20N:
    If you want the check upfront and not inside the transaction, then you could add it in transaction SE93. but this will only prevent the user from starting the transaction, not using it.
    If the check on F_BKPF_BUK or whatever is not coded anywhere in CJ20N, then adding or removing SU24 indicators will not help. You could try to look for a user exit ("Enhancement transactions CMOD / SMOD)). I would ask this question in the CJ20N forum.
    You could open a development request with SAP, but there would most likely need to be a few more customers with the same request or a realy good reason to add it before this materializes.
    If all of those fail, you can get yourself an object key for where ever it is that you want an additional check to be coded and change it yourself. After this, CJ20N or the check function will belong to you (not SAP) and anybody with a developer key could also change it using normal developer authorizations.
    Good luck,
    Julius

  • Excise asset tranfer from one plant to another within the company code

    Hi All,
    Please provide me the procedure how to transfer an asset from one plant to another.
    The asset is an excisable pls provide the process for accounting in SAP for movement of FA on which we have taken excise duty and further we have to pay duty on removal of FA
    Edited by: siva prasd on Oct 19, 2011 7:11 AM

    Dear,
    Please check: Re: asset transfer within company code from one plant to another using STO
    Re: how to transfer  an asset from one plant to another plant within comp code
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/asset-transfer-237416
    Regards,
    Syed Hussain.

  • Restrict PR/PO/GR for a particular company code from particular date

    Hi Experts
    How we can restrict PR/PO/GR for a particular company code from a particular date?
    I know PR is not directly linked with company code
    PO can be restricted by deactivating the assignment between company code & plant
    GR- we can use posting period option.?
    Suggest me the best solution for the above requirment.
    Thanks/karthik

    hi
    Obvoiyusly , you can stop the company code posting by not activating the month end closing of periods (MMPV) in MM and similarly in FI ( OB52).
    By removing the assignment you can stop PO creation for the company code but you need to ensure that all the old, un-finished PO/SA and other related activities are taken care off before that.
    Regards

  • Company code authority check

    Hi
    we have created ZTTL01 table maintenance view. Should not allow unauthorized company code to update/create or display.
    I searched thru forums and collected below points. but could not test it successfully.
    Authorization object (Z_XXX_BUK) was created.But <Permitted activities> Button is not available in display authorization object(SU21) to see what are the activities are permitted.
    In su01 for my user no roles or profiles are defined.
    To do
    Trying to write  below code in PBO and PAI flow logic of ZCHECK_BUK table for screen 01
    PBO & PAI
    *First statement
    Module Authorictycheck.
    module Authoritycheck
      LOOP AT EXTRACT.
        AUTHORITY-CHECK OBJECT 'ZCHECK_BUK'
                            ID 'ACTVT' FIELD '01,02,03'
                            ID 'BUKRS' FIELD ZTTL01-BUKRS.
        IF sy-subrc <> 0.
          MESSAGE e000(zrpt) WITH 'You do not have the authorization to'
        EXIT.                          'access Bukrs'extract-bukrs.
        ENDIF.
      ENDLOOP.
    endmodule
    Can i use above code in PBO and PAI to check change of company code?
    I am sharing role and profile created by other user, which allows only company code 'A10'.
    How to test this now?
    se11->Utilities->table contents create should not allow me to input A11 or other company codes? pls confirm.
    Regards
    Chandra

    Hi Suhas
    Regarding 1) It works when i remove the FORM routine assinged for EVENTS.
    Thanks for ur input.
    Regarding 2)When the user displays record in SM30 for a table, he must not be able to see the company code AD01.
    To achieve this can i use EVENT AA?
    I create FORM routine <hide_cocode> in EVENT AA and store at include LZXXXXF01.
    FORM ZHIDE_COCODE.
    DATA: F_INDEX LIKE SY-TABIX."Index to note the lines found"
    LOOP AT TOTAL.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDEX.
    ENDIF. "(make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDEX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDEX.
    *ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    I made break point at line LOOP at Total. and executed SM30 and clicked Display button.
    Sorry Code stops here and table TOTAL has flat line structure of empty.Loop at total is skipping
    what should be done now?
    Regards
    Chandra

Maybe you are looking for

  • A suggestion for those with battery issues:

    When I first got my iPhone, I had the same battery issues many people here are talking about, in fact I posted about it myself. Its fixed. Very fixed, and Im very happy with my battery life. Here is what I did. First, do not charge it using your USB

  • Samsung Continuum Music Player- 5.1 Channel error message

    I have a Samsung Continuum.  Recently, when I use the Music Player application, when I press the 5.1 stereo sound I get an error message that states "5.1 channel can only be activated when sound effects are off."  I have no idea what sound effects it

  • Error in installing SBO1 2007

    Hi! I can't seem to get past installing of the server with the 2007A install files. I am getting errors and it will not create my common DB's at all...this is just one of the many I get: when it starts to publish the Common DB it states: "SetFieldVal

  • Change the Standard Installation Directory of SMD Agent

    Hi Everyone, Standard Installation Directory of SMD Agnet is /usr/sap/SMD which I want to change & Install the SMD Agent under /usr/sap/<SID>/SMD directory I dont want maintain soft link way Is it possible , If yes then How ?? Thanks in advance Regar

  • How to install drivers for nvidia geforce 6800gt for AGP

    I might be completely blind, but I have no idea as to how to install the necessary drivers I need for my new (used) graphics card. My card is not displaying properly (doing all this in safe mode) and I'm pretty sure I need the drivers. Please help. T