on 12-30-2010 6:28 AM
hello friends,
mine is proxy2file scenario.
I am using ftp adapter on receiver end wherein a csv file has to be generated on target end.
everything is workinf fine except for one small issue.
my customer wants the fieldnames of the line items to be appeared in the file (as heading) followed by the data.
please let me know as how to achieve this.
I have header and line items.
fieldnames for header not reqd only lineitem fiels names are reqd in the file.
Regards
Madhu
Hi Madhu,
It is very easy to achieve this requirement.
Just, you need to add the fields in the header and map with Constants. So that, the field names will be displayed on the top and then the field values will be displayed below.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use the FCC parameter lineitem.addHeaderLine =1
[http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm|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,
You can also try below mentioned approaches:
1. You can create additional data type for field names and pass the value of field names as constant to this node in mapping.
Place this structure in between Header and line items.
In Receiver adapter FCC you can populate the value of this structure.
2. You can create a custom adapter module , which will insert the field name accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
This can be achieved using FCC.
Please refer the blog. http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3228. [original link is broken] [original link is broken] [original link is broken]
Thanks
Sahil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.