cancel
Showing results for 
Search instead for 
Did you mean: 

at the end of line # is coming in output file at application directory

Former Member
0 Kudos

Hi experts,

I am doing a file to file tunneling in which from a file server I am picking the file and putting it into SAP application server nothing is done in IR .However when the file is reaching in application server its end seprator is coming as # .I am surprised from where the #is coming at the end of every line.When i am dowloading the same file to my local directory in that file # is not there.

Please help me as my client is not accepting the file with endsepeartor as # .

Might be # is coming as the apllication server is in uniq env . But how to get rid of it .Please guide me with whatever input you have in this regard.

Regards,

Neha

Accepted Solutions (0)

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

in the file receiver adapter, for the parameter File Type what have you given?

Try the various options (binary and Text) and check if it alters the data.

Former Member
0 Kudos

Hi ,

In receiver CC I have checked both binary and text but # is not getting removed .On hit and trial when I have given encoding utf -16 then almost alll character turned to #.

Please experts guide me if you have any suggestion for this problem.

Regards,

Neha

Former Member
0 Kudos

Hi Neha,

I think you do not have to do anything because see you said on saving the file locally, you are not able to see the # character at the end of line..........but when you are seeing in SAP window, then this # character is displayed..............so your SAP server can be a UNIX server and it is displaying the End of Line and Carriage Return ASCII characters as # because these are non-displayable characters.....

But still if you do not want this # character to be displayed, then you can try Binary and no character encoding........then see if your file is displayed without # character.

Regards,

Rajeev Gupta

Former Member
0 Kudos

Hi Rajeev,

Thanks for your reply but i have already tried with receiver and sender both as binary but the problem still persist,Secondly on the SAP side while processing the file are facing problem as end of the line is #.

Regards,

Neha

Former Member
0 Kudos

Hi,

please have a look on the link. You may find the cause.

http://help.sap.com/saphelp_nw04/helpdata/en/79/c554a0b3dc11d5993800508b6b8b11/content.htm

Thanks.

Indira D

Former Member
0 Kudos

Hi Neha,

in your source file, # should not be there..........process it by sender file adapter..............

in receiver file adapter, try Text and do not specify any encoding.............if this does not work, then try receiver file adapter with Text and encoding as utf-8.

Regards,

Rajeev Gupta

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Look this thread might help you