<?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: Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949692#M1154191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use of the function 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what do i need to proide to it what is the otf? is it the table consisting of char255 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if I have different attachments like an xls sheet or word doc I suppose i need dfferent converters I can't find much ressources here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 13:31:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-10T13:31:33Z</dc:date>
    <item>
      <title>Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949690#M1154189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a problem with an attached xtring object. The scenario: Web Dynpro application takes file upload as xstring parameter. The parameter is being transfered to backend RFC which should send out an email with the file attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately its not being converted into the right format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to upload a pdf file. Therefore I cut the xtring into 255 pieces and creatae an attachment table.&lt;/P&gt;&lt;P&gt;the doc_type is 'PDF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the email gets sent out without errors, I receive the mail, it contains the pdf but when I open it it is corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see some code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA lv_uploaddata TYPE xstring.&lt;/P&gt;&lt;P&gt;  lv_uploaddata = iv_uploaddata.&lt;/P&gt;&lt;P&gt;  WHILE NOT lv_uploaddata IS INITIAL.&lt;/P&gt;&lt;P&gt;    wa_objtxt = lv_uploaddata.&lt;/P&gt;&lt;P&gt;    SHIFT lv_uploaddata BY 255 PLACES.&lt;/P&gt;&lt;P&gt;    APPEND wa_objtxt TO lt_attachment.&lt;/P&gt;&lt;P&gt;    CLEAR wa_objtxt.&lt;/P&gt;&lt;P&gt;  ENDWHILE.&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; attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_objpack-transf_bin   = 'X' .&lt;/P&gt;&lt;P&gt;  wa_objpack-head_start   = 1.&lt;/P&gt;&lt;P&gt;  wa_objpack-head_num     = 1.&lt;/P&gt;&lt;P&gt;  wa_objpack-body_start   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE lt_attachment LINES wa_objpack-body_num.&lt;/P&gt;&lt;P&gt;  READ TABLE lt_attachment INTO wa_objtxt INDEX lv_table_lines .&lt;/P&gt;&lt;P&gt;  wa_objpack-doc_type     = 'PDF'.&lt;/P&gt;&lt;P&gt;  wa_objpack-obj_descr    = 'update_request'.&lt;/P&gt;&lt;P&gt;  wa_objpack-obj_name     = 'update_request'.&lt;/P&gt;&lt;P&gt;  wa_objpack-doc_size     =&lt;/P&gt;&lt;P&gt;      wa_objpack-body_num * 255 + STRLEN( wa_objtxt ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_objpack TO it_objpack.&lt;/P&gt;&lt;P&gt;  CLEAR wa_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- Sending the EMail document in given format&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            document_data              = lv_doc_data&lt;/P&gt;&lt;P&gt;            put_in_outbox              = c_false&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          commit_work                = konst_x&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            packing_list               = it_objpack&lt;/P&gt;&lt;P&gt;            contents_txt               = it_objtxt&lt;/P&gt;&lt;P&gt;            contents_bin               = lt_attachment&lt;/P&gt;&lt;P&gt;            receivers                  = it_reclist&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am I doing something wrong?&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 10:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949690#M1154189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T10:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949691#M1154190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this f.m to convert the otf to pdf...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        format        = 'PDF'&lt;/P&gt;&lt;P&gt;        max_linewidth = 132&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        bin_filesize  = v_len_in&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        otf           = i_otf&lt;/P&gt;&lt;P&gt;        lines         = i_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use below f.m to convert it to 255 char&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'QCE1_CONVERT'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          t_source_tab         = i_tline&lt;/P&gt;&lt;P&gt;          t_target_tab         = so_ali[]&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          convert_not_possible = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then pass it to f.m SO_NEW_DOCUMENT_SEND_API1&lt;/P&gt;&lt;P&gt;          OTHERS               = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 10:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949691#M1154190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949692#M1154191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use of the function 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what do i need to proide to it what is the otf? is it the table consisting of char255 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if I have different attachments like an xls sheet or word doc I suppose i need dfferent converters I can't find much ressources here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 13:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949692#M1154191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T13:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949693#M1154192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lv_uploaddata = iv_uploaddata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;translate lv_uploaddata using '~ '.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHILE NOT lv_uploaddata IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this helps but you might want to add the above code and see if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 14:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949693#M1154192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T14:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949694#M1154193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zsendemail                    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: psubject(40) type c default  'Hello',&lt;/P&gt;&lt;P&gt;            p_email(40)   type c default 'write email id' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   it_packing_list like sopcklsti1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        it_contents like solisti1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        it_receivers like somlreci1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        it_attachment like solisti1 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        gd_cnt type i,&lt;/P&gt;&lt;P&gt;        gd_sent_all(1) type c,&lt;/P&gt;&lt;P&gt;        gd_doc_data like sodocchgi1,&lt;/P&gt;&lt;P&gt;        gd_error type sy-subrc.&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;&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;P&gt;&lt;/P&gt;&lt;P&gt;Perform populate_message_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Send email message, although is not sent from SAP until mail send&lt;/P&gt;&lt;P&gt;*program has been executed(rsconn01)&lt;/P&gt;&lt;P&gt;PERFORM send_email_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Instructs mail send program for SAPCONNECT to send email(rsconn01)&lt;/P&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  POPULATE_MESSAGE_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;      Adds text to email text table&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_message_table.&lt;/P&gt;&lt;P&gt;  Append 'Email line 1' to it_message.&lt;/P&gt;&lt;P&gt;  Append 'Email line 2' to it_message.&lt;/P&gt;&lt;P&gt;  Append 'Email line 3' to it_message.&lt;/P&gt;&lt;P&gt;  Append 'Email line 4' to it_message.&lt;/P&gt;&lt;P&gt;endform.                    " POPULATE_MESSAGE_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_EMAIL_MESSAGE&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 message&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_email_message.&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;  gd_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;  gd_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_name  = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_descr = psubject.&lt;/P&gt;&lt;P&gt;  gd_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;Describe the body of the message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear it_packing_list.&lt;/P&gt;&lt;P&gt;  refresh it_packing_list.&lt;/P&gt;&lt;P&gt;  it_packing_list-transf_bin = space.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_num = 0.&lt;/P&gt;&lt;P&gt;  it_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;  describe table it_message lines it_packing_list-body_num.&lt;/P&gt;&lt;P&gt;  it_packing_list-doc_type = 'RAW'.&lt;/P&gt;&lt;P&gt;  append it_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 it_receivers.&lt;/P&gt;&lt;P&gt;  refresh it_receivers.&lt;/P&gt;&lt;P&gt;  it_receivers-receiver = p_email.&lt;/P&gt;&lt;P&gt;  it_receivers-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;  it_receivers-com_type = 'INT'.&lt;/P&gt;&lt;P&gt;  it_receivers-notif_del = 'X'.&lt;/P&gt;&lt;P&gt;  it_receivers-notif_ndel = 'X'.&lt;/P&gt;&lt;P&gt;  append it_receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the FM to post the message to SAPMAIL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            document_data              = gd_doc_data&lt;/P&gt;&lt;P&gt;            put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            sent_to_all                = gd_sent_all&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            packing_list               = it_packing_list&lt;/P&gt;&lt;P&gt;            contents_txt               = it_message&lt;/P&gt;&lt;P&gt;            receivers                  = it_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;Store function module return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_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;Get it_receivers return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  loop at it_receivers.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endform.                    " SEND_EMAIL_MESSAGE&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;  if gd_error eq 0.&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;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949694#M1154193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with xstring attachment for SO_NEW_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949695#M1154194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;adding translate lv_uploaddata using '~ '. makes the attachment more than twice as big as the original file and I still can't open it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without it the attachment is perfectly sized&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 12:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-xstring-attachment-for-so-new-document-send-api1/m-p/4949695#M1154194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T12:59:52Z</dc:date>
    </item>
  </channel>
</rss>

