Skip to Content
0
Former Member
Mar 31, 2011 at 10:36 AM

Problem with character conversion in the file generated on app server

1017 Views

Hi All,

I have written a report that generates a file on the server but there was some problem with character conversions in that file.So I tried to use

l_v_spras = sy-langu.

* Getting the Codepage value for Bulgerian Language
  CALL FUNCTION 'SCP_CODEPAGE_FOR_LANGUAGE'
    EXPORTING
      language    = l_v_spras
    IMPORTING
      codepage    = l_v_codepage
    EXCEPTIONS
      no_codepage = 1
      OTHERS      = 2.

* open the file in output mode
      OPEN DATASET l_fname FOR OUTPUT IN LEGACY TEXT MODE
    CODE PAGE l_v_codepage.

but it is dumping saying The conversion of texts in code page '4102' to code page '4102' is not

supported here.

How will i resolve the problem of character conversion.

Unicode checks active checkbox is checked for the report

Thanks

Bala Duvvuri