<?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 Problem with deleting a table in Word. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-a-table-in-word/m-p/12681791#M2017033</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I have a problem in my implementation with opening Word documents in SAP. I will provide details below. I created a method responsible for opening Word documents. The documents are opened in containers:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CALL METHOD c_oi_container_control_creator=&amp;gt;get_container_control&lt;BR /&gt;  IMPORTING&lt;BR /&gt;  control = lo_control&lt;BR /&gt;CALL METHOD lo_control-&amp;gt;init_control&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        r3_application_name      = lv_name "#EC NOTEXT&lt;BR /&gt;        inplace_enabled          = 'X'&lt;BR /&gt;        inplace_scroll_documents = 'X'&lt;BR /&gt;        parent                   = lo_container&lt;BR /&gt;        register_on_custom_event = 'X'&lt;BR /&gt;        no_flush                 = 'X'.&lt;BR /&gt;CALL METHOD lo_control-&amp;gt;get_document_proxy&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        document_type  = 'Word.Document'&lt;BR /&gt;        no_flush       = 'X'&lt;BR /&gt;      IMPORTING&lt;BR /&gt;        document_proxy = lo_document_control.&lt;BR /&gt; lo_document_control-&amp;gt;open_document(&lt;BR /&gt;    document_title = 'TEST'&lt;BR /&gt;    open_inplace   = 'X'&lt;BR /&gt;    document_url   = lv_url ).&lt;BR /&gt; CALL METHOD c_oi_errors=&amp;gt;show_message EXPORTING type = 'E'.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I load the documents at the beginning of the program:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;IF lo_first_doc IS INITIAL.&lt;BR /&gt;  lo_first_doc = NEW zcl_read_write( ).&lt;BR /&gt;  lo_first_doc-&amp;gt;run( ).&lt;BR /&gt;ENDIF.&lt;BR /&gt;IF lo_second_doc IS INITIAL.&lt;BR /&gt;  lo_second_doc = NEW zcl_read_write( ).&lt;BR /&gt;  lo_second_doc-&amp;gt;run( ).&lt;BR /&gt;ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; Documents display correctly and are editable, but when I create for example a table from a word standard:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2159395-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I selected some of the columns and clicked 'Delete' button. I can't delete those rows. After clicking 'Ok' button nothing happens. I wonder if there is something missing in implementation or I can't do such operations with 2 open documents. Unfortunately, I have no idea. Does anyone have a similar problem?&lt;/P&gt;
  &lt;P&gt;EDIT: In addition, if it does not delete the rows in the table, it deletes content in the second document.&lt;/P&gt;
  &lt;P&gt;BR.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 10:04:22 GMT</pubDate>
    <dc:creator>former_member775332</dc:creator>
    <dc:date>2023-04-25T10:04:22Z</dc:date>
    <item>
      <title>Problem with deleting a table in Word.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-a-table-in-word/m-p/12681791#M2017033</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I have a problem in my implementation with opening Word documents in SAP. I will provide details below. I created a method responsible for opening Word documents. The documents are opened in containers:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CALL METHOD c_oi_container_control_creator=&amp;gt;get_container_control&lt;BR /&gt;  IMPORTING&lt;BR /&gt;  control = lo_control&lt;BR /&gt;CALL METHOD lo_control-&amp;gt;init_control&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        r3_application_name      = lv_name "#EC NOTEXT&lt;BR /&gt;        inplace_enabled          = 'X'&lt;BR /&gt;        inplace_scroll_documents = 'X'&lt;BR /&gt;        parent                   = lo_container&lt;BR /&gt;        register_on_custom_event = 'X'&lt;BR /&gt;        no_flush                 = 'X'.&lt;BR /&gt;CALL METHOD lo_control-&amp;gt;get_document_proxy&lt;BR /&gt;      EXPORTING&lt;BR /&gt;        document_type  = 'Word.Document'&lt;BR /&gt;        no_flush       = 'X'&lt;BR /&gt;      IMPORTING&lt;BR /&gt;        document_proxy = lo_document_control.&lt;BR /&gt; lo_document_control-&amp;gt;open_document(&lt;BR /&gt;    document_title = 'TEST'&lt;BR /&gt;    open_inplace   = 'X'&lt;BR /&gt;    document_url   = lv_url ).&lt;BR /&gt; CALL METHOD c_oi_errors=&amp;gt;show_message EXPORTING type = 'E'.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I load the documents at the beginning of the program:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;IF lo_first_doc IS INITIAL.&lt;BR /&gt;  lo_first_doc = NEW zcl_read_write( ).&lt;BR /&gt;  lo_first_doc-&amp;gt;run( ).&lt;BR /&gt;ENDIF.&lt;BR /&gt;IF lo_second_doc IS INITIAL.&lt;BR /&gt;  lo_second_doc = NEW zcl_read_write( ).&lt;BR /&gt;  lo_second_doc-&amp;gt;run( ).&lt;BR /&gt;ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; Documents display correctly and are editable, but when I create for example a table from a word standard:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2159395-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I selected some of the columns and clicked 'Delete' button. I can't delete those rows. After clicking 'Ok' button nothing happens. I wonder if there is something missing in implementation or I can't do such operations with 2 open documents. Unfortunately, I have no idea. Does anyone have a similar problem?&lt;/P&gt;
  &lt;P&gt;EDIT: In addition, if it does not delete the rows in the table, it deletes content in the second document.&lt;/P&gt;
  &lt;P&gt;BR.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 10:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-a-table-in-word/m-p/12681791#M2017033</guid>
      <dc:creator>former_member775332</dc:creator>
      <dc:date>2023-04-25T10:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with deleting a table in Word.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-a-table-in-word/m-p/12681792#M2017034</link>
      <description>&lt;P&gt;Any ideas? If more information is needed then please let me know.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-a-table-in-word/m-p/12681792#M2017034</guid>
      <dc:creator>former_member775332</dc:creator>
      <dc:date>2023-04-26T08:40:23Z</dc:date>
    </item>
  </channel>
</rss>

