Skip to Content
avatar image
Former Member

Substitution for OBYA Accounts

Hi all,

I have the requirement to substitute the accounts used in OBYA when the document type "CO" is used. (S/4 HANA environment).

I tried the following FI substitution in callup point 2 (line item):

Prerequisite:

BKPF-BLART = 'CO' AND BSEG-KTOSL= 'BUV'

Substitution:

BSEG-HKONT = '999999'

The above substitution is not working when KSU5 is executed (intercompany cost center assessment). In KSU5 we allocate cost from one company to another company. In S4 HANA for the cost center assessment a FI document with document type CO is generated. And in this document we would like to substitute the balance sheet account.

I tried also the prerequisite with BSEG-HKONT = '123456' and also with BKPF-TCODE = 'KSU5'.

In general the BSEG-HKONT substitution is working when I perform FB01 posting. The settings in GB01 and OBBH are correct. And I also considered the program RGUGBR00.


Does anyone of you have a solution?

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Dec 17, 2017 at 09:39 PM

    Hi Mahmoud,


    see below example, it's not the secondary cost element 780000 that need to be substituted but the balance sheet account 123456 -> 999999.

    Transaction KSU5: Assessment of costs from company code A000/Cost Center A100 to company code B000/Cost Center B100

    Company Code A000

    Debit 40 123456 Clearing Account 1000 $ Trading Partner B000 (Transaction BUV)

    Credit 50 780000 Assessment OM 1000 $ Cost Center A100 Trading Partner B000 (Transaction CO1)

    Company Code B000

    Debit 40 780000 Assessment OM 1000 $ Cost Center B100 Trading Partner A000 (Transaction CO1)

    Credit 50 123456 Clearing Account 1000$ Trading Partner A000 (Transaction BUV)

    I checked in debbuger the transaction KSU5 and the callup points FI document header and item are not executed. I think the FI substitution will not work here. Maybe a BTE (Business Transaction Event) will help.


    BR

    Ismail

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 16, 2017 at 05:52 AM

    Hi

    i would like to add some notes from my point of view , it might helps..

    you say that you use assessment cycle, as per knowledge assessment is used through secondary cost element not primary

    i did something like your requirement in my company , i add substitution to OK17 for this secondary cost element to desiered GL in FI and it's working properly , every time i use assessment , the required GL is getting posted in FI..

    Regards

    Mahmoud

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2017 at 04:39 AM

    Hi

    Thanks for your reply.. i thought that you want to substitute the cost element , but may i ask you for my knowledge , why you need to substitute the BS account? it's not a normal practice in the accounting ?

    Regards

    Mahmoud

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2017 at 04:26 AM

    Hi

    thanks for your reply , if the main purpose is to differentiate the transaction based on its type , you may consider also some other alternative than using different GL for inter company posting, it my alike different Doc type, using of assignment field to write a key that you can use in analysis to separate overhead posted from other normal transactions .

    if you allowed , in my opnion using different GL to group posted transactions is always my last choice ...

    Regards

    Mahmoud

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 18, 2017 at 09:40 AM

    Hi Mahmoud,

    we are using the OBYA (cross company transactions) for several purposes, e.g. one company makes purchases on behalf of another company or makes payment on behalf of another company. We have also the case to allocate costs in CO-OM from one company to another company for management purposes. The requirement is to have different accounts based on document type. In OBYA we don't have the option to differentiate the accounts based on document type.

    BR

    Ismail

    Add comment
    10|10000 characters needed characters exceeded