Ansicht
Dokumentation
Tip-No.: 417 ( INFO417 )
Gen. error "Offset or length entry not allowed"
Tip-No.: 417
( INFO417 )
Vendor Master (General Section)
Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Short text
Gen. error "Offset or length entry not allowed"
Tip-No.: 417
Symptom
When generating an ABAP program
Syntax- error in program
Offset or length entry not allowed.
The syntay check for program
Cause
The generation terminates with the above syntax error message if data
type and desired length for a data declaration do not fit together,
but the syntax check does not recognize this error.
Examples of instructions (declarations or instructions that displace
declaractions internally) that lead to such a syntax error during the
generation:
DATA FLOAT1 TYPE F.
DATA FLOAT2 LIKE FLOAT1(3). " <== leads to error
PARAMETERS: FLOAT3 LIKE FLOAT1(3). " <== leads to error
ON CHANGE OF FLOAT1(3). " <== leads to error, as internal
... " help field LIKE FLOAT1(3)
ENDON. " is created
If the field length specified in parenthesis (3 in the above example)
is smaller than the length of the reference field, the generation
terminates. If it is larger, generation does not terminate.
This effect occurs with numerical types I, F, and P.
Solution
Do not use any instructions that lead to impermissible data
declarations.
Fill RESBD Structure from EBP Component Structure TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 1549 Date: 20240427 Time: 060240 sap01-206 ( 17 ms )