2016 Sep 13 9:48 AM
All,
We are using the method Change_ACC_DATA in order to replace the General ledger account by another in case of repayment. This is a legal requirement.
In the coding itself we see that the account (which is linked to the product type), is replaced by the account that it should be : see screenshot in attachment.
However in FNM1 it still the account as defined in the customizing. Did somebody else tried already to pick up another account.
We use this BADI also (other method) to pick up the earmarked funds and this works.
Best regards,
Wouter
2016 Sep 13 9:56 AM
Hi,
though the whole structure is available, only changes for certain fields are taken over during posting.
This is done to avoid inconsistencies because in general, the data for example for accounts taken from account determination should be correct.
However, I would expect that changes for HKONT are taken over.
If you need that to be checked I would recommend to open a message.
Kind regards,
Michael
2016 Sep 13 10:06 AM
Thanks for your prompt reply,
So this means that the field GL account can't be replaced via this BADI, in order to avoid inconsistencies.
Correct?
Is the other method create own posting an alternative or do you have there the same check?
In case this method is an option, should you use also the method suppress_FI_POSTING in order to avoid inconsistencies?
Best regards,
2016 Sep 13 10:09 AM
Hi,
no, I meant:
You should be able to replace HKONT. But you should careful with doing that.
Kidn regards,
Michael
2016 Sep 13 11:02 AM
okay, now it is clear.
Any idea, why we don't see the replacement. We have 2 account assignment one based on the update type and another via FNZA. Could that be the reason?
best regards,
wourer
2016 Sep 13 11:07 AM
Update type settings are not relevant for FVD_LOAN_POST. Only operative loans data (FNZA).
The FI document with the "wrong" account, is it a LOANS document or a TR-TM document?
2016 Sep 14 11:47 AM
I was indeed able to redetermine the account in the account determination in FNZA. So it was not necessary to use the BADI in question