cancel
Showing results for 
Search instead for 
Did you mean: 

Add Header and Footer To File

Former Member
0 Kudos

Hi All,

How can i add a Header and a Footer to my File at the receiving side of FILE -> XI ->FILE scenrio. are there any options in configuring the Receiver file adapter. any help wud b appreciated.

Thnx in Advance

Anil Kumar Veepuri

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Anil,

Please go through these links and see how to solve your problem:

<a href="/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion Receiver with Content Conversion</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm">Converting File Content in the Receiver Adapter</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">Configuring the Receiver File/FTP Adapter</a>

Regards,

abhy

udo_martens
Active Contributor
0 Kudos

Hi Anil,

plz have a look to the SAP XI library: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm">Converting File Content in the Receiver Adapter</a>

Regards,

Udo

Former Member
0 Kudos

Hi Anil,

This blog might help you:

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

regards,

P.Venkat

Former Member
0 Kudos

Hi Anil,

You can put header using the following parameter in the Content conversion

NameA.addHeaderLine

You can get more details of parameter from help.sap.com Receiver file adapter.

I guess for the trailer u can add another field to ur mapping and get the data from mapping itself.

Regards

Vijaya

Shabarish_Nair
Active Contributor
0 Kudos

http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm

Check that out !!

you can specify XML.addHeaderLine with different options.

About footer i guess you can add a extra node called footer in your data type and during mapping can fill the segment and write it ta a file (i am not sure of any other way as of now) ...

ShaBZ