<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Simple Transformation CX_ST_INVALID_XML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438718#M1998517</link>
    <description>&lt;P&gt;Don't you think the issue comes from the XML to be transformed?&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 13:20:38 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2021-05-19T13:20:38Z</dc:date>
    <item>
      <title>Simple Transformation CX_ST_INVALID_XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438717#M1998516</link>
      <description>&lt;P&gt;Hi, Expert&lt;/P&gt;
  &lt;P&gt;I'm getting the exception CX_ST_INVALID_XML when the transformation is called but I can't see any error when I check the transformation in STRANS, below you can see the code:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;?sap.transform simple?&amp;gt;
&amp;lt;tt:transform xmlns:tt="http://www.sap.com/transformation-templates" xmlns:ddic="http://www.sap.com/abapxml/types/dictionary"&amp;gt;

  &amp;lt;tt:root name="BLOCKS" type="ddic:ZCRMT_OHIP_CREATE_MAIN_BLOCK"/&amp;gt;

  &amp;lt;tt:template&amp;gt;
    &amp;lt;blocks tt:ref=".BLOCKS"&amp;gt;
      &amp;lt;blockInfo&amp;gt;
        &amp;lt;tt:loop ref=".BLOCKS.BLOCKINFO"&amp;gt;
          &amp;lt;block&amp;gt;
            &amp;lt;blockDetails&amp;gt;
              &amp;lt;block_code tt:value-ref="BLOCK_CODE"/&amp;gt;
              &amp;lt;block_name tt:value-ref="BLOCK_NAME"/&amp;gt;
              &amp;lt;timeSpan&amp;gt;
                &amp;lt;start_date tt:value-ref="START_DATE"/&amp;gt;
                &amp;lt;end_date tt:value-ref="END_DATE"/&amp;gt;
              &amp;lt;/timeSpan&amp;gt;
              &amp;lt;blockStatus&amp;gt;
                &amp;lt;bookingStatus&amp;gt;
                  &amp;lt;status&amp;gt;
                    &amp;lt;code tt:value-ref="CODE_STATUS"/&amp;gt;
                  &amp;lt;/status&amp;gt;
                &amp;lt;/bookingStatus&amp;gt;
              &amp;lt;/blockStatus&amp;gt;
              &amp;lt;reservationType&amp;gt;
                &amp;lt;reservationType tt:value-ref="RESERVATION_TYPE"/&amp;gt;
              &amp;lt;/reservationType&amp;gt;
              &amp;lt;marketCode&amp;gt;
                &amp;lt;marketCode tt:value-ref="MARKET_CODE.MARKET_CODE"/&amp;gt;
              &amp;lt;/marketCode&amp;gt;
              &amp;lt;sourceOfSale&amp;gt;
                &amp;lt;sourceCode&amp;gt;
                  &amp;lt;sourceCode tt:value-ref="SOURCE_CODE.SOURCE_CODE"/&amp;gt;
                &amp;lt;/sourceCode&amp;gt;
              &amp;lt;/sourceOfSale&amp;gt;
            &amp;lt;/blockDetails&amp;gt;
            &amp;lt;blockOwners&amp;gt;
              &amp;lt;tt:loop ref="OWNERS"&amp;gt;
                &amp;lt;owner&amp;gt;
                  &amp;lt;ownership tt:value-ref="OWNERSHIP"/&amp;gt;
                  &amp;lt;ownerCode tt:value-ref="OWNERCODE"/&amp;gt;
                  &amp;lt;primary tt:value-ref="PRIMARY_OWNER"/&amp;gt;
                &amp;lt;/owner&amp;gt;
              &amp;lt;/tt:loop&amp;gt;
            &amp;lt;/blockOwners&amp;gt;
            &amp;lt;reservationDetails&amp;gt;
              &amp;lt;ratePlanCode&amp;gt;
                &amp;lt;tt:loop ref="RESERVATION_DETAILS"&amp;gt;
                  &amp;lt;primary tt:value-ref="PRIMARY_RATE"/&amp;gt;
                  &amp;lt;ratePlanCode tt:value-ref="RATE_CODE"/&amp;gt;
                &amp;lt;/tt:loop&amp;gt;
              &amp;lt;/ratePlanCode&amp;gt;
              &amp;lt;elastic tt:value-ref="ELASTIC"/&amp;gt;
            &amp;lt;/reservationDetails&amp;gt;
            &amp;lt;catering&amp;gt;
              &amp;lt;eventAttendees&amp;gt;
                &amp;lt;noOfAttendees tt:value-ref="ATTENDEES"/&amp;gt;
              &amp;lt;/eventAttendees&amp;gt;
            &amp;lt;/catering&amp;gt;
            &amp;lt;comments&amp;gt;
              &amp;lt;commentInfo&amp;gt;
                &amp;lt;tt:loop ref="NOTES"&amp;gt;
                  &amp;lt;comment&amp;gt;
                    &amp;lt;text&amp;gt;
                      &amp;lt;value tt:value-ref="VALUE"/&amp;gt;
                    &amp;lt;/text&amp;gt;
                    &amp;lt;commentTitle tt:value-ref="TITLE"/&amp;gt;
                    &amp;lt;type tt:value-ref="TYPE_NOTE"/&amp;gt;
                    &amp;lt;internal tt:value-ref="INTERNAL"/&amp;gt;
                    &amp;lt;hotelId tt:value-ref="HOTEL_ID"/&amp;gt;
                  &amp;lt;/comment&amp;gt;
                &amp;lt;/tt:loop&amp;gt;
              &amp;lt;/commentInfo&amp;gt;
            &amp;lt;/comments&amp;gt;
            &amp;lt;externalAttributes&amp;gt;
              &amp;lt;eventType tt:value-ref="TYPE"/&amp;gt;
            &amp;lt;/externalAttributes&amp;gt;
            &amp;lt;hotelId tt:value-ref="HOTEL_ID"/&amp;gt;
            &amp;lt;paymentMethod&amp;gt;
              &amp;lt;code tt:value-ref="PAYMENT_CODE"/&amp;gt;
            &amp;lt;/paymentMethod&amp;gt;
          &amp;lt;/block&amp;gt;
        &amp;lt;/tt:loop&amp;gt;
      &amp;lt;/blockInfo&amp;gt;
    &amp;lt;/blocks&amp;gt;
  &amp;lt;/tt:template&amp;gt;
&amp;lt;/tt:transform&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks you in advance,&lt;/P&gt;
  &lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 11:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438717#M1998516</guid>
      <dc:creator>joseinnvaria84</dc:creator>
      <dc:date>2021-05-19T11:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Transformation CX_ST_INVALID_XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438718#M1998517</link>
      <description>&lt;P&gt;Don't you think the issue comes from the XML to be transformed?&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 13:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438718#M1998517</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-05-19T13:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Transformation CX_ST_INVALID_XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438719#M1998518</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i guess the error occurs at runtime(the template itself is syntactically correct),&lt;/P&gt;&lt;P&gt;because the deep ABAP data structure that you pass does not fit to the template. &lt;/P&gt;&lt;P&gt;Don't you see technical details in the ST22 log?&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 08:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-transformation-cx-st-invalid-xml/m-p/12438719#M1998518</guid>
      <dc:creator>former_member660513</dc:creator>
      <dc:date>2021-05-21T08:07:48Z</dc:date>
    </item>
  </channel>
</rss>

