on 04-03-2012 1:56 PM
Hi,
I am getting an Account determination error message when the Intercompany(STO Scenario) invoice is saved.
When the revenue account determination is analysed it says "G/L account xxxxxxxxx determined from account determination KOFI" - it took the combination of COA+AAG+AcctKey,but the accounting document is not yet generated.
I took a similar scenario in which the account has been determined successfully by the combination of COA+AAG+VALUATION CLASS+AcctKey
Kindly suggest what needs to be done in this context.
Hi
What is the exact error you are getting ? F5760 ?
When the account determination fails it is usually because the fields in the access sequences are not all filled or perhaps the key is missing in the pricing procedure so the system fails to pick up the valid account maintained in VKOA.
You can try the following method to pin point the exact failure point.
Confirm the exact error message issued (F5670 ?)
In the message you get the FI item number of the error eg 0000000005
Set a breakpoint in -> rv_accounting_document_create. 'SE37'
Run report SAPFACC0 for the affected invoice 'SE38'
when it stops at the BP, set a watchpoint on XACCIT-POSNR = 0000000005
Save the watchpoint & press F8
When it stops at the error the fields below will show you the exact item
& condition in the billing document that have the problem. You can check the
account determination for the condition.
xACCIT-POSNR
xACCIT-POSNR_SD
xACCIT-KSCHL
If you need to check further the actual accounts are assigned to the
FI items here, in the interface. c000-sakn1 should be filled and it
to XACCIT.
Main Program SAPLV60A
Source code of LV60AU08
...
function RV_INVOICE_ACCOUNT_DETERM
...
LOOP AT tkomv FROM sy-tabix.
...
CALL FUNCTION 'ACCOUNT_ALLOCATION'
...
IF c000-sakn1 = space OR ......
If all the accounts are assigned correctly and the system calls
function AC_DOCUMENT_CREATE and fails there, then the problem
is one of your tax conditions so make sure they are complete
with key etc in V/08
Hope this helps you further
Kind regards
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From your comments itself, I could guess that all your VKOA settings are made for the second combination and not for the first one. So for the scenario what you had tested, check whether it is also meeting the same combination. Else, maintain that and create a fresh set of documents and check.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.