Hi,
I am working on a BDC program. Here, I have to split a text at # and move the same into an internal table. See below.
W_STRING = #H#263##030108#DG#030108#EUR#Rf.123#DN-123#0002#############
SPLIT W_STRING AT '#' INTO E_HEAD-FIRST E_HEAD-RTYPE E_HEAD-BUKRS......
where E_HEAD is the structure I want to move the data.
But, after this statement, E_HEAD-FIRST is holding # and rest all the fields are blank.
Is anything wrong in the statement I have used....? Could someone clarify my doubt..? Please suggest me how to split in such case.
Thanks in advance.
Best Regards,
Paddu.