‎2017 Jun 22 7:15 AM
Hi,
I am uploading a file in application server, by default there is a # appended at the end of each line . I know these are non printable characters and used by the system to recognize the end of the line . I am reading data from the application server and uploading in the ciustom table . In the table there are no # but when the data is read in an internal table there is # strangely. But why this is happening.,
rg
thanks
‎2017 Jun 22 8:13 AM
As you quite rightly point out, # symbols tend to be unprintable characters. During your upload process I would tend to remove these before storing them in the database table. You can find the hex value to search for by using debug and examining the data structure. The value will most probably be 00 0A since that is a line feed character.
Rich
‎2017 Jun 22 7:38 AM
Please don't ask the same question multiple times, this annoys people and makes them not want to help you. If you have further info, by all means please add it to the original question.
‎2017 Jun 22 7:58 AM
hi ramya ,
try with open dataset, transfer , close dataset to transfer file from presentation server to application server / read data from table to transfer to application server, hope it's help for your scenario .
regards,
Umayaraj.B
‎2017 Jun 22 7:16 PM
‎2017 Jun 22 8:13 AM
As you quite rightly point out, # symbols tend to be unprintable characters. During your upload process I would tend to remove these before storing them in the database table. You can find the hex value to search for by using debug and examining the data structure. The value will most probably be 00 0A since that is a line feed character.
Rich
‎2017 Jun 22 9:17 AM
"In the table there are no #"
How are you looking at the table? SE16?
‎2017 Jun 22 4:34 PM
Its a line feed.
Use shift left or right to delete those characters.
Thanks
Anand
‎2017 Jun 22 5:17 PM
# is only the representation in SAP GUI. Look at the hexadecimal value in the debugger to find out the binary value and check your code page for the meaning.