Skip to Content

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

Content conversion module MessageTransformBean

Hello,

I have simple scenario SFTP to ABAP proxy in process orchestration..

My input file is

12345666777777

223454566666666

My Message type

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:city-cob:ltsadata:to:sap" targetNamespace="urn:city-cob:ltsadata:to:sap">

   <xsd:element name="LTSARequest_MT" type="LTSARequest_DT" />

   <xsd:complexType name="LTSARequest_DT">

      <xsd:annotation>

         <xsd:documentation xml:lang="EN">

         LTSA Property Data

         </xsd:documentation>

      </xsd:annotation>

      <xsd:sequence>

         <xsd:element name="LTSARecordSet" maxOccurs="unbounded">

            <xsd:complexType>

               <xsd:sequence>

                  <xsd:element name="LTSARecords" type="xsd:string" />

               </xsd:sequence>

            </xsd:complexType>

         </xsd:element>

      </xsd:sequence>

   </xsd:complexType>

</xsd:schema>

Content conversion configuration is:

output is coming as:

<?xml version="1.0" encoding="utf-8"?>

<ns:LTSARequest_MT xmlns:ns="urn:city-cob:ltsadata:to:sap">

  <row>

  <LTSARecords>

<?xml version="1.0" encoding="utf-8"?>

<ns:LTSARequest_MT xmlns:ns="urn:city-cob:ltsadata:to:sap">

  <row>

  <LTSARecords>12345666777777</LTSARecords>

  </row>

  <row>

  <LTSARecords>223454566666666</LTSARecords>

  </row>

</ns:LTSARequest_MT>

My question is how to replace "</row>" tag with my recordset name "LTSARecordSet".

Thank you

John

Former Member
replied

Hi John

Configure parameter below:-

xml.structureTitle = LTSARecordSet

Regards

Eng Swee

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question