Skip to Content
0
Former Member
Apr 03, 2008 at 12:54 PM

FILE DOES NOT BEGIN WITH '%PDF-'.

103 Views

We are using standard QC42 Transaction.

This is calling program SAPMQCWA, which in turn calls program MQCWAF01. here download into PDF will happen.

There is a function module in this program QC07_BATCH_CERT_DISPLAY_PDF which converts the data into PDF.

Trace I can see it is converting data into MIME.

 The problem may be at converting this MIME .

 While downloading into browser it is not able to convert into the format which browser wants.

While down loading it is calling this statement.

MIME-TRANSPORT

L_MIMEBIN_TAB L_CONTENT_LENGTH LC_APPLICATION.

This is calling function module

CALL FUNCTION 'ALEWEB_DOWNLOAD'

EXPORTING

DATA_LEN = &2

MIME_TYPE = &3

TABLES

DATA_TAB = &1

EXCEPTIONS

ITS_NOT_AVAILABLE = 1

OTHERS = 2.

are there any correction needs to apply if it is Unicode system?

I found a note similar to this problem but that is related CRM note number is :828461

Please advice us how to correct this error.

Thanks in advance!!!

Keith Nelson