JMS content conversion
I am doing a scenario..
RFC to JMS...
I want all the fields to be sent to a flat file as a single string..
i do send message from RFC as
ttttttt#
trstrs#
ttttttt#
trstrs#
etc..
no i should get the output as
ttttttt#trstrs#ttttttt#trstrs#
i want to know what are Content conversion parameters to be added at JMS.....
I followed this link..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
but was not successfull...
can some one guide me....
Sai Krishna Kalivarapu replied
Hi Harsha
Create message type like below
MT_Test - Message type
Test occurrence 1..1
Test Data type string occurrence 1..1 (sub field of segment Test)
You don't need to change any Module configuration:
XML2Plain -
Transform.Class --- com.sap.aii.messaging.adapter.Conversion
XML2Plain -- Transform.ContentType -- text/plain;charset=utf-8
XML2Plain -- xml.addHeaderLine -- 0
XML2Plain -- xml.conversionType -- SimpleXML2Plain
XML2Plain-- xml.fieldFixedLengths -- 120
XML2Plain -- xml.fixedLengthTooShortHandling -- Cut
Try this and let me know.
Thanks
Sai