In ABAP/4, you can specify offset values for elementary data objects in all statements, which process these data objects.
To do so, specify the name of a data object in a statement as follows:
Syntax
[+][()]
The operation of the statement is performed for the part of the field that begins at position +1 and has a length of .
If the length is not specified, the field is processed for all positions between and the end of the field.
String = string1+3(4).
Assuming that string1 = ‘abcdefgjk’.
Here string will contain ‘defg’.
To do so, specify the name of a data object in a statement as follows:
Syntax
The operation of the statement is performed for the part of the field
If the length
String = string1+3(4).
Assuming that string1 = ‘abcdefgjk’.
Here string will contain ‘defg’.
No comments:
Post a Comment