DIFFERANCES BETWEEN WS_UPLOAD AND GUI_UPLOAD??

HELLO ALL,
         CAN SOMEONE TELL ME THE DIFFERANCES BETWEEN WS_UPLOAD AND GUI_UPLOAD????
REGARDS,
SEENU

Hi Seenu,
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.
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.
Regards
Naresh

Similar Messages

  • 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

  • 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.

  • 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.

  • Differnece between ws_upload and gui_upload

    Hi
    can u plz tell me what is differnece between ws_upload and gui_upload.

    Hi,
    below information  is helpful to u.
    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 , 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.
    for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.

  • 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

  • Ws_upload and GUI_upload ....

    Hi Everyone,
    I got a query, I have tried  using ws_upload and gui_upload both in the program...... the codes are below, If I try using .xls it gives only garbage in the internal table.  .txt format is working fine. Can anyone help by haveing a look at the code piece where am I going wrong. i trid these piece of codes in both ECC6.0 and 4.6.
    **************CODES BELOW*******************
    FORM UPLOAD_PS_PRICE .
    DATA:L_CURR LIKE  EKPO-NETPR.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = p_local
          filetype                = 'DAT'
         has_field_separator     = 'X'
        TABLES
          data_tab                = t_ps_price
        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.
      ENDIF.
    CALL FUNCTION 'WS_UPLOAD'
            EXPORTING
                 FILENAME                = P_LOCAL
                 FILETYPE                = 'DAT'
            TABLES
                 DATA_TAB                = T_PS_PRICE
            EXCEPTIONS
                 CONVERSION_ERROR        = 1
                 FILE_OPEN_ERROR         = 2
                 FILE_READ_ERROR         = 3
                 INVALID_TYPE            = 4
                 NO_BATCH                = 5
                 UNKNOWN_ERROR           = 6
                 INVALID_TABLE_WIDTH     = 7
                 GUI_REFUSE_FILETRANSFER = 8
                 CUSTOMER_ERROR          = 9
                 OTHERS                  = 10.
       IF SY-SUBRC <> 0.
         MESSAGE S002 WITH TEXT-007.
       ENDIF.

    hi
    good
    did you debug the code and try to find out where is the exact error is, because it is quite difficult to give you the correct reply with this bit of code.
    thanks
    mrutyun^

  • Why is different between consumption and spare part material Amount in Accounting?

    I go to mb51
    in Accounting document there is different
    l found the standard price was changed in the last . it was changing from 850,000 to 1000
    i don't know why is different between consumption and spare part material Amount Accounting??? please help me . how can I solve it?

    pay attention just first document has a different accounting amount . in others there aren't different .see these screenshot :

  • What is the different between statement and preparedstatement?

    hi,
    recently i have attended a telephonic interview. they asked me what is the different between statement and preparedstatement? and when u will use them? Hi! can any one say me the original difference??

    sorry dear,
    i am already shortlisted. and monday is my HR round.
    . Every 1 is not like u.
    So you have read the examples and explanations that you found when you googled, and you have read the javadoc and you still don't understand? And you are shortlisted? For what? I hope you won't do server programming.
    I will give you a few hints.
    Escaping of data
    Storing of dates
    Safer
    Faster

  • How the implementation differs between BW and BI , Is BI takes more time fo

    Hi All,
    I would like to know difference between implemenation and time lines for MM as mentioned below.
    How the implementation differs between BW and BI , Is BI takes more time for implementing MM module  than on BW?
    Thanks in advanced. (Full points will be awarded)
    With Regards,
    PCR

    Hi Timo,
    Thanks for response!
    But as i read from the following url: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html, the setQueryTimeOut(int timeOutMills), the timeOut is mentioned in milliseconds. Please correct me if I am wrong.
    and i have overriden the executeQuery() method in the View Object Impl class as shown below:
    public void executeQuery() {
    Map sessionScope = ADFContext.getCurrent().getSessionScope();
    sessionScope.put("MyQuery", this);
    try {
    super.executeQuery();
    } finally {
    sessionScope.remove("MyQuery");
    throw new JboException("Query Taking too long to respond");
    and in the JAVA class i am calling the above method like this:
    monitor.setQueryTimeOut(6);
    monitor.executeQuery();
    But the issue is:
    1. The above exception message is getting carried forward to other pages as well. I mean somewhere in the session/ADFContext this message is being saved and error comes up/pops up when i click on other tabs of the page. How do i clear this?
    2. The above exception message is coming for the first time but when i click the 'Submit' button second time, i am getting the results and also the message that 'Query is taking too long to respond'. This should not be the case, everytime it should show the same message as the timeout limit is less and the query should end without fetching the results.
    Kindly let me know how to resolve the above issues, any pointers will be helpful.
    Thanks in advance.
    Edited by: user9223904 on Nov 3, 2012 4:42 AM

  • FB60 screen change layout different between DEV and PRD

    Hi,
    I'm having problem with transaction FB60. When i try to change the layout in PRD, in screen Edit System Setting, some of the field showing 0 length. For example in WBS element field, in DEV show length 24 but PRD show length 0. I try to compare the version but it is same (program & table structure - ACGL_ITEM). When I debug the program, found out that it will get the structure from sap internal c program call 'AB_GET_CX_DATA'. So, maybe this program version are different between DEV and PRD.
    Anybody knows what is the cause of this problem? Or maybe somebody can tell me how to check sap internal c program.
    Thank you very much.

    Yes. FB60 is Enter Vendor Invoice. In this screen you can see a table with column such as GL Acct, Debit/Credit, Amount in DC, Cost Center and others. You can add or remove some of the field using Table Setting and create Screen Variant. My problem is, the length of WBS Element and Profit Center field is 0. How to change the length.
    I already searched in forum but I only found how to create screen variant.
    Thanks.

  • What is the different between component and component type in extract struc

    Hi All,
    What is the different between component and component type in the Extract Structure?
    I used them, but I never really know the different between them yet.
    Thanks,
    Grace

    The difference between Component and Component Type are:
    Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
    Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables).

  • What is different between Analytics and VC Forum?

    Hi Experts!
    I don't know what is different between Analytics and VC forum in SDN. of course, Analytics is not Visual composer.
    But, I guess that most of analytics questions will be related to Visual Composer in this Analytics Forum.
    How about your opinion?

    Hi Young
    Analytics is business process oriented and thus it's domain is BPX hence it is placed under forum for BPX(Business Process Expert).
    VC is a tool and it is in technology domain.
    First we discuss a scernario based on particular business process. Then we prepare detailed level of analysis-reporting and actionable analytics this business process would need. Then we use tools like VC to accomplish this actionable analytics.
    Hope this helps
    Regards
    Pradip

  • What's Different Between ODI and FDQM ?

    I need to know What's Different Between ODI and FDQM ?

    At is simplest ODI is an enterprise scale ELT tool that can cope with moving very large amounts of data bwteen heteregeneous systems. It requires a fair degree of technical knowledge to use well and that the user is pretty competent with SQL. It is not really an end user tool and the jobs tend to be lights out scheduled processes with a limited user interface for executing these jobs. FDQM is more of a data quaility tool which gives the average end user the out of the box functionality to be able to transform and load data into various target systems. It is not designed to move very large amounts of data efficiently i.e. multi millions of lines of data like ODI. However it does have a rich user interface that provides an easy to use mapping engine, a repeatbale controlled data load process and has a host of in built reporting and audit features which would have to be built from scratch in a tool like ODI

  • What's different between OWB9i and Discorver4i?

    1.What's different between OWB9i and Discorver4i?
    2.Discorver4i is ROLAP or MOLAP or HOLAP?

    1.What's different between OWB9i and Discorver4i?
    OWB9i is a tool used to create data marts or data warehouses. You would use it to create the ETT Extraction, Transformation,
    and Transfer or Load (ETL). Discoverer is a reporting tool.
    2.Discorver4i is ROLAP or MOLAP or HOLAP
    Discoverer 4i is a ROLAP tool. Relational OLAP.
    Christopher
    www.iloveapple.com

Maybe you are looking for

  • 3G NOT Activating - SSL 3.0 or TLS in Internet Explorer (iTunes for PC)

    I guess their SSL servers are crashing too. SAD Months to test. 1 year's worth of experince and NO Load Testing.

  • Exit to restrict the ATP stock in VA01

    Hi , I have an requirement where when user try to to create the order using VA01 Transaction with Document type 'ZCSF' Order Reason '000' then I will have to display the 0500 storage location ATP stock not of '0100' and '0150' in available stock scre

  • Error with 11.1.0.7 with Oracle Agent 10g and GC 10g

    Under Solaris I have the following error if I put AgentListenOnAllNICs=FALSE in emd.properties. The OMS and agent are patched to the latest 10g version. emoms.log 2011-07-18 11:10:22,982 [EMUI_11_10_22_/console/monitoring/hostOverview$ctxType=Hosts$t

  • Creating context-sensitive HTML Help without using Map #s

    I am uisng RH 8 and am producing a compiled HTML Help file. I am wondering if there is another way to call a topic from our application without using the MAP numbers in RH. The developer would like to use the MAP ID (string) instead. Is there a way t

  • Combains 2 facts (witth two separate dimensions)

    Hello, my question is- how two combain two facts, when each of them has it's own dimension? I've got F1-D1 and F2-D2, i need to combain them by D1-D2, which contains same information- five letters code F1, F2, D1 and D2 are in the same subject area.