‎2010 Aug 01 11:20 AM
Hi ,
When idoc is generated for payment idoc the idoc is generated successfully ( Idoc status is 30) but when I am processinng the idoc through program RSEOUT00 idoc is getting status 02 and the reason is conversion_error in a segment. Now the segment in which the error is coming has a field having text in chinese character.When I debugged RSEOUT00 I am getting the exception CONVT_CODEPAGE in transfer statement.
Can anyone tell me how to correct this error?
Also when I checked the file port definition in WE21 I found that the unicode format indicator is turned off . What is the significance of this indicator?
‎2010 Aug 01 5:27 PM
> Also when I checked the file port definition in WE21 I found that the unicode format indicator is turned off . What is the significance of this indicator?
Good remark! This indicator is used to create the file in UTF-8 encoding, so it can store all Unicode characters and you won't get any dump. If you don't want to use the Unicode format, then you have to define a replacement character (# by default) so that to avoid the dump.
For more information, you may refer to the ABAP routines WRITE_TO_FILE (which determines the code page if port is non-unicode) and OPEN_FILE (it determines which OPEN DATASET statement is used according to the port attributes) in the include LEDI7F1 (both are called inside IDOCS_OUTPUT_TO_FILE function module).