<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SO_DOCUMENT_SEND_API1 - sender mail address in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902770#M682746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, you have answered my forum query I placed a while ago. Shame I didn't see this 3 months ago, have not found any other documentation to suggest that this was the solution I was after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 15:43:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-13T15:43:46Z</dc:date>
    <item>
      <title>SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902764#M682740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I am using function module SO_DOCUMENT_SEND_API1 to send mail with excel attachment.But i am getting error 6 when i pass karthi@company.com as sender address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But at the same time I pass sy-user to sender address the mail is sent successfully. Where is the problem.Can't we give generic mail ID while sending mail to externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement was to give a constant mail ID as sender irrespective of who ever is sending the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 15:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902764#M682740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902765#M682741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is due to the error in the type of the receiver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change it to&amp;lt;b&amp;gt;  T_RECEIVERS-COM_TYPE = 'INT'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 15:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902765#M682741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902766#M682742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this sample code, it should help you out. Check once the email address declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report ZEMAIL_ATTACH *&lt;/P&gt;&lt;P&gt;*&amp;amp; *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Example of sending external email via SAPCONNECT *&lt;/P&gt;&lt;P&gt;*&amp;amp; *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZEMAIL_ATTACH .&lt;/P&gt;&lt;P&gt;TABLES: ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_email TYPE somlreci1-receiver&lt;/P&gt;&lt;P&gt;DEFAULT 'test@sapdev.co.uk'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_ekpo,&lt;/P&gt;&lt;P&gt;ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt;aedat TYPE ekpo-aedat,&lt;/P&gt;&lt;P&gt;matnr TYPE ekpo-matnr,&lt;/P&gt;&lt;P&gt;END OF t_ekpo.&lt;/P&gt;&lt;P&gt;DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,&lt;/P&gt;&lt;P&gt;wa_ekpo TYPE t_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_charekpo,&lt;/P&gt;&lt;P&gt;ebeln(10) TYPE c,&lt;/P&gt;&lt;P&gt;ebelp(5) TYPE c,&lt;/P&gt;&lt;P&gt;aedat(8) TYPE c,&lt;/P&gt;&lt;P&gt;matnr(18) TYPE c,&lt;/P&gt;&lt;P&gt;END OF t_charekpo.&lt;/P&gt;&lt;P&gt;DATA: wa_charekpo TYPE t_charekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0&lt;/P&gt;&lt;P&gt;WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0&lt;/P&gt;&lt;P&gt;WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;w_cnt TYPE i,&lt;/P&gt;&lt;P&gt;w_sent_all(1) TYPE c,&lt;/P&gt;&lt;P&gt;w_doc_data LIKE sodocchgi1,&lt;/P&gt;&lt;P&gt;gd_error TYPE sy-subrc,&lt;/P&gt;&lt;P&gt;gd_reciever TYPE sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*START_OF_SELECTION&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve sample data from table ekpo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM data_retrieval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate table with detaisl to be entered into .xls file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM build_xls_data_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*END-OF-SELECTION&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate message body text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform populate_email_message_body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send file by email as .xls speadsheet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM send_file_as_email_attachment&lt;/P&gt;&lt;P&gt;tables it_message&lt;/P&gt;&lt;P&gt;it_attach&lt;/P&gt;&lt;P&gt;using p_email&lt;/P&gt;&lt;P&gt;'Example .xls documnet attachment'&lt;/P&gt;&lt;P&gt;'XLS'&lt;/P&gt;&lt;P&gt;'filename'&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;changing gd_error&lt;/P&gt;&lt;P&gt;gd_reciever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Instructs mail send program for SAPCONNECT to send email(rsconn01)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM initiate_mail_execute_program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form DATA_RETRIEVAL&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve data form EKPO table and populate itab it_ekko&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM data_retrieval.&lt;/P&gt;&lt;P&gt;SELECT ebeln ebelp aedat matnr&lt;/P&gt;&lt;P&gt;UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;FROM ekpo&lt;/P&gt;&lt;P&gt;INTO TABLE it_ekpo.&lt;/P&gt;&lt;P&gt;ENDFORM. " DATA_RETRIEVAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form BUILD_XLS_DATA_TABLE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build data table for .xls document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM build_xls_data_table.&lt;/P&gt;&lt;P&gt;data: ld_store(50) type c. "Leading zeros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode&lt;/P&gt;&lt;P&gt;con_tab TYPE x VALUE '09'. "OK for non Unicode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If you have Unicode check active in program attributes thnen you will&lt;/P&gt;&lt;P&gt;*need to declare constants as follows&lt;/P&gt;&lt;P&gt;*class cl_abap_char_utilities definition load.&lt;/P&gt;&lt;P&gt;*constants:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;con_tab type c value cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;con_cret type c value cl_abap_char_utilities=&amp;gt;CR_LF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'&lt;/P&gt;&lt;P&gt;INTO it_attach SEPARATED BY con_tab.&lt;/P&gt;&lt;P&gt;CONCATENATE con_cret it_attach INTO it_attach.&lt;/P&gt;&lt;P&gt;APPEND it_attach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_ekpo INTO wa_charekpo.&lt;/P&gt;&lt;P&gt;*Modification to retain leading zeros&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;inserts code for excell REPLACE command into ld_store&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;=REPLACE("00100",1,5,"00100")&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'&lt;/P&gt;&lt;P&gt;wa_charekpo-ebelp '")' into ld_store .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;concatenate ld_store into .xls file instead of actual value(ebelp)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CONCATENATE wa_charekpo-ebeln ld_store.&lt;/P&gt;&lt;P&gt;*End of modification&lt;/P&gt;&lt;P&gt;wa_charekpo-aedat wa_charekpo-matnr&lt;/P&gt;&lt;P&gt;INTO it_attach SEPARATED BY con_tab.&lt;/P&gt;&lt;P&gt;CONCATENATE con_cret it_attach INTO it_attach.&lt;/P&gt;&lt;P&gt;APPEND it_attach.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM. " BUILD_XLS_DATA_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form SEND_FILE_AS_EMAIL_ATTACHMENT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM send_file_as_email_attachment tables pit_message&lt;/P&gt;&lt;P&gt;pit_attach&lt;/P&gt;&lt;P&gt;using p_email&lt;/P&gt;&lt;P&gt;p_mtitle&lt;/P&gt;&lt;P&gt;p_format&lt;/P&gt;&lt;P&gt;p_filename&lt;/P&gt;&lt;P&gt;p_attdescription&lt;/P&gt;&lt;P&gt;p_sender_address&lt;/P&gt;&lt;P&gt;p_sender_addres_type&lt;/P&gt;&lt;P&gt;changing p_error&lt;/P&gt;&lt;P&gt;p_reciever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ld_error TYPE sy-subrc,&lt;/P&gt;&lt;P&gt;ld_reciever TYPE sy-subrc,&lt;/P&gt;&lt;P&gt;ld_mtitle LIKE sodocchgi1-obj_descr,&lt;/P&gt;&lt;P&gt;ld_email LIKE somlreci1-receiver,&lt;/P&gt;&lt;P&gt;ld_format TYPE so_obj_tp ,&lt;/P&gt;&lt;P&gt;ld_attdescription TYPE so_obj_nam ,&lt;/P&gt;&lt;P&gt;ld_attfilename TYPE so_obj_des ,&lt;/P&gt;&lt;P&gt;ld_sender_address LIKE soextreci1-receiver,&lt;/P&gt;&lt;P&gt;ld_sender_address_type LIKE soextreci1-adr_typ,&lt;/P&gt;&lt;P&gt;ld_receiver LIKE sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ld_email = p_email.&lt;/P&gt;&lt;P&gt;ld_mtitle = p_mtitle.&lt;/P&gt;&lt;P&gt;ld_format = p_format.&lt;/P&gt;&lt;P&gt;ld_attdescription = p_attdescription.&lt;/P&gt;&lt;P&gt;ld_attfilename = p_filename.&lt;/P&gt;&lt;P&gt;ld_sender_address = p_sender_address.&lt;/P&gt;&lt;P&gt;ld_sender_address_type = p_sender_addres_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_doc_data-doc_size = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate the subject/generic message attributes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;w_doc_data-obj_name = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;w_doc_data-obj_descr = ld_mtitle .&lt;/P&gt;&lt;P&gt;w_doc_data-sensitivty = 'F'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data and get size of attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR w_doc_data.&lt;/P&gt;&lt;P&gt;READ TABLE it_attach INDEX w_cnt.&lt;/P&gt;&lt;P&gt;w_doc_data-doc_size =&lt;/P&gt;&lt;P&gt;( w_cnt - 1 ) * 255 + STRLEN( it_attach ).&lt;/P&gt;&lt;P&gt;w_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;w_doc_data-obj_name = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;w_doc_data-obj_descr = ld_mtitle.&lt;/P&gt;&lt;P&gt;w_doc_data-sensitivty = 'F'.&lt;/P&gt;&lt;P&gt;CLEAR t_attachment.&lt;/P&gt;&lt;P&gt;REFRESH t_attachment.&lt;/P&gt;&lt;P&gt;t_attachment[] = pit_attach[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Describe the body of the message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR t_packing_list.&lt;/P&gt;&lt;P&gt;REFRESH t_packing_list.&lt;/P&gt;&lt;P&gt;t_packing_list-transf_bin = space.&lt;/P&gt;&lt;P&gt;t_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;t_packing_list-head_num = 0.&lt;/P&gt;&lt;P&gt;t_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_message LINES t_packing_list-body_num.&lt;/P&gt;&lt;P&gt;t_packing_list-doc_type = 'RAW'.&lt;/P&gt;&lt;P&gt;APPEND t_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create attachment notification&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;t_packing_list-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt;t_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;t_packing_list-head_num = 1.&lt;/P&gt;&lt;P&gt;t_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.&lt;/P&gt;&lt;P&gt;t_packing_list-doc_type = ld_format.&lt;/P&gt;&lt;P&gt;t_packing_list-obj_descr = ld_attdescription.&lt;/P&gt;&lt;P&gt;t_packing_list-obj_name = ld_attfilename.&lt;/P&gt;&lt;P&gt;t_packing_list-doc_size = t_packing_list-body_num * 255.&lt;/P&gt;&lt;P&gt;APPEND t_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add the recipients email address&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR t_receivers.&lt;/P&gt;&lt;P&gt;REFRESH t_receivers.&lt;/P&gt;&lt;P&gt;t_receivers-receiver = ld_email.&lt;/P&gt;&lt;P&gt;t_receivers-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;t_receivers-com_type = 'INT'.&lt;/P&gt;&lt;P&gt;t_receivers-notif_del = 'X'.&lt;/P&gt;&lt;P&gt;t_receivers-notif_ndel = 'X'.&lt;/P&gt;&lt;P&gt;APPEND t_receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;document_data = w_doc_data&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;sender_address = ld_sender_address&lt;/P&gt;&lt;P&gt;sender_address_type = ld_sender_address_type&lt;/P&gt;&lt;P&gt;commit_work = 'X'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;sent_to_all = w_sent_all&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;packing_list = t_packing_list&lt;/P&gt;&lt;P&gt;contents_bin = t_attachment&lt;/P&gt;&lt;P&gt;contents_txt = it_message&lt;/P&gt;&lt;P&gt;receivers = t_receivers&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;too_many_receivers = 1&lt;/P&gt;&lt;P&gt;document_not_sent = 2&lt;/P&gt;&lt;P&gt;document_type_not_exist = 3&lt;/P&gt;&lt;P&gt;operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;parameter_error = 5&lt;/P&gt;&lt;P&gt;x_error = 6&lt;/P&gt;&lt;P&gt;enqueue_error = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate zerror return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ld_error = sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate zreceiver return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT t_receivers.&lt;/P&gt;&lt;P&gt;ld_receiver = t_receivers-retrn_code.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form INITIATE_MAIL_EXECUTE_PROGRAM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Instructs mail send program for SAPCONNECT to send email.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM initiate_mail_execute_program.&lt;/P&gt;&lt;P&gt;WAIT UP TO 2 SECONDS.&lt;/P&gt;&lt;P&gt;SUBMIT rsconn01 WITH mode = 'INT'&lt;/P&gt;&lt;P&gt;WITH output = 'X'&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form POPULATE_EMAIL_MESSAGE_BODY&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate message body text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form populate_email_message_body.&lt;/P&gt;&lt;P&gt;REFRESH it_message.&lt;/P&gt;&lt;P&gt;it_message = 'Please find attached a list test ekpo records'.&lt;/P&gt;&lt;P&gt;APPEND it_message.&lt;/P&gt;&lt;P&gt;endform. " POPULATE_EMAIL_MESSAGE_BODY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 15:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902766#M682742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T15:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902767#M682743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am getting error when I pass karthik@company.com in sender_address and sender_address_type as 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But at the same time when I pass sy-user to sender_address and 'B' to addrss type mail is sent successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Karthik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 15:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902767#M682743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T15:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902768#M682744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 17:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902768#M682744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T17:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902769#M682745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Too late, but could be useful to others.&lt;/P&gt;&lt;P&gt;Use FM SO_DOCUMENT_SEND_API1 just like used to do with SO_NEW_DOCUMENT_SEND_API1 and add following importing parameters:&lt;/P&gt;&lt;P&gt;SENDER_ADDRESS = sender email address&lt;/P&gt;&lt;P&gt;SENDER_ADDRESS_TYPE = 'SMTP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 13:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902769#M682745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T13:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902770#M682746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, you have answered my forum query I placed a while ago. Shame I didn't see this 3 months ago, have not found any other documentation to suggest that this was the solution I was after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 15:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902770#M682746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902771#M682747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SO_NEW_DOCUMENT_SEND_API1 but in this FM where do we need to populate senders id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 11:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902771#M682747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T11:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902772#M682748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m using ' ' fm with parameter,&lt;/P&gt;&lt;P&gt;     SENDER_ADDRESS = sender email address&lt;/P&gt;&lt;P&gt;    SENDER_ADDRESS_TYPE = 'SMTP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i got an error 'Element NOAUTHORITYCHECK is not available in the container'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help Me to Solve It?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Parixit Patel.&lt;/P&gt;&lt;P&gt;Panamax Infotel Ltd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 14:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902772#M682748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T14:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902773#M682749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if SAP Office consistency problems exist an fix them:&lt;/P&gt;&lt;P&gt;Program RSSOUSCO&lt;/P&gt;&lt;P&gt;or Transaction SU55&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 15:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902773#M682749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902774#M682750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was also getting the same error 'element NOAUTHORITYCHECK found in container ' &lt;/P&gt;&lt;P&gt;but then i passed below parameters to the FM - 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    sender_address             =  sy-uname&lt;/P&gt;&lt;P&gt;      sender_address_type  = 'SMTP'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; now i am getting below error . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Activation settings not yet maintained'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 08:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902774#M682750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T08:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902775#M682751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shweta, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    i done this type of requirement by using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.&lt;/P&gt;&lt;P&gt;check the following code.I hope it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; SELECT SINGLE ADRNR FROM LFA1  INTO T_DATA-ADRNR WHERE LIFNR = T_DATA-LIFNR.
    SELECT SINGLE SMTP_ADDR FROM ADR6 INTO T_DATA-email WHERE ADDRNUMBER = T_DATA-ADRNR.
      CLEAR: c_current_date, c_current_time.
      c_current_date = sy-datum.
      c_current_time = sy-uzeit.
      l_dd = c_current_date+6(2).
      l_mm = c_current_date+4(2).
      l_yyyy = c_current_date+0(4).
      CONCATENATE l_dd l_mm l_yyyy INTO l_date.

