Warning: file_get_contents(/customers/9/5/e/s4hd.com/httpd.www/global/php/adxcode.txt): Failed to open stream: No such file or directory in /customers/9/5/e/s4hd.com/httpd.www/global/php/helpers.php on line 89
Get Example source ABAP code based on a different SAP table
Warning: Undefined variable $prev in /customers/9/5/e/s4hd.com/httpd.www/sap/help/index.php on line 55
VX_EXA_ONLY
Field Symbols, Casting Built-In Data Types This example demonstrates how a casting is performed on built-in data types.
ABAP_DESCRIPTION This example demonstrates how casting works on built-in data types. First the character string txt> is assigned to the field symbol <(><)>> without casting. Afterwards, txt> is assigned to <(><)>> using casting on types i> and x>. The second output value depends on the byte order of the current platform. The paired numbers in the last output line represent the hexadecimal code for the character in txt> and depend on the character representation on the current ABAP_ASINSTANCE . The section of the method that has been commented out also shows the syntax for the respective obsolete casting>.