Skip to Content

Problem when it is opened the second PDF attachment

Hi!

I am a problem when it is opened the second PDF attachment.

Erro in Adobe "Adobe Acrobat Reader could not open.."

The first PDF is opend no problem.

I am using "CONVERT_OTF" and "CONVERT_OTF_2_PDF".

Can it be in the "objpack-doc_size"?

I am run the "ME9F" transaction to create the PDF and sending by email.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Are you really using both "CONVERT_OTF" and "CONVERT_OTF_2_PDF" ?

    Because the second is simply a wrapper of the first one, calling it with parameter FORMAT = 'PDF'.

    So you should choose only one of them, and not use the other one.

  • Get RSS Feed

2 Answers

  • Best Answer
    May 04, 2017 at 05:45 PM

    If your first PDF attached in the email is okay, so your general logic is good. Maybe you have not emptied an internal table before attaching the second PDF to the email, hence the error. Impossible to say from the information you have given.

    Add comment
    10|10000 characters needed characters exceeded

  • May 08, 2017 at 08:50 PM

    Hi Sadra!

    You were right about "Maybe you have not emptied an internal table before attaching the second PDF to the email".

    The command "APPEND LINES ..." was with comment.

    ...

    CLEAR w_objhead.
    i_objbin[] = i_record1[].
    i_solix[] = lt_solix1[].
    APPEND LINES OF I_RECORD2[] TO I_OBJBIN. <- THIS LINE WAS WITH "*".

    Thank you very much!

    Now, it is with another problem. The second pdf is the message "A number is out of range".

    Do you know why this message?

    Add comment
    10|10000 characters needed characters exceeded