Analysis of Error AA698
Skip to end of metadata
Created by Brigitte Kuehni on Mar 03, 2017
Go to start of metadata
Purpose
This document should help you to find the root cause of Error AA698. From an Asset Accounting point of view the most common causes for Error AA698 in various FI-AA transactions are the following:
________________
Cause 1
***********************
In most cases the error message AA698 is caused by inconsistencies in table T082AVIEWB for view 0 (internal view generated automatically) where there is no authorization for one or several depreciation area(s).
The error is often raised when you go into transaction AS91/AS92 but also in transaction AW01N for example.
Please check which depreciation areas you have activated in table ANLB and ANLC and then go to table T082AVIEWB and change the authority to 2.
SE16: table T082AVIEWB FIAA_VIEW AFAPL AFABER AUTHORITY
00 TRAN ** 0 ->>> should be 2
This correction report is called "RACORR_VIEW0_SET" and it will set field “Authority” for View 0 (legacy takeover view) from 0 to 2. The report is attached in SAP note 900767. This report must be implemented manually via transaction SE38, it is valid also for releases higher than 600. Once the problem is corrected and depending on your system release and support package you should ensure that SAP note 853754 is in your system to avoid any inconsistencies of that kind in future.
________________
Cause 2
***********************
In a few cases is has been noticed that this error is caused due to newly created or deactivated depreciation areas which are not present in both tables ANLC and ANLB.
In order to resolve this error both tables ANLC and ANLB will have to match and show the same depreciation areas.
For example:
Table ANLB has depreciation area XX that table ANLC does not have – this could be a depreciation area that was created with RAFABNEW.
This depreciation area will have to be added to ANLC. To manually install the depreciation area is a matter for consulting since there are tables which could be affected (ANLB, ANLC, ANEP, ANEA, COEPBR).
Please contact your SAP Consultant for the manual correction of the relevant tables.
________________
Cause 3
***********************
Check the asset in ANLB and ANLC for any inconsistency between the two fields:
>> ANLB-LGJAN is not equal to ANLC-GJAHR :
In this case you need to run report RACORR96 to correct the inconsistency.
Run RACORR96 in TEST mode for your company code and it should pick up any asset in error.
Go to transaction SE38:
-> enter report name: RACORR96
-> execute
P_BUKRS "your company code"
P_TEST X
-> execute
"Comparison of ANLB-LGJAN and ANLC-GJAHR" Here you should see the asset number and the company code which will need corrections.
After running RACORR96 in REAL mode ANLB-LGJAN and ANLC-GJAHR show the same fiscal year.
________________
Cause 4
***********************
The reason for the error is that the actual system date is for example in 2010 and the last opened fiscal year in FI-AA for your company code is e.g.2009. You can check this in transaction SE16 (T093C-LGJAHR = e.g. 2009). This situation leads to error AA698.
Start the fiscal year change report (RAJAWE00) to open fiscal year 2010 and to avoid the error.
Note: for error AA698 not to appear you should close the fiscal years for which ANLC records do not exist.
________________
Cause 5 (in case of investment measure involvement)
***********************
It may be that there are missing entries in table COEPBR. It could be that certain depreciation areas have line items in FI-AA table ANEP but which are not updated in CO table COEPBR.
For this you can go to table COEPBR, enter field KOKRS (CO Area) and OBJN (Object Number).
Tip: in table PRPS enter WBS / Project number in field POSID, execute. Then check value in field OBJN, which you need in order to view table COEPBR.
Compare the line items for each depreciation area in CO table COEPBR with the line items for each depreciation area in FI-AA table ANEP.
Please refer to SAP note 317806 and carefully read.
Run the correction report ZZAFANEW2 for the relevant asset and company code to update table COEPBR with the missing entries.
________________
Cause 6
***********************
The expired useful life in the asset master is not updated correctly.
In the Asset Master (AS02) tab ‘Depreciation Areas’ you notice that no expired useful life is shown although there should be. When you want to return to another tab, you get AA698.
Check tables ANLB and ANLC for the affected asset. These tables should have the same fiscal year as the current fiscal year in T093C. If this is not the case, then you may have to run fiscal year change program RAJAWE00 or if the last closed fiscal year in T093B shows a greater year than ANLB and ANLC for the affected asset, then you may have to forward the values to the current fiscal year via correction report RACORR55.
You will find these reports on the SAP Service Marketplace https://websmp203.sap-ag.de/fiaa-faq -> in 'Frequently Asked Questions'
Just in case you have differences in values in closed fiscal years for the asset also, then run correction report RACORR110 before you run RACORR55. It can be found via the same link above.
Report RACORR110 will align the values in tables ANEP and ANLC
Report RACORR55 carries forward the values in closed fiscal year to the next fiscal year.
When the asset has the same current fiscal year in ANLB and ANLC like in T093C, next step is to adjust the expired useful life in the erroneous asset .
Go to AS02 tab ‘Depreciation Areas’: possibly there is now a value in field ‘Expired Useful Life’ but it may still be the incorrect expired useful life. Although you might not get error AA698 in AS02 anymore, you most likely will still get it when you go to transaction AW01N: The reason for this is that in ANLC fields NDABJ and NDABP are not updated with the correct expired useful life yet.
Correct the expired useful life in the Asset Master via AS02 manually
Go to tab ‘Depreciation Areas’ and remove the value in field ‘Expired Useful Life’ and hit ‘Enter’.
The system will automatically calculate the correct expired useful life and fill the fields NDABJ and NDABP in ANLC once you SAVE the changes.
The expired useful life in the Asset Master for the affected asset is now correct. You may need to recalculate the asset (in AS02).
Tables ANLB and ANLC are now aligned with the same current fiscal year as in table T093C and the error AA698 is resolved.
*******************************************************************************************************************************************
NOTE:
Always test a correction report in a TEST SYSTEM first if the same problem also occurs in any other system but the Productive system.
Always run a correction report in TEST MODE first. Then check the report output, and only then run the report in REAL MODE when you are satisfied with the test result. Only when the report is started in REAL MODE will the affected tables be updated.
SAP Notes:
1531737 Error AA698 - Possible causes and resolutions
2430005 - Requested issue on Asset Accounting answered by SAP Community WIKI
In addition, some SAP notes are available that resolve known system errors or bugs causing error AA698 in various transactions. You should always check and search for SAP notes in the SAP Service Marketplace for your Release and Support Package using search term “AA698” or AA 698”.
1531737 - Error AA698 - Possible causes and resolutions
SAP Knowledge Base Article, Version: 15, Released On: 30.08.2022
Show Changes
ComponentFI-AA
PriorityNormal
CategoryHow To
Release StatusReleased to Customer
Rated Helpful:
(16 people)
Quality Rating
Symptom
AA698 - SYST: Abnormal termination (T_ANLB not equal to T_ANLC) OR AA698 - SYST: Abnormal termination (ANLB-LGJAN not equal to ANLC-GJAHR)
Error AA 698 in various transactions and programs: AS02 (expired useful life), AJRW (fiscal year change, AA707), Settlement CJ88 , KO88, KO8G, RAFABNEW (open new depreciation area), AFAR (recalculation), ABAVN, KO02, ABSO, MIGO etc.
Environment
Financial Accounting (FI)
Asset Accounting (FI-AA)
SAP R/3 Enterprise 4.7
SAP ERP Central Component
SAP ERP
SAP enhancement package for SAP ERP
SAP enhancement package for SAP ERP, version for SAP HANA
SAP S/4HANA Finance
SAP S/4HANA
Reproducing the Issue
This kind of issue can occur in different transaction, such as CJ88, AJAB, AS91, AS92, AS03, AW01N, ...
Cause
From an asset point of view the most common reasons why AA698 is coming up are the following. Generally one of the 5 causes and their solution has resolved AA698:
Cause 1 In most cases the error message AA698 is caused by inconsistencies in table T082AVIEWB for view 0 (internal view generated automatically) and some of area, if there is no authorization for this area
Cause 2 In a few cases we have noticed that this is caused due to newly created or deactivated Depreciation area.
Cause 3 Inconsistency between the two fields >> ANLB-LGJAN is not equal to ANLC-GJAHR
Cause 4 The reason for the error is that the actual system date is in 2009 and the last opened fiscal year in AA for company is e.g.2008. You can check this in with SE16 (T093C-LGJAHR e.g. 2008). This would lead to the error message.
Cause 5 It may be that there are missing entries in table COEPBR.
Cause 6
The expired useful life in the asset master is not updated correctly.
Resolution
Cause 1 Please fix the problem so you can create and post assets with transaction AS92 but, to avoid new inconsistencies of this kind, please apply SAP Note 853754. Please check which dep. areas you have activated in table ANLB and ANLC and go to table T082AVIEWB and change the authority to 2. SE16 table T082AVIEWB FIAA_VIEW AFAPL AFABER AUTHORITY 00 TRAN ** 0 ->>> should be 2 SAP Note 900767 provides the correction report "RACORR_VIEW0_SET" that will help you change the value in "AUTHORITY" from '0' to '2'. This report must be implemented manually via transaction SE38 and is valid also for releases higher than 600. Some other times, if you go to transaction AW01N for that asset, you might get error AA698 as well. The error is correct as TABLE ANLC and ANLB are not consistent.
Cause 2 In order to resolve this error both tables ANLC and ANLB will have to match. TABLE ANLB has depreciation area XX that ANLC does not have – probably opened with RAFABNEW. This depreciation area will have to be added to ANLC. To manually install the depreciation area this will be a matter for remote consulting as there are tables which could be affected (ANLB, ANLC, ANEP, ANEA, COEPBR). Unfortunately this type of problem is out of the scope of SAP Support. Please kindly contact your SAP Consultant for the manual correction of the TABLES. When running RAFABNEW if "leave values initial" is selected ANLC records will be created only for opened fiscal years in FI-AA. If the indicator is not selected ANLC records will be created in all fiscal years. As an option, you can delete the newly created area and re-create it again to make ANLC consistent.
Cause 3 Check the asset in ANLB and ANLC: could be an inconsistency between the two fields >> ANLB-LGJAN is not equal to ANLC-GJAHR In this case you need to run RACORR96 to correct this inconsistency. Run RACORR96 in TEST mode for your company code and it should pick up the asset in error. SE38 -> RACORR96 P_BUKRS "your company code" P_TEST X "Comparison of ANLB-LGJAN and ANLC-GJAHR" -> here you should see the asset number and the company code After running RACORR96 in REAL MODE ANLB-LGJAN and ANLC-GJAHR will show the same fiscal year. If you have same problem in your test system, then please run it first in your test system and verify the assets.
Cause 4 Please start the fiscal year change report (RAJAWE00) to open F.Y. 2009 to avoid the error. For error AA698 not to appear you should close the fiscal years for which ANLC records do not exist.
Cause 5 (in case of investment measure involvement)
Please to refer SAP Note 317806 carefully read. Run correction report ZZAFANEW2 for the relevant asset and company code.
Cause 6
The expired useful life in the asset master is not updated correctly.
In the Asset Master (AS02) tab ‘Depreciation Areas’ you notice that no expired useful life is shown although there should be. When you want to return to another tab, you get AA698.
Check tables ANLB and ANLC for the affected asset. These tables should have the same fiscal year as the current fiscal year in T093C. If this is not the case, then you may have to run fiscal year change program RAJAWE00 (Transaction AJRW) or if the last closed fiscal year in T093B shows a greater year than ANLB and ANLC for the affected asset, then you may have to forward the values to the current fiscal year via correction report RACORR55. This Correction Report is attached in SAP Note 366848 - Wrong fiscal year on posting date of goods receipt Note, the correction reports in SAP Note 366848 are not valid for S4CORE environments. Just in case you have differences in values in closed fiscal years for the asset also, then run correction report RACORR110 before you run RACORR55. It can be found in same SAP Note 366848.
Report RACORR110 will align the values in tables ANEP and ANLC Report RACORR55 carries forward the values in closed fiscal year to the next fiscal year.
When the asset has the same current fiscal year in ANLB and ANLC like in T093C, next step is to adjust the expired useful life in the erroneous asset .
Go to AS02 tab ‘Depreciation Areas’: possibly there is now a value in field ‘Expired Useful Life’ but it may still be the incorrect expired useful life. Although you might not get error AA698 in AS02 anymore, you most likely will still get it when you go to transactionAW01N: The reason for this is that in ANLC fields NDABJ and NDABP are not updated with the correct expired useful life yet.
Correct the expired useful life in the Asset Master via AS02 manually
Go to tab ‘Depreciation Areas’ and remove the value in field ‘Expired Useful Life’ and hit ‘Enter’.
The system will automatically calculate the correct expired useful life and fill the fields NDABJ and NDABP in ANLC once you SAVE the changes. The expired useful life in the Asset Master for the affected asset is now correct. You may need to recalculate the asset (in AS02).
Tables ANLB and ANLC are now aligned with the same current fiscal year as in table T093C and the error AA698 is resolved.
See Also
Wiki: Analysis of Error AA698
KBA 2430005 - Requested issue on Asset Accounting answered by SAP Community WIKI
KBA 2172555 - AA698 issues when you post acquisition amount to an existing AUC asset - FI/CO
Keywords
AA698 AA 698, SYST: Abnormal termination ANLC GJAHR ANLB LGJAN, RAJAWE00, AUC, WBS, settlement, CJ88, KO88, KO8G, deactivated, T082AVIEWB, AS02, AS03, expired UL, error AJRW AA707 Asset Accounting
Products
References
This document refers to
This document is referenced by
Available Languages
日本語 (Machine Translation)
Português (Machine Translation)
Español (Machine Translation)
中文 (Machine Translation)
Français (Machine Translation)
Italiano (Machine Translation)
Русский (Machine Translation)
한국어 (Machine Translation)
Deutsch (Machine Translation)
Rate this document
Was this KBA helpful?
Yes
No
| Products | |||
|---|---|---|---|
| SAP ERP Central Component all versions | |||
| SAP ERP all versions | |||
| SAP R/3 Enterprise all versions | |||
| SAP S/4HANA Finance all versions | |||
| SAP S/4HANA all versions | |||
| SAP enhancement package for SAP ERP all versions | |||
| SAP enhancement package for SAP ERP, version for SAP HANA all versions |
| SAP Note/KBA | Component | Title | |||
|---|---|---|---|---|---|
| 2430005 | FI-AA | Requested issue on Asset Accounting answered by SAP Community WIKI | |||
| 2172555 | FI-AA-AA-C | AA698 issues when you post acquisition amount to an existing AUC asset - FI/CO | |||
| 1731010 | FI-AA | Error AA 624 when changing depreciation key in AS02 | |||
| 900767 | FI-AA-AA | No depreciation areas in legacy data transfer transaction | |||
| 853754 | FI-AA | OADB: Incorrect automatic transport | |||
| 366848 | FI-AA-AA-C | Wrong fiscal year in posting date of goods receipt | |||
| 317806 | FI-AA-SVA | RAFABNEW: No new depreciation area for investment measures | |||
| Analysis of Error AA698 |
| SAP Note/KBA | Component | Title | |||
|---|---|---|---|---|---|
| 2172555 | FI-AA-AA-C | AA698 issues when you post acquisition amount to an existing AUC asset - FI/CO | |||
| 2382315 | FI-AA-AA | Error message AA698 occurred when changing asset master in T-code: AS02 | |||
| 1891807 | FI-AA-AA-A | Error AA698 in transactions AS02/AS92 |