cancel
Showing results for 
Search instead for 
Did you mean: 

Error changing company code of a cost center

Former Member
0 Kudos

Hi SAP Gurus,

I had created a cost center last year but entered a wrong company code by mistake. Now when i am trying to change the company code of CC to a different one, i receive the below error message.

"Field change Company Code is not possible (transaction data already exists)"

I know that the company code field is time dependant and it cannot be changed if any posting have already been made in the current fiscal year. There was no cost posted on the cost center from the time it was created till now. I verified it once again through T Code KSB1 and it shows no transaction history, so i am not sure why i am getting this message.

Could you please guide me on this.

Regards,

Priyank

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

KSB1 is for actual line item. you need to check KSB2, KSBP as well. System allows to change company code if no transaction data.

Former Member
0 Kudos

HI David,

I executed the T codes mentioned by you and all of them "No line items were selected" and "No plan cost line items recorded".

Still i am not able to change the company code for the transaction. In my knowledge, no costs were posted in the CC after it was created till now. And so changing Company code shouldnt have been a problem. Seems strange but the problem persists.

Is there any other table with which i can cross check if any cost have been posted to CC?

Thanks.

former_member765905
Contributor
0 Kudos

Hi Expert,

If there is any data in Company Code, other than Controlling transactions - It won't allow you to change the company code.

There should be any transactions in the entire client with respect to company code, then it is possible.

Regards,

GK

SAP

lakshmi_matta
Participant
0 Kudos

HI

First transfer the balances of cost center to dummy cost center then delete all transaction data in the existing cost center change the ccode of the cost center agian replace the data from dummy cost center to this cost center.

Regards

Lakshmi

Answers (3)

Answers (3)

lakshmi_matta
Participant
0 Kudos

Use KB11N for transfering the balances from one cost center to another cost center. Please delete the all the balances make it 0. Then change the ccode in that CC and again do the same process to post into origional balances.

Regards

Lakshmi

Former Member
0 Kudos

Hi,

You can maintain master data for cost centers, cost elements, activity types, and business processes as time-based. Changes to any other time interval are possible at any given time. Data storage is also time-based. In this way, you can store multiple database records for a master data record, each holding different information.

The time-based dependencies are determined by SAP and cannot be changed. The following dependencies are possible:

Not time-based

Day-based

Period-based

Fiscal Year-based

Cost Center's company code field's time based dependancy is Fisal Year Based and hence, the company code can be changed on cost center only on new fiscal year. And hence, system will not allow changing company code on cost center master data until new fiscal year if transactions are posted to the cost center.

You may have to think of work around :

A: Create new cost center with correct co code

B: Repost the cost posted to old cost center (with wrong co code) to the new cost center.

Explore the possibility of this work around on your system with the key user and then see whether this option works out

Thanks,

Raviteja

former_member765905
Contributor
0 Kudos

Hi Expert,

You can change the Company code of a Cost Center, If you have not done any transactions..

Else you cannot change the company code of a cost center.

We have an option to delete the transaction data in the server (which is not suggestible in Production Server).

Try this if it is the Quality server:

Go to T-Code: OBR1 and Delete the transaction data and then change the Company Code in the cost center.

Regards,

GK

SAP