cancel
Showing results for 
Search instead for 
Did you mean: 

Junk character in place of new line for received file while opening in Notepad..

Former Member
0 Kudos

Dear Gurus,

This is a simple Proxy to File(NFS) using FCC scenario, using AAE.

When we open the received file with notepad we can seee a small square in place of every new line.

We can see the file in proper format with wordpad.

I think its OS issue, if i transfer the file from SXDA_tools the file comes properly in notepad.

Is there any way to resolve this using option Run OS commands after message processing using script?

The following discussion talks about the same issue but didn't ends with solution.

http://scn.sap.com/thread/316265

Regards,

Hitesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Hitesh,

This is due to different ways UNIX and WINDOWS interpretes newline character.

Windows uses \r\n and Unix uses \n. You can try using unix2dos to switch the formats.

Regards,

Beena.

Former Member
0 Kudos

Hi Beena,

Are you saying that in FCC for end separator we need to mention something different than 'nl'?

Regards,

Hitesh

Former Member
0 Kudos

Hi Hitesh,

You may try putting ASCII code for \r\n instead of 'nl' in file channel.

However I am not sure if it will work as file will be created in UNIX system.

Otherwise you may try the command unix2dos in run os commnad after processing message.

Regards,

Beena.

Former Member
0 Kudos

Hi Beena ,

Thanks for your time.

It worked by using '0x0D''0x0A' the Hex for /r/n.

Regards,

Hitesh

Answers (0)