Ws_upload

what is the difference between ws_upload, gui_upload and ws_download and gui_download?

Hi,
WS_* Function modules are replaced by GUI_* FMs from 4.7 SAP version.
GUI_* modules have additional parameters when compared with WS_* FMs.
Both FM are used for uploading data .
But ws_upload is obsolete now .
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.
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. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
WS_UPLOAD, GUI_UPLOAD FMs are used in BDCs.
WS_UPLOAD loads files from the Presentation Server to Internal ABAP Tables.
This is used upto SAP 4.6 version.
GUI_UPLOAD is used to loads a file from the PC to the server. The data can be
transferred in binary or text format. Numbers and data fields can be
interpreted according to the user settings.

Similar Messages

  • Difference between GUI_UPLOAD and WS_UPLOAD

    Hi,
    Please make me clear about the difference between GUI_UPLOAD and WS_UPLOAD. In which cases we need to use these modules...??
    Thanks,
    Satish

    I would suggest to always use the GUI_UPLOAD.  I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.   Really, you should probably use the class/method instead of the function module.
      data: filename type string.
      filename = p_file.
      call method cl_gui_frontend_services=>gui_upload
             exporting
                  filename                = filename
                  filetype                = 'ASC'
             changing
                  data_tab                = iflatf
             exceptions
                  file_open_error         = 1
                  file_read_error         = 2
                  no_batch                = 3
                  gui_refuse_filetransfer = 4
                  no_authority            = 6
                  unknown_error           = 7
                  bad_data_format         = 8
                  unknown_dp_error        = 12
                  access_denied           = 13
                  others                  = 17.
    Regards,
    Rich Heilman

  • WS_UPLOAD,WS_DOWNLOAD and GUI_UPLOAD,GUI_DOWNLOAD.

    Hi,
    Any one Explain difference between WS_UPLOAD,WS_DOWNLOAD and GUI_UPLOAD,GUI_DOWNLOAD.
    Regards,
    Maya

    hi maya,
       ws_upload and gui_upload, will do the same funtionality.
    ws_download and gui_download will do the same functionality.
    but ws* are obsolete.
    Regards....
    Arun.
    Reward points if useful.

  • Problem in uploading a file using Ws_upload.

    Hi Experts,
                        I am using WS_UPLOAD for uploading .xls file into SAP Standard table T558A.
    Problem is file is not uploaded to DB table.....getting error like
    ERROR DURING FILE UPLOAD/DOWNLOAD as  pop up message.....
    can any boady please help on this issue.
    Regards,
    Praveena.

    Hi,
    If you want to upload the data using EXCEL file use the function module ALSM_EXCEL_TO_INTERNAL_TABLE.
    Examples for ALSM_EXCEL_TO_INTERNAL_TABLE.
    http://wiki.sdn.sap.com/wiki/display/Snippets/Howtouse+FM'ALSM_EXCEL_TO_INTERNAL_TABLE'

  • In ECC 6.0 WS_UPLOAD is obsolete?

    Dear All,
    Please clarify me In ECC 6.0 WS_UPLOAD is obsolete? or not
    I got this doubt becaz we are not getting any sort of problem regarding WS_UPLOAD in upgraded system while we are checking for the syntax error.
    Is there any situation like this?
    Please clarify this.
    Thanka in advance

    Hi
    yes its obsolete use this one
    here check this program i am spliting the record depend upon ',' and dont use ws_upload etc fm's are obsolete....
    data: begin of itab_string occurs 0,
    record type char255,
    end of itab_string.
    data: L_FILETABLE TYPE FILETABLE,
    L_FILETAB_H TYPE FILETABLE WITH HEADER LINE.
    data: p_file1 type string.
    selection screen .
    PARAMETERS: P_FILE TYPE LOCALFILE.
    initialization.
    at selection-screen on value-request for P_FILE.
    IF THE USER SELECT EXTENTION BUTTON IT WILL OPEN THE LOCAL DIRECTORY FOR SELECTING THE FILE LOCATION.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION = 'CSV'
    DEFAULT_FILENAME = 'C:\Documents and Settings\196093\Desktop\STATUS.csv'
    FILE_FILTER =
    INITIAL_DIRECTORY = 'C:\Documents and Settings\196093\Desktop\'
    MULTISELECTION =
    WITH_ENCODING =
    CHANGING
    FILE_TABLE = L_FILETABLE
    RC = RC
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    FILE_OPEN_DIALOG_FAILED = 1
    CNTL_ERROR = 2
    ERROR_NO_GUI = 3
    NOT_SUPPORTED_BY_GUI = 4
    others = 5
    IF SY-SUBRC <> 0.
    ELSE.
    LOOP AT l_filetable INTO L_FILETAB_H.
    P_FILE = L_FILETAB_H-FILENAME.
    move p_file to p_file1.
    EXIT.
    ENDLOOP.
    ENDIF.
    passing the selected file name to gui_upload for loading the data
    into internal table
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = p_file1
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = ' '
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    CHECK_BOM = ' '
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    HEADER =
    TABLES
    DATA_TAB = itab_string
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17
    IF SY-SUBRC <> 0.
    MESSAGE I000(Z00) WITH 'PLEASE PROVIDE CORRECT FILE NAME'.
    ENDIF.
    loop at itab_string.
    now split the statuses
    split itab_string at ',' into itab_status-aufnr itab_status-asttx itab_status-asttx1.
    and move one internal table
    append itab_status.
    clear itab_status.
    endloop.
    reward points to all helpful answers
    kiran.M

  • About UPLOAD, GUI_UPLOAD and WS_UPLOAD

    Hello Experts,
             What is the difference between UPLOAD, GUI_UPLOAD and WS_UPLOAD function modules. Please send me brief answer about this on following mail id
    "[email protected]"
    Reward for useful answer
    Thanx and regards,
    Rahul Talele

    I would suggest to always use the GUI_UPLOAD.  I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.   Really, you should probably use the class/method instead of the function module.
      data: filename type string.
      filename = p_file.
      call method cl_gui_frontend_services=>gui_upload
             exporting
                  filename                = filename
                  filetype                = 'ASC'
             changing
                  data_tab                = iflatf
             exceptions
                  file_open_error         = 1
                  file_read_error         = 2
                  no_batch                = 3
                  gui_refuse_filetransfer = 4
                  no_authority            = 6
                  unknown_error           = 7
                  bad_data_format         = 8
                  unknown_dp_error        = 12
                  access_denied           = 13
                  others                  = 17.
    Regards,
    Rich Heilman

  • Gui_upload and  ws_upload

    hi friends,
    i have a small doubt i just want to know the difference betweeen
    GUI_UPLOAD and WS_UPLOAD which one i have to use.
    which function module is useful and  most preferred.
    regards
    srinivas

    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.
    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. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.

  • What is the difference  between ws_upload and gui_upload

    what is the difference  between ws_upload and gui_upload
    what is the difference  between ws_download and gui_down load
    pls tell  briefly

    Hi Kuamr,
    UPLOAD and 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. UPLOAD and DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
    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. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    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.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Diff. bet. ws_upload and Gui_uplod

    Hi Friends,
      1) wht is  the difference between  ws_upload and gui_upload
      2) how to handle scroll bar in bdc table control
    Thanks  in advance,
    Srinadh

    Hi Dasari,
                   Both  FM are used for uploading data .
    But ws_upload is obsolete now .
    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.
    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. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    Reward points if helpful.
    Regards,
    Hemant

  • HI all pls give me diff btwn upload ws_upload and GUI Upload

    HI All,
             pls give me difference  between
            upload
            ws_upload and
            GUI Upload
    Thanks & regards .
    Bharat Kumar

    Hi,
    WS_* Function modules are replaced by GUI_* FMs from 4.7 SAP version.
    GUI_* modules have additional parameters when compared with WS_* FMs.
    Both FM are used for uploading data .
    But ws_upload is obsolete now .
    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.
    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. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    WS_UPLOAD, GUI_UPLOAD FMs are used in BDCs.
    WS_UPLOAD loads files from the Presentation Server to Internal ABAP Tables.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD is used to loads a file from the PC to the server. The data can be
    transferred in binary or text format. Numbers and data fields can be
    interpreted according to the user settings.
    You can check this for some info
    http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm
    http://www.sapdevelopment.co.uk/file/file_otherpc.htm
    Regards,
    Priyanka.

  • Diff between gui_upload &? ws_upload

    can any one tell me what is the difference between gui_upload and ws_upload.

    Hi harish
    WS_UPLOAD function module is now obsolete
    from 4.7 ,gui_upload is used., this supports OOPs.
    check this
    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.
    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.
    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.
    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.
    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:
    TRANSLATE c ...FROM CODE PAGE     g1 ... TO CODE PAGE     g2
    TRANSLATE f ...FROM NUMBER FORMAT n1 ... TO NUMBER FORMAT n2
    For a detailed description, see the class documentation in the Class Builder. The following classes are available:
    CL_ABAP_CONV_IN_CE
    Reads data from a container and converts it to the system format. You can also fill structures with data.
    CL_ABAP_CONV_OUT_CE
    Converts data from the system format to an external format and writes it to a container.
    CL_ABAP_CONV_X2X_CE
    Converts data from one external format to another.
    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.
    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:
    TRANSLATE c ...FROM CODE PAGE     g1 ... TO CODE PAGE     g2
    TRANSLATE f ...FROM NUMBER FORMAT n1 ... TO NUMBER FORMAT n2
    For a detailed description, see the class documentation in the Class Builder. The following classes are available:
    CL_ABAP_CONV_IN_CE
    Reads data from a container and converts it to the system format. You can also fill structures with data.
    CL_ABAP_CONV_OUT_CE
    Converts data from the system format to an external format and writes it to a container.
    CL_ABAP_CONV_X2X_CE
    Converts data from one external format to another.
    Minimal demo report for Virus Scan Interface.
    For a functionally more complete example see report RSVSCANTEST.
    REPORT zvscandemo.
    Selection screen
    PARAMETERS:
      profile TYPE vscan_prof-profile,
      file    TYPE localfile.
    Events
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
      PERFORM file_f4.
    START-OF-SELECTION.
      PERFORM main.
    Main program
    FORM main.
      IF file IS INITIAL.
        MESSAGE s058(vscan) DISPLAY LIKE 'E'.
        EXIT.           " =================== EXIT =====================
      ENDIF.
    Access file and create XSTRING
      TYPES:
        ty_xline(1024) TYPE x.
      DATA:
        lf_file       TYPE string,
        lf_filelength TYPE i,
        lt_datatab    TYPE STANDARD TABLE OF ty_xline.
      lf_file = file.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = lf_file
          filetype                = 'BIN'
        IMPORTING
          filelength              = lf_filelength
        CHANGING
          data_tab                = lt_datatab
        EXCEPTIONS
          OTHERS                  = 1.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                     DISPLAY LIKE 'E'
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          EXIT.           " =================== EXIT =====================
        ENDIF.
    Recombine binary data
      DATA:
        lf_tabline TYPE ty_xline,
        lf_data    TYPE xstring.
      LOOP AT lt_datatab INTO lf_tabline.
        CONCATENATE
            lf_data
            lf_tabline
          INTO
            lf_data
          IN BYTE MODE.
      ENDLOOP.
      lf_data = lf_data(lf_filelength).
    Get scanner instance
      DATA:
        lo_vsi TYPE REF TO cl_vsi.
      CALL METHOD cl_vsi=>get_instance
        EXPORTING
          if_profile          = profile
        IMPORTING
          eo_instance         = lo_vsi
        EXCEPTIONS
          configuration_error = 1
          profile_not_active  = 2
          internal_error      = 3
          OTHERS              = 4.
      CASE sy-subrc.
      No error.
        WHEN 0.
          " Nothing to do
      Profile not active. For this report, this is an information message.
        WHEN 2.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     DISPLAY LIKE 'I'
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          EXIT.            " =================== EXIT =====================
      All other exceptions are issued as errors.
        WHEN OTHERS.
          MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                     DISPLAY LIKE 'E'
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          EXIT.            " =================== EXIT =====================
      ENDCASE.
    Perform virus scan
      DATA:
        lf_scanrc    TYPE vscan_scanrc.
      CALL METHOD lo_vsi->scan_bytes
        EXPORTING
          if_data             = lf_data
        IMPORTING
          ef_scanrc           = lf_scanrc
        EXCEPTIONS
          not_available       = 1
          configuration_error = 2
          internal_error      = 3
          OTHERS              = 4.
    All exceptions here are errors
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                   DISPLAY LIKE 'E'
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.            " =================== EXIT =====================
      ENDIF.
    Print return code and text
      DATA:
        lf_text TYPE string.
      lf_text = cl_vsi=>get_scanrc_text( lf_scanrc ).
      WRITE: / 'Result of virus scan: ', lf_scanrc, '(', lf_text, ')'.
      IF lf_scanrc = cl_vsi=>con_scanrc_ok.
        WRITE: / 'File is clean'.
      ELSE.
        WRITE: / 'File was either infected',
                 'or could not be scanned',
                 'or was ignored'.
                 'Or another problem occurred'.
      ENDIF.
    ENDFORM.
    F4-help for filename
    FORM file_f4.
      DATA:
        lt_filetable TYPE filetable,
        lf_rc        TYPE i.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          multiselection          = abap_false
        CHANGING
          file_table              = lt_filetable
          rc                      = lf_rc
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          OTHERS                  = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                   DISPLAY LIKE 'E'
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
    Number of selected filed must be equal to one.
      CHECK lf_rc = 1.
    Access selected file
      DATA:
        ls_file TYPE file_table.
      READ TABLE lt_filetable INTO ls_file INDEX 1.
      CHECK sy-subrc = 0.
      file = ls_file-filename.
    ENDFORM.

  • What is the main difference between ws_upload and gui_upload?

    Hi All,
    What is the main difference between ws_upload and gui_upload?
    In what contexts should we use these two function modules??
    Thanks,
    Creasy

    search the forum before posting.
    You can find lot of posts related.

  • What is difference between WS_UPLOAD and GUI_UPLOAD

    Dear gurus,
    Because my office implement SAP for a long time ago so some programs contain WS_UPLOAD function and I find that is obsolete so I want to know what is different or benefit if I modify program to use GUI_UPLOAD function instead of WS_UPLOAD function
    If you have related document please give me the link.
    Thank you,

    Hi,
    WS_Download Function module is used in 4.6 c version  and it is obsolete.From 6 version u need to use
    GUI_Download.
    WS_DOWNLOAD is obsolete function module for storing SAP data in a file in the file system of the presentation server.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
      FILENAME                      = ' '
      FILETYPE                      = 'ASC'
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
      COL_SELECT                    = ' '
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
    TABLES
    DATA_TAB                      = lt_datatab
      FIELDNAMES                    =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      NO_AUTHORITY                  = 10
      OTHERS                        = 11
    Now you ave to use method or function module GUI_DOWNLOAD
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
    EXPORTING
       BIN_FILESIZE              =
    FILENAME                  = lv_filename
       FILETYPE                  = 'ASC'
       APPEND                    = SPACE
       WRITE_FIELD_SEPARATOR     = SPACE
       HEADER                    = '00u2032
       TRUNC_TRAILING_BLANKS     = SPACE
       WRITE_LF                  = 'X'
       COL_SELECT                = SPACE
       COL_SELECT_MASK           = SPACE
       DAT_MODE                  = SPACE
       CONFIRM_OVERWRITE         = SPACE
       NO_AUTH_CHECK             = SPACE
       CODEPAGE                  = SPACE
       IGNORE_CERR               = ABAP_TRUE
       REPLACEMENT               = '#'
       WRITE_BOM                 = SPACE
       TRUNC_TRAILING_BLANKS_EOL = 'X'
       WK1_N_FORMAT              = SPACE
       WK1_N_SIZE                = SPACE
       WK1_T_FORMAT              = SPACE
       WK1_T_SIZE                = SPACE
    IMPORTING
       FILELENGTH                =
    CHANGING
    DATA_TAB                  = lt_datatab
    EXCEPTIONS
       FILE_WRITE_ERROR          = 1
       NO_BATCH                  = 2
       GUI_REFUSE_FILETRANSFER   = 3
       INVALID_TYPE              = 4
       NO_AUTHORITY              = 5
       UNKNOWN_ERROR             = 6
       HEADER_NOT_ALLOWED        = 7
       SEPARATOR_NOT_ALLOWED     = 8
       FILESIZE_NOT_ALLOWED      = 9
       HEADER_TOO_LONG           = 10
       DP_ERROR_CREATE           = 11
       DP_ERROR_SEND             = 12
       DP_ERROR_WRITE            = 13
       UNKNOWN_DP_ERROR          = 14
       ACCESS_DENIED             = 15
       DP_OUT_OF_MEMORY          = 16
       DISK_FULL                 = 17
       DP_TIMEOUT                = 18
       FILE_NOT_FOUND            = 19
       DATAPROVIDER_EXCEPTION    = 20
       CONTROL_FLUSH_ERROR       = 21
       NOT_SUPPORTED_BY_GUI      = 22
       ERROR_NO_GUI              = 23
       others                    = 24
    Thanks,
    Anitha

  • Difference between ws_upload and gui_upload

    hi
    could anybody tell me
    what is the difference between ws_upload and gui_upload
    dont say ws_upload is 4.6c version and
    gui_upload is 4.7 version.
    there might be some difference na thats why they migrate it.
    could you plz tell me the differnce
    it ll very helpful to me
    thanx
    kals.

    Hi Kalyan,
    SAP 4.72 onwards system is unicode compliant.
    THE WS_DOWNLOAD and WS_UPLOAD function modules are not compatible for unicode systems.
    So it is replaced with this new FM GUI_UPLOAD.
    There is a SAP note on this issue  Note 992677 - FMs WS_DOWNLOAD & WS_UPLOAD incompatible for unicode systems
    regards,nishant
    please reward points if this helps.

  • WS_UPLOAD and GUI_UPLOAD issue

    Hi
    I am in an  upgrade project, 4.6c to ECC6.0 .In ws_upload,there is a parameter called CANCEL ,,which is not there in GUI_UPLOAD ..whats it importance ,what parameter in GUI_UPLOAD would support this  ??
    Many thanks .

    Hemanth,
    I do not see a parameter called CANCEL for WS_UPLOAD either in the 4.6c or the ECC 6.0 system.  I just see the following:
    FUNCTION WS_UPLOAD.
    *"*"Globale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(CODEPAGE) DEFAULT SPACE
    *"     VALUE(FILENAME) LIKE  RLGRAP-FILENAME DEFAULT SPACE
    *"     VALUE(FILETYPE) LIKE  RLGRAP-FILETYPE DEFAULT 'ASC'
    *"     VALUE(HEADLEN) DEFAULT SPACE
    *"     VALUE(LINE_EXIT) DEFAULT SPACE
    *"     VALUE(TRUNCLEN) DEFAULT SPACE
    *"     VALUE(USER_FORM) DEFAULT SPACE
    *"     VALUE(USER_PROG) DEFAULT SPACE
    *"     VALUE(DAT_D_FORMAT) TYPE  DATEFORMAT DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(FILELENGTH)
    *"  TABLES
    *"      DATA_TAB
    *"  EXCEPTIONS
    *"      CONVERSION_ERROR
    *"      FILE_OPEN_ERROR
    *"      FILE_READ_ERROR
    *"      INVALID_TYPE
    *"      NO_BATCH
    *"      UNKNOWN_ERROR
    *"      INVALID_TABLE_WIDTH
    *"      GUI_REFUSE_FILETRANSFER
    *"      CUSTOMER_ERROR
    Can you please confirm?

