Deletion of obsolete company codes including data

Dears,
we need to remove from our ECC 60 some obsolete Company Codes, as they have been moved on different systems.
These Company Codes have been Live for some month, so we have both master data and transactional data.
For these obsolete companies we implemented the modules FI, CO, and for one of them also MM and SD.
We need to know if the transaction SARA is able to archive and then remove the data according the Company Code, and then to clarify if we are forced do a SLO project with Sap or not.
In Sap BW we know there is some procedure able to delete in consistent way the data belonging to a specified company; maybe there is also for My Sap ERP 60 ?
regards

Carlos
As far as I know, the standard way to delete products in APO is to flag it for deletion in ECC, the deletion flag is CIF'ed to APO and then run program /SAPAPO/DELETE_PRODUCTS.
I dont think this would work if you have dependent data such as Transportation Lanes, PPM's etc.
Rishi Menon

Similar Messages

  • 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.

  • Deleting currency from company code

    hi Guys,
    I would like like to delete currency from company code. I have tried to delete it through IMG but i am being given the following error:-
      Cannot delete currency because it contains   transaction  data.
    May you please show how i can delete the currency on company code if possible.
    Best regards.
    Stitch

    hi,
    you cannot delete your currency from comp.code.
    if you've a curr-conversion ask your SAP consultant / OSS
    Andreas

  • Customer-based BP role, Company Code level data

    System ECC 5.0.
    May be somebody can help me in a problem with Company code level data for BP.
    I'm trying to create new BP in custom Z role (created by me), on company code data screen I cannot set "Company Code Is Valid for Customer" indicator on company code selection dialog box.
    I use custom Z role with assigned custom Z rolecategory (with active BP-customer syncronizaton), It seems that there is a missing setting in SPRO for rolecategory that activate possibility to enter company code data.....

    After some investigation.... the problem was not in customising, but in some requirements from code: BP role should have the same name as s BP rolecategory. After renaming it goes.

  • Error while entering address details in company code master data.

    Hi Experts,
    I am getting error while i am entering address details in company code master data that is while i am creating new company code.
    ERROR: message No. AM216
                  Incomplete Address : Enter Country.
    Here eventhough i am entering country as "IN" then still i am getting error.
    Thanx,

    Yes that is right what is mentioned above, first you give the company code and name then give the currency then select address (Shift+F5) and in that if you select country as IN then it will automatically come to master data.
    Edited by: venkata986 on Aug 31, 2010 12:31 PM

  • How to make changes in company code global data

    Hi folks,
    Can some one suggest me how to make changes in company code global data (t code oby6). I want to assign 1 to co code > co Area which is blank.
    Thanks in advance

    Hi,
      actually if you want to change co code > co Area , it is under controlling (maintain controlling area), transaction code  OX06 .You change the assignment control and save it. It is automatic update you COmpany code global data.
    *give me a point if my answer solve your problem.
    Thank You.
    -akma-

  • Additoinal fields in Company Code Global Data

    Hi
    In "OBY6"- company code global data-Additional details tab is there. In this tab is there any possibility or how the fileds will be appeared here.
    I need "EID number" for some of the company codes. How is it possible to add new fileds here.
    with regards
    Siva

    Hi Daniel / Venkat
    Thank you for the hint
    my observtions are
    1) if you use V_T001I, it will affect the country wise (SM30)
    This will insert a row in the additional details of OBY6
    2) if you use T001Z, it will affect the company code wise (SE16)
    This will create a value in the table, but row will not be visible or created in oby6
    with regards
    Siva
    Edited by: Siva Rama Krishna Yanamandra on Jul 7, 2010 6:44 PM

  • Block/Delete Vendors by Company Code wide

    Hi Guru's
    We have got requirement to block/delete unused vendors in company code wide automatically or thru customised program. We have FK05 and FK06 to block&delete vendors. I triend updating LFB1 table using VENDOR_UPDATE Function module.
    Below is the code used In my program.
    IT_LFB1 = List of Vendors.
    LOOP AT IT_LFB1 INTO WA_LFB1 .
    WA_LFB1-SPERR = 'X'. " Block Vendor
    WA_LFB1-LOEVM = 'X'. " Deletion Flag for all areas
    WA_LFB1-NODEL = 'X'. " Deletion flag for general data
    CALL FUNCTION 'VENDOR_UPDATE' IN UPDATE TASK
    EXPORTING
    I_LFB1 = WA_LFB1.
    IF SY-SUBRC = 0.
    COMMIT WORK.
    ELSE.
    Endloop.
    But since this FM is not checking any authorisation to block/delete vendor. Could you please let me know how I can go ahead for this requirement either through BAPI which exactly perform like FK05/FK06. Looking forward with your suggestions.
    Thanks in advance..
    Shreyansh.

    Thanks a lot Keshav..
    Please help me..I have done coding as below for calling MAINTAIN_BAPI.
    i_IS_MASTER_DATA-VENDORS-HEADER-OBJECT_INSTANCE-LIFNR = WA-LIFNR.
    i_IS_MASTER_DATA-VENDORS-HEADER-OBJECT_TASK = 'U'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-CURRENT_STATE = ''.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-TASK = 'U'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATA_KEY-BUKRS = WA-LIFNR.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATA-SPERR = 'X'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATA-LOEVM = 'X'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATAX-SPERR = 'X'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATAX-LOEVM = 'X'.
          CALL METHOD G_VMD->MAINTAIN_BAPI
          EXPORTING
            IV_COLLECT_MESSAGES  = 'X'
            IS_MASTER_DATA = i_IS_MASTER_DATA.
    is this correct..?..I am getting syntax errors in this..pleas help.

  • Company code specific data

    Hi Experts,
    In the customer master record, what data would be specific to company code.
    Thank you

    HI
    The data is categorised into General data, Company code data and sales area data. Each area have different tab pages with all the related information.
    All the tabs and fields in the 'Company Code Data' Area of customer master holds the information related/specific  to a particular company code.
    Thanks,
    Ravi/specific

  • Company Code Master Data

    Hi Experts,
    I have to implement one SD Report, in which i am loading Sales Organization Master Data into BW.
    My question is that, as Company Code is one of the attribute of Sales Organization infoobject,
    Do i have to load master data for Company Code also, even though i am not using the Company Code in my report?
    And if i have to load, is it ok if i load the CC Master Data after loading SO Master Data?
    Thanks.....

    Hi,
    In my opinion, you don't have to load CC master data before SO data load (if you don't use CC data).
    Even if you load SO data with company codes (and in the infopackage you choose an option to create master data even if they don't exist), then when the system encounters comp code it will check whether it already exists in CC master data. If not - a new record with just this code will be created in CC master data. It will work if you don't need attributes of CC.
    And when you load CC master data after loading of SO data, the existing already records with key field of CC will be populated with attributes/texts.
    So, it will work. As a side-effect - loading performance will suffer.
    Best regards,
    Eugene

  • Steps Required for Deleting Un - Used Company codes

    Hi
    My client Requirement is Un - Used Company codes need to remove from Production Environment.
    What is the Steps Require for Remove Company codes.
    Regards,
    TML

    Follow This T.Codes:
    OBR1
    OBR2
    OKKS
    OKC3
    KL14
    0KE5
    0KE1
    0KE2
    KCH2
    KS14
    KSH3
    KA24
    KAH2
    OKKP
    EC03
    EC02
    EC04
    EC01
    Regards,
    Viswa

  • Deleting other Company Code data

    Hello
    Has anyone any good experience in deleting other Company Code datas. We had in mind archiving but seems it is more like"mission impossible" due to many opened documents whivch prevent to come to the customer in order to be deleted.
    I know SAP SLO service, but it is much too expensive. Also we are not such perfectionist as they are.
    Does anyone knows some  product which could help us in this regads
    Thank you in advance
    Jan

    Hi Jan,
    You can use SAP Landscape transformation tool .Refer to SAP help for more details on the same.
    Deletion of a Company Code - Overview of SAP Landscape Transformation - SAP Library
    Additional information can be found in below SCN thread
    How to delete a Company Code with all custumizings?
    Hope this helps.
    Regards,
    Deepak Kori

  • Delete data company code FS-CD

    Hello,
    I've a question concerning deletion of company code data in our system.
    We have several company codes active in our production system.
    Now, we've sold one company and want to clean-up our system.
    How can we remove all master and transactional data (FS-CD + FI) concerning this company code in our system?
    Is there a standard way doing this?
    Thanks in advance.
    Noël Vanderhoven.

    Hi Noël,
    You can delete the unwanted company codes from your system.
    To do so, go to IMG  >Enterprise Structure > Definition > Financial Accounting > Edit, Copy, Delete, Check Company Code.
    Transaction code EC01.
    Also review program SAPF020 (transaction OBR1).
    Carefully read all documentations.
    regards,
    David
    Edited by: David Tonade on Mar 8, 2012 4:39 PM

  • OBR2: Error while deleting G/L Account from Company code

    Hello,
    I want to delete some G/L accounts created for a specific company code
    using Transaction Code OBR2.
    I am giving follwing input in the screen of OBR2
    Delete G/L Account - XXXXXXX ( G/L account No.)
    With General master Data in company code - XXXX ( Company Code)
    Tick ( X) on Delete per deleetion flag only.
    When i am deleting this G/L account, i am getting an error message as
    follows:
    " Reset the number ranges if necessary" Message no. BL001
    I am not getting any Long text for this error message.
    As this is an impact on other Company codes and at Chart of Account
    level, before i do mass changes, i would like to confirm why this error
    message is coming.
    Thanking you for providing me solution.
    Regards,
    Jignesh

    Dear Jignesh,
    The program SAPF019 (trans. OBR2) is used prior to going "live" to delete customer / vendor and G/L account master data which was used during pre-production testing and is not needed in the
    Production system.
    Before using this report, please read carefully the online documentation of the report via SE38 > sapf019.
    This program is intended to delete test data prior to productive start.
    Once the production indicator is set in a company code, deletion in this company code with this program is no longer possible.
    Another option to deleting the GL master data is to use the archiving function (transaction SARA, object FI_ACCOUNT).
    Please also review the following attached note for further information:
        0013583 - General G/L account master data cannot be deleted
    I hope it helps you
    Best Regards,
    Vanessa Barth.

  • Delete unwanted company code, like sample company codes

    Hi Expert,
    I would like to have advice on deleting unwanted company codes, for example, country sample company codes.
    I would like to have remaining company code of 0001, and my client company code, say 1000, only.
    Is it enough to delete these unwanted company code using EC01?
    I will make sure:
    No transactional data for these company codes, say Table BSEG
    No master data for these company codes, GL: SKB1, Vendor: LFB1, Customer: KNB1, etc
    Thanks and regards,
    sbmel

    Hi,
    You can delete un-wanted Company codes from the system. But you will get frustation with this task. I am telling this based on my experience for 2 times..
    You have to archive data and company codes before started deleting this. and you have to delete Profit centers, Cost centers, Cost elements,  GL Accounts, Activity types and all other master data.. First we have to delete the dependant data  (I mean assigned child data). other wise it will give many errors..
    For example: If you delete standard hierarchy with out deleting Cost centers or profit centers firsst,,,then you can not delete profit centers or cost centers..
    So we have to delete one by one logically.. hope it helps..
    thanks
    Fit 4 Nothing

Maybe you are looking for