<?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: FM 'DOCUMENT_SHOW_DIRECT' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510751#M1559531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank  you, I'll try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 13:37:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-16T13:37:12Z</dc:date>
    <item>
      <title>FM 'DOCUMENT_SHOW_DIRECT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510749#M1559529</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;as in transaction 'CV04N', I have in my report programmed functionality to open an arhcived document directly from the selected alv row.&lt;/P&gt;&lt;P&gt;This is done by calling FM DOCUMENT_SHOW_DIRECT' and works almost as i want it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from when a file is opened, it already has concatenated SY-UNAME + a number from 1-20 assigned to the opened file. So this name is displayed in the topframe of the opened document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know if its possible to just retrieve the actual filename, instead of the FM generating this temporary name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the FM CVAPI_DOC_VIEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 12:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510749#M1559529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-14T12:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: FM 'DOCUMENT_SHOW_DIRECT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510750#M1559530</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;you can use the FM CVAPI_DOC_VIEW with the following parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CVAPI_DOC_VIEW'               
              EXPORTING                                    
                pf_dokar      = ls_draw-dokar         
                pf_doknr      = ls_draw-doknr         
                pf_dokvr      = ls_draw-dokvr         
                pf_doktl      = ls_draw-doktl         
                pf_filename   = lv_url      "this is the path and filename you want 
                                            "to save the document
                pf_appl_start = space                       
              EXCEPTIONS                                    
                error         = 1                           
                not_found     = 2                           
                no_auth       = 3                           
                no_original   = 4                           
                OTHERS        = 5.                         
            IF sy-subrc &amp;lt;&amp;gt; 0.                             
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510750#M1559530</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2010-12-14T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: FM 'DOCUMENT_SHOW_DIRECT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510751#M1559531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank  you, I'll try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510751#M1559531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T13:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: FM 'DOCUMENT_SHOW_DIRECT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510752#M1559532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was having the same issue and learned that this is controlled in 'Workstation Application' configuration using the 'You cannot rename temporary files' checkbox.&amp;nbsp; Tick the checkbox and the file will launch with the actual name on the original.&amp;nbsp; Just wanted to provide this info in case others come across the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 22:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-document-show-direct/m-p/7510752#M1559532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T22:42:08Z</dc:date>
    </item>
  </channel>
</rss>

