The OVERLAY statement allows you
to replace blank characters in one string with characters from another string with their respective positions
Example:
String1: “A F” “4 spaces
String2: “123456”
OVERLAY string1 with string2.
Output: A2345F
The OVERLAY statement ALSO allows you replace Non-Blank Characters
To replace non-blank characters in one string with characters from another string with their respective positions with ONLY addition
Example:
String1: “ABCDEF”
String2: “123456”
OVERLAY string1 with string2.” ONLY ‘AB’.
Output: A2345F
Join this channel to get access to perks:
/ @pankajkumaram
Негізгі бет Magic of Overlay keyword | How to use Overlay keyword in ABAP | Replace characters with Overlay
Пікірлер: 3