Ansicht
Dokumentation

ABAPASSIGN_EXCEPTIONS - ASSIGN EXCEPTIONS

ABAPASSIGN_EXCEPTIONS - ASSIGN EXCEPTIONS

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Exceptions

Catchable Exceptions

CX_SY_ASSIGN_CAST_ILLEGAL_CAST

  • Cause: The type of the source field and the target type do not match exactly in offset and type in those components that are strings, tables, or references.
    Runtime Error: ASSIGN_CASTING_ILLEGAL_CAST

CX_SY_ASSIGN_CAST_UNKNOWN_TYPE

  • Cause: A type specified dynamically after CASTING is unknown.
    Runtime Error: ASSIGN_CASTING_UNKNOWN_TYPE

CX_SY_ASSIGN_OUT_OF_RANGE

  • Cause: The data object in addition RANGE does not contain the assigned data object.
    Runtime Error: ASSIGN_FIELD_NOT_IN_RANGE

Non-Catchable Exceptions

  • Cause: The field symbol is structured and the assigned field is shorter than the structure.
    Runtime Error: ASSIGN_BASE_TOO_SHORT
  • Cause: The alignment for field f is too short for the type of the field symbol.
    Runtime Error: ASSIGN_BASE_WRONG_ALIGNMENT
  • Cause: Only simple types can be specified for TYPE.
    Runtime Error: ASSIGN_CAST_COMPLEX_TYPE
  • Cause: The source field is longer than 16 bytes and cannot be interpreted as a type p field.
    Runtime Error: ASSIGN_CAST_P_TOO_LARGE
  • Cause: The alignment of field f is too short for the type specified in TYPE.
    Runtime Error: ASSIGN_CAST_WRONG_ALIGNMENT
  • Cause: The length of field f does not match the type specified in TYPE.
    Runtime Error: ASSIGN_CAST_WRONG_ALIGNMENT
  • Cause: The type specified in TYPE is unknown.
    Runtime Error: ASSIGN_CAST_WRONG_TYPE
  • Cause: A maximum of 14 columns is allowed.
    Runtime Error: ASSIGN_DECIMALS_TOO_HIGH
  • Cause: Decimal places are allowed only for type p.
    Runtime Error: ASSIGN_DECIMALS_WRONG_TYPE
  • Cause: A length of 0 was specified for field f.
    Runtime Error: ASSIGN_LENGTH_0
  • Cause: A length less than 0 was specified for field f.
    Runtime Error: ASSIGN_LENGTH_NEGATIVE
  • Cause: An offset or length was specified for field f and the data type of the assigning field does not allow partial access. (This is the case for data types I, F, and P.)
    Runtime Error: ASSIGN_OFFSET_NOTALLOWED
  • Cause: In the area addressed in the offset and length specifications for field f, deep components exist (data references, object references, strings, internal tables), which may not be overwritten.
    Runtime Error: ASSIGN_OFF+LENGTH_ILLEGAL_CAST
  • Cause: Field f is not a data reference. However, a data reference was expected.
    Runtime Error: ASSIGN_REFERENCE_EXPECTED
  • Cause: The type of the source field and the target type do not match exactly in offset and type in those components that are strings, tables, or references.
    Runtime Error: ASSIGN_STRUCTURE_ILLEGAL_CAST
  • Cause: Substrings cannot be assigned to a field symbol.
    Runtime Error: ASSIGN_SUBSTRING_NOT_ALLOWED
  • Cause: The field symbol is typed and the type of the assigned field is incompatible with it.
    Runtime Error: ASSIGN_TYPE_CONFLICT
  • Cause: The type of the source field contains strings, tables, or references.
    Runtime Error: ASSIGN_TYPE_ILLEGAL_CAST
  • Cause: The type of the source field is a structure not compatible with the target type.
    Runtime Error: ASSIGN_UC_STRUCT_CONFLICT





rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 6009 Date: 20240420 Time: 102432     sap01-206 ( 57 ms )