on 10-26-2009 5:51 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried using the first two parameters given here.
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.