Application Development 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: 

issue with functiuon module SO_NEW_DOCUMENT_ATT_SEND_API1

bala_krishna007
Participant
0 Kudos

Hi,

I am using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mails with attachments the mail is going succesfully but there is an option PUT_IN_OUTBOX which i am passing as X, but even though I passed X the mail is not saving in out box where as it should be saved in outbox , I had already searched in SCN and didnt help for my issue so I am posting this.

thanks,

balu

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
  1. Use CL_BCS
  2. Use CL_BCS
  3. Are you asking for your SAP outbox or Mail server/client (e.g. Exchange/Outlook) outbox, only SAP outbox should be available, so I often add the sender as a blind copy recipient
  4. Use CL_BCS and not outdated FM with known issues
2 REPLIES 2

raymond_giuseppi
Active Contributor
  1. Use CL_BCS
  2. Use CL_BCS
  3. Are you asking for your SAP outbox or Mail server/client (e.g. Exchange/Outlook) outbox, only SAP outbox should be available, so I often add the sender as a blind copy recipient
  4. Use CL_BCS and not outdated FM with known issues

jozsef_hegyi
Active Participant
0 Kudos

Dear Balu

yes this fm is outdated and I' also suggest to use cl_bcs. Or if you would like to use fm, than

use the so_document_send_api1. The parameter which you mentioned it the Outbox in sap (tr sbwp) of the user

who created/sent the mail.

Best regards

Jozsef H