Showing results for 
Search instead for 
Did you mean: 

OKC9 Substitution for OBYC - DIF Transaction Key

Former Member
0 Kudos

Hi Gurus,

While creating MIRO document we are having small differences like 0.1 or 0.2. System is automatically determining GL account to which this difference need to be posted.

However, as this GL Account is created as Cost Element, system is checking for some cost object and is failing, terminating the process with an error saying "Account XXXXXX requires Cost Object - KI 235".

We have maintained OKB9 settings for Valuation Area & Business Area.

We have check couple of SAP Notes wherein it says that we need to maintain substitution rule.

Please help in writing a substitution rule for cost center derivation for DIFF GL Account.



View Entire Topic
Active Contributor
0 Kudos


In some cases, OKB9 at detailed level does not work.. Especially for automatically generated line items

For this, you need to maintain OKB9 entry at a higher level i.e. at company code level...

OR Else,

You need to write the user exit RGGBS000 in CO Substitution

Refer notes below which says OKB9 does not work in certain cases

0000032654 High level automatic account assignment

0000105024 Automatic a/c assignment (OKB9) does not work

0000409520 Goods/invoice receipt: Default account assignment ignored

In case you wish to use the exit, refer the article written by me, which gives the logic as well as the code to be written

Ajay M

0 Kudos
Hi Ajay
0 Kudos
Hi Ajay, Can you please share you reply once again