SAP® Documentation

Single view

ABENRABAX_ASSIGN - RABAX ASSIGN

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

ASSIGN

Exceptions

Catchable Exceptions

CX_SY_ASSIGN_CAST_ILLEGAL_CAST

  • Cause: The components of the source field type and the target type, which are strings, tables or references, do not have exactly the same offset and length.
    Runtime Error:ASSIGN_CASTING_ILLEGAL_CAST (catchable)

CX_SY_ASSIGN_CAST_UNKNOWN_TYPE

  • Cause: The components of the source field type and the target type, which are strings, tables or references, do not have exactly the same offset and type.
    Runtime Error:ASSIGN_CASTING_UNKNOWN_TYPE (catchable)


Non-Catchable Exceptions

  • Cause: The field symbol is structured and the field to be assigned is shorter than the structure.
    Runtime Error:ASSIGN_BASE_TOO_SHORT
  • Cause: The alignment of the field f is too small for the type of the field symbol.
    Runtime Error:ASSIGN_BASE_WRONG_ALIGNMENT
  • Cause: You can only specify simple types for TYPE.
    Runtime Error:ASSIGN_CAST_COMPLEX_TYPE
  • Cause: The source field is longer than 16 bytes and can therefore not be interpreted as a field of type P.
    Runtime Error:ASSIGN_CAST_P_TOO_LARGE
  • Cause: The alignment of the field f is too small for the type specified in TYPE.
    Runtime Error:ASSIGN_CAST_WRONG_ALIGNMENT
  • Cause: The field f has a length which is not compatible with the type specified in TYPE.
    Runtime Error:ASSIGN_CAST_WRONG_LENGTH
  • Cause: The type specified in TYPE is unknown.
    Runtime Error:ASSIGN_CAST_WRONG_TYPE
  • Cause: A maximum of 14 decimal places is allowed.
    Runtime Error:ASSIGN_DECIMALS_TOO_HIGH
  • Cause: Decimal places may only be specified for type P.
    Runtime Error:ASSIGN_DECIMALS_WRONG_TYPE
  • Cause: A length of 0 was specified for the field f.
    Runtime Error:ASSIGN_LENGTH_0
  • Cause: A length less than 0 was specified for the field f.
    Runtime Error:ASSIGN_LENGTH_NEGATIVE
  • Cause: An offset less than 0 was specified for the field f.
    Runtime Error:ASSIGN_OFFSET_NEGATIVE
  • Cause: Offset and length were specified for the field f, and the data type of the field to be assigned does not allow subfield access. (This applies to the data types I, F, and P.)
    Runtime Error:ASSIGN_OFFSET_NOTALLOWED
  • Cause: The offset specified for the field f reaches beyond the range of the ABAP variable.
    Runtime Error:ASSIGN_OFFSET_TOOLARGE
  • Cause: In the area addressed by offset and length specifications for field f, there are deep components (data references, object references, strings, internal tables) that cannot be overwritten.
    Runtime Error:ASSIGN_OFF+LENGTH_ILLEGAL_CAST
  • Cause: The offset and length specified for the field f reach beyond the range of the ABAP variable.
    Runtime Error:ASSIGN_OFFSET+LENGTH_TOOLARGE
  • Cause: The field f is not a data reference. However, the system expected a data reference.
    Runtime Error:ASSIGN_REFERENCE_EXPECTED
  • Cause: The components of the source field type and the target type, which are strings, tables or references, do not have exactly the same offset and type.
    Runtime Error:ASSIGN_STRUCTURE_ILLEGAL_CAST
  • Cause: You cannot assign substrings to a field symbol.
    Runtime Error:ASSIGN_SUBSTRING_NOT_ALLOWED
  • Cause: The field symbol is typed, and the field to be assigned has a type which is incompatible.
    Runtime Error:ASSIGN_TYPE_CONFLICT
  • Cause: The type of the source field contains strings, tables or references.
    Runtime Error:ASSIGN_TYPE_ILLEGAL_CAST







ABAP Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 6400 Date: 20200126 Time: 043150     sap01-206 ( 39 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.