on 12-16-2010 8:28 AM
Hi ,
Sender File
12345566767
fjwehifh
09782345sdfgsjghjghhh
83475 dsf888234 dsfsdf wefrwr
Question1 : I need to Treat the Complete Message as a Field
Eg : MY Source Structure
Recordset
record
Field1 0..1
I need to read complete file as one field, How can i achive it
Thanks in advace
Hi all,
As my understanding, requirement is that the source file is haphazard and the data type of source has only one field, we should read all the content from the file and convert to the DT which has only one field. and we should map the flat not xml content to target.
correct if i am wrong,
anyone has a suggestion for this?
Regards,
Kevin Song
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, you would not have the option "Return as XML".
Check the below blog: This helps you to resolve your Issue:
http://wiki.sdn.sap.com/wiki/display/XI/JavaMapping-ConverttheInputxmlto+String
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is the version of your PI ? I mean 7.0 or 7.1.
"Return as XML " is only available for PI 7.1 and above versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You first need to convert the incoming file into XML using FCC. After you have a defined structure in message mapping,
1. right-click the root node of your source structure
2. click return as XML
3. and then map it to field
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
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.