‎2006 Aug 16 11:37 AM
Hi friends,
In one of my bank transfer report i'm getting the runtime error CONVT_CODE_PAGE with the exception
CX_SY_CONVERSION_CODEPAGE.I don't what is the reason for this dump and how to correct it.So can anyone of u provide me help on this.
I'm attaching the detailed description of the dump below.
Short text
A character set conversion is not possible.
What happened?
At the conversion of a text from codepage '4103' to codepage '1100':
- a character was found that cannot be displayed in one of the two
codepages;
- or it was detected that this conversion is not supported
The running ABAP program 'ZFFOCN_A' had to be terminated as the conversion
would have produced incorrect data.
The number of characters that could not be displayed (and therefore not
be converted), is 2. If this number is 0, the second error case, as
mentioned above, has occurred.
Thanks in advance,
Vadivel.
‎2006 Aug 16 11:50 AM
Hi
Can you post the code extract. I guess this can be either the way open dataset statement is declared or the way the variables are passed.
Kind Regards
Eswar
‎2006 Aug 16 11:43 AM
Hi,
Check the oss note 823232 released, this might be helpful,
Rgds,
‎2006 Aug 16 11:50 AM
Hi
Can you post the code extract. I guess this can be either the way open dataset statement is declared or the way the variables are passed.
Kind Regards
Eswar
‎2006 Aug 16 11:55 AM
Hi Eshwar,
I have posted the code below:
*----
*
FORM DATEI_OEFFNEN *
*----
*
die jeweilige Datei (TemSe/File) öffnen *
open current file (either in TemSe or file-system) *
*----
*
FORM datei_oeffnen.
IF hlp_temse CA par_dtyp. "TemSe-Format
PERFORM temse_oeffnen.
ELSE. "disk-/tape-fmt on file-system
PERFORM naechster_index USING hlp_renum.
PERFORM fuellen_regut USING *regut-dtkey.
ADD 1 TO cnt_filenr.
hlp_filename = par_unix.
hlp_filename+45 = cnt_filenr.
CONDENSE hlp_filename NO-GAPS.
DATA i TYPE i.
i = cl_abap_char_utilities=>charsize.
IF i = 1.
OPEN DATASET hlp_filename IN BINARY MODE FOR OUTPUT.
ELSE. " unicode system
OPEN DATASET hlp_filename IN LEGACY BINARY MODE FOR OUTPUT.
ENDIF.
IF sy-subrc NE 0.
IF sy-batch EQ space.
MESSAGE a182(fr) WITH hlp_filename.
ELSE.
MESSAGE s182(fr) WITH hlp_filename.
STOP.
ENDIF.
ENDIF.
ENDIF.
Regards,
Vadivel
‎2006 Aug 16 12:53 PM
Hi Vadivel
Depending on the source system of file use
ENCODING DEFAULT/NON-UNICODE option and check if that
can make any difference for you.
Kind Regards
Eswar