cancel
Showing results for 
Search instead for 
Did you mean: 

problems sap webgui when export specials characters as 'ñ' or 'á'

former_member215786
Participant
0 Kudos

Hi

I have a problem when I am trying of export file with information that have specials characters as 'ñ' or 'á' .

When I do this same using SAP ERP this work fine.

This is the version of Kernel.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member194364
Active Contributor
0 Kudos

Hello Carmen,

how exactly are you doing the export? can you describe the process?

you are using the SAP ITS Applet when doing this Export?

If yes then you can do a detailed trace on the process.

See the notes and KBA's

2078323 How to get Java control trace for upload or download problem on SAP GUI for HTM

1733649 ITS Up/Down: tracing improved

2082325 Complementary information on creating JVM trace for ITS

Regards,

Oisin

former_member215786
Participant
0 Kudos

Hi

I am using this code:

DATA: gr_file TYPE REF TO zcl_file.

  gr_file->download(

    filetype = 'XLS'

    path = lv_file

    separate_by_tab = abap_true

    data_tab = gt_out

    ).

METHOD zif_file~download.

  IF  me->path IS INITIAL.

    me->f4( ).

  ENDIF.

  IF me->strategy IS BOUND.

    strategy->download( EXPORTING data_tab = data_tab

                        filetype = filetype

                        append = append

                        separate_by_tab = separate_by_tab

                        del_trail_blanks_lin = del_trail_blanks_lin

                        write_lf_after_last_lin =

                        write_lf_after_last_lin

                        del_trail_blanks_char = del_trail_blanks_char

                        path = me->path

                        encoding = encoding ).

  ELSE.

    RAISE build_error.

  ENDIF.

ENDMETHOD.

Regards

former_member194364
Active Contributor
0 Kudos

Hi Carmen,

What is the problem you actually face?

Are the special characters not converting correctly when running this report via WEBGUI?

Regards,

Oisin

former_member215786
Participant
0 Kudos

Yes, You understand my issue.



The special characters not converting correctly when running this report via WEBGUI


Regards



cris_hansen
Advisor
Advisor
0 Kudos

Hello Carmen,

Could you please clarify whether ED3 is unicode or non-unicode system?

Most likely the issue is related to the codepage used to export the file.

Check in ED3 the codepage used, then, when exporting the data, inform the same codepage. What is the result then?

Regards,

Cris

former_member215786
Participant
0 Kudos

ED3 = ID System

112 = Client

This only occur witth this program customer.

We need modify the source code for export the file.

My doubt is What code use?

Regards

cris_hansen
Advisor
Advisor
0 Kudos

Hello Carmen,

Have you tried to use method GUI_DOWNLOAD from class CL_GUI_FRONTEND_SERVICES?

You can pass the CODEPAGE on it.

Regards,

Cris

Answers (0)