Skip to Content
author's profile photo Former Member
Former Member


Hi all,

We recently performed an SAP SP update in our system. However it recently has started to cause an ABAP dump for one of our Internet Transaction Service (ITS) programs.

Basically it's a custom program allows you to view the file from document records in SAP DMS in the web browser.

What is normally supposed to happen is that one of the links is supposed to execute a command which calls FM CVAPI_DOC_CHECKOUTVIEW to display the document. However, since the update. this dump seems to be happening:


Category External Error / Runtime Errors CONVT_CODEPAGE / Except. CX_SY_CONVERSION_CODEPAGE

During conversion of a text from code page '4110' to code page '4102', one of the following occurred: - Characters were discovered that cannot be displayed in one of the code pages - The conversion could not be performed for some other reason (see below for more details).

The way the FM CVAPI_DOC_CHECKOUTVIEW is being called is as follows:

Going deeper the FM calls another FM CV120_DOC_CHECKOUT_VIEW and the dump seems to be happening here in subroutine ITS_MIME_TRANSPORT when it looks like the Hexademcimal contents to a string PDF format via class cl_abap_conv_in_ce.

Note: There were custom modifications done but that is just to catch the ABAP exception CX_SY_CONVERSION_CODEPAGE to get the long text message.

When I checked the long text of the dump this is what it has to say

"In the character set conversion, a character was detected that cannot be represented in one of the code pages or the conversion is not supported. Extract from the source buffer from the first character that could not be converted: "E2 E3 CF D3 0D 0A 32 20 30 20 6F 62 6A 0D 0A 2F (......2 0 obj../)E2 E3 CF D3 0D 0A 32 20 30 20 6F 62 6A 0D 0A 2F (......2 0 obj../)"."

I am guessing there is an issue with the code page and the conversion of Hexadecimal to string. However before the SP update it was working just fine.

I also tried to change the ENCODING value getting some tips in OSS notes 1057289 but neither codepages "UTF-8", "DEFAULT", "NON-UNICODE" and other codepages but neither of them worked.

I was hoping that maybe some of you can assist me in this?

Also for those wondering our system is a unicode system.

I hope to hear from all of you soon.

Thanks and Regards

issue1.png (25.0 kB)
issue2.png (13.2 kB)
Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Mar 17, 2018 at 10:42 PM

    Hi Cedric,

    Note that FM CVAPI_DOC_CHECKOUTVIEW is not released (SAP note 109533).
    I would recommend reaching the CA-DMS area for assistance and see whether there are a class that can be used instead of the FM.


    Add comment
    10|10000 characters needed characters exceeded