cancel
Showing results for 
Search instead for 
Did you mean: 

Message Transformation Bean

Former Member
0 Kudos

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.

Plain2XMLxml.recordsetStructureHeader,1,Item,*

Let me know if there are any other parameters to be configured in the File Adapter.

Thanks,

Niranjan Rao

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi ,

I am able to Get multiple Items with the Confi Parameter 'nl'.

Thanks

Niranjan Rao

zameerf
Contributor
0 Kudos

Hi Niranjan,

Are you using SimplePlain2XML or StructPlain2XML as xml.conversionType?

Can you share the screenshot of complete module parameters?

Regards,

Zameer

Former Member
0 Kudos

Hi Zameer,

Please find the screenshot.

Thanks,

zameerf
Contributor
0 Kudos

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.

Former Member
0 Kudos

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