cancel
Showing results for 
Search instead for 
Did you mean: 

need help in FCC in reciver file adapter

former_member55105
Participant
0 Kudos

Hi Experts,

I have a flat file structure as below -

Header

Text

Rows

FName LName EmpId Location

when i generate a CSV file i need to have these field names in the first row and then below these filed names i need values for these fileds

I am able to get the values for these fields but we need the field names in the file

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

addHeaderLine parameter can be used to give column names. But you need to have only one structure.

Refer:

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

Former Member
0 Kudos

Hi,

Do one thing, at your target structure in mapping, right click on Rows and select "Duplicate Subtree". Now in the first parent node "Rows" just hard code 'FName', 'LName', 'EmpId', 'Location' and in the second parent node "Rows" do your mappings as you did earlier.

By doing so, you will not require to do any changes in your Data Type.

P.s. No need to do any change in your receiver FCC.

Regards,

Sarvesh

Former Member
0 Kudos
former_member187339
Active Contributor
0 Kudos

Hi Vijaya,

>>I am able to get the values for these fields but we need the field names in the file

then you need to pass the field name in some field of target structure. So modify your Data type and you will get the expected result.

Regards

Suraj