How to Create a Company Code in SAP

How to Create a Company Code in SAPCompany codes are the part of within your organization, the financial transactions are viewed at the company code level. It is SAP recommended approach that once a company code has been defined in configuration with all the required settings then other company codes later created should be copied from the existing company code and then the changes can be made as per business requirement. In this tutorial, we will learn how to create a company code in SAP.

For other free tutorials on SAP Financial Accounting, visit this page: Free SAP FI Training.

Creation of a Company Code

Path: SPRO- SAP IMG – Enterprise Structure – Definition – Financial Accounting – Edit, Copy, Delete, Check Company Code – Edit Company Code Data

Table: T001

Step-by-Step Tutorial

Create new company code by copying the SAP standard company code. While creating new company code by clicking on but as per SAP best practice copy the existing company code is the best approach.

SPRO Transaction

Select

SAP Reference IMG
Click Enterprise Structure
Click Definition
Click Financial Accounting

Click on icon to execute the transaction

Choose Edit, Copy, Delete, Check Company Code
Choose Activity

Creation of company code can be done in two ways.

  1. Copy, delete, check company code (Transaction code EC01)
  2. Edit Company code data (Transaction code OX02)

1. Creation of New Company Code through Copy, Delete, Check Company Code (Transaction Code EC01)

Organization object – Company Code

Select menu option Organizational object – Copy org.object.

By doing this we can copy the existing configuration of reference company code or press function key F6.

Copy org. object

After selection of copy org.object, system will shows the relevant tables and the popup to input reference and new company code as enclosed below.

Progress Bar
Copy Window

Reference company code is 0001 (delivered by SAP) and the new company code is AS01.

Press enter or click on to proceed or click on to cancel the transaction.

Confirmation Message

By clicking on Yes system will copy the G/L account master data from company code 0001 to company code AS01.

By clicking on No system wont copy the G/L account master data.

By clicking on Cancel system will cancel this activity.

We will receive the below popup after clicking on Yes.

Confirmation Message

Company code 0001 currency is EUR, if the new company code AS01 currency is also same then click on Yes.

If new company code AS01 currency is different from EUR then click on No so system ask for currency as enclosed below.

Change Currency

Please press F4 or click on to see the available currencies in the system.

List of Currencies

Choose the relevant currency and press enter or click on .

Change Local Currency

Press enter or click on system will generate the below information message.

Information Message

When copy a company code, not all the settings is copied, for example there is some data that must be unique for each company code. The fields that are not copied from reference company code 0001 are listed below. After copying the company code data, enter the appropriate data in these fields in the target company code manually. The exact procedure is specified for each field.

Warning Message

The above popup is for transport of number ranges and addresses.

Press enter or click on .

Information Message about Number Ranges

Please select No, as per SAP best practice number ranges to be defined at client level, not to transport number ranges.

System will show the below popup message, here will create transport request which will save the changes, by importing this transport request we can get the new company code AS01 configuration setup in the respective system (Quality or Production or Sandbox).

Prompt for Customizing
Information Message

The above popup saved the new company code AS01 configuration setup in transport request without number ranges.

By clicking on system will bring to initial screen.

Completed Activities

Under tab Completed activities we can see the activity carried out, i.e. Company code 0001 copied to AS01.

Under SAP organizational objects we can see the new company code AS01 as enclosed below.

Overview of Existing Company Codes

Select Edit company code data to change the communication details.

Choose Activity
Company Code Details

Please input details of Company name and additional data as enclosed above and click on to input address details.

2. Creation of New Company Code through Edit Company Code Data (Transaction OX2)

 

Select a Company Code to Edit

– Change mode

– Display

– To create new entries

– Copy existing company code

– Delete

– Undo

– Select all

– Select block

 – Deselect all

– Communication details of company code

Please change the existing values. For example company code 0001 to ABCD and other fields also.

Change Company Code Data

