<?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 How to use DOI retain excel formula in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-doi-retain-excel-formula/m-p/12044503#M1968163</link>
    <description>&lt;P&gt;When I use DOI I_OI_SPREADSHEET-&amp;gt;SET_RANGES_DATA to put datas to an excel template, excel formula is covered.&lt;/P&gt;
  &lt;P&gt;I want retain excel formula if zhe ranges have not data. how can i do ? Somebody can help me？ Thanks&lt;/P&gt;
  &lt;P&gt;I use OAOR to upload excel template.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 06:47:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-10-25T06:47:09Z</dc:date>
    <item>
      <title>How to use DOI retain excel formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-doi-retain-excel-formula/m-p/12044503#M1968163</link>
      <description>&lt;P&gt;When I use DOI I_OI_SPREADSHEET-&amp;gt;SET_RANGES_DATA to put datas to an excel template, excel formula is covered.&lt;/P&gt;
  &lt;P&gt;I want retain excel formula if zhe ranges have not data. how can i do ? Somebody can help me？ Thanks&lt;/P&gt;
  &lt;P&gt;I use OAOR to upload excel template.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 06:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-doi-retain-excel-formula/m-p/12044503#M1968163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-10-25T06:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DOI retain excel formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-doi-retain-excel-formula/m-p/12044504#M1968164</link>
      <description>&lt;P&gt;I guess DOI handles only &lt;STRONG&gt;simple text&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;As a workaround, you may directly issue OLE statements on the DOI control, by retrieving its OLE handle.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA doi_control TYPE REF TO I_OI_CONTAINER_CONTROL.

c_oi_container_control_creator=&amp;gt;get_container_control(
    IMPORTING
      control = doi_control ).

DATA(doi_handle) = doi_control-&amp;gt;get_control_handle( ). " type CNTL_HANDLE in type pool CNTL
DATA(ole_handle) = doi_handle-obj. " type OBJ_RECORD

CALL METHOD OF ole_handle 'method' ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;More information on CALL METHOD OF, SET PROPERTY, etc.: &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abenole2.htm"&gt;ABAP documentation of OLE statements&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Now, what you have to do is to ask in Microsoft forums what are the methods and properties to access the formulas. You may try by yourself using the VBA editor in Excel.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 08:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-doi-retain-excel-formula/m-p/12044504#M1968164</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-10-25T08:46:54Z</dc:date>
    </item>
  </channel>
</rss>

