Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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....

Former Member
Former Member 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

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question