Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

DOCX File Merge Data Problem

$
0
0

Hi,

I am looking for a straightforward approach to merging some data in docx file.  I found demo program ROOXML_DOCX_FORM_MIX_FT_TEST01, which appears to do what I would like to do. 

 

When running the program a call is made to  cl_docx_form=>merge_data and at this point the program tries to create a simple transformation and maintain it.  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.  I can't see anyway around this, as I cannot set the name of the transformation when calling the static method.

 

The local test class for cl_docx_form=>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.

 

Has anyone ever used this before and got it to work?  Is there another way I should be looking at instead of this using other standard APIs? 

 

Kind Regards,

 

Katan Patel


Viewing all articles
Browse latest Browse all 10425


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>