<?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 Fm required in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570581#M257594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement lik this:&lt;/P&gt;&lt;P&gt;When i am trying to read a directory from App.server,&lt;/P&gt;&lt;P&gt;due to system problem or any hardware problem if i am not able to read i need to send a mail to System admin.&lt;/P&gt;&lt;P&gt;The mail should go automatically is not able to connect to app.server.&lt;/P&gt;&lt;P&gt;Is there any FM available for this type of requirement or can any body tell me how can we do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2006 08:31:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-21T08:31:09Z</dc:date>
    <item>
      <title>Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570581#M257594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement lik this:&lt;/P&gt;&lt;P&gt;When i am trying to read a directory from App.server,&lt;/P&gt;&lt;P&gt;due to system problem or any hardware problem if i am not able to read i need to send a mail to System admin.&lt;/P&gt;&lt;P&gt;The mail should go automatically is not able to connect to app.server.&lt;/P&gt;&lt;P&gt;Is there any FM available for this type of requirement or can any body tell me how can we do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570581#M257594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T08:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570582#M257595</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;use this codings.&lt;/P&gt;&lt;P&gt;open dataset p_filename for output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;use SO_NEW_DOCUMENT_SEND_API1 function module to send mail to your administrator.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz mark useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Divakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:33:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570582#M257595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T08:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570583#M257596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following code it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM send_mail USING  p_y16m_rcp_par STRUCTURE y16m_rcp_par.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Have a subject for the mail&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  g_s_document_data-obj_name = text-t02.&lt;/P&gt;&lt;P&gt;  g_s_document_data-obj_descr = text-t03.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill receiver information&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  g_s_receivers-rec_type = p_y16m_rcp_par-rec_type.&lt;/P&gt;&lt;P&gt;  g_s_receivers-rec_id = p_y16m_rcp_par-rec_id.&lt;/P&gt;&lt;P&gt;  g_s_receivers-express = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND g_s_receivers TO g_t_receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call function to send mail&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            document_data              = g_s_document_data&lt;/P&gt;&lt;P&gt;           document_type              = 'RAW'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         PUT_IN_OUTBOX              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         SENT_TO_ALL                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         NEW_OBJECT_ID              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         OBJECT_HEADER              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           object_content             =  g_t_object_content&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         CONTENTS_HEX               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         OBJECT_PARA                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         OBJECT_PARB                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            receivers                  = g_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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " SEND_MAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570583#M257596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T08:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570584#M257597</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;You can use this func module also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE_SEND_AS_MAIL&lt;/P&gt;&lt;P&gt;give ur message and receipient add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz mark useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Divakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570584#M257597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T08:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570585#M257598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ravi,&lt;/P&gt;&lt;P&gt; Use SO_NEW_DOCUMENT_SEND_API1 FM if the Open dataset fails i.e,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Call Function ' SO_NEW_DOCUMENT_SEND_API1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:36:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570585#M257598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T08:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570586#M257599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OPEN DATASET v_filepath FOR INPUT IN TEXT MODE&lt;/P&gt;&lt;P&gt;                                       .&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&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              = wa_document_data&lt;/P&gt;&lt;P&gt;        put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;        sender_address             = ''&lt;/P&gt;&lt;P&gt;        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                = v_sys_admin&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        packing_list               = i_packing_list&lt;/P&gt;&lt;P&gt;        contents_bin               = i_attach&lt;/P&gt;&lt;P&gt;        contents_txt               = i_contents_txt&lt;/P&gt;&lt;P&gt;        receivers                  = i_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;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570586#M257599</guid>
      <dc:creator>Bema</dc:creator>
      <dc:date>2006-09-21T08:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fm required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570587#M257600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Thanks. I will try that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-required/m-p/1570587#M257600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T08:51:09Z</dc:date>
    </item>
  </channel>
</rss>

