<?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 Interface i_oi_word_processor_document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-i-oi-word-processor-document/m-p/1882733#M370579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone used the interface 'i_oi_word_processor_document' and its methods&lt;/P&gt;&lt;P&gt;'insert_table' or 'insert_table2'? Could you please give me some simple example how to use it cause I've created the table in word document then filled necessary tables to be exported using that interface and there is nothing inserted in the table in Word...&lt;/P&gt;&lt;P&gt;My code is here:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Creating data_table
  DATA gt_test TYPE TABLE OF string WITH HEADER LINE.
  gt_test = 'text1'.
  APPEND gt_test.
  gt_test = 'text2'.
  APPEND gt_test.

* Creating info_table
  DATA gt_infotab TYPE soi_cols_table WITH HEADER LINE.
  gt_infotab-colindex = 1.
  APPEND gt_infotab.
  gt_infotab-colindex = 1.
  APPEND gt_infotab.

  CALL METHOD i_wp-&amp;gt;insert_table
    EXPORTING
      data_table      = gt_test[]
      info_table      = gt_infotab[]
      lowerbound      = 1
      upperbound      = 2
      doctable_number = 1 "number of table in the word document
      clearoption     = 0
      startrow        = 1
      varsize         = 'X'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2007 07:32:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-26T07:32:25Z</dc:date>
    <item>
      <title>Interface i_oi_word_processor_document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-i-oi-word-processor-document/m-p/1882733#M370579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone used the interface 'i_oi_word_processor_document' and its methods&lt;/P&gt;&lt;P&gt;'insert_table' or 'insert_table2'? Could you please give me some simple example how to use it cause I've created the table in word document then filled necessary tables to be exported using that interface and there is nothing inserted in the table in Word...&lt;/P&gt;&lt;P&gt;My code is here:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Creating data_table
  DATA gt_test TYPE TABLE OF string WITH HEADER LINE.
  gt_test = 'text1'.
  APPEND gt_test.
  gt_test = 'text2'.
  APPEND gt_test.

* Creating info_table
  DATA gt_infotab TYPE soi_cols_table WITH HEADER LINE.
  gt_infotab-colindex = 1.
  APPEND gt_infotab.
  gt_infotab-colindex = 1.
  APPEND gt_infotab.

  CALL METHOD i_wp-&amp;gt;insert_table
    EXPORTING
      data_table      = gt_test[]
      info_table      = gt_infotab[]
      lowerbound      = 1
      upperbound      = 2
      doctable_number = 1 "number of table in the word document
      clearoption     = 0
      startrow        = 1
      varsize         = 'X'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2007 07:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-i-oi-word-processor-document/m-p/1882733#M370579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-26T07:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Interface i_oi_word_processor_document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-i-oi-word-processor-document/m-p/1882734#M370580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is odd but the problem was in the declaration of the test table. Here is the solution:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA: BEGIN OF gt_test OCCURS 0,
  string(132),
  END OF gt_test.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2007 08:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-i-oi-word-processor-document/m-p/1882734#M370580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-26T08:39:53Z</dc:date>
    </item>
  </channel>
</rss>

