cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Cost Element Creation

Former Member
0 Kudos

I understand how to set the ranges OKB2 and run the batch job based on OKB3 to generate the cost elements based on the ranges but does having OKB2 configuration in place automatically setup cost elements for any new individual GL accounts that are created without having to run OKB3?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I created a new GL account just now in my DEV environment through FSP1 and did not see a corresponding primary cost element in KA03. Are you sure that manually creating GL accounts will create cost elements with this configuration in place?

former_member188826
Active Contributor
0 Kudos

Cost elements can be maintained automatically. When you save a new G/L account, the related cost element is automatically created. A prerequisite is that a default value for the cost element category has been set up for this cost element. If no default value is found, the system will not create a cost element.

In OKB2 you maintain the default category.

In OB13 you specify auto creation.

If these two are fulfilled then you can expect to have the CE created when you save the GL.

Answers (3)

Answers (3)

Former Member
0 Kudos

So it looks based on the note that you must always manually run OKB3 to generate the cost elements for new GL accounts, thank you for providing the note.

Solution

After you executed RFBISA10 and you copied the required G/L accounts to the new company codes, you must execute Transaction OKB3 'Create Batch Input Session to Create Cost Elements', and execute the created session to create the cost elements in accordance with your OKB2-Customizing. For this purpose, read also the section 'Automatic Creation of Primary and Secondary Cost Elements' in the SAP reference IMG.

former_member188826
Active Contributor
0 Kudos

The note 415572 indicates that it applies when you use report RFBISA10 to copy a G/L account to another company code. Source company code and target company code have the same chart of accounts, however, they are assigned different controlling areas. The cost element in the controlling area of the target company code is not created automatically through RFBISA10 inspite of this, although you maintained the default settings for this account in Transaction OKB2.

But my guess is that the system should create a cost element upon just saving once we have appropriate OB13 and OKB2 without resorting to OKB3. Based on the SAP's documentation.

Former Member
0 Kudos

Hello Hari,

If u select option of "Automatic Creation of Cost Elements" in OB13 under "Integration" system will automatically create cost element of new GL provided you have given the range in OKB2.

Thanks,

Sneha

former_member188826
Active Contributor
0 Kudos

You set the point 'Controlling integration' in the chart of accounts Customizing (Transaction OB13) in a way that the corresponding cost element is created automatically when you save a new G/L account.