Reply: 2

Auto translated

Delete company code

Hello,
we want to make a possible client copy, and then have on the new system company codes that we do not need.
Question: is there a way to select company codes when copying (as far as I know not), or specifically delete all data (customizing, master and transaction data) of a company code ?
Thanks, Exberliner

You must be logged in to post a reply.

Login now

2 Answers

  • zempd
    zempd
    Hello,
    First you have to remove the product flag from the company code (transaction OBR3).
    Then you can delete the transaction data with OBR1 and the master data with OBR2.
    I have only one problem at the moment. Unfortunately I can't delete the company code with transaction EC01, because there is still a cost accounting company code. I can't delete it because there are still number ranges in the object RK_BELEG ( for accounting documents ). Does anyone have a solution? How can I delete or inactivate the obsolete number ranges or change the due date?
    Greetings
    Dani
  • exberliner
    exberliner (Author)
    Thank you, Dani.
    From the Org.units is yes hierarchically operating concern - controlling area - company code - plant (interesting from a financial point of view). The assignment Bukrs to Kokrs is 1:n. This means that you should check whether other company codes are assigned to the Kokrs before you delete it. This should not be necessary to delete the Bukrs. The problem is perhaps more that CO objects still exist (Kostl, Aufnr etc.) which are assigned to the company code. You can check this in the table CSKS etc..