22.3.11

SAP Note 25381 - RAISE_EXEPTION in ABAP for NAMETAB_GET

Symptom:

    1. When you execute a transaction (in particular KEU5), you receive runtime error RAISE_EXCEPTION. The termination occurred in the function NAMETAB_GET.
    2. Syntax error when checking a report which uses the field of an internal structure. However, this field is defined correctly in the Dictionary.
    3. The SHOW command in the ABAP editor either causes a termination or not enough fields are displayed.
Cause and prerequisites

During individual access to a field description by position or field name (C_DD_GET_FIELD, NAMETAB_GET), the system calculates an offset to end of the field description which is only of the C-type "short." An overflow occurs when there are more than 1540 fields in an internal structure. The ABAP/C call C_DD_GET_FIELD returns a SY-SUBRC=1. This causes the error during the syntax check of a report.
Strutures with more than three digit field amounts cannot be correctly displayed in transaction SE11 for maintaining DDIC objects.
Alternatively, you can also find out the number of fields using database statements:
In ORACLE with "sqlplus"
select max(position) from dd03l where tabname = '

';
This request gives you the number of fields.

Solution

The correction in the C coding was carried out in Release 2.2G, 2.1M and 3.0B. The number of fields of an internal structure cannot be more than 1540 in earlier upgrades.
To make it possible to assess cost center costs to Profitability Analysis (KEU5), you need to correct the syntax error in module ALxxyyyX as follows:

    1. After generating the operating concern, remove the value field groups which are not used in the assessment cycles (either as a fixed/variable value field or a field group in the tracing factor) from structure CE8nnnn (nnnn = operating concern) using SE11. Then activate the structure in SE11 so that it can be included in the nametab.
    2. The modification specified below should be entered in the ABAP Include LKEG1F20.
The modifications are lost when you regenerate the operating concern. The structure is then recreated.

Additional key words

Nametab , C_DD_GET_FIELD , NAMETAB_GET , INTERNAL_ERROR,
Syntax error in ALxxyyyX, CE8xxxx



No comments:

Post a Comment