Skip to Content
avatar image
Former Member

new line getting added in FCC for Receiver File Adapter


Dear All,

I am facing an issue with the File Content Conversion in the Receiver File adapter.

I am using the following parameters to generate a txt file with fixed field length.

1. fieldNames

2. fieldFixedLengths

But when the target file is getting created, it adds a new line after every line. I am unable to remove the new line.

Please advice how can I remove the new line.

Thanks and Regards,

Rana Brata De

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 20, 2014 at 09:49 AM

    Hi Rana

    Try with the below parameter

    Record.endSeparator =  blank

    do not give any values on the value tab.

    Also you can try with removing the endSeparator parameter from FCC if you have used that.



    Add comment
    10|10000 characters needed characters exceeded

  • Jan 17, 2014 at 12:10 PM

    Add Record endSeparator As 'nl' or hexa value

    Regards

    GB

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 17, 2014 at 12:45 PM

    Hi Rana

    try to give the hexadecimal value in the content conversion paramter.

    0x0D     = Carriage return

    0x0A     = NL line feed, new lineà

    try the end saperator 0x0D.

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 17, 2014 at 12:45 PM

    Hi Rana,

    Try by adding FCC parameter record.addHeaderLine..

    Refer the below bolg

    http://wiki.scn.sap.com/wiki/display/XI/File+Content+Conversion

    Regards

    Bhargava krishna

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 17, 2014 at 01:22 PM

    Hi Rana,

    Please follow the below blog...

    http://www.riyaz.net/sap/xipi-file-content-conversion-for-complex-structures/79/

    Regards

    Gaurav Ranjan

    Add comment
    10|10000 characters needed characters exceeded