on 03-16-2013 2:17 PM
Dear Experts,
I need to configure the first row (header) from my input file. Since, I'm using PGP, I configured the message transform bean with the conversio type simplePlain2XML... It seems xml.documentSkipFirstRows works only for structPlain2XML.... is there any other param or alternate to acheive this??
Thanks
Hi,
When i use xml.processFieldNames = fromFile instead of
xml.processFieldNames = fromConfiguration
It worked fine for me.
Thanks AD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer to SentiPrakash's reply on below thread:
http://scn.sap.com/thread/2009598
I can see you have given xml.processFieldNames = fromConfiguration instead of xml.processFieldNames = fromFile which may be the reason why xml.documentSkipFirstRows did not work.
Apart from this, header can be omitted within mapping also. Suppose a particular field has a value S.No. in the header, then you can apply a condition to populate the top node such that if the particular field Not equals to S.No then create the top node. In such a case, only the non header rows which do not have this value, will be populated.
Hi Joe,
Did you find any solution for this? I am facing the same issue.
I am working on sender SFTP adapter so that using message transforamtion bean with conversion type simplePlain2XML..
I tried with xml.documentSkipFirstRows but not able to skip the first line in the document.
Please help me if you find any solution.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to use under document specification, Document Offset in order to skip 1 or n begining lines:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.