Skip to Content
avatar image
Former Member

Message transform bean

Need assistance for this structure :

header

node

string (repeats numerous times)

need a content conversion using MTB for this for receiver file adapter

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 22, 2011 at 05:10 AM

    Hi Kiran,

    Why you want to use Message Transformation Bean????Are the elements heade,node & string coming in same hierarchy level or different...???Please clarify me about your requirement so that I'll try to help you.....

    Thanks&Reagrds

    Priyanka

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Priyank ,

      Thanks for the update , I am using MTB as I have to use PGP ...so FCC is out of scope for that , ahyways I have done a small XSLT code to convert iti to text ...now its working thanks ......

  • avatar image
    Former Member
    Jun 22, 2011 at 05:32 AM

    Hi Kiran,

    Try this

    Transform.Class --- com.sap.aii.messaging.adapter.Conversion

    Transform.ContentType -


    text/plain;charset=utf-8

    xml.Detail.endSeparator -


    'nl'

    xml.Detail.fieldFixedLengths -


    <String lenghts>

    xml.conversionType --- StructXML2Plain

    xml.recordsetStructure --- node

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi chandra,

      Thanks , infact iam using MTB , anyways , thanks for the solution , I have handled it using an XSLT code , so now it can be reused to other interfaces as well , thanks