What Codepage is used by MDM4A?

What Codepage is used by MDM4A?

MDM4A is always a Unicode based interface regardless of the codepage used by the ABAP system.  Althought a Unicode ABAP system is UTF-16, the MDM4A interface is UTF-8.  Therefore regardless of the ABAP system codepage, a codepage conversion must take place. The codepage conversion is done within the inner layers of the MDM4A.  However on non-Unicode ABAP systems if you attempt to process characters from MDM that are outside your current codepage, this will produce a CX_SY_CONVERSION_CODEPAGE shortdump.

In non-Unicode ABAP systems, the best way to avoid such errors is to match the logon langauge of the ABAP system to the langauge used to connect to MDM.

DATA ls_language TYPE mdm_cdt_language_code.
ls_language-language = 'eng'.
ls_language-country = 'US'.
ls_language-region = 'USA'.
lr_api->mo_accessor->connect( ls_language ).

SAP Developer Network Latest Updates