Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Assignments →  Assignment and Conversion Rules →  Conversion Rules for Elementary Data Objects →  Byte-Like Source Fields 

Source Field Type xstring

Other versions: 7.31 | 7.40 | 7.54

Numeric Target Fields

Target Conversion
i, (b, s) Content is handled in the same way as a sourcefield of type x. If the source field has a length of 0, the target field is assigned the value 0.
p Content is handled in the same way as a sourcefield of type x. If the source field has a length of 0, the target field is assigned the value 0.
decfloat16, decfloat34 Content is handled in the same way as a sourcefield of type x. If the source field has a length of 0, the target field is assigned the value 0.
f Content is handled in the same way as a sourcefield of type x. If the source field has a length of 0, the target field is assigned the value 0.

Character-Like Target Fields

Target Conversion
c Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the target field is padded with blanks.
string Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the length of the target field is also 0 after the assignment.
d Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the target field is padded with the character "0".
t Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the target field is padded with the character "0".

Byte-Like Target Fields

Target Conversion
n Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the target field is padded with the character "0".
x Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the target field is padded with hexadecimal 0.
xstring Content is handled in the same way as a sourcefield of type x. If the length of the source field is 0, the length of the target field is also 0 after the assignment.