on 10-05-2012 10:20 AM
Hi ,
I am working on Message Transformation Bean to convert Plain Text into XML Format.
Text Format is given as below.
00715101010101020202020203030303030
00ITM10101010102020202020303030303000ITM101010101020202020203030303030
MTBEan Parameters is gien as below:
File Adapter is picking only the First Item from the File. Despite configuring Item as shown below.
Plain2XML | xml.recordsetStructure | Header,1,Item,* |
Let me know if there are any other parameters to be configured in the File Adapter.
Thanks,
Niranjan Rao
Hi Nirajan,
A few cents, Have you checked the point 3 in this wiki: http://wiki.sdn.sap.com/wiki/display/XI/How+To...Content+conversion+module+with+J2EE+JMS+adapter, there is an example with Plain2XML.
And you also could check this blog http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/08/31/solve-key-field-problem-...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niranjan,
Are you using SimplePlain2XML or StructPlain2XML as xml.conversionType?
Can you share the screenshot of complete module parameters?
Regards,
Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
whether your input file has exactly this way?
00715101010101020202020203030303030
00ITM10101010102020202020303030303000ITM101010101020202020203030303030
or something like this?
00715101010101020202020203030303030
00ITM101010101020202020203030303030
00ITM101010101020202020203030303030
just to check whether you receive each items in separate line.
Hi Zameer,
Can you tell me what paramerters are required for the following Format ?
00ITM10101010102020202020303030303000ITM101010101020202020203030303030
Multiple Items are populated in the Payload when the Items are in different Lines as shown below:
00ITM101010101020202020203030303030
00ITM101010101020202020203030303030
Thanks,
Niranjan
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
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.