<?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 while sending output document using 'SO_NEW_DOCUMENT_SEND_API1' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808110#M1312810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the same problem with return code 2 ,Please provide the solution if u had already done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharat Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 11:50:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-15T11:50:11Z</dc:date>
    <item>
      <title>problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808099#M1312799</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;&lt;/P&gt;&lt;P&gt;i am trying to send an output using VF01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          it is failing with subrc = 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                         DOCUMENT_NOT_SENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me for further process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808099#M1312799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808100#M1312800</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;Please check if you are sending the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CLEAR: gs_packing_list,
         gs_reclist.
  REFRESH: gt_packing_list[],
           gt_reclist[].

* Fill the document data.
  DESCRIBE TABLE gt_message LINES gv_cnt.
  READ TABLE gt_message INTO gs_message
                                INDEX gv_cnt.
  gs_doc_chng-doc_size   = ( gv_cnt - 1 ) * 255 + STRLEN( gs_message ).
  gs_doc_chng-obj_langu  = sy-langu.
  gs_doc_chng-obj_name   = 'CONJOB'.
  gs_doc_chng-obj_descr  = text-017.
  gs_doc_chng-sensitivty = 'F'.

* Fill the receiver list
  gs_reclist-rec_date    = sy-datum.
  gs_reclist-rec_type    = 'U' .         " For Internet Address
  gs_reclist-com_type    = 'INT'.
  gs_reclist-notif_ndel  = c_x.
  gs_reclist-receiver    = p_email.       "Email addr of Recip
  APPEND gs_reclist TO gt_reclist.
  CLEAR gs_reclist.

  gs_packing_list-transf_bin = space.
  gs_packing_list-head_start = 1.
  gs_packing_list-head_num   = 0.
  gs_packing_list-body_start = 1.
  DESCRIBE TABLE gt_message LINES gs_packing_list-body_num.
  gs_packing_list-doc_type   = 'RAW'.
  APPEND gs_packing_list TO gt_packing_list.

  gs_packing_list-transf_bin = c_x.
  gs_packing_list-head_start = 1.
  gs_packing_list-head_num   = 0.
  gs_packing_list-body_start = 1.
  DESCRIBE TABLE pt_attachment LINES gs_packing_list-body_num.
  gs_packing_list-doc_type   = 'RAW'.
  gs_packing_list-obj_descr  = gv_atch_name.
  gs_packing_list-obj_name   = gv_atch_name.
  gs_packing_list-doc_size   = gs_packing_list-body_num * 255.
  APPEND gs_packing_list TO gt_packing_list.

* Send the document
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
       EXPORTING
            document_data              = gs_doc_chng
            put_in_outbox              = c_x
       TABLES
            packing_list               = gt_packing_list
            contents_txt               = gt_message
            contents_bin               = pt_attachment
            receivers                  = gt_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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808100#M1312800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T12:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808101#M1312801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your quick responce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am passing all as you posted and you forgot to use COMMIT_WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is this is an upgrade from ERP5.0 to ECC6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ERP5.0 it is working fine but in ECC6.0  the error was coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808101#M1312801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T12:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808102#M1312802</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;Check the whether receivers are present  or not in tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808102#M1312802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808103#M1312803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajashekar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked and receivers are present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808103#M1312803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T12:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808104#M1312804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the return code you receive after execution function module? In case it is 0 then check if mail is available in SCOT or SOST transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808104#M1312804</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-06-19T12:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808105#M1312805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jaideep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return code is 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;VInod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 12:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808105#M1312805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808106#M1312806</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;Check if the number range is created in ECC6.0 for object SO_OBJ_.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 13:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808106#M1312806</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-06-19T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808107#M1312807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaideep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you tell me what is this number range, where will this get created, how to check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 13:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808107#M1312807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T13:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808108#M1312808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can maintain number range using following path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools-&amp;gt; ABAP/4 Workbench -&amp;gt; Development -&amp;gt; Other Tools -&amp;gt; Number ranges&lt;/P&gt;&lt;P&gt;Enter object name one by one of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_OBJ_&amp;amp;FX&lt;/P&gt;&lt;P&gt;SO_OBJ_&amp;amp;ML&lt;/P&gt;&lt;P&gt;SO_OBJ_&amp;amp;UX&lt;/P&gt;&lt;P&gt;SO_OBJ_ADR&lt;/P&gt;&lt;P&gt;SO_OBJ_ALI&lt;/P&gt;&lt;P&gt;SO_OBJ_BIN&lt;/P&gt;&lt;P&gt;SO_OBJ_DLI&lt;/P&gt;&lt;P&gt;SO_OBJ_EXT&lt;/P&gt;&lt;P&gt;SO_OBJ_FAX&lt;/P&gt;&lt;P&gt;SO_OBJ_FOL&lt;/P&gt;&lt;P&gt;SO_OBJ_GRA&lt;/P&gt;&lt;P&gt;SO_OBJ_MSG&lt;/P&gt;&lt;P&gt;SO_OBJ_OBJ&lt;/P&gt;&lt;P&gt;SO_OBJ_OTF&lt;/P&gt;&lt;P&gt;SO_OBJ_RAW&lt;/P&gt;&lt;P&gt;SO_OBJ_RCP&lt;/P&gt;&lt;P&gt;SO_OBJ_SCR&lt;/P&gt;&lt;P&gt;SO_OBJ_USR&lt;/P&gt;&lt;P&gt;SO_OBJ_WFL&lt;/P&gt;&lt;P&gt;SO_OBJ_XXL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 14:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808108#M1312808</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-06-19T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808109#M1312809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below type of Receivers are valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check what type of receiver you are sending...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type of RECEIVER entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following values are permitted:&lt;/P&gt;&lt;P&gt;ADR_TYPE...&lt;/P&gt;&lt;P&gt;'B' : SAP user name&lt;/P&gt;&lt;P&gt;' ' : SAPoffice name&lt;/P&gt;&lt;P&gt;'C' : Shared distribution list&lt;/P&gt;&lt;P&gt;'F' : Fax number&lt;/P&gt;&lt;P&gt;'U' : Internet address&lt;/P&gt;&lt;P&gt;'R ' : Remote SAP name&lt;/P&gt;&lt;P&gt;'X' : X.400 address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also chcek.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Communication method used to send the document. This field is only relevant if the recipient is an address number, that is, if the document is sent externally via address management. If the field is empty, the standard communication type specified in address management is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following values are permitted:&lt;/P&gt;&lt;P&gt;COM_TYPE......&lt;/P&gt;&lt;P&gt;'INT' : Send via Internet&lt;/P&gt;&lt;P&gt;'FAX' : Send as a fax&lt;/P&gt;&lt;P&gt;'X40' : Send via X.400&lt;/P&gt;&lt;P&gt;'RML' : Send in another SAP system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 14:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808109#M1312809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T14:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem while sending output document using 'SO_NEW_DOCUMENT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808110#M1312810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the same problem with return code 2 ,Please provide the solution if u had already done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharat Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 11:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-output-document-using-so-new-document-send-api1/m-p/5808110#M1312810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T11:50:11Z</dc:date>
    </item>
  </channel>
</rss>

