Function Module GUI_DOWNLOAD Problem in Japanese language.

HI All,
I am Using GUI_Download funtion module for downloading data from internal table to flat file.
But one of the field having the value 'OLOA®5624'.
In User login to Japanese Langualge:-
After downloading data the value 'OLOA#5624' is apper insted of 'OLOA®5624'. (i.e the '®' - the symbol is replaced by # in the download ).
If any one know please let me as early as possible.

Hi,
Once you download the data, you have to convert the data.
Please check the below link for more help.
http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c554afb3dc11d5993800508b6b8b11/frameset.htm
Thanks,
Ramakrishna

Similar Messages

  • Function Module GUI_DOWNLOAD: Type String Issue

    I am working in 4.6C. I have used this Function Module many times in the past without issue, but not at this site. It abends and gives me the error message:
    The call to the function module "GUI_DOWNLOAD" is incorrect:                                                                               
    The function module interface allows you to specify only fields          
    of a particular type under "FILENAME". The field "FNAME" specified here  
    has a different field type.                                              
    Here is the field declaration in the code:
    PARAMETER: fname type rlgrap-filename DEFAULT 'C:/New_PO_Format.xls'.
    The import parameter in GUI_DOWNLOAD for FILENAME is type STRING. When I double click on STRING in the FM I get "Unable to find a tool to process request". And, TYPE STRING does not exist in the system? I started making a Z version of GUI_DOWNLOAD, but it started giving me headaches because I had to start copying other SAP function modules.
    Am I missing something? Or, is there a new and improved version of GUI_DOWNLOAD to use?

    data : v_file type string.
    PARAMETER: fname type rlgrap-filename DEFAULT 'C:/New_PO_Format.xls'.
    start-of-selection.
    v_file = fname.
    use v_file in gui_download parameter.
    Thanks
    Seshu

  • Question about exceptions in function module GUI_DOWNLOAD

    To all,
    I add the function module 'GUI_DOWNLOAD' in the ABAP report program. After the user download the data to excel, the program also displays a report on the screen for print output.
    If the user keep the excel file open and tries to replace the file on download, the program gives an error message 'Access to file denied' and the program ends without displaying a report on the screen.
    Is there any way not to end the program even if download is failed?
    I would like the program displays a report after it gives an error message.
    So I am trying to use exceptions. But if I code to give messages, the programs ends as above. And if I just make exit when it happens, no error message and the program displays a report but the user don't know if the excel file was updated or not.
    Could anybody kindly let me know how to code exceptions and messages if it is possible the program works I hope.
    Thank you very much in advance.
    Best regards,
    Miki Komatsu

     I figured out how to do that.
      Thanks.
      Best regards,
      Miki

  • Function Module GUI_DOWNLOAD in SAP 4.6c

    Hi All,
    I have uploaded a JPG file to a database table and when using the below function modules in the SAP 4.7 server its not opening the file.
    The Below code is written for the double click event. The same code works for the ECC 6.0 version
    please  help.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. (Your orioginal post included code that was commented out.)
    Thanks in Advance.
    Regards
    Ninan
    Edited by: NINAN on Jan 27, 2010 7:50 AM
    Edited by: NINAN on Jan 27, 2010 10:07 AM
    Edited by: NINAN on Jan 27, 2010 11:12 AM
    Edited by: Rob Burbank on Jan 27, 2010 9:20 AM

    This is the code  NINAN  is talking about
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
    EXPORTING
    * BIN_FILESIZE = FILENAME = FNAM FILETYPE = 'BIN'
    * 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 = FILE_LENGTH
    CHANGING
      DATA_TAB = IT_PIC_TAB_DOWN
    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 .
    IF SY-SUBRC 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_GUI_CFW=>FLUSH
      EXCEPTIONS
        CNTL_SYSTEM_ERROR = 1
        CNTL_ERROR        = 2
        OTHERS            = 3.
    IF SY-SUBRC 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
    EXPORTING
    DOCUMENT = FNAM
    * APPLICATION =
    * PARAMETER =
    * DEFAULT_DIRECTORY =
    * MAXIMIZED =
    * MINIMIZED =
    * SYNCHRONOUS = operation = 'OPEN'
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    BAD_PARAMETER = 3
    FILE_NOT_FOUND = 4
    PATH_NOT_FOUND = 5
    FILE_EXTENSION_UNKNOWN = 6
    ERROR_EXECUTE_FAILED = 7
    SYNCHRONOUS_FAILED = 8
    NOT_SUPPORTED_BY_GUI = 9
    OTHERS = 10 .
    IF SY-SUBRC 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Query on Function Module for conversion of text - language specific

    Hi,
    In my interface program i have query regarding CDHDR table.
    Problem: Object Class(CDHDR-OBJECTCLAS). The technical name of the object name shall
    be translated to meaningful business text
    For EXample.  I am getting the value for the field OBJECTCLAS is EINKBELEG shall be converted as 'Purchasing Document'
    Kindly suggest me if there any standard SAP function module is available to convert the German text into English

    Hi,
    to pass the internal table to a tables parameter
    both must be of same type
    if both are of same type
    u can use INT1[] = INT2[] to pass internal table value to internal table of FM
    if structures are not same then
    u will have to loop thru int1 and move values selectively to int2 and everytime append int2
    this should sove ur prob
    tc
    saji

  • Function module for error message with language param

    any Function Module that has language param in it?
    thanks,

    Dear Rayann,
    Use FM FORMAT_MESSAGE.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Customized function Module BOM Problems

    Hi,
    i have created New function Module as copy of of
    IDOC_INPUT_BOMMAT .
    now i need to do some customizations in the new function module
    like
    1.calculating validity dates by using function module
    CC_CHANGE_NUMBER_READ
    This is required for:
    Valid from date Change Ref - ZE1CHNGNR-ZCHFROM
    Valid to date Change Ref - ZE1CHNGNR-ZCHTO
    Current Year Change Ref - ZE1CHNGNR-ZCHCURR a new customized extended segment
    How to do this
    Please help me

    In function module "IDOC_INPUT_BOMMAT" there is a subroutine
       move and convert data from idoc to application internal tables
        perform idoc_to_bom_itabs tables idoc_data
                                         idoc_contrl.
    that transfers all the data in IDOC to internal tables.I think after this you have to write your code and modify BOM internal tables in the program. you can find all the BOM internal tables in the include "LCSDSTOP". I have never done this. Please try and see whether this will work for you.
    Thanks.

  • Regarding function module GUI_DOWNLOAD

    Hi all,
    I need to add a header to the file which i am going to download.
    So can any body say me how can i add header to a table which i am passing to the FM GUI_UPLOAD.
    Tell me ASAP.
    Regards,
    Sagar.

    Hi,
    pls check this program yaar
    TYPES:
         BEGIN OF t_emp_dat,
           pernr TYPE pa0001-pernr,
           persg TYPE pa0001-persg,
           persk TYPE pa0001-persk,
           plans TYPE pa0001-plans,
           stell TYPE pa0001-stell,
         END OF t_emp_dat,
         t_attachment TYPE  solisti1.
    DATA:
         w_emp_data TYPE t_emp_dat,
         w_attachment     TYPE  t_attachment.
    DATA:
         i_emp_data TYPE STANDARD TABLE OF t_emp_dat,
         i_attachment     TYPE STANDARD TABLE OF t_attachment.
    PARAMETERS: p_file TYPE string DEFAULT 'c:\tmp\test.xls'.
    "Start-of-selection.
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM build_xls_data_and_download.
      "Form  get_data from PA0001
    FORM get_data.
      SELECT pernr
             persg
             persk
             plans
             stell
       FROM pa0001
       INTO CORRESPONDING FIELDS OF TABLE i_emp_data
       UP TO 4 ROWS.
    ENDFORM.                    " get_data
    "Form  build_xls_data_and_download
    FORM build_xls_data_and_download.
      "If you have Unicode check active in program attributes then
      "you will need to declare constants as follows.
      CLASS cl_abap_char_utilities DEFINITION LOAD.
      CONSTANTS:
          con_tab  TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
          con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
      DATA :l_lines TYPE char10.
      DESCRIBE TABLE i_emp_data LINES l_lines.
      CONCATENATE 'Total no of records:' l_lines
             INTO  w_attachment
    SEPARATED BY  con_tab.
      CONCATENATE con_cret
                  w_attachment
             INTO w_attachment.
      APPEND w_attachment TO i_attachment.
      CLEAR  w_attachment.
      CONCATENATE 'PERNR' 'PERSG' 'PERSK' 'PLANS' 'STELL'
             INTO  w_attachment
    SEPARATED BY  con_tab.
      CONCATENATE con_cret
                  w_attachment
             INTO w_attachment.
      APPEND w_attachment TO i_attachment.
      CLEAR  w_attachment.
      LOOP AT i_emp_data INTO w_emp_data.
        CONCATENATE w_emp_data-pernr
                    w_emp_data-persg
                    w_emp_data-persk
                    w_emp_data-plans
                    w_emp_data-stell
               INTO w_attachment
       SEPARATED BY con_tab.
        CONCATENATE con_cret w_attachment
               INTO w_attachment.
        APPEND w_attachment TO i_attachment.
        CLEAR  w_attachment.
      ENDLOOP.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename              = p_file
          write_field_separator = con_tab
        TABLES
          data_tab              = i_attachment.
      IF sy-subrc = 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    reward if helpful
    raam

  • CONTROL_FLUSH_ERROR when using 'GUI_DOWNLOAD' Function Module in foreground

    Hi,
    I am using function module 'GUI_DOWNLOAD' in foreground mode with APPEND = 'X' ( I need to add infomration to file ).
    In most of the cases it works good but in some cases ( which I cannot isolate ) - I am getting CONTROL_FLUSH_ERROR exception. Do you have any ideas where can be the problem?
    Thanks in advance,
    Anna

    You will get "CONTROL_FLUSH_ERROR " error when there is some problem with SAP GUI. Check your Gui installation and if possible uninstall the exixting GUI and reinstall the new GUI from fresh.
    or you can use the below code
    CALL METHOD cl_gui_frontend_services=>gui_download
                          EXPORTING          bin_filesize = l_xml_size     
                                             filename     = 'c:tempflights.xml'
                                             filetype     = 'BIN'                      
                           CHANGING          data_tab     = l_xml_table                      
                           EXCEPTIONS        OTHERS       = 24.      
              IF sy-subrc <> 0.        
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.      
              ENDIF.  

  • Function module to check if a given file/folder path is valid or not?

    Hi,
    I am using function modules GUI_DOWNLOAD and GUI_UPLOAD.
    Is there any function module to check if a given file/folder path is valid or not?
    Thanks.

    Hi Kumar ,
    REPORT  zdir_test.
    TYPE-POOLS: abap.
    DATA: v_dir TYPE string.
    DATA: v_bol TYPE abap_bool.
    v_dir = 'c:\sap\'.
    CALL METHOD cl_gui_frontend_services=>directory_exist
      EXPORTING
        directory            = v_dir
      RECEIVING
        result               = v_bol
      EXCEPTIONS
        cntl_error           = 1
        error_no_gui         = 2
        wrong_parameter      = 3
        not_supported_by_gui = 4
        OTHERS               = 5.IF NOT v_bol IS INITIAL.
      WRITE:/ 'Directory exists.'.
    ELSE.
      WRITE:/ 'Directory does not exist.'.
    ENDIF.
    Regards,
    Sachin M M

  • Use of function module 'FTP connect'

    when we use the function module 'FTP connect', and 'FTP_R3_TO_SERVER'

    Hi,
    The Function module GUI_DOWNLOAD is used to download the data into presentation server and Dataset concepts to download the data into Application server. Sometimes we may require to download the data from other system (3rd Party System) to SAP and Vice Versa. In such scenarios, the concept of FTP commands comes into picture.
    the various FTP commands are:
    HTTP_SCRAMBLE, FTP_CONNECT, FTP_R3_TO_SERVER, FTP_DISCONNECT, RFC_CONNECTION_CLOSE function modules.
    FTP_CONNECT : This is used to connect to other system from SAP with the help of Userid & amp; scrambled password & Host string & destination (default 'SAPFTP').
    FTP_R3_TO_SERVERThis is used to transfer the internal table data as a file to other system in the character mode.
    for more details refer to link:
    Transferring Data from SAP to Other Systems
    Thanks
    Rajesh Kumar

  • Dynamic Internal Table in Function Module

    Hi,
    I am developing a function module which is similar to GUI_DOWNLOAD. So , In My function module I would like to pass the internal table dynamically.I saw the paramter DATA_TAB in the function module GUI_DOWNLOAD. But there is no type associated with that. Could anyone help Me out for achieving thsi fucntionality.
    Regards
    Elini.P

    Hi Elini,
    When the tables parameter of the function module has got no line type specified, it will acquire the same type as the parameter that is passed to it during the call. In other words, the table is of generic type. you can pass any table to that parameter.
    However, in case your function module is Remote Enabled, you will not be able to define the tables parameter as generic. IOt must be given some line type.
    Regards,
    Anand Mandalika.

  • Unable to send table to function module using RFC

    Hi all,
    I'm trying to send a table from XI to a function module using RFC. I tested the process first using indivdual parameters. At this point there were no problems. Now I changed the import parameter of
    the FM into a table and imported the changes into XI. I changed the Message mapping and tested it with multiple records. When I run the process XI calls the FM but the FM doesn't receive any data. I tested this by puting a break-point in the FM. There are no errors in the XML Messages Monitor. I found this message in the Communication Channel Monitoring:
    Short Log:
    Server 0 10_39293 Receiver channel 'CC_BackendIn' for party '', service 'BS_Backend' (internal name 'RfcClient[CC_BackendIn]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=610, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=Admin, jco.client.sysnr=10, jco.client.ashost=192.168.51.8}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=610, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=Admin, jco.client.sysnr=10, jco.client.ashost=192.168.51.8}
    Current pool size: 0, maximum pool size : 1
    Channel History
    - OK: 2009-02-18 01:35:14 CET: Message processed for interface MIIA_BapiIn
    Any ideas?
    Thanks for your help!
    Regards,
    Ivo van Ee

    Hi everyone,
    thanks for your prompt response! I tested the mapping in XI and didn't find any error here. So I concentrated on the receiver side. There were some communication channels running on the server that were generating errors. I stopped alle the communication channels and started just the two communication channels for this process. This time the table was successfully exported to the function module! Problem solved. Still not sure what caused the problem in the first place, but everything is working fine now.
    Thanks for your help.
    Regards,
    Ivo

  • Error in extracting data through function module

    Hi All
             Need  ur help .I am extracting data from crm thru function module.I have copied RSAX_BIW_GET_DATA_SIMPLE and modified it by using code.I am getting an error while testing extraction
    Structure I have created ztest_01
    Data Source :zmgc_ds1.
    There 3 crm tables from where data is picked crmd_orderadm_h,crmd_customer_h,crmd_order_index.
    I am attaching the code,can any body help me in correctring the error.Tell me if tthe placing of the code in the template is correct.please give details.
    Error which I got:
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
      not caught in
    procedure "RSA3_GET_DATA_SIMPLE" "(FUNCTION)", nor was it propagated by a
      RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    The program "SAPLRSA3" contains the CALL FUNCTION statement.
    The name of the function module to be called is "ZRSAX_BIW_GET_DATA_SIMPLE_01"
    but "ZRSAX_BIW_GET_DATA_SIMPLE_01" cannot be found in its function group.
    Possible reasons:
    a) The function module "ZRSAX_BIW_GET_DATA_SIMPLE_01" has not been activated.
      Therefore,
        it cannot be found at runtime.
    b) The Function Library contains an incorrect entry for
      "ZRSAX_BIW_GET_DATA_SIMPLE_01".
    c) The function module contains no code, even FUNCTION ... ENDFUNCTION
        is missing.
    You help would be appreciated.
    Don't worry about points,.

    Did you create your function module without problems...assigned the Z* function group? activate the function module? i assume that you copy the function module code and the variables definition on TOP include of RSAX_BIW_GET_DATA_SIMPLE
    Regards
    Message was edited by:
            Oscar Díaz

  • Workbook not refreshing dynamically through Function Module.

    We have a workbook with multiple queries having common variable set.
    we are trying to execute workbook from program, using the function module RSAH_LAUNCH_EXCEL. Also we are trying to assign variable values manually.
    through the program, the workbook is getting executed but if i change the variable values inside the program manually, workbook is not getting refreshed. can someone help us.
    the below is the code
    REPORT  ztest.
    DATA: v_workbookid TYPE rsrwbindex-workbookid,
          v_subrc TYPE sy-subrc,
          ls_var TYPE rrx_var,
          lt_var TYPE STANDARD TABLE OF rrx_var.
    v_workbookid = 'D0C1TB5M99SDPACEG070AFU88'.
    ls_var-vnam = 'ZTEST_EXPORT'.
    ls_var-vartyp = '1'.
    ls_var-vparsel = 'P'.
    ls_var-sign = 'I'.
    ls_var-opt  = 'EQ'.
    ls_var-low  = '10008891'.
    ls_var-iobjnm = '0BPARTNER'.
    APPEND ls_var TO lt_var.
    CALL FUNCTION 'RSAH_LAUNCH_EXCEL'
        EXPORTING
         i_genuniid                       = lv_genuniid
          i_workbookid                     = v_workbookid
          i_objvers                        = 'A'
         i_hide_sapgui                    = 'X'
    IMPORTING
        e_subrc =           v_subrc
        TABLES
          i_t_var                          = lt_var.
    Thanks

    Did you create your function module without problems...assigned the Z* function group? activate the function module? i assume that you copy the function module code and the variables definition on TOP include of RSAX_BIW_GET_DATA_SIMPLE
    Regards
    Message was edited by:
            Oscar Díaz

