<?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: DOCX File Merge Data Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077762#M1812529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact I a blaming this line in the method specfically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'XSLT' &lt;/SPAN&gt;ls_xsltattr&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;xsltdesc &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;ls_xsltattr&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;xsltdesc&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 01:40:10 GMT</pubDate>
    <dc:creator>Katan</dc:creator>
    <dc:date>2014-02-06T01:40:10Z</dc:date>
    <item>
      <title>DOCX File Merge Data Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077761#M1812528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am looking for a straightforward approach to merging some data in docx file.&amp;nbsp; I found demo program ROOXML_DOCX_FORM_MIX_FT_TEST01, which appears to do what I would like to do.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running the program a call is made to&amp;nbsp; cl_docx_form&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;merge_data and at this point the program tries to create a simple transformation and maintain it.&amp;nbsp; It automatically generates GUID and assigns this as the name of the transformation and by default creates it in the $TMP package. However in the same routine it tries to maintain the transformation and then prompts me to "Register the object" before I can change it, as I'm guessing it has created the object in the SAP namespace.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;I can't see anyway around this, as I cannot set the name of the transformation when calling the static method. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The local test class for cl_docx_form&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;merge_data has not been implemented either, so this is the only example I have in the system and the class documentation extends no further than the description of the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ever used this before and got it to work?&amp;nbsp; Is there another way I should be looking at instead of this using other standard APIs?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Katan Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 01:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077761#M1812528</guid>
      <dc:creator>Katan</dc:creator>
      <dc:date>2014-02-06T01:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: DOCX File Merge Data Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077762#M1812529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact I a blaming this line in the method specfically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'XSLT' &lt;/SPAN&gt;ls_xsltattr&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;xsltdesc &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;ls_xsltattr&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;xsltdesc&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 01:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077762#M1812529</guid>
      <dc:creator>Katan</dc:creator>
      <dc:date>2014-02-06T01:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: DOCX File Merge Data Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077763#M1812530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact once I copied this static method to a custom local class and method. I then changed that line of code (prefixing a 'Z' instead of 'X') and everything worked fine.&amp;nbsp; Although not ideal, it fixes my current problem.&amp;nbsp; It's a shame this was hardcoded and not possible to change as an import parameter.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 02:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/docx-file-merge-data-problem/m-p/10077763#M1812530</guid>
      <dc:creator>Katan</dc:creator>
      <dc:date>2014-02-06T02:01:17Z</dc:date>
    </item>
  </channel>
</rss>

