12-08-2009 1:29 PM
I know that I can use the conversion class cl_abap_conv_in_ce to translate a EBCDIC file into the system codepage. Does SAP support the translation of EBCDIC files with packed fields? If so, how do I do it?
01-12-2010 4:29 PM
Hi Chris,
cl_abap_conv_in_ce expects character like data (a code page conversion is possible for char-like data only).
see http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm
As far as I know, packed fields are NOT char like.
Therefore you have to make sure, that input for the class is only char like (e.g. separate the packed fields ...)
Best regards,
Nils Buerckel
SAP AG
01-11-2010 3:37 PM
01-12-2010 4:29 PM
Hi Chris,
cl_abap_conv_in_ce expects character like data (a code page conversion is possible for char-like data only).
see http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm
As far as I know, packed fields are NOT char like.
Therefore you have to make sure, that input for the class is only char like (e.g. separate the packed fields ...)
Best regards,
Nils Buerckel
SAP AG
01-20-2010 10:24 AM
Hi Chris,
Check this wiki for codepage conversion.
http://wiki.sdn.sap.com/wiki/display/ABAP/Characterencodingconversion
Thanks and regards,
Syfulla