Skip to Content
author's profile photo Former Member
Former Member

Send SMS through WD ABAP

Hi,

I would like to know how to send SMS through WD ABAP.

Regards,

Ahmed

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 10:55 AM

    Hi,

    note that Web Dynpro ABAP does not support mobile devices.

    Regards, Heidi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:03 PM

    hi ,

    As of now WD ABAP does not provide mobile support but there are alternative for such requirement .

    As someone said in Web Dynpro Java or plane Java develope webservice that will take text to send as SMS and then call that Web Service from web Dynpro and pass it tht text ...but with ABAP send SMS not really having idea ...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:07 PM

    hi ,

    I have tried send mail in HTML and normal format from WD ABAP ..

    I have code for that ...one thing if something is possible in core ABAP then only it wil be possible in Web Dynpro ABAP so if one can send SMS or mail in ABAP , it possible in Web Dynpro ABAP as well .

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I have seen tht blog but tht blog is not so helpfull. I think there might be some prob in tht web service or i need to have some more configuration on my side to run that. I am not sure abt it. Have you tried tht program ?

      Regards,

      Ahmed

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 10:57 AM

    Hi,

    Both triggering mail and Sending SMS is possible.

    1. To trigger SMS, need to get tie up with some Service provide like (Vodaphone, RPG). they will give you some URL. We can add the message in URL and execute that URL through HTTP service.

    I tried this in my project and succeeded.

    Once you have the URL use the following cade in fountion module/Method and call this in your Web dynpro application. In URL itself you will have the option for entering recevier mobile number, sender detail. Manipulate the URL and then call the method.

    DATA wf_string TYPE string.

    data wf_type type string.

    DATA provider_url TYPE string.

    DATA query(1) VALUE'?'.

    DATA http_client TYPE REF TO if_http_client.

    • DATA result TYPE string.

    • DATA result_tab TYPE TABLE OF string.

    • DATA lin TYPE i.

    CALL METHOD cl_http_client=>create_by_url

    EXPORTING

    url = wf_string

    IMPORTING

    client = http_client

    EXCEPTIONS

    argument_not_found = 1

    plugin_not_active = 2

    internal_error = 3

    OTHERS = 4.

    CALL METHOD http_client->send

    EXCEPTIONS

    http_communication_failure = 1

    http_invalid_state = 2.

    CALL METHOD http_client->receive

    EXCEPTIONS

    http_communication_failure = 1

    http_invalid_state = 2

    http_processing_failed = 3.

    2. To send mail, call FM 'SSF_FUNCTION_MODULE_NAME' in your WD4A. Populate the necessary parameter. I had tried this option in BSP programming and it had send mail. Definetly it will work in WD4A.

    Reward point if useful.

    Regards,

    Karthick S

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.