ASSIGN_CAST_WRONG_LENGTH is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
ABAP type D fields must be 8 characters long, type T fields 6 characters, type I fields 4 bytes, and type F fields 8 bytes.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
Please see search hints for more details about the possible cause of this runtime error and how it could be avoided.
Please see send to sap for more details about the possible cause of this runtime error and how it could be avoided.
Wrong assignment of a field symbol in program <runtime parameter>.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
In the current program <runtime parameter>, the ASSIGN ... TYPE ... statement was
used to assign the type <runtime parameter> to the field symbol <runtime parameter>. The length
defined for this type is <runtime parameter>, but the reference field is <runtime parameter> characters
long. The type to be assigned is in the field <runtime parameter>.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
The type assigned to one of the field symbols is not allowed.
ASSIGN_CAST_WRONG_LENGTH - assign cast wrong length ASSIGN_CAST_WRONG_ALIGNMENT - assign cast wrong alignment ASSIGN_CAST_P_TOO_LARGE - assign cast p too large ASSIGN_CAST_COMPLEX_TYPE - assign cast complex type ASSIGN_CASTING_UNKNOWN_TYPE - assign casting unknown type ASSIGN_CASTING_ILLEGAL_CAST - assign casting illegal cast