Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

question on application server file upload

Former Member
1,500

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

1 ACCEPTED SOLUTION
Read only

Former Member
1,331

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

7 REPLIES 7
Read only

pokrakam
Active Contributor
1,331

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.

Read only

Former Member
0 Likes
1,331

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

Read only

1,331

Sorry but this answer makes no sense whatsoever.

Read only

Former Member
1,332

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

Read only

matt
Active Contributor
0 Likes
1,331

"In the table there are no #"

How are you looking at the table? SE16?

Read only

anand_sagarsethi
Contributor
0 Likes
1,331

Its a line feed.

Use shift left or right to delete those characters.

Thanks

Anand

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,331

# 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.