<?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: SMS through ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774702#M908264</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;I don't know if you resolve your problem, but if you want to send SMS when you prepare the receiver list the way the number is transfered is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  receivers-receiver = '0...0 SMS Y...YX...X'.&lt;/P&gt;&lt;P&gt;  receivers-rec_type = 'K'.                                " Pager/SMS&lt;/P&gt;&lt;P&gt;  APPEND receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X...X - Mobile phone's number&lt;/P&gt;&lt;P&gt;Y...Y - Country's code number&lt;/P&gt;&lt;P&gt;0...0 - You must write as 0 as numbers have the country code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Spanish mobile phone:&lt;/P&gt;&lt;P&gt;Country code = 0034&lt;/P&gt;&lt;P&gt;Phone's number = 123456789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;receivers-receiver = '0000 SMS 0034123456789'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2008 15:41:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-23T15:41:32Z</dc:date>
    <item>
      <title>SMS through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774697#M908259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Friends I want to send SMS to  customers  mobiles using abap code .&lt;/P&gt;&lt;P&gt;How It  possible Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some previous posted threasds but not able to understand at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I take some third pary solution or is it  possible  any other way. How to use &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.webservicex.net/SendSMS.asmx" target="test_blank"&gt;http://www.webservicex.net/SendSMS.asmx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 06:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774697#M908259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T06:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: SMS through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774698#M908260</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; we can send SMS from ABAP u can check this blog for coding: &lt;/P&gt;&lt;P&gt;/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also Pls check the below links&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/58/97c43af280463ee10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/58/97c43af280463ee10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/ronen.fox/blog/2007/12/06/sending-sms-notification-via-business-workflow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/Workflow/Workflow.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/Workflow/Workflow.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM: 'SO_DOCUMENT_SEND_API1' &amp;amp; &lt;/P&gt;&lt;P&gt;'SO_DOCUMENT_SEND_API1_NEW'. &lt;/P&gt;&lt;P&gt;to send the mail,sms etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you have to make some chamnges in the reciever table, jus go thru FM documnetaion once, you will fine the option for sending SMS thru either of this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a sample code for sending e-mail.&lt;/P&gt;&lt;P&gt;so, u can take help from 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;data declarations &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : v_sender TYPE soextreci1-receiver,&lt;/P&gt;&lt;P&gt;v_doc TYPE sodocchgi1,&lt;/P&gt;&lt;P&gt;it_paklist TYPE STANDARD TABLE OF sopcklsti1 ,&lt;/P&gt;&lt;P&gt;wa_paklist TYPE sopcklsti1 ,&lt;/P&gt;&lt;P&gt;it_obj_head TYPE STANDARD TABLE OF solisti1 ,&lt;/P&gt;&lt;P&gt;it_obj_bin TYPE STANDARD TABLE OF solisti1 ,&lt;/P&gt;&lt;P&gt;it_obj_txt TYPE STANDARD TABLE OF solisti1 ,&lt;/P&gt;&lt;P&gt;it_obj_rcv TYPE STANDARD TABLE OF somlreci1 ,&lt;/P&gt;&lt;P&gt;wa_obj_rcv TYPE somlreci1 ,&lt;/P&gt;&lt;P&gt;v_desc(100).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CONSTANTS: c_start(12) TYPE c VALUE '000000000000001',&lt;/P&gt;&lt;P&gt;c_num(12) TYPE c VALUE '000000000000002',&lt;/P&gt;&lt;P&gt;c_num1(12) TYPE c VALUE '000000000010030',&lt;/P&gt;&lt;P&gt;c_raw(3) TYPE c VALUE 'RAW',&lt;/P&gt;&lt;P&gt;c_test(4) TYPE c VALUE 'TEST',&lt;/P&gt;&lt;P&gt;c_X(1) TYPE c VALUE 'X'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;refresh internal tables &lt;/P&gt;&lt;P&gt;REFRESH : it_paklist, it_obj_rcv.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;clear internal tables &lt;/P&gt;&lt;P&gt;CLEAR : it_paklist, it_obj_rcv, v_sender.&lt;/P&gt;&lt;P&gt;v_sender = sy-uname.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;fill internal table it_paklist &lt;/P&gt;&lt;P&gt;wa_paklist-head_start = c_start.&lt;/P&gt;&lt;P&gt;wa_paklist-head_num = c_num.&lt;/P&gt;&lt;P&gt;wa_paklist-body_start = c_start.&lt;/P&gt;&lt;P&gt;wa_paklist-body_num = c_num1.&lt;/P&gt;&lt;P&gt;wa_paklist-obj_name = c_test .&lt;/P&gt;&lt;P&gt;wa_paklist-doc_type = c_raw .&lt;/P&gt;&lt;P&gt;wa_paklist-transf_bin = c_X .&lt;/P&gt;&lt;P&gt;APPEND wa_paklist TO it_paklist.&lt;/P&gt;&lt;P&gt;clear: wa_paklist.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Data in the Header/subject Line &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;v_desc = text-005 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;v_doc-obj_name = c_objname .&lt;/P&gt;&lt;P&gt;v_doc-obj_descr = v_desc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Mail text &lt;/P&gt;&lt;P&gt;APPEND v_desc TO it_obj_txt.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Preparing the receiver list &lt;/P&gt;&lt;P&gt;wa_obj_rcv-rec_type = 'U'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;wa_obj_rcv-rec_type = 'C'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;v_dlist = 'SCE_TEST'. &lt;/P&gt;&lt;P&gt;wa_obj_rcv-receiver = v_dlist. "Distribution list. &lt;/P&gt;&lt;P&gt;wa_obj_rcv-receiver = Enter the mail id .&lt;/P&gt;&lt;P&gt;APPEND wa_obj_rcv TO it_obj_rcv.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Call the function module to send mail &lt;/P&gt;&lt;P&gt;IF NOT it_obj_rcv[] IS INITIAL.&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 = v_doc&lt;/P&gt;&lt;P&gt;sender_address = v_sender&lt;/P&gt;&lt;P&gt;sender_address_type = 'B'&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;commit_work = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;packing_list = it_paklist&lt;/P&gt;&lt;P&gt;object_header = it_obj_head&lt;/P&gt;&lt;P&gt;contents_bin = it_obj_bin&lt;/P&gt;&lt;P&gt;contents_txt = it_obj_txt&lt;/P&gt;&lt;P&gt;receivers = it_obj_rcv&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 NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE text-006 TYPE 'I' .&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 06:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774698#M908260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T06:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: SMS through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774699#M908261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this blog..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 07:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774699#M908261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T07:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: SMS through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774700#M908262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Amit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply copied the code from this thread &amp;amp; pasted it in se38  and execute it . but  I do not get any &lt;STRONG&gt;SMS&lt;/STRONG&gt; or &lt;STRONG&gt;emai&lt;/STRONG&gt;l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shulld  I do some configurations before this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in details.&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;SS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 08:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774700#M908262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T08:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: SMS through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774701#M908263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 03:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774701#M908263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T03:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: SMS through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774702#M908264</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;I don't know if you resolve your problem, but if you want to send SMS when you prepare the receiver list the way the number is transfered is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  receivers-receiver = '0...0 SMS Y...YX...X'.&lt;/P&gt;&lt;P&gt;  receivers-rec_type = 'K'.                                " Pager/SMS&lt;/P&gt;&lt;P&gt;  APPEND receivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X...X - Mobile phone's number&lt;/P&gt;&lt;P&gt;Y...Y - Country's code number&lt;/P&gt;&lt;P&gt;0...0 - You must write as 0 as numbers have the country code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Spanish mobile phone:&lt;/P&gt;&lt;P&gt;Country code = 0034&lt;/P&gt;&lt;P&gt;Phone's number = 123456789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;receivers-receiver = '0000 SMS 0034123456789'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 15:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sms-through-abap/m-p/3774702#M908264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T15:41:32Z</dc:date>
    </item>
  </channel>
</rss>

