File type in GUI_download

Hi Experts,
Whatis the coresponding file type for 'WK1 for WS_DOWNLOAD in GUI_DOWNLOAD?

Hi ravi,
1. Its the same WK1.
2. U can check for yourself in the documentation of this parameter in se37.
regards,
amit m.

Similar Messages

  • GUI_DOWNLOAD - DBF file type

    Hi All,
    I am trying to download a internal table to presentation server using the FM GUI_DOWNLOAD and specifying the file type as DBF.
    Everything looks fine, I see the columns neatly arranged in excel sheet. But I do get an additional row with the column headers like F1, F2.... I need to avoid this.
    I surfed SDN and was not able to figure out a solution, There's a post posted way back in 200 but was not answered. I am just wondering if any one of you have found a solution for this in recent past.
    Please help me with your inputs.
    CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename              = file_name2
            filetype              = 'DBF'
          TABLES
            data_tab              = it_pc_output
          EXCEPTIONS
            OTHERS                = 1.
        IF sy-subrc EQ 0.
          WRITE :/ text-028, file_name2.
        ELSE.
          WRITE :/ text-004.
        ENDIF.
    Thanks,
    Vijay

    *********************************************SOLUTION******************************************************* =)
    TYPES:       BEGIN OF INVCE218,
             DOCUMENTO(11) TYPE  C,               "Código del documento historico.
             FECHA TYPE DATUM,                    "Fecha del documento histórico.
             MONTO(16) TYPE P DECIMALS 4,         "Monto en Bs. del documento histórico.
             ISV(6) TYPE P DECIMALS 2,            "ISV en Bs. del documento histórico.
             UNICO(12) TYPE C,                    "Consecutivo único del documento histórico.
             IVASERIE(5) TYPE C,                  "Literal de la serie fiscal del documento histórico.
           END OF INVCE218.
    TYPES:
           BEGIN OF ZCABECERA,
             CAMPO(10) TYPE  C,
           END OF ZCABECERA.
    DATA IT_INVCE218 TYPE INVCE218 OCCURS 0.
    DATA IT_CABECERA TYPE ZCABECERA OCCURS 0.
    FORM ADD_CABECERA TABLES T_CABECERA STRUCTURE   IT_CABECERA USING CAMPO TYPE CHAR10.
      T_CABECERA-CAMPO = CAMPO.
      APPEND T_CABECERA.
      CLEAR T_CABECERA.
    ENDFORM.
        PERFORM ADD_CABECERA TABLES IT_CABECERA USING 'DOCUMENTO'.
        PERFORM ADD_CABECERA TABLES IT_CABECERA USING 'FECHA'.
        PERFORM ADD_CABECERA TABLES IT_CABECERA USING 'MONTO'.
        PERFORM ADD_CABECERA TABLES IT_CABECERA USING 'ISV'.
        PERFORM ADD_CABECERA TABLES IT_CABECERA USING 'UNICO'.
        PERFORM ADD_CABECERA TABLES IT_CABECERA USING 'IVASERIE'.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
          BIN_FILESIZE              =
            FILENAME                  = 'C:Documents and SettingscarpetaEscritorioINVCE218.DBF'
            FILETYPE                  = 'DBF'
          APPEND                    = 'A'
          WRITE_FIELD_SEPARATOR     = '#'
          HEADER                    = '00'
          TRUNC_TRAILING_BLANKS     = ' '
          WRITE_LF                  = 'X'
          COL_SELECT                = ''
          COL_SELECT_MASK           = ' '
          DAT_MODE                  = ' '
          CONFIRM_OVERWRITE         = ' '
          NO_AUTH_CHECK             = ' '
          CODEPAGE                  = ' '
          IGNORE_CERR               = ABAP_TRUE
          REPLACEMENT               = '#'
          WRITE_BOM                 = ' '
          TRUNC_TRAILING_BLANKS_EOL = 'X'
          WK1_N_FORMAT              = ' '
          WK1_N_SIZE                = ' '
          WK1_T_FORMAT              = ' '
          WK1_T_SIZE                = ' '
          WRITE_LF_AFTER_LAST_LINE  = ABAP_TRUE
          SHOW_TRANSFER_STATUS      = ABAP_TRUE
          filename                  =
          filetype                  =
          write_field_separator     = 'X'
          trunc_trailing_blanks_eol = 'X'
          trunc_trailing_blanks     = 'X'
          TABLES
            data_tab                  = it_INVCE218
            FIELDNAMES                = IT_CABECERA
          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
            OTHERS                    = 22.
        IF SY-SUBRC <> 0.
          MESSAGE 'TABLA INVCE218 NO GENERADA ' TYPE 'I'.
        ENDIF.
    Edited by: mant86 on Feb 27, 2012 11:23 PM

  • Problem with Gui_download using ASC File type - japanese characters

    Hi,
    During upgrade,while downloading data for japanese characters using GUI_DOWNLOAD Function module with file type as 'ASC', the space between 2 fields data getting much wider compared to 4.6C Version ws_download Function module's  data.
    Example: the gap between first field data and second field data in ECC 6.0 is 6 characters length,but in 4.6C it is 2 characters length.
    Is there any possibility to get the results similar to 4.6c version.Please give your valueable suggestions.
    Thanks
    BalaNarasimman

    Hi Sandra
    Please find the detailed information for your questions.
    1.Internal table content before download:During Debugging,it was observed that internal table content was same in both versions.For testing,i used only brand new data(Transaction entry).
    2.Download with code Page conversion:Yes,codepage parameter 4103 was explicitly passed into GUI_DOWNLOAD Function module.Also the front end code page which is used by system is 4110 . No errors occured.
    3.System is an Unicode system only.
    4.Actually this 6 character does not refer the byte value,only the gap between 2 fields data is getting referred in ECC 6.0.Please find the below example.
    Example - File data after Download:
    ECC 6.0: Field1            Field2      (gap - 6 characters space between 2 fields data)  Using GUI_Download
    data       u0152©Ïu201Dԍu2020      EN                               
         4.6C: Field1            Field2       (gap - 2 characters space between 2 fields data) Using WS_Download
         data    u0152©Ïu201Dԍu2020  EN    
    Note:Special characters are Japanese characters:

  • Need to avoid header When using GUI_DOWNLOAD with file type "DBF"

    Hi ,
    I am downloading internal table to excel on the desktop using GUI_DOWNLOAD with file type "DBF".
    Internal table I use do not have any header.
    But I do see the header in the downloaded file.
    It displays 1 row as " F1  F2 F3..ETC" heading for each column.
    Is there any variable we need to set to suppress header.
    Thank you,
    Kumar

    Hello Dilip,
    I tried using GUI_DOWNLOAD with FILE TYPE as "DBF", and i see the problem as mentioned. My question to you is:
    1. Why do you need 'DBF' format?
    2. Is it required to save the file as '.CSV'? Can you not try to save in '.XLS' file?
    Plz revert back.
    BR,
    Suhas

  • Need to remove header When using GUI_DOWNLOAD with file type "DBF"

    Hi ALL,
    I am using GUI_DOWNLOAD function module to downlaod data to csv file . I have taken FILE TYPE as "DBF" . After download , I have found data is downloaded along with a default header . Now how can I avoid Header while downloading.
    Please help me to solve this problem.
    thanks and regards,
    Dilip
    Edited by: dilip kumar on Jun 9, 2009 11:51 AM

    Hello Dilip,
    I tried using GUI_DOWNLOAD with FILE TYPE as "DBF", and i see the problem as mentioned. My question to you is:
    1. Why do you need 'DBF' format?
    2. Is it required to save the file as '.CSV'? Can you not try to save in '.XLS' file?
    Plz revert back.
    BR,
    Suhas

  • Headings not downloaded using GUI_DOWNLOAD, used DBF as a file type

    Hello,
                 I have used the function module to download the data into an excel file using GUI_DOWNLOAD FM.
    I have given the file type as 'DBF', because if I give DAT type then the data for the amount not downloading properly.
    and preceeding zero's are not dowloaded properly. Hence used DBF.
    But when I use DBF file type , the header texts are not downloaded properly.
    CALL FUNCTION GUI_DOWNLOAD
        EXPORTING
          filename                       = lw_file
         filetype                        = DBF
       TABLES
          data_tab                      = t_output
        fieldnames                      = t_head
    fill the header texts for all the fields
    TYPES: BEGIN OF ty_head,
                   name(24),
      END OF ty_head.
    data:  wa_head TYPE ty_head,
           t_output TYPE STANDARD TABLE OF ty_output,
    wa_head-name = text-t01.
      condense wa_head-name.
      APPEND wa_head TO t_head.
        CLEAR wa_head.
      wa_head-name = text-t02.
      APPEND wa_head TO t_head.
      CLEAR wa_head.
      wa_head-name = text-t03.
      APPEND wa_head TO t_head.
      CLEAR wa_head.
    This is the code I have used...but the text is not displaying fully in the file.
    If I use DAT, then data will be wrong in some cases.(like zeros.amount in decimals).
    Thanks,
    AV

    HI,
    I suggest prepare the data in the internal table t_output as per your requirement first so as to avoid the data anomaly & then you can happily used DAT.
    Regards
    Abhii...

  • How can we give the Data Format (File Type ) in Runtime

    Hi all,
    How can we give the Data Format (File Type ) in Runtime for the following method,
    cl_gui_frontend_services=>gui_download.
    Thanks in advance
    Sri

    There is a filetype parameter which you can set
    CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
    *    BIN_FILESIZE              =
        filename                  =
    *    FILETYPE                  = 'ASC'
    *    APPEND                    = SPACE
    *    WRITE_FIELD_SEPARATOR     = SPACE
    *    HEADER                    = '00'
    *    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'
    *  IMPORTING
    *    FILELENGTH                =
      changing
        data_tab                  =
    *  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

  • How to convert flat file type from DAT to ASC

    hello all
    i am trying to download a flat file and trying  to upload it in another program.
    for this i am using gui_upload and gui_download function modules.
    if i download the file as ASC and upload with ASC there is no problem.
    if i download the file as DAT and upload with DAT its giving an exception invalid file type
    if i download the file as DAT and upload with  ASC  its giving an exception bad data format.
    but in real senario my customer is sending a flat file with DAT type and i am unable to upload it.
    how to solve this problem?

    Hi,
    when uploading DAT pass file type as 'ASC' and give HAS_FIELD_SEPARATOR  = 'X'.
    For other types see the code below.
    CASE P_RECTYP.
       WHEN 'DAT'.
         MOVE 'X' TO L_FLDSEP.
         MOVE 'ASC' TO L_TYPE.
       WHEN 'ASC'.
          MOVE ' ' TO L_FLDSEP.
          MOVE P_RECTYP TO L_TYPE.
       WHEN 'BIN'.
           CLEAR L_TYPE.
         MOVE P_RECTYP TO L_TYPE.
         MOVE ' ' TO L_FLDSEP.
       WHEN OTHERS.
        MOVE 'X'  TO L_FLDSEP.
        MOVE 'ASC' TO L_TYPE.
    ENDCASE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = LV_FILENAME
       FILETYPE                      = l_type
       HAS_FIELD_SEPARATOR           = l_fldsep
    Regards,
    Vasanth

  • File type error

    hi,
        iam developing a program to download data from SAP table to  flat file using BAPI. when iam executing it is giving file type different error.
    pls help. this is code
    *& Report  Z_RTP_I_INTERNALORDER
    REPORT  Z_RTP_I_INTERNALORDER NO STANDARD PAGE HEADING.
       PROGRAM - ID              :
       MODULE                    :  MM
       DATE                      :
       PROGRAMMER                :
       PROGRAM DESCRIPTION       :
    ------------------ TABLE WORK AREA -----------------------------------
    TABLES: COAS. " ORDER MASTER FOR CONTROLLING
                 SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS: P_COMP TYPE COAS-BUKRS. " COMPANY CODE
    *PARAMETERS: P_FILE(30) TYPE C.
    PARAMETERS: P_FILE LIKE  RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    *DATA: P_FILE TYPE STRING.
    *P_FILE = 'C:\CHANDRA.TXT'.
    INTERNAL TABLE DECLARATION
    DATA BEGIN OF IT_COAS OCCURS 500.
         INCLUDE STRUCTURE ZCOAS. " STRUCTURE FOR COAS
    DATA END OF IT_COAS.
    BAPI FUNCTION MODULE -
    *ZBAPI_INTERNAL_ORDER_LIST   "BAPI FOR TO GET THE LIST OF INTERNAL ORDERS
    AT SELECTION-SCREEN ON VALUE-REQUEST for P_FILE.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = 'P_FILE '
    IMPORTING
       FILE_NAME           = P_FILE.
    START-OF-SELECTION.
    CALL FUNCTION 'ZBAPI_INTERNAL_ORDER_GETLIST'
      EXPORTING
        BUSINESSUNIT       = p_comp
    IMPORTING
      AUFNR              =
      KTEXT              =
    TABLES
      RETURN             =
    LIST               = IT_COAS.
    *--GUI_DOWNLOAD--
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
       BIN_FILESIZE                    =
         FILENAME                        = P_FILE
         FILETYPE                        = 'ASC'
       APPEND                          = ' '
       WRITE_FIELD_SEPARATOR           = ' '
       HEADER                          = '00'
       TRUNC_TRAILING_BLANKS           = ' '
       WRITE_LF                        = 'X'
       COL_SELECT                      = ' '
       COL_SELECT_MASK                 = ' '
       DAT_MODE                        = ' '
       CONFIRM_OVERWRITE               = ' '
       NO_AUTH_CHECK                   = ' '
       CODEPAGE                        = ' '
       IGNORE_CERR                     = ABAP_TRUE
       REPLACEMENT                     = '#'
       WRITE_BOM                       = ' '
       TRUNC_TRAILING_BLANKS_EOL       = 'X'
       WK1_N_FORMAT                    = ' '
       WK1_N_SIZE                      = ' '
       WK1_T_FORMAT                    = ' '
       WK1_T_SIZE                      = ' '
    IMPORTING
       FILELENGTH                      =
       TABLES
         DATA_TAB                        = IT_COAS
       FIELDNAMES                      =
    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
        OTHERS                          = 22.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    chandu

    Hi,
    Do this
    PARAMETERS       : p_sumfl TYPE char255.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_sumfl.
    *-File Path For Summary Report
      PERFORM f2000_filepath_f4 USING lc_s
                             CHANGING p_sumfl.
    *-------Form
    FORM f2000_filepath_f4  USING xv_indicator TYPE char1
                         CHANGING xyv_filepath TYPE char255.
    *---------------Popup for file name---------------------*
      CONSTANTS :
             lc_dft_ext    TYPE string VALUE 'XLS',
             lc_file_flt   TYPE string VALUE '*.xls',
             lc_int_drc    TYPE string VALUE 'C:'.
      DATA : lv_win_title  TYPE string,
             lv_file_name  TYPE string,
             lv_dft_fname  TYPE string,
             lv_fname      TYPE string,
             lv_path       TYPE string.
      CLEAR: lv_fname,
             lv_path,
             lv_file_name,
             lv_win_title,
             lv_dft_fname.
    *---------------Set File Details F4 Based on Report Type--------------*
      IF xv_indicator = lc_s.
        lv_win_title = text-045.
        lv_dft_fname = text-038.
      ELSE.
        lv_win_title = text-044.
        lv_dft_fname = text-033.
      ENDIF.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title         = lv_win_title
          default_extension    = lc_dft_ext
          default_file_name    = lv_dft_fname
          file_filter          = lc_file_flt
          initial_directory    = lc_int_drc
          prompt_on_overwrite  = lc_true
        CHANGING
          filename             = lv_fname
          path                 = lv_path
          fullpath             = lv_file_name
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      IF sy-subrc <> 0 OR lv_fname     IS INITIAL
                       OR lv_path      IS INITIAL
                       OR lv_file_name IS INITIAL.
        CLEAR xyv_filepath.
      ELSE.
    *---FilePath
        xyv_filepath = lv_file_name.
      ENDIF.
    ENDFORM.                    " f2000_filepath_f4
    *--------Gui Download
      PERFORM f9000_save_detail_report TABLES lit_det_report
                                        USING p_sumfl
                                              p_detfl.
    *--------Form------------------------------------------*
    FORM f9000_save_detail_report
                           TABLES xt_det_report  STRUCTURE ls_det_report
                            USING xv_sum_fp      TYPE      char255
                                  xv_det_fp      TYPE      char255.
    *---Load Header Data of Detail Report
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = lv_file_name
          filetype                = lc_file_type
          write_field_separator   = lc_true
          codepage                = '4103'
        TABLES
          data_tab                = lit_head_det
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5

  • What is replacement of  file type IBM while using GUI_UPLOAD?

    Hi All,
    what is replacement of  file type IBM while using GUI_UPLOAD?

    Iam using the class CL_GUI_FRONTEND_SERVICES and method GUI_UPLOAD
    instead of directly calling the GUI_UPLOAD FM
    Please note the difference marked star against it
    Let me know what i have to pass
    DATA: INP TYPE STRING.
    clear : inp.
    MOVE in TO INP.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
    FILENAME = INP
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = SPACE
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = SPACE
    CODEPAGE = SPACE
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    VIRUS_SCAN_PROFILE =
    IMPORTING
    FILELENGTH =
    HEADER =
    CHANGING
    DATA_TAB = cr *******************************
    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
    NOT_SUPPORTED_BY_GUI = 17
    ERROR_NO_GUI = 18
    others = 19
    The above code gives me an error
    "CR" is not type-compatible with formal parameter "DATA_TAB".
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = INP
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = ' '
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    CHECK_BOM = ' '
    VIRUS_SCAN_PROFILE =
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    HEADER =
    TABLES
    DATA_TAB = cr *****************************
    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 ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    I assume that CR is a table with header line, in OO context, header lines are not allowed so you specifically have to state that you are passing the body of the table.
    *HEADER =
    TABLES
    DATA_TAB = cr[]      "<-  Like This
    EXCEPTIONS
    call method cl_gui_frontend_services=>gui_download
      exporting
        filename                = str_file
      changing
        data_tab                = istr.
    Message was edited by:
            Karthikeyan Pandurangan

  • Set file type associations in Adobe Bridge for Photoshop CS6

    Is there a way I can edit the registry so that in Adobe Bridge, under edit, preferences, file type associations, the jpg extension is forced to use the 32-bit version of Photoshop?  I can do it manually, but is there a registry key i can export to apply it to multiple computers?

    Yes, in theory, but it is generally not recommended. But that location would depend on what OS you are on. This video give the locations for the Photoshop files, Bridge would just be in a neighboring folder: http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/how-to-reset-photoshop- cs6s-preferences-file/

  • Data Recover From Formatted Drive? What is the best program to use to get back Logic Projects and any other file type?

    I was in the process of reorganising my hard drives so I could RAID them however I managed to corrupt one drive and had to format it which meant I lost all my Logic Files and some other files. I managed to save a lot of files (mainly video files) before I had to format the drive but I need a Data Recovery service that will not alter anything on the hard drive and will put all the formatted files (regardless of the type) back for me so I can get the rest of the ones I need.
    Thanks in advance.

    What about folders and such?
    No. FS doesn't reconstruct folders. However, Data Rescue does, depending on how you use it. About the only thing in Data Rescue a Quick Scan ever seems to show you are files that are already live.
    So that leaves you with a Deep Scan, or a Deleted Files scan. The first pass of a Deep Scan will attempt to retrieve folders and files, along with their original names. The second pass only looks for file patterns. Like recognizing a Photoshop .psd file. It will recover it, but give it a nonsense name. A Deleted Files scan only results in nonsense names of recognized file types; no folders.
    What were you using File Salvage on? A hard drive?
    Yes, though you can use it on a flash drive, or any other mounted drive.
    At the moment it is estimating 289 hours remaining on a 1TB drive. Can it not go faster?
    No, both of the software mentioned are slower than molasses in January. When you delete anything in Windows, its file table entry simply tagged as deleted. So to unerase them, the tag is removed. That's why it works to quickly and easily (assuming you haven't already overwritten the data to be recovered).
    In OS X though, the whole idea of the underlying UNIX structure is all about security. It's not supposed to be easy to retrieve deleted items. When you delete items, their file table entries are erased. So the only way to find deleted items is to scour the entire drive for BOF (Beginning Of File) markers that don't have a matching starting block to anything that is in the file table.
    Another question, half the drive was empty. Will it fly over that empty space or will it sieve through it incase there was some files stored on it?
    If you use the Expert mode is FS, you can choose to do that:

  • Removing obsolete file type associations from "Open With" menu

    Ever since I removed VMWare Fusion 3.x from my system, I've been unable to remove the Bootcamp file type associations that it created. For example, if I right-click on a PDF and choose Open With, this is a partial list of what I see:
    Adobe Acrobat Pro (default)
    Adobe Distiller (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Fireworks CS4
    Adobe Fireworks CS4 (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Illustrator CS4
    Adobe Illustrator (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Photoshop CS4
    Adobe Photoshop CS4 (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    ...and on and on and on. 17 additional entries for Fusion for PDS's alone. This junk is driving me crazy.
    I've tried rebuilding the Launch Services database with MacPilot and Onyx (the recommended fix that I've found on the web), but the entries still are there even after restarting Finder and rebooting my iMac. I'm at a loss to figure out how to get rid of these.
    Can anyone help me?
    Thanks!

    They are stored in the LaunchServices database. You can give this a try, but no guarantees. If you no longer use VM Fusion then I suggest following the information below on uninstalling software.
    Rebuild LaunchServices Database
    Open the Terminal application in your Utilities folder. At the prompt paste in the following command in its entirety:
    find /System/Library/Frameworks -type f -name "lsregister" -exec {} -kill -seed -r \;
    Press RETURN.
    Wait for the Terminal prompt to return after which you can quit the Terminal.
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • File Type Associations

    Recently re-installed Adobe Photoshop CS6, Dreamweaver CS4 and Illustrator CS4 because I had considered not renewing my Adobe CC subscription. I decided to stay on CC one more year, but the previous version installs totally messed up my default file associations. I do not want to uninstall those previous apps.
    So of course I went to Bridge preferences and painfully changed them to the CC programs. The problem is if I want to open an .ai in Photoshop CC I used to be able to from one of the options in the flyout. Now I can only pick the default and all the other options are like Photoshop CS6 and Illustrator CS4. How can I change those other options populating the flyout without uninstalling the old apps?
    I can go to Photoshop CC and manually open it there, but that defeats the whole purpose of Bridge.
    I tried to change file type associations through Windows 8 file type associations but it won't let me do it there either.
    Thanks.

    Find a file you want to have associated to a different application in the Finder.
    Control-mouse click (or right click if you have a two button mouse) the file and select Open With's submenu Other...
    Find the application you want to open it with, and make sure in the Open With... file dialog box, you check "Always Open With" before selecting the application. Documents of that type will now always open with that specific application you chose.

  • File Type Associations Do Not Stick System-Wide CS4

    When I set File Type Associations for PSD, Tiff, DNG and Jpeg fles in Bridge CS4 so that my files will open in PS CS3 (and insure that the same file associations apply in Bridge CS3), this works as it should from within CS4 and CS3, but it is impossible to introduce a system-wide change in Mac OS 10.5.5 via File-Info. It always reverts to CS4 for these file types, if I try to 'modify all'. The same thing happened when I upgraded from CS2 to CS3.

    If File Type Associations are set properly in the Bridge preferences, the default setting can be made to open files in PS CS3, with CS4 installed. This works from within CS3 and CS4. However, it sometimes happens that one is in the Finder, and the default remains PS CS4, however much one tries (via File-Get Info) to modify the default system-wide settings so that these files open in CS3. In any event, a bit invasive. Of course, if I could get comfortable with the Adjustment Layer Panels, all this would be unnecessary, but for the moment, there appear to be too many clicks, and it is going to take some time, so I don't want to burn bridges. Perhaps there is also some ambiguity in my mind as to what the pointing finger in the new Curves dialogue box, much like a tolling bell, is trying to tell me.
    But thanks, once again Anne, for your good-natured help.

Maybe you are looking for