![sap movement type y11 sap movement type y11](https://erproof.com/wp-content/uploads/2017/01/sap-movement-types-customizing-1024x600.png)
The conversion rules explained here generally apply to all assignments and all statements in which the contents of data objects are changed.
![sap movement type y11 sap movement type y11](https://slidetodoc.com/presentation_image_h/1278fee12358a329ab9dcce0c66a2c16/image-47.jpg)
The special assignment rules for reference variables are described in a separate section. The following sections describe the conversion rules. If the syntax check detects this situation, a syntax error is displayed otherwise an exception is raised when the program is executed. If the data objects are neither compatible nor convertible, no assignment can take place.
![sap movement type y11 sap movement type y11](https://cdn.slidesharecdn.com/ss_thumbnails/allmovementtypesinsap-121126134204-phpapp02-thumbnail-4.jpg)
An assignment that requires a conversion is always slower than an assignment without conversion.ģ. After an exception, the content of destination is determined by the category of the data type. An exception is raised if the content of source cannot be handled in accordance with the conversion rules. Two data types are convertible if a conversion rule exists for them. The content of source is converted in accordance with the conversion rules and then copied to destination. source and destination are not compatible, but can be converted. When entire structures are assigned, the response in terms of alignment gaps is undefined: The binary content of an alignment gap in the destination structure can either be copied from the source structure or retain the original value.Ģ. For deep data objects, a reference is created in the destination object, the actual byte-like content of which cannot be seen externally. For flat data objects and related character-like or byte-like structural areas, a copy of the source object is created to the exact byte. The content is copied from source to destination without being converted. source and destination are compatible, which means that all technical type attributes match. When assigning the value of a source object (source) to a destination object (destination), three cases can be distinguished with respect to the data type:ġ. ◈ Return values or results of functional methods, of predefined functions and of constructor expressions, or of table expressions All working data within the internal session is referred to as internal data.Īn assignment passes the content of a source to a target data object.