SpringEdge's REST API integrates seamlessly with SAP ERP systems. Use ABAP's cl_http_client class to make HTTP POST calls to the SpringEdge API endpoint, sending SMS triggered by SAP business events — invoice creation, goods receipt, delivery posting, or approval workflows.
The integration supports SAP ECC, S/4HANA, and SAP Business One. Messages are delivered across all Indian telecom operators with full DLT compliance and real-time delivery tracking.
SAP ECC & S/4HANA
Works with all SAP ERP versions via ABAP HTTP client
Invoice & PO Alerts
Automated SMS on invoice posting, PO approval, and payment receipt
DLT Compliant
All messages routed through DLT-registered templates for India
* ABAP: Send SMS via SpringEdge API
DATA: lo_client TYPE REF TO if_http_client,
lv_url TYPE string,
lv_json TYPE string,
lv_resp TYPE string.
lv_url = 'https://api.springedge.com/v1/sms/send'.
lv_json = '{'
&& '"to":"+919876543210",'
&& '"sender_id":"SPREDG",'
&& '"message":"Invoice INV-2026-001 '
&& 'for Rs.25,000 has been generated.",'
&& '"type":"transactional"'
&& '}'.
cl_http_client=>create_by_url(
EXPORTING url = lv_url
IMPORTING client = lo_client ).
lo_client->request->set_method(
if_http_request=>co_request_method_post ).
lo_client->request->set_header_field(
name = 'Content-Type'
value = 'application/json' ).
lo_client->request->set_header_field(
name = 'Authorization'
value = 'Bearer YOUR_API_KEY' ).
lo_client->request->set_cdata( lv_json ).
lo_client->send( ).
lo_client->receive( ).
lv_resp = lo_client->response->get_cdata( ).
lo_client->close( ).
WRITE: / 'Response:', lv_resp.
ABAP CODE
ABAP HTTP Client Example
This ABAP program uses cl_http_client to send an SMS through SpringEdge's API. You can call this code from a custom function module, BADI implementation, or workflow task.
For SAP S/4HANA Cloud, use the HTTP communication scenario with an outbound service to call the SpringEdge REST endpoint.
Prerequisites:
- SAP system must have HTTPS outbound connectivity
- SSL certificate for api.springedge.com imported in STRUST
- ICM configured for outbound HTTP calls
Use Cases
Invoice Alerts
Notify customers via SMS when a new invoice is posted in SAP. Include invoice number, amount, and due date.
Delivery Notifications
Send shipment dispatch and delivery confirmation SMS triggered by goods issue posting in SAP.
Approval Workflows
Alert approvers via SMS when purchase orders, leave requests, or expense claims need their action.
Payment Reminders
Automate payment due date reminders via SMS for outstanding receivables from the FI module.
