<?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 Sending message from code to mobile in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-message-from-code-to-mobile/m-p/2387165#M530485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt; When in my ABAP source code some given condition occurs , then it should&lt;/P&gt;&lt;P&gt; send some message from code to my cell phone.  &lt;/P&gt;&lt;P&gt; Can it's possible?&lt;/P&gt;&lt;P&gt; if you have an answear of my question plz give reply ASAP.&lt;/P&gt;&lt;P&gt; Right answear will be rewarded with  maximum points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt; Gaurav Tyagi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2007 13:38:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-01T13:38:02Z</dc:date>
    <item>
      <title>Sending message from code to mobile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-message-from-code-to-mobile/m-p/2387165#M530485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt; When in my ABAP source code some given condition occurs , then it should&lt;/P&gt;&lt;P&gt; send some message from code to my cell phone.  &lt;/P&gt;&lt;P&gt; Can it's possible?&lt;/P&gt;&lt;P&gt; if you have an answear of my question plz give reply ASAP.&lt;/P&gt;&lt;P&gt; Right answear will be rewarded with  maximum points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt; Gaurav Tyagi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-message-from-code-to-mobile/m-p/2387165#M530485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sending message from code to mobile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-message-from-code-to-mobile/m-p/2387166#M530486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure this is possible, its just like sending an email.  The texting in cell phones is nothing more than an email address,  usually  the cell phone number followed by the @ and the domain name.   So you must find out want the @ part is for your service.  Your provider should know this, give them a call or check there website.  For example, mine is  @vtext.com for verison.    Then use this program to send a message to it.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;



report zrich_0003 .

data: maildata type sodocchgi1.
data: mailtxt  type table of solisti1 with header line.
data: mailrec  type table of somlrec90 with header line.

start-of-selection.

  clear:    maildata, mailtxt,  mailrec.
  refresh:  mailtxt, mailrec.

  maildata-obj_name = 'TEST'.
  maildata-obj_descr = 'Test'.
  maildata-obj_langu = sy-langu.

  mailtxt-line = 'This is a test'.
  append mailtxt.

* My number
  mailrec-receiver = '7175555555@vtext.com'.
  mailrec-rec_type  = 'U'.
  append mailrec.


    call function 'SO_NEW_DOCUMENT_SEND_API1'
         exporting
              document_data              = maildata
              document_type              = 'RAW'
              put_in_outbox              = 'X'
         tables
              object_header              = mailtxt
              object_content             = mailtxt
              receivers                  = mailrec
         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;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-message-from-code-to-mobile/m-p/2387166#M530486</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-01T13:57:47Z</dc:date>
    </item>
  </channel>
</rss>