Maybe you are looking for

  • ORA-23420: interval must evaluate to a time in the future

    Hi to All, While creating matrelized view im facing this error.Can any one help me on this. ORA-23420: interval must evaluate to a time in the future ORA-06512: at "SYS.DBMS_JOB", line 57 ORA-06512: at "SYS.DBMS_JOB", line 134 ORA-06512: at "SYS.DBMS

  • Any hope for a bad DVD

    i have a dvd w/photos that won't load in my intel iMac or on 2 other macs a mac book and a G5. what's weird is i test every dvd before i erase photos from my computer and store them carefully. any thoughts on how to get the media from this disk? than

  • Scheduling Webi with Prompts

    Hello, I am trying to schedule a Webi report with Prompts through the .NET sdk.  I get the report, set the prompts and then schedule the report.  Unfortunately when i look at the report in InfoView it is not filtered by the parameters.  They show up

  • Problem in printing from Officejet 6700 in Mac

    Hello all. I have an HP Officejet 6700 for more than a year. It is connected to a wireless network (Netgesr wireless router), both Mac an Windows PC printing and scanning successfully until yesterday- Since yesterday the Mac cannot print or scan, whi

  • Can I exchange my brand new not open iPad 16 GB wifi  with new IPhone

    Hi can I exchange iPad with iPhone