Conversion problem when spiting files from application server?
I have a file in application server since when i read file from application server it will be encoded with # instead of tabspace.so i have to split it at # or con_tab.
but what if the one of the field in file is of type I.its showing it can be only of type c or string.
Here is it WA_ITEM-KWMENG. field
wa1 is of type string.
file1 is of string.
how can i split that field .how to proceed what to do??
*OPEN DATASET ITEM1 FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.
* IF SY-SUBRC <> 0.
* READ DATASET ITEM1 INTO WA1.
* IF sy-subrc = 0.
* SPLIT wa1 AT con_tab INTO WA_ITEM-key
* APPEND WA_ITEM to it_ITEM.
*CLOSE DATASET ITEM1.