4.2.11

SAP Note 21719 - Sort versions: Which tables can you use?

Symptom:

Which tables can be used for sort versions for asset reporting?
Runtime error GET_WA_NOT_ASSIGNED occurs.
The system generates error message AB066 or AB067.

Cause and prerequisites

The problem is caused by customer-defined sort versions, or incorrect use of sort versions.

Solution
Only fields from the asset and depreciation area themselves can be used in sort versions. In reporting, this means table ANLAV, which contains the fields of table ANLZ (time-dependent data) and table ANLB (depreciation areas) in addition to table ANLA.
In addition, table ANLV (insurance data) can also be used. Table ANLP (posted depreciation) can also be used from Release 2.2 onwards.
Note that it is not possible to include tables based on transactions (ANEK/ANEVP).
If, for example, the transaction type were to be used as a sort criterion, there is no way to avoid having the assets listed several times, which may cause serious problems depending on the type of report involved.
The usage of fields from the investment program (program name or investment program position) is only possible in a report that processes investment programs.
A check when calling the report is implemented as of Release 4.5B. You can implement it in advance by applying Note 139823.
A sort version with depreciation area fields (table ANLB) cannot be used for lists in which more than one depreciation area can be processed (only a few reports allow this, for example RABIKA01 for comparing depreciation). The reason for this is that there is no way of specifying one of up to three areas for the sort version.
Fields from tables ANLP and ANLV can only be used in a sort version if the same tables are used in the relevant report (currently only the case with reports RAGAFA01 and RAVERS01). If these fields are used in other reports, runtime error GET_WA_NOT_ASSIGNED could occur.
An incorrect version of standard sort version 0017 was included in the deliveries up to and including Release 4.6B. By mistake, it contains table ANLA instead of ANLAV. To correct the error, replace table ANLA with ANLAV.

Additional key words

T086, V_T086, OAVI, sort version, PRNAM, PRPOS, investment program

No comments:

Post a Comment