<?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: diff between gui_upload &amp;? ws_upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847660#M925046</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;refer to this link it may be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2008 04:44:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-23T04:44:38Z</dc:date>
    <item>
      <title>diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847655#M925041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one tell me what is the difference between gui_upload and ws_upload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 02:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847655#M925041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T02:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847656#M925042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;gui_upload&lt;/STRONG&gt; function module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Binary upload:&lt;/STRONG&gt; No conversion or interpretation&lt;/P&gt;&lt;P&gt;            begin of itab, &lt;/P&gt;&lt;P&gt;                  raw(255) type x, &lt;/P&gt;&lt;P&gt;            end of itab occurs 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'GUI_UPLOAD' &lt;/P&gt;&lt;P&gt;           exporting &lt;/P&gt;&lt;P&gt;              filetype =  'BIN' &lt;/P&gt;&lt;P&gt;              filename = 'C:\DOWNLOAD.BIN' &lt;/P&gt;&lt;P&gt;           tables &lt;/P&gt;&lt;P&gt;             data_tab = itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Text upload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           begin of itab, &lt;/P&gt;&lt;P&gt;                 text(255) type c, &lt;/P&gt;&lt;P&gt;           end of itab occurs 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'GUI_UPLOAD' &lt;/P&gt;&lt;P&gt;           exporting &lt;/P&gt;&lt;P&gt;              filetype = 'ASC' &lt;/P&gt;&lt;P&gt;              filename = 'C:\DOWNLOAD.TXT' &lt;/P&gt;&lt;P&gt;           tables &lt;/P&gt;&lt;P&gt;             data_tab = itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WS_UPLOAD  function module is now obsolete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 03:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847656#M925042</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2008-05-23T03:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847657#M925043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ws_upload is used for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer Presentation Server File to Internal Table&lt;/P&gt;&lt;P&gt;Uploads a file from the presentation server into an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 03:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847657#M925043</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2008-05-23T03:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847658#M925044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi harish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_upload is no longer used.&lt;/P&gt;&lt;P&gt;the usage of the other function ie ' gui_upload ' has been already posted to u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;niharika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 03:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847658#M925044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T03:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847659#M925045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WS_UPLOAD function module is now obsolete&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;from 4.7 ,gui_upload is used., this supports OOPs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this&lt;/P&gt;&lt;P&gt;WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; These classes are used to convert ABAP data from the system format to external formats and vice versa. During this conversion process, character-type data may be converted to another character set, while numeric-type data may be converted to another byte order (or endian format). You must use a container of type X or XSTRING for data in an external format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Character sets and endian formats are also converted by the file interface (OPEN DATASET with new additions), RFCs, and the function modules GUI_DOWNLOAD and GUI_UPLOAD. The classes described below are available for those special cases where the possibilities offered by conversion are insufficient. Since these classes work with containers of types X and XSTRING, these containers can be copied unconverted by the file interface (OPEN DATASET with new additions), RFCs, and the function modules GUI_DOWNLOAD and GUI_UPLOAD. These classes replace the following two statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE c ...FROM CODE PAGE     g1 ... TO CODE PAGE     g2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE f ...FROM NUMBER FORMAT n1 ... TO NUMBER FORMAT n2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a detailed description, see the class documentation in the Class Builder. The following classes are available:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_CONV_IN_CE &lt;/P&gt;&lt;P&gt;Reads data from a container and converts it to the system format. You can also fill structures with data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_CONV_OUT_CE &lt;/P&gt;&lt;P&gt;Converts data from the system format to an external format and writes it to a container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_CONV_X2X_CE&lt;/P&gt;&lt;P&gt;Converts data from one external format to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These classes are used to convert ABAP data from the system format to external formats and vice versa. During this conversion process, character-type data may be converted to another character set, while numeric-type data may be converted to another byte order (or endian format). You must use a container of type X or XSTRING for data in an external format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Character sets and endian formats are also converted by the file interface (OPEN DATASET with new additions), RFCs, and the function modules GUI_DOWNLOAD and GUI_UPLOAD. The classes described below are available for those special cases where the possibilities offered by conversion are insufficient. Since these classes work with containers of types X and XSTRING, these containers can be copied unconverted by the file interface (OPEN DATASET with new additions), RFCs, and the function modules GUI_DOWNLOAD and GUI_UPLOAD. These classes replace the following two statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE c ...FROM CODE PAGE     g1 ... TO CODE PAGE     g2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE f ...FROM NUMBER FORMAT n1 ... TO NUMBER FORMAT n2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a detailed description, see the class documentation in the Class Builder. The following classes are available:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_CONV_IN_CE &lt;/P&gt;&lt;P&gt;Reads data from a container and converts it to the system format. You can also fill structures with data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_CONV_OUT_CE &lt;/P&gt;&lt;P&gt;Converts data from the system format to an external format and writes it to a container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_CONV_X2X_CE&lt;/P&gt;&lt;P&gt;Converts data from one external format to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Minimal demo report for Virus Scan Interface.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For a functionally more complete example see report RSVSCANTEST.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;REPORT zvscandemo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Selection screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;  profile TYPE vscan_prof-profile,&lt;/P&gt;&lt;P&gt;  file    TYPE localfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Events&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.&lt;/P&gt;&lt;P&gt;  PERFORM file_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  PERFORM main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Main program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;FORM main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF file IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE s058(vscan) DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;    EXIT.           " =================== EXIT =====================&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Access file and create XSTRING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TYPES:&lt;/P&gt;&lt;P&gt;    ty_xline(1024) TYPE x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lf_file       TYPE string,&lt;/P&gt;&lt;P&gt;    lf_filelength TYPE i,&lt;/P&gt;&lt;P&gt;    lt_datatab    TYPE STANDARD TABLE OF ty_xline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lf_file = file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = lf_file&lt;/P&gt;&lt;P&gt;      filetype                = 'BIN'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      filelength              = lf_filelength&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      data_tab                = lt_datatab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS                  = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                 DISPLAY LIKE 'E'&lt;/P&gt;&lt;P&gt;                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      EXIT.           " =================== EXIT =====================&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Recombine binary data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lf_tabline TYPE ty_xline,&lt;/P&gt;&lt;P&gt;    lf_data    TYPE xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT lt_datatab INTO lf_tabline.&lt;/P&gt;&lt;P&gt;    CONCATENATE&lt;/P&gt;&lt;P&gt;        lf_data&lt;/P&gt;&lt;P&gt;        lf_tabline&lt;/P&gt;&lt;P&gt;      INTO&lt;/P&gt;&lt;P&gt;        lf_data&lt;/P&gt;&lt;P&gt;      IN BYTE MODE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lf_data = lf_data(lf_filelength).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get scanner instance&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lo_vsi TYPE REF TO cl_vsi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_vsi=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      if_profile          = profile&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      eo_instance         = lo_vsi&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      configuration_error = 1&lt;/P&gt;&lt;P&gt;      profile_not_active  = 2&lt;/P&gt;&lt;P&gt;      internal_error      = 3&lt;/P&gt;&lt;P&gt;      OTHERS              = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  No error.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 0.&lt;/P&gt;&lt;P&gt;      " Nothing to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Profile not active. For this report, this is an information message.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 2.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                 DISPLAY LIKE 'I'&lt;/P&gt;&lt;P&gt;                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      EXIT.            " =================== EXIT =====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  All other exceptions are issued as errors.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                 DISPLAY LIKE 'E'&lt;/P&gt;&lt;P&gt;                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      EXIT.            " =================== EXIT =====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Perform virus scan&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lf_scanrc    TYPE vscan_scanrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD lo_vsi-&amp;gt;scan_bytes&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      if_data             = lf_data&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ef_scanrc           = lf_scanrc&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      not_available       = 1&lt;/P&gt;&lt;P&gt;      configuration_error = 2&lt;/P&gt;&lt;P&gt;      internal_error      = 3&lt;/P&gt;&lt;P&gt;      OTHERS              = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All exceptions here are errors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               DISPLAY LIKE 'E'&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    EXIT.            " =================== EXIT =====================&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Print return code and text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lf_text TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lf_text = cl_vsi=&amp;gt;get_scanrc_text( lf_scanrc ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / 'Result of virus scan: ', lf_scanrc, '(', lf_text, ')'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF lf_scanrc = cl_vsi=&amp;gt;con_scanrc_ok.&lt;/P&gt;&lt;P&gt;    WRITE: / 'File is clean'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    WRITE: / 'File was either infected',&lt;/P&gt;&lt;P&gt;             'or could not be scanned',&lt;/P&gt;&lt;P&gt;             'or was ignored'.&lt;/P&gt;&lt;P&gt;             'Or another problem occurred'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F4-help for filename&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;FORM file_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lt_filetable TYPE filetable,&lt;/P&gt;&lt;P&gt;    lf_rc        TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      multiselection          = abap_false&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      file_table              = lt_filetable&lt;/P&gt;&lt;P&gt;      rc                      = lf_rc&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_open_dialog_failed = 1&lt;/P&gt;&lt;P&gt;      cntl_error              = 2&lt;/P&gt;&lt;P&gt;      error_no_gui            = 3&lt;/P&gt;&lt;P&gt;      not_supported_by_gui    = 4&lt;/P&gt;&lt;P&gt;      OTHERS                  = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               DISPLAY LIKE 'E'&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Number of selected filed must be equal to one.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHECK lf_rc = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Access selected file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    ls_file TYPE file_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE lt_filetable INTO ls_file INDEX 1.&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  file = ls_file-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 03:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847659#M925045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T03:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847660#M925046</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;refer to this link it may be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 04:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847660#M925046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T04:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847661#M925047</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;GUI_UPLOAD Replaces WS_UPLOAD. Upoad file from presentation server to the app server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WS_UPLOAD Load Files from the Presentation Server to Internal ABAP Tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rajyalakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 04:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847661#M925047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T04:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: diff between gui_upload &amp;? ws_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847662#M925048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gui_upload function module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_upload is obsolete now.... so no need to go in the details of this//////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And kindly close the qstn as many similar replies are coming without any need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do reward and kindly close the qstn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 04:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-gui-upload-ws-upload/m-p/3847662#M925048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T04:52:14Z</dc:date>
    </item>
  </channel>
</rss>

