<?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: Help with SO_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962107#M67652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Patrick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.  The following is my source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: 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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ld_email               = i_email_to.&lt;/P&gt;&lt;P&gt;  ld_mtitle              = i_title.&lt;/P&gt;&lt;P&gt;  ld_format              = i_format.&lt;/P&gt;&lt;P&gt;  ld_attdescription      = i_attr_description.&lt;/P&gt;&lt;P&gt;  ld_attfilename         = i_filename.&lt;/P&gt;&lt;P&gt;  ld_sender_address      = i_email_from.&lt;/P&gt;&lt;P&gt;  ld_sender_address_type = i_email_from_addr_ty.&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 = ( 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[] = it_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;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2005 00:25:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-02T00:25:56Z</dc:date>
    <item>
      <title>Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962105#M67650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to attach an excel sheet to email and for this I am using SO_DOCUMENT_SEND_API1 function module.  Everything works fine, except after the last field it puts blank spaces (close to 100).  Is there a way that I can cut the extra spaces.  I tried condensing before appending it to the internal table but still it doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.  Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 18:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962105#M67650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-01T18:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962106#M67651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you paste an excerpt of your code so we can see what you are doing? Especially the bits where you define the attachments ie the PACKING_LIST and the CONTENTS parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 23:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962106#M67651</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-08-01T23:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962107#M67652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Patrick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.  The following is my source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: 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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ld_email               = i_email_to.&lt;/P&gt;&lt;P&gt;  ld_mtitle              = i_title.&lt;/P&gt;&lt;P&gt;  ld_format              = i_format.&lt;/P&gt;&lt;P&gt;  ld_attdescription      = i_attr_description.&lt;/P&gt;&lt;P&gt;  ld_attfilename         = i_filename.&lt;/P&gt;&lt;P&gt;  ld_sender_address      = i_email_from.&lt;/P&gt;&lt;P&gt;  ld_sender_address_type = i_email_from_addr_ty.&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 = ( 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[] = it_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;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 00:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962107#M67652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-02T00:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962108#M67653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have met the same problem. &lt;/P&gt;&lt;P&gt;It due to the internal table which used to stored attach has too long defination, and the length of attach file hasn't been set correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACKING_LIST-DOC_SIZE.&lt;/P&gt;&lt;P&gt;You should calculate this value accurately.&lt;/P&gt;&lt;P&gt;I mean you should set the byte length of your file into it. If the value set to it more than the file actually length, the blank will be occur.&lt;/P&gt;&lt;P&gt;In addition, here is a former topic I sent in SDN, for you reference.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="455592"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 02:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962108#M67653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-02T02:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962109#M67654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zhenglin  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input, I did try changing the doc_size but still I get the blank spaces.  It was supposed to go into testing, so I had to login that as bug, I hope I solve it when I start working on it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 14:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962109#M67654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962110#M67655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I guess you see the blank in the outbox of SBWP, right?&lt;/P&gt;&lt;P&gt;Don't worry the blank in the tail show in the sap, if you really set the field I mentioned correctly, the length of the attachment will be accurate when it sent out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.G.  when you receive it on your outlook, check the attachment,  the blank will disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it, you will achieve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, please attention that the accurate doc_size  is set to the size field of Package list item, not other doc_size. This is a critical point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: zhenglin gu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 15:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962110#M67655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T15:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962111#M67656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Sunil,&lt;/P&gt;&lt;P&gt;I have a same issue like the one u have .I've got 17 columns as the output screen in SAP(of some report).I need to send this same thing through email to the recepient through the same FM.But this time in EXCEL SHEET.All the field gets populated correctly as the header columns.Now in the respective columns the concern data should be placed and this is going on perfectly and the number of entries in output of same report is been displayed properly in the concern field of the EXCEL SHEET.But the problem with the 17th column in the excel sheet is it is having lot of space after the data content and the size of the field is set to 40 characters.But even though there is lot of space for this i have to move the last field to such and extent that it should end like a column in the sheet.This is making to have lot of gap and there is an upload problem.My team lead suggested me to check out the length of each field and gaved me the precise field length of column in sheet and in Sap.I dont have any problem with the display of the output in SAP.But when i mail it the problem occurs.Please help its really urgent............. &lt;/P&gt;&lt;P&gt;Note: I've tried various methods which were in this thread and in different forum with the same issue but still my i did'nt get the output as i need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-so-document-send-api1/m-p/962111#M67656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:12:41Z</dc:date>
    </item>
  </channel>
</rss>

