cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver file adaptor how to add header line

Emre_tr
Active Participant
0 Kudos

hi,

our scenario is IDOC to file, when file created i want to add a header line to file.

Is it possible in mapping or receiver file adaptor settings or is there a way to do it.

Maybe it's possible with BPM but i dont want to use it.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member854360
Active Contributor
0 Kudos

Hi Hatson,

Pleea see this:

In FCC you can specify Field.addHeaderLine

Parameter Name

Meaning

NameA.addHeaderLine

Specify whether the text file will have a header line with column names. The following values are permitted:

· 0 u2013 No header line

· 1 u2013 Header line with column names from the XML document

· 2 u2013 As for 1, followed by a blank line

· 3 u2013 Header line is stored as NameA.headerLine in the configuration and is applied

· 4 u2013 As for 3, followed by a blank line

This specification is only permitted if exactly one structure is defined.

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

please visit the blog.

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

Answers (2)

Answers (2)

Emre_tr
Active Participant
0 Kudos

thank you for your response i will try it.

PriyankaAnagani
Active Contributor
0 Kudos

Hi,

We can add headerline using receiver file content conversion parameter " recordsetStructure.headerLine" Please see the FCCReceiver Parameters

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Regards

Priyanka