Maybe you are looking for

  • Re: MSI 785GM-E51 and memory modules problems -l- Split

    I am using AMD PHENOM II 1055 125w CPU on MSI 785GM-E51.  Memory Corsair XMS3 DDR3-1600 x4 I can put memory in slot 1 and 3 it will boot fine. If I install DDR3 in slot 1 and 2 the system will not boot. If I full populate all the memory slots it will

  • No output to HDMI (but ok to VGA...) after CPU upgrade

    Hi there, I have a very strange problem... hope you can help! I wanted to upgrade my Mac Mini to use it as an HTPC, so I passed from 1.83Ghz CoreDuo/512Mb to 2.00Ghz Core2Duo/2Gb. The CPU and RAM upgrade process went OK, so I tried to connect the Min

  • What can i replace this bind variable with in function?

    Hello I am creating a report showing training attended by employees. I have written a function to do the following: Parameters 1 - 4 is hard coded for a reason. So we dont worry about them. 5th parameter: :START_DATE represents the date training star

  • Re: Installation of Windows XP on Satellite X200-23G - No HDD

    I tried installing Windows XP on my Satellite X200-23g, once i got installed but as desktop was seen... blue screen of death. Error occur and it went into restarting cycle... so i again installed VISTA from reconvery cd. Now when i try to install XP

  • Is it possible to enable the Web Services for eprint on the CP1025nw

    I am using the HP Laserjet CP1025nw It is connected to a wired network with a fixed IP address. I am using Windows 7 64bit When I click enable to complete the Web Services setup - it fails telling me to check the internet connection. The internet is