<?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: SEND SMS through Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524107#M1262402</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;Kindly go through this link below:&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;&lt;/P&gt;&lt;P&gt;Hope it helps&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;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2009 07:12:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-24T07:12:12Z</dc:date>
    <item>
      <title>SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524106#M1262401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to send SMS through my ZProgram which is used to accept pyments and generate receipts. i am having a web service to send SMS. The SMS can send through this service by posting a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can post a URL through FM 'PRGN_URL_GENERATION' but it opens a new browser window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, my problem is that i don`t want to open a new window or users to see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if there are any other way to send SMS through URL POST method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishan Kumar Birmiwala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 07:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524106#M1262401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T07:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524107#M1262402</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;Kindly go through this link below:&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;&lt;/P&gt;&lt;P&gt;Hope it helps&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;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 07:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524107#M1262402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524108#M1262403</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;First make WSDL file of that webservice&lt;/P&gt;&lt;P&gt;then make Client Proxy to use that service&lt;/P&gt;&lt;P&gt;then create one logical port which that Client Proxy will use.&lt;/P&gt;&lt;P&gt;then use following sample code to use that client proxy method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


DATA : RI_CLIENTPROXY TYPE REF TO ZBICO_SERVICE_SOAP,
       RI_PAYLOAD_PROTOCOL TYPE REF TO IF_WSPROTOCOL_PAYLOAD,
       RI_PAYLOAD TYPE REF TO IF_WS_PAYLOAD,
       RI_SYS_EXCEPTION TYPE REF TO CX_AI_SYSTEM_FAULT.

CREATE OBJECT &amp;lt;proxy name&amp;gt;.

            RI_PAYLOAD_PROTOCOL ?= &amp;lt;proxy name&amp;gt;-&amp;gt;GET_PROTOCOL( IF_WSPROTOCOL=&amp;gt;PAYLOAD ).
            RI_PAYLOAD_PROTOCOL-&amp;gt;SET_EXTENDED_XML_HANDLING( 'X' ).

           
            CALL METHOD RI_CLIENTPROXY-&amp;gt;&amp;lt;Method which you are calling from web serevice&amp;gt;
              EXPORTING
                INPUT  = &amp;lt;pass Parameters&amp;gt;.
             

  CATCH CX_AI_SYSTEM_FAULT INTO RI_SYS_EXCEPTION.

  ENDTRY.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 07:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524108#M1262403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T07:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524109#M1262404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chintan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx for ur response, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As im new to ABAP programming, i am unable to follow the steps suggested by you. Please suggest in detail how to perform the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx n regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 08:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524109#M1262404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T08:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524110#M1262405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link ...........it will be helpful fr you&lt;/P&gt;&lt;P&gt;/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 08:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524110#M1262405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T08:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524111#M1262406</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;First create WSDL file of your webservice.....( or you can also create client proxy for webservices )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then Go To SE80&lt;/P&gt;&lt;P&gt;then select Package name in which u are suppose to work&lt;/P&gt;&lt;P&gt;then Right click on Enterprise service&lt;/P&gt;&lt;P&gt;then right click on Client Proxies and then create&lt;/P&gt;&lt;P&gt;You have local WSDL file so select local file selection&lt;/P&gt;&lt;P&gt;then select file from local file with browse&lt;/P&gt;&lt;P&gt;then select package name and give prefix name&lt;/P&gt;&lt;P&gt;then save and activate it. ( note down abap name ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now go in lpconfig transaction&lt;/P&gt;&lt;P&gt;then here give ur proxy class which you have created earlier ( noted abap name )&lt;/P&gt;&lt;P&gt;then select logical port which you have given name same as ( noted abap name )&lt;/P&gt;&lt;P&gt;now select as default port and then select message id and state management check box in application spec. settings.&lt;/P&gt;&lt;P&gt;then save and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use following code to use in abap program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA : RI_CLIENTPROXY TYPE REF TO &amp;lt;client proxy which you have created&amp;gt;,
          RI_PAYLOAD_PROTOCOL TYPE REF TO IF_WSPROTOCOL_PAYLOAD,
          RI_PAYLOAD TYPE REF TO IF_WS_PAYLOAD,
          RI_SYS_EXCEPTION TYPE REF TO CX_AI_SYSTEM_FAULT.
 