*   /*------------Attachment--------------------/
      REFRESH: i_reclist,
      i_objtxt,
      i_objbin,
      i_objpack.
      i_objbin[] = it_mess_att[]. "your pdf data or excel data

      CONCATENATE 'Shipping Notification Summary sent on' l_date l_time
               INTO c_title SEPARATED BY space.
      i_objtxt = c_title.
      APPEND i_objtxt.
      i_objtxt     = space.
      APPEND i_objtxt.
      CONCATENATE 'To:' t_data-email
                          INTO i_objtxt SEPARATED BY space.
      APPEND i_objtxt.
      i_objtxt     = space.
      APPEND i_objtxt.
      i_objtxt     = text-t01.
      APPEND i_objtxt.
      i_objtxt     = text-t02.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.

      wa_doc_chng-obj_name = 'Shipping Notification Summary'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'Shipping Notification Summary'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
*   /*-----------------Main Text---------------/
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      APPEND i_objpack.
*   /*----------------Attachment (pdf-Attachment)-----------------/
      CLEAR: l_fname_ext.
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-doc_size = v_lines_bin * 255 .
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'."your pdf or excel format
      i_objpack-obj_name = 'Shippin g Notification Summary'.

      CONCATENATE t_data-lifnr '_' l_date '_' c_current_time '.PDF'
                               INTO l_fname_ext.

      CONDENSE l_fname_ext NO-GAPS.
      CONCATENATE 'Shipping Notification Summary_' l_fname_ext INTO l_fname_ext.
      i_objpack-obj_descr = l_fname_ext.
      APPEND i_objpack.

      CLEAR i_reclist.
      i_reclist-receiver = t_data-email.
      i_reclist-rec_type = 'U'.
      i_reclist-com_type = 'INT'.
      i_reclist-notif_del = 'X'.
      i_reclist-notif_ndel = 'X'.
      APPEND i_reclist.

* calling function module to send email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = i_objpack
          contents_bin               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 09:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902775#M682751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T09:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902776#M682752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I run the report and it is showing the result as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Office users:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Office users with new delete flags:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Records deleted in SOUD:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Records deleted in SOUC:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Records changed in SOUC:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;New records in SOUC:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users w/o address assignment ( SOUD w/o SO_KEY )&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which SO_KEY could be generated&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which no SO_KEY could be generated subsequently&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which no entry exists in table USR21&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;No. of users with address assignment (SOUD with SO_KEY)&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which no entry exists in table USR21 (user administration)&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which person group &amp;lt;&amp;gt; BC01 is in address&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users with address reference which is no longer in CAM&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users with SOUD-USADR&amp;lt;&amp;gt;SPACE / SO_KEY in ADCP=SPACE and no subseq.generation possible&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which SO_KEY was generated subsequently&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users with SO_KEY to which a more recent object is assigned&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which no change in address assignment was required&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Number of users for which no where-used list could be created subsequently&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Still i m getting that error&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Saurabh Shrivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 08:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902776#M682752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-06T08:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1 - sender mail address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902777#M682753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have the same problem: 'Element NOAUTHORITYCHECK is not available in the container'&lt;/P&gt;&lt;P&gt;Itried both FM´s 'SO_NEW_DOCUMENT_ATT_SEND_API1' and 'SO_DOCUMENT_SEND_API1' with all the parameters mentioned above. I started report RSSOUSCO(result below). The document is sent but the message is always in the protocol and is looking strange for the user. Any idea how I can solve the issue and prevent this strange message?&lt;/P&gt;&lt;P&gt;If I change the adress type to 'B' (see post from Karthik above) in the receiver list then the message is gone. But I have no idea if I get other problems if I change from 'U' to 'B'.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Office users: 0&lt;/P&gt;&lt;P&gt;Office users with new delete flags: 0&lt;/P&gt;&lt;P&gt;Records deleted in SOUD: 0&lt;/P&gt;&lt;P&gt;Records deleted in SOUC: 0&lt;/P&gt;&lt;P&gt;Records changed in SOUC: 0&lt;/P&gt;&lt;P&gt;New records in SOUC: 0&lt;/P&gt;&lt;P&gt;Number of users w/o address assignment ( SOUD w/o SO_KEY ) 0&lt;/P&gt;&lt;P&gt;Number of users for which SO_KEY could be generated 0&lt;/P&gt;&lt;P&gt;Number of users for which no SO_KEY could be generated subsequently 0&lt;/P&gt;&lt;P&gt;Number of users for which no entry exists in table USR21 0&lt;/P&gt;&lt;P&gt;No. of users with address assignment (SOUD with SO_KEY) 2.173&lt;/P&gt;&lt;P&gt;Number of users for which no entry exists in table USR21 (user administration) 0&lt;/P&gt;&lt;P&gt;Number of users for which person group &amp;lt;&amp;gt; BC01 is in address 0&lt;/P&gt;&lt;P&gt;Number of users with address reference which is no longer in CAM 0&lt;/P&gt;&lt;P&gt;Number of users with SOUD-USADR&amp;lt;&amp;gt;SPACE / SO_KEY in ADCP=SPACE and no subseq.generation possible 0&lt;/P&gt;&lt;P&gt;Number of users for which SO_KEY was generated subsequently 0&lt;/P&gt;&lt;P&gt;Number of users with SO_KEY to which a more recent object is assigned 0&lt;/P&gt;&lt;P&gt;Number of users for which no change in address assignment was required 0&lt;/P&gt;&lt;P&gt;Number of users for which no where-used list could be created subsequently 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 10:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1-sender-mail-address/m-p/2902777#M682753</guid>
      <dc:creator>frank_bork</dc:creator>
      <dc:date>2012-04-23T10:40:14Z</dc:date>
    </item>
  </channel>
</rss>

