Get Example source ABAP code based on a different SAP table
Source Field Type <(>xstring<)> ITOC
Numeric Target FieldsTarget>Conversion> i>, int8>, (b>, s>)Content is handled in the same way as a source field of type x> >. If the source field has length 0, the target field is assigned the value 0. p>Content is handled in the same way as a source field of type x>>. If the source field has length 0, the target field is assigned the value 0. decfloat16>, decfloat34>Content is handled in the same way as a source field of type x>>. If the source field has length 0, the target field is assigned the value 0. f>Content is handled in the same way as a source field of type x>>. If the source field has length 0, the target field is assigned the value 0.
ABAP_EXAMPLE_VX5 The result of the following conversion has the value 123456789>. The first three bytes FFFFFF> of the source field are ignored. ABEXA 00961 ABAP_EXAMPLE_END
Character-Like Target FieldsTarget>Conversion> c>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the target field is padded with blank characters. n>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the target field is padded with the character 0>. string>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the length of the target field is also 0 after the assignment.
ABAP_EXAMPLE_VX5 The string resulting from the conversion is FFFFFF075BCD15>. All bytes of the source field are included in the conversion. ABEXA 00962 ABAP_EXAMPLE_END
Byte-Like Target FieldsTarget>Conversion> x>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the target field is padded with the hexadecimal 0. xstring>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the length of the target field is also 0 after the assignment.
ABAP_EXAMPLE_VX5 The byte chain resulting from the conversion is FFFFFF075BCD15>. All bytes of the source field are included in the conversion. ABEXA 00963 ABAP_EXAMPLE_END
Date/Time Fields as Target Fields#Target>Conversion> d>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the target field is padded with the character 0>. t>The content is handled in the same way as a source field of type x>>. If the length of the source field is 0, the target field is padded with the character 0>. utclong>Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED >>.
ABAP_EXAMPLE_VX5 The value of the date field resulting from the conversion is 20170111> corresponding to 736341 days since 01/01/0001. The first three bytes FFFFFF> of the source field are ignored. ABEXA 00964 ABAP_EXAMPLE_END