After modified all the details please press enter, in the new popup please input address, contact number, Email id and other required details of company code.

By clicking on this icon communications details can be modified.

Address Data

Please press enter or click on to close this window.

We will come to the initial screen, please click on to save data.

System will ask for the transport request, please give the description so system will create the transport request automatically.

To enter more details please select to input additional details.

More Free SAP FI Tutorials

Now that you’ve learnt how to create a company code in SAP, why not to explore other free lessons and expand your knowledge of Financial Accounting in SAP? More tutorials are available here: Free SAP FI Training. If you have any questions or suggestions about this lesson, submit them using the comments section below.

Page last updated by Cleo Isco on

24 thoughts on “How to Create a Company Code in SAP”

    1. G/L stands for General Ledger. General Ledger is a collection of accounting records that a company maintains for keeping track of financial transactions. G/L is organized using accounts. Accounts are necessary to classify financial transactions according to various criteria. For example, a company can have accounts for different assets, revenue, and expenses. The number and types of accounts that exist in G/L are defined by Charts of Accounts (CoA). Charts of Accounts are usually country-specific, so each country has its own structure of accounts in G/L defined by legal requirements.

      1. Yes please where I can practical training for example, once I have completed a topic say mm or vendor master I want to create data on my own rather than having to read only. Thanks

        1. Now, I understand! What you are looking for is called SAP IDES. It is a demo SAP system for training. There are companies that offer access to SAP IDES for some fee. You can simple search for “SAP IDES access” in Google and choose the company that you like. We also did a review of some companies offering SAP IDES some time ago here: SAP IDES Access. I hope it helps!

  1. Dear All,
    I know that SAP provides the standard cash flow statement through T- code S_ALR_87012271
    Can anyone tell me the steps to basic configuration to get the CFS report. I have created the FSV.

    Best Regards,
    Mahesh Vyas

    1. We haven’t yet created a tutorial about configuring SAP Cash Flow Report. I will add this topic to the list of tutorials that we need to write in the future.

  2. It’s good job you guys are doing. keep it up.
    Is there any trial version of SAP FI that learner’s can use for practical.

    Thank you

  3. Thank you for the lessons. I really enjoy this lessons. All I need now is some practical exposure to the actual system to see how well I understand.

    And I will also search for SAP IDES for practice purposes. Hope it’s not expensive.

    Grace I think the previous comments will help you with the answer you’re looking for on SAP IDES ACCESS

  4. Just visit this page today.. I’m pretty new to SAP. I just got one word in my mind.. God thanks a lot. You guys are doing wonderful job.

    Guys thankyou..

  5. Cleo Isco >>> You have done really great work ! Appreciated ! such people helping out and doing useful things for others are like the light in our life. Please accept my respect Bro 🙂 kind regards .

  6. Hello Cleo,
    1. What is the use of the transport request (prompt for customizing request) created.

    2. Will the new company code details override the existing one where the second option is used for creating
    company code (transaction OX2). i,e the initial company code details cease to exist.

    Thanks in anticipation of your response

  7. Hi Cleo,

    Can you please advise what is the best practice that i can use while creating company code. EC01/OX02
    And can please list out the settings that needs to done manually while copying company code from reference company code.

    Thanks in anticipation of your response.

  8. Edit Company code data (Transaction code OX02)

    CREATION OF NEW COMPANY CODE THROUGH EDIT COMPANY CODE DATA (TRANSACTION OX2)

    Clarification regarding the transaction code?

  9. Good Morning

    how are you ?

    I created the company code, how do I create and associate:
    – Plant
    – sales organization
    – Distribution Channel

    What are the necessary requirements?

    I’m doing an integration between ECC and SAP TM

    Can you help me please?

    Best Regards

    Sergio

Leave a Reply

Do you have a question and want it to be answered ASAP? Post it on our FORUM here --> SAP FORUM!

Your email address will not be published. Required fields are marked *