ABAP Runtime Errors

ASSIGN_CAST_WRONG_ALIGNMENT SAP ABAP Runtime Error assign cast wrong alignment







ASSIGN_CAST_WRONG_ALIGNMENT 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.


ASSIGN_CAST_WRONG_ALIGNMENT ABAP Runtime Error

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.

Error in ASSIGN statement 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. In field <runtime parameter>, type <runtime parameter> was specified. This type requires an alignment on a memory address that is divisble by <runtime parameter>. The source data object has an insufficient alignment however.

If you want to assign a subfield of a structure to a field symbol for example, the offset from the start of the structure should be a multiple of <runtime parameter>. The structure should also contain a type that has at least the alignment <runtime parameter>.

(<runtime parameter> points to the address <runtime parameter>.) Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.