Thanks for checking..
I tried with one Space and 2 spaces.... I guess I can still do the SPLIT in the abap layer.
ATWTB has value -> 'CLH001001000 2100C'; ONLY one SPACE between two strings.
The result should be -> 2100C but I get the complete string in the output -> CLH001001000 2100C
My HANA SQL
SELECT a.vbeln, a.posnr, SUBSTR_AFTER(a.atwtb,' ') AS COLUMN1
from : it_vc_config as a
where a.atinn = '0000001737' );
I tried using
-> SUBSTR_AFTER(a.atwtb,' ')
-> SUBSTR_AFTER(a.atwtb,' ')
-> SUBSTR_AFTER(a.atwtb,' ')
Also used the variable approach..
declare v_space varchar(1) :=' ';
-> SUBSTR_AFTER(a.atwtb, v_space)