Skip to Content
Author's profile photo Former Member

SAP SMS Configuration

Table Contents

  1. SCOT Configuration.
  2. HTTP Virtual host Configuration via SICF.
  3. Maintaining the Pager service.
  4. TCODE SPRO (in configuration client).
  5. Check the configuration by Composing a SMS.
  6. Monitor the queue using Tcode SCOT.
  7. Automating the process.

Smsalert.png

The pager/SMS messages can be transferred to the provider both via HTTP and also via (E)SMTP. This note relates to the HTTP channel. The SMTP channel is described in note 455140(455140 – Configuration of e-mail, fax, paging or SMS using SMTP). When e-mails are transferred using SMTP, the SAP Web Application Server communicates directly with a mail server. No gateway or connector is necessary.

You can use any SMTP-compatible product as a mail server.The first thing is a Basis configuration with third party SMS gateway provider.  SMS from ECC SMS configuration needs to be done by Basis administrators. After if it successful can trigger SMS from the ABAP program directly.

The step by step procedure to configure SAP SMS though HTTP is as below.

Version : Net viewer version : 7.0

Provider : mobitel , Dialog (Sri Lanka)

1.     SCOT Configuration

Go to T-code Scot

/wp-content/uploads/2014/09/1_539260.png

               Then click PAG               –>              Then click on create button. Then provide HTTP for Node and give a description.

               /wp-content/uploads/2014/09/2_539261.png

          Continue à  Select HTTP Node

      /wp-content/uploads/2014/09/3_539242.png

          continue –> Then provide the URL provided by the provider.

           /wp-content/uploads/2014/09/4_539267.png

You can provide SAPconnect variables as you need.

Continue -> This screen will ask the password for the URL provided. If you give it on previous screen keep the password blank.

/wp-content/uploads/2014/09/5_539268.png

Continue –>

Provide the maximum length.  Enter the maximum length (in bytes) that a SMS message can have.


/wp-content/uploads/2014/09/6_539269.png


   Continue –>

 

 

   Specify which text your provider returns in the status message (HTTP response) to indicate that:

a) The message was sent successfully

b) An error occurred

/wp-content/uploads/2014/09/7_539273.png

Continue –>

Specify the address area for which the node is to be responsible.

The node receives only those messages with recipient addresses that are within th enode address area, from the SAPconnect send process.Generic address areas can end or (only Internet addresses) begin with ‘*’.

Provide * on field address area.

/wp-content/uploads/2014/09/8_539274.png

Continue –> failed send attempt:


If a node cannot be reached currently because of a temporary error, the system tries to send the message again for a period of time that is specified individually for each node (at the earliest, after 10 minutes).

Specify the maximum time period for this repeat send attempt procedure (in hours and minutes).These values are initially set to zero



/wp-content/uploads/2014/09/9_539275.png



Continue –> Specify if the HTTP node is active.

/wp-content/uploads/2014/09/10_539276.png


A node that is not activated does not receive messages from the SAPconnect send process.

Continue –>

1. HTTP Virtual host Configuration via SICF

/wp-content/uploads/2014/09/11_539277.png

  –>

  /wp-content/uploads/2014/09/12_539278.png

  /wp-content/uploads/2014/09/13_539279.png

/wp-content/uploads/2014/09/14_539280.png

Then go to logon data and provide a user [better to use a service user.]

  /wp-content/uploads/2014/09/15_539281.png

Then go to the handler list and provide following handers.

CL_HTTP_EXT_FORMTORFC

CL_HTTP_EXT_XRFC

CL_XMS_HTTP_HANDLER

/wp-content/uploads/2014/09/16_539285.png

Then save it and activate it.

/wp-content/uploads/2014/09/17_539286.png

If your network environment has an proxy then provide the proxy setting to reach it to the given URL.

/wp-content/uploads/2014/09/18_539287.png

/wp-content/uploads/2014/09/19_539291.png

Proxy settings screen

    /wp-content/uploads/2014/09/20_539292.png

Provide credentials in HTTP log tab.

          /wp-content/uploads/2014/09/21_539293.png

OK  – >

2.     Maintaining the Pager service.

Use Tcode SA14 (The best practice is to go to 000 client and do this).

Provide detail as shown below – New Entry

Pager Serv: BAL
Use :SMS Service

Or use as follow.

     /wp-content/uploads/2014/09/22_539297.png

 

3.     TCODE SPRO (in configuration client)

Then provide following details

Pager serv : SMS
Pager service : SMS
Use : SMS Service

/wp-content/uploads/2014/09/23_539298.png

/wp-content/uploads/2014/09/24_539299.png

Now you are finished configuring the SMS though SAP.

4.     Check the configuration by Composing a SMS

