on 2019 Dec 02 8:29 AM
Dear all,
We are in S4H.
Customer fields have been insert into customer include CI_COBL.
For unknown reason an enhancement has been used in function module K_COEP_SUBSTITUTION in order to update fieds in CI_COBL. I was afraid seing this instead of using EXIT_SAPLKACB_002.
Coding does not work in all case so I decide to use EXIT_SAPLKACB_002 with the same logic than enhancement in order to do things properly.
When I use debug in user exit: everything is right but when we see CO posting customer fields are wrong.
We have 2 lines in the CO Document and 4 customer fields per line (F1 / F2 / F3 / F4).
Line 1 - Cost center
Line 2 - WBS Element
With user-exit EXIT_SAPLKACB_002, customer fields are correctly updated in debug:
Line 1 : F1 with value V1 / F2 with value V2
Line 2 : F1 with value V3 / F2 with value V4
So we can hope that CO document will have the same values but not!
In CO Document we have:
Line 1 : F1 with value V3 / F2 with value V4
Line 2 : F1 with value V3 / F2 with value V4
Moreover we have F3 and F4 which have been cleared (they have values V5 and V6 in customer exit (debug)).
It seems that the system takes only the last line in reference to create CO Document and FI Document...
Line 1 : F1 with value V1 / F2 with value V2
Line 2 : F1 with value V3 / F2 with value V4
In CO Document we have:
Line 1 : F1 with value V1 / F2 with value V2
Line 2 : F1 with value V3 / F2 with value V4
Fields F3 and F4 are correct and not empty.
This works but not in all cases.
1. Why using Customer include EXIT_SAPLKACB_002 everything is wrong?
2. What is the solution in order to put values in customer fields CI_COBL?
Thanks for your help.
David
Hello Frederic,
We use several transactions:
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On trouve beaucoup de user-exit permétant de modifier les zones CI_COBL, mais dans cette doc, ils ont l'air d'utiliser les derivations/substitutions.
https://blogs.sap.com/2014/01/13/adding-customer-fields-in-fi-new-gl-functionality/
Pour comprendre ce qu'il se passe dans ton cas, il faudrait debugger
User | Count |
---|---|
102 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.