on 04-17-2008 7:39 AM
Hi,
In a text file to xml content conversion we usually provide
<node>.fieldNames = Val1,Val2
<node>.processFieldNames = fromConfiguration .
Is there any ways that i can take up the field names from the Header of the Sender File and not from the Configuration.
Regards,
Ambili
Hi Ambili
follow these links
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/sukumar.natarajan/blog/2007/06/12/content-conversion-in-sender-file-adapter--2-new-useful-parameters
regards
Sandeep
if helpful kindly reward points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not think that is possible. I understand your requirement. You might want to make the channel dynamic based on the file header. But unfortunately thats not possible.
Anyways, you would have to change the data type of the XML strucuture also in IR. So you can not escape from change if the file format changes..
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please explain the scenario.
Indranil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
Thanks a bunch for ur reply...
I dropped in such an issue, with reference to the following blog
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1092] [original link is broken] [original link is broken] [original link is broken];,
Michal says "Substr.processFieldNames Value: fromConfiguration
because in our example the flat file does not contain any header".
So will this imply that if we provide the header with column names in the flat file, we dont need to provide field names in Configuration?
Correct me please if am wrong.
Regards,
Ambili
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.