SMS Channel of SAP NetWeaver Mobile
Hello SDN Readers,
This blog is about communicating enterprise information through SMS. Short Messaging Service or SMS in short is a very common way of communicating information to mobile users. SMS is one of the channels through which you can communicate enterprise information in SAP NetWeaver Mobile, the others being RSS, and the default channel.
To start – What is a channel?
Simply put, a channel is a mode of communication between the DOE and its receivers.
A channel is characterized by attributes such as direction of the channel(only sends data to devices, only receives data from devices, or both), registration criteria, sychronous/ asynchronous, and so on.
SAP NetWeaver Mobile provides a default channel through which mobile clients for laptops and handhelds communicate. In addition to this channel, we provide an SMS and an RSS channel.
The SMS channel is based on SMTP (Simple Mail Transfer Protocol). In the DOE, this channel is an outbound channel (only sends data to receivers), synchronous in nature, and does not require device registration.
How does the SMS Channel works in SAP NetWeaver Mobile?
SAP NetWeaver Application Server (ABAP) has a module called SAPconnect. SAPconnect provides a standard interface for external communication, which supports sending using telecommunication services such as FAX, text messages (pager/SMS), Internet mail and so on. You can find more information on SAPconnect here.
In the Data Orchestration Engine, a mobile number is specified for each device. So, after the DOE calculates data that a device must receive, it sends the data to the SAPconnect module. The module then sends the data to the SMS gateway.
There are two activities that you can do when configuring an SMS channel:
Maintain rules on a data object to filter out information that must be sent via an SMS. Example, you can create a rule: [ORDER_VALUE > 10,000] – here ORDER_VALUE is a data object node. Then SMSes are sent only for those orders whose value is greater than 10,000.
Maintain separate message texts for sending SMS messages. Example, you can maintain the following text “A new order [ORDER_NO] for $[ORDER_VALUE] has been created”. Here, ORDER_NO and ORDER_VALUE are data object nodes. If an Order 1230099 has been created in the back-end for $55000, the SMS sent will be “A new order 1230099 for $55000 has been created”.
How do you configure the SMS channel?
To begin with, you need an SMS Gateway that you can reach from the application server. After that, here is an overview of the steps:
Enable the server to send SMS
Configure the SMTP Plug-in
Assign SMS channel to devices
Configure the data objects to send SMS
I have detailed all the steps on how you can configure the SMS Channel in this guide. So, download the guide and try it in your landscape. It is quite simple!
Next Blog: Using the RSS channel of SAP NetWeaver Mobile