CREATE OBJECT &amp;lt;desired proxy name&amp;gt;.
 
            RI_PAYLOAD_PROTOCOL ?= &amp;lt;desired proxy name&amp;gt;-&amp;gt;GET_PROTOCOL( IF_WSPROTOCOL=&amp;gt;PAYLOAD ).
            RI_PAYLOAD_PROTOCOL-&amp;gt;SET_EXTENDED_XML_HANDLING( 'X' ).
 
           
            CALL METHOD RI_CLIENTPROXY-&amp;gt;&amp;lt;Method which you are calling from web serevice which will be used for send sms&amp;gt;
              EXPORTING
                INPUT  = &amp;lt;pass Parameters - its depend you on your method&amp;gt;.
             
 
  CATCH CX_AI_SYSTEM_FAULT INTO RI_SYS_EXCEPTION.
 
  ENDTRY.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helpful to you....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chintan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 11:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524111#M1262406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524112#M1262407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx guyz for your help and support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 11:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524112#M1262407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T11:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524113#M1262408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1749952"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1864228"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="134824"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT y_send_sms.&lt;/P&gt;&lt;P&gt;DATA: http_client TYPE REF TO if_http_client .&lt;/P&gt;&lt;P&gt;DATA: wf_string TYPE string , &lt;/P&gt;&lt;P&gt;result TYPE string ,&lt;/P&gt;&lt;P&gt;r_str TYPE string .&lt;/P&gt;&lt;P&gt;DATA: result_tab TYPE TABLE OF string. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK a WITH FRAME .&lt;/P&gt;&lt;P&gt;PARAMETERS: mail(100) LOWER CASE,&lt;/P&gt;&lt;P&gt; m_no(20) LOWER CASE , &lt;/P&gt;&lt;P&gt;m_mss(120) LOWER CASE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK a . &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION .&lt;/P&gt;&lt;P&gt; CLEAR wf_string .&lt;/P&gt;&lt;P&gt; CONCATENATE&lt;/P&gt;&lt;P&gt; 'http://www.webservicex.net/SendSMS.asmx/SendSMSToIndia?MobileNumber='&lt;/P&gt;&lt;P&gt; m_no&lt;/P&gt;&lt;P&gt; '&amp;amp;FromEmailAddress='&lt;/P&gt;&lt;P&gt; mail &lt;/P&gt;&lt;P&gt;'&amp;amp;Message='&lt;/P&gt;&lt;P&gt; m_mss &lt;/P&gt;&lt;P&gt;INTO&lt;/P&gt;&lt;P&gt; wf_string . &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CALL METHOD cl_http_client=&amp;gt;create_by_url&lt;/P&gt;&lt;P&gt; EXPORTING url = wf_string&lt;/P&gt;&lt;P&gt; IMPORTING client = http_client&lt;/P&gt;&lt;P&gt; EXCEPTIONS argument_not_found = 1 &lt;/P&gt;&lt;P&gt;plugin_not_active = 2 &lt;/P&gt;&lt;P&gt;internal_error = 3 &lt;/P&gt;&lt;P&gt;OTHERS = 4. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL METHOD http_client-&amp;gt;send &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;http_communication_failure = 1&lt;/P&gt;&lt;P&gt; http_invalid_state = 2. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CALL METHOD http_client-&amp;gt;receive&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt; http_communication_failure = 1 &lt;/P&gt;&lt;P&gt;http_invalid_state = 2&lt;/P&gt;&lt;P&gt; http_processing_failed = 3.&lt;/P&gt;&lt;P&gt; CLEAR result .&lt;/P&gt;&lt;P&gt; result = http_client-&amp;gt;response-&amp;gt;get_cdata( ). &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; REFRESH result_tab .&lt;/P&gt;&lt;P&gt; SPLIT result AT cl_abap_char_utilities=&amp;gt;cr_lf INTO TABLE result_tab . &lt;/P&gt;&lt;P&gt;LOOP AT result_tab INTO r_str.&lt;/P&gt;&lt;P&gt; WRITE:/ r_str .&lt;/P&gt;&lt;P&gt; ENDLOOP .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 11:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524113#M1262408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T11:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: SEND SMS through Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524114#M1262409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I felt you referred the below thread..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you repeat it again and again, There is only one thing we can do to stop you..So please Don't make us to proceed in different way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="1293482"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 12:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-sms-through-program/m-p/5524114#M1262409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T12:15:00Z</dc:date>
    </item>
  </channel>
</rss>

