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: 

Save email in outbox without sending

former_member216705
Participant
0 Kudos

Hi gurus:

I'm sending an email by using class CL_BCS with html format.

Now, user ask to put the email in outbox folder without sending.

Does anybody knows if it is possible?

Thanks in advance.

1 REPLY 1

Abhijit74
Active Contributor
0 Kudos

Hello,

Do not make set_send_immediately method parameter I_SEND_IMMEDIATELY = 'X'.


And make CALL METHOD l_send_request->send_request->set_link_to_outbox( 'X' ).


Like in function module SO_NEW_DOCUMENT_ATT_SEND_API1 there is a parameter PUT_IN_OUTBOX, if we make 'X' it will have a copy into outbox.

Thanks & Regards,

Abhijit