Go to T-code SBWP.

     

        /wp-content/uploads/2014/09/25_539300.png

    

  • –> Send and check the mobile.

   

           /wp-content/uploads/2014/09/26_539301.png26

             

5.     Monitor the queue using Tcode SCOT.

Your composed sms can be seen on waiting queue.

Click on process icon on top to send it.

          /wp-content/uploads/2014/09/27_539302.png

          /wp-content/uploads/2014/09/28_539303.png

               /wp-content/uploads/2014/09/29_539305.png29

               Then Start  –>

                  

               /wp-content/uploads/2014/09/30_539306.png

6.     Automating the process.

The SMS process can be automating though a background job.

It can be done by clicking on job icon in same screen. Then double click on the SAPCONNECT PAG SEND.

          /wp-content/uploads/2014/09/31_539307.png

Then schedule the job

               /wp-content/uploads/2014/09/32_539308.png

Done !

Assigned Tags

      13 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Zerandib @
      Zerandib @

      Good Article ..Simple and explained well.

      Thank you for sharing...

      -Zerandib-

      Author's profile photo Praveen S
      Praveen S

      Hi can you help me to check sms api response text. I have integrated sms from springedge using this article http://www.tellmehow.co/send-sms-sap-automatically-using-spring-edge/

      All text messages are getting delivered but i can not see API response, i need to configure further action after sending sms based on response.

      Author's profile photo Former Member
      Former Member

      Hi, Priyan:

      I did a test in our ids system, ehp7 for erp6.0, following your document

      and sap system return message 723(Message passed to the service provider) type 'S'

      but my phone no. used as recipients, didnot receive any message

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi timothy.

      please check with service provider and try to send sms with their link without sap. If it is working configure correctly the URL.

      Also check the Firewall rule of your organization.

      Priyan

      Author's profile photo Varun Kumar Pathapati
      Varun Kumar Pathapati

      Check firewall rule, Both Inbound & Outbound in sender side as well as receiver side. Communication issue will get resolved.

      Author's profile photo Shahin Mikayilov
      Shahin Mikayilov

      Hi Priyan,

      the same getting me : from sost sms status success, but phone did not receive any sms message

      Shahin

      Author's profile photo Zerandib @
      Zerandib @

      Shahin,

      Have you verified your HTTP connection URL with service provider? from that link, is it possible for you to send sms?... any error code/warning msg?

      Zerandib

      Author's profile photo Shahin Mikayilov
      Shahin Mikayilov

      hi Zerandib,

      the problem was in provider url, solved and now working fine 🙂

      thanks a lot for useful post

      Shahin

      Author's profile photo S. Sivalojanan
      S. Sivalojanan

      Hi Priyan,

      I have followed same steps to configure SMS. But I could not receive SMS to my mobile.

      I got the error.

      Message cannot currently be transferred to node SMS:0721527252 due to connection error

      Message no. XS751

      Diagnosis

      The message cannot be transferred to node SMS:0721527252 due to a technical fault.

      System Response

      The system has flagged this message for a new attempt. The message has not yet been sent.

      Additional information of the node used (in the system language of the node):
      HTTP_CLIENT->RECEIVE Error Code: 1_403 ICM_HTTP_SE

      Procedure

      Check the connection from the SAP system to node SMS:0721527252 with RFC destination HTTP or HTTPS. Use RFC destination management to check the RFC connection.

      If R/3 is in productive operation, it is advisable to reroute provisionally to another node.

      You should therefore notify your system administrator.

      My SMS URL is:

      https://groupsms.etisalat.lk/sendsmsmultimask.php?

      USER= *********

      PWD= *******

      MASK= TEST

      NUM=<reci_addr>&

      MSG=<message>

      Could you please help.

      Author's profile photo Former Member
      Former Member

      Hi,

      After configuring the SMS, the last 2 characters are truncating..

      Could you please help me on this.

      Author's profile photo Abhishek Mishra
      Abhishek Mishra

      Very good Article to understand - User Friendly

      Author's profile photo Manoj Kumar
      Manoj Kumar

      hi all,

      i have getting this error in sap dev system,

      port number is mentioned correct

      services in SMICM is also activated.

      but still i mam getting this..

      thanks in advance

      Cannot process message in SAP System

      Message no. XS817

      Diagnosis

      Processing could not be continued due to a technical or configuration error in the SAP system.

      System Response

      Processing terminated.

      Procedure

      Processing was terminated in the SAP system. The reason is given in the details below:

      PHONE NUMBER ( i am getting my mobile number here)

      Error creating HTTP client object from URL

      Author's profile photo Virgilio Morales
      Virgilio Morales

      Hey guys,

       

      Just a simple question. Where is SMS provider URL coming from? for our mobile service provider? Do we need to contract like an additional line?

      Thanks,

      Vriglio I. Morales