<?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: SOFFICEINTEGRATION error. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728486#M897416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I want to open in the client, but this file is in the appserver. Then, I concatenate 'file://' with the path in linux server like '&lt;BR /&gt;doc\.....'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Yes, I do it before to open the document. I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD      c_oi_container_control_creator=&amp;gt;get_container_control&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      control = control&lt;/P&gt;&lt;P&gt;      retcode = retcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT container&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        container_name = 'CONTAINER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD control-&amp;gt;init_control&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        r3_application_name = 'Document Container'&lt;/P&gt;&lt;P&gt;        inplace_enabled     = inplace&lt;/P&gt;&lt;P&gt;        parent              = container&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        retcode             = retcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD control-&amp;gt;get_document_proxy&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_type      = document_type&lt;/P&gt;&lt;P&gt;      register_container = 'X'&lt;/P&gt;&lt;P&gt;      document_format    = 'NATIVE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      document_proxy     = document&lt;/P&gt;&lt;P&gt;      retcode            = retcode&lt;/P&gt;&lt;P&gt;      error              = error_crear_ins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 07:49:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-23T07:49:28Z</dc:date>
    <item>
      <title>SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728484#M897414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a problem with this package. When I execute t'he function to open an existing word document in a server, the method document-&amp;gt;open_document return an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error was 'Error while setting data in data provider object' and then, 'Document not open'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD document-&amp;gt;open_document&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_title   = title&lt;/P&gt;&lt;P&gt;      open_inplace     = 'X' &lt;/P&gt;&lt;P&gt;      open_readonly    = ' '&lt;/P&gt;&lt;P&gt;      protect_document = ' '&lt;/P&gt;&lt;P&gt;      document_url     = p_file&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      error            = error&lt;/P&gt;&lt;P&gt;      retcode          = retcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The p_file contain the value : file://&lt;BR /&gt;path of file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody can help me??? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 07:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728484#M897414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T07:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728485#M897415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hier some pointers. Maybe it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;If you want to open a file on the appserver you can't use file://. This is only for files on the presentation server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;Is your code right.&lt;/P&gt;&lt;P&gt;Somtehing like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*   control creeren
   c_oi_container_control_creator=&amp;gt;get_container_control( importing control = control error = o_error ).
    control-&amp;gt;init_control( exporting r3_application_name = 'Word-Verkoop'
                                     inplace_enabled          = 'X'
                                     inplace_scroll_documents = 'X'
                                     parent                   = o_cnt2
                                     register_on_close_event  = 'X'
                                     register_on_custom_event = 'X'
                                     no_flush                 = 'X'
                           importing error = o_error ).
    append o_error to o_errors.
*   doc proxy objct document creeren
    control-&amp;gt;get_document_proxy( exporting document_type = 'Word.Document' register_container = 'X' no_flush = 'X'
                                 importing document_proxy = document  error = o_error ).
    append o_error to o_errors.
*   open document
    document-&amp;gt;open_document( exporting open_inplace = 'X' document_url = gv_url no_flush = 'X' importing error = o_error ).
    append o_error to o_errors.
    document-&amp;gt;get_wordprocessor_interface( exporting no_flush = 'X' importing error = o_error retcode = lv_ret wp_interface = o_word ).
    append o_error to o_errors.
    cl_gui_cfw=&amp;gt;flush( ).

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 07:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728485#M897415</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-23T07:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728486#M897416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I want to open in the client, but this file is in the appserver. Then, I concatenate 'file://' with the path in linux server like '&lt;BR /&gt;doc\.....'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Yes, I do it before to open the document. I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD      c_oi_container_control_creator=&amp;gt;get_container_control&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      control = control&lt;/P&gt;&lt;P&gt;      retcode = retcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT container&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        container_name = 'CONTAINER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD control-&amp;gt;init_control&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        r3_application_name = 'Document Container'&lt;/P&gt;&lt;P&gt;        inplace_enabled     = inplace&lt;/P&gt;&lt;P&gt;        parent              = container&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        retcode             = retcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD control-&amp;gt;get_document_proxy&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_type      = document_type&lt;/P&gt;&lt;P&gt;      register_container = 'X'&lt;/P&gt;&lt;P&gt;      document_format    = 'NATIVE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      document_proxy     = document&lt;/P&gt;&lt;P&gt;      retcode            = retcode&lt;/P&gt;&lt;P&gt;      error              = error_crear_ins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 07:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728486#M897416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T07:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728487#M897417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the file:// prefix is only for documents saved on your frontend and not for documents on the appserver. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try without the file:// or else see if you can create an url for the document on the appserver .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 10:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728487#M897417</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-23T10:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728488#M897418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem not is in the program. I put anothe file in another url in the appserver, and the program open and launch to printer this file. I put the url like 'file://&lt;BR /&gt;appserver_url' and launch the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 14:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728488#M897418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728489#M897419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy Brert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem was that my user don't had access to the folder in the server that contain the word document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try it with another user, and it works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the url is like 'file://&lt;BR /&gt;appserver_url'. It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Toni Sierra on Apr 23, 2008 5:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 15:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728489#M897419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T15:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: SOFFICEINTEGRATION error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728490#M897420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the extension of the file you are uploading &lt;BR /&gt;if it is .xlsx then try to save the file as .xls and execute the program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;muthu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sofficeintegration-error/m-p/3728490#M897420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-15T07:22:23Z</dc:date>
    </item>
  </channel>
</rss>

