‎2008 Apr 04 11:30 AM
Dear All,
I am reading the RAW data of the spool character
Now I want to split the data at #5
But program is not splitting. I have tried using Hexa decimal also. If I split at 5 program is splitting.
Also i tried using below mentioned code
it is working but for the spool data it is not working.
please let me know what is the issue.
DATA: NAMES(30) TYPE C VALUE 'Charly#5John#5Peter',
NAMES2 TYPE STRING,
ONE(100) TYPE C,
TWO(100) TYPE C,
THREE TYPE STRING,
FOUR(4) TYPE C VALUE 'FOUR',
DELIMITER(2) VALUE '#5'.
SPLIT NAMES AT DELIMITER INTO ONE TWO THREE.
SPLIT NAMES AT '#5' INTO ONE TWO THREE.
‎2008 Apr 04 12:01 PM
I'm not sure about the RAW datatype but try using SPLIT AT...IN BYTE MODE.
Hope it helps,
Bert