‎2017 May 04 2:57 PM
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
‎2017 May 04 6: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.
‎2017 May 04 6: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.
‎2017 May 04 9:14 PM
Hi Sandra!
Do you have any program with the multiple pdfs attachment and FM "so_document_send_api1"?
Thank you!
‎2017 May 05 3:25 PM
‎2017 May 05 3:24 PM
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.
‎2017 May 08 9: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?
‎2017 May 09 2:43 PM