Skip to Content
avatar image
Former Member

file receiver adapter is creating file ending with 2 blank lines

Hi,

I have a scenario which is running fine in production environment and there needs a urgent fix in which we need to add 2 fields in the structure.

we are testing this scenario in regression box, which is having exactly similar content conversion parameters as production. but in R environment, we are getting file which is having 2 bank lines at the end of file.

FCC Details:

Record.endSeparator  '0x0D''0x0A'

Record.fieldSeparator   ,

Thanks

Hamja

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 30, 2012 at 01:22 AM

    You are using line feed. Use the below seperator for the new line

    Use Record.endSeparator  =   'nl'

    refer this help link

    http://help.sap.com/saphelp_46b/helpdata/es/0c/4be1cb4c7c11d2a994006094b92fad/content.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 30, 2012 at 01:55 AM

    hi Hamja,

    '0x0D''0x0A' is used for carriage return and line feed. This is used if file is to be absorbed by Windows/mainframe based system which considers 'nl' separator as only line feed without carriage return.

    So if you see the file from linux based system, you may see two blank lines or it also depends on editor which you are using to see the file. What I suggest is to get the file verified by the target system team for which file is generated.

    hope this helps

    Ankit

    Add comment
    10|10000 characters needed characters exceeded