03-14-2007 1:50 PM
Hi all,
I have a file, which is ' | ' delimited. At the last of each line record, I have not put any separator. Now when I am uploading the file to server path, at the lat of each record I am getting a ' # '.
When I am reading that file using READ DATASET, it is giving me ' # ', as a part of record.
Please can you help me with this.
Thanks in advance.
03-14-2007 2:07 PM
Hi ganesh,
try giving the file in DAT format(transfer format for data) in CG3Z transaction.
03-14-2007 2:01 PM
Hi ganesh,
if u are using the fm guI_upload
pass the parameter HAS_FIELD_SEPARATOR = 'X'
it removes the separator ...
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers
03-14-2007 2:04 PM
Hi sampath,
I am using the transaction CG3Z to upload the file to SAP server.
03-14-2007 2:07 PM
Hi ganesh,
try giving the file in DAT format(transfer format for data) in CG3Z transaction.
03-14-2007 2:09 PM
While using READ DATASET , remove the last character from all lines
READ DATASET into itab-field.
translate itab-field using '# '. <----
Replaces # with space.
<b>After # give 1 space in single quotes</b>
Message was edited by:
Chandrasekhar Jagarlamudi