cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI : Sender FCC : Insert Header Line Only : FileToEmail Scenario

Former Member
0 Kudos

Hi.

I have a requirement to insert a header line using the Sender FCC. The file I have is already fully formatted correctly - I just need to insert a single header line on top of the file - this header line is a constant value (E.g. Prod Name     Quantity Sold     Net Value).

I want to avoid the need for ESR mapping as the file is already in the correct format so it would seem a waste to do so especially if this can be achieved by sender FCC.

I would appreciate any tips that can be provided - I guess I am looking for the Content Conversion Parameters to achieve this. I thought this was a straight forward requirement but is proving (for me) troublesome.

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member201264
Active Contributor
0 Kudos

Hi Mike,

You just add element in the target structure and assign all constant values as per your header names.

It will work.

See my thread I did already here.

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

Sreeni.

Former Member
0 Kudos

Hi,

1. You may try run operating system command to add header line to file.

2. Also if you are using mail adapter, you can use message transform bean in mail adapter and add header line using content conversion.

Regards,

Beena

Former Member
0 Kudos

Hi Mike,

Try <RecordsetStructure>.addHeaderLine=1 in the Content Conversion Tab.

Regards,

Sowmya