Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DOCUMENT_NOT_SENT problem when using FM SO_DOCUMENT_SEND_API1

santosh_fhalke
Participant
0 Likes
297

hi,

i have problem with sending the mail trough FM SO_DOCUMENT_SEND_API1in QA server, while i am trying to send mail it is giving me exception DOCUMENT_NOT_SENT = 2, while in DEV server it is working fine.

please help me.

waiting for reply.

1 REPLY 1
Read only

0 Likes
263

Hi Gurus ,

I am a new SDN' er.

I also have been the same problem mentioned above,

I use a smartform in the program and I'd like to send an e-mail id to the output of the smartform as a PDF file.

So i don't have any problem when i execute the program , smartform output appears properly . But i can't send e-mails.When i try debugging to find out the problem ,I see those things: i can get sy-subrc = 0 after Call funtion u2018CONVERT_OTFu2019 and then Call function u2018SX_TABLE_LINE_WIDTH_CHANGEu2019 but finally i don't get the same smooth result from call funciton u2018u2019SO_NEW_DOCUMENT_ATT_SEND_API1u2019 and unfortunately i can't send the mail. The result is sy-subrc = 2. I mean ; " document_not_sent = 2"

Please Help me urgently.

Thanks already for your interests.