04-26-2006 12:06 PM
Hi All,
I had written a program which sends my program contents
from my mail id to Mobile numbers i had used following code for the same.
<b> DATA: sent LIKE sonv-flag,
mail_id LIKE sofolenti1-object_id,
i_send LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
i_data LIKE sodocchgi1.
i_send-receiver = '9886094449@nokia.com'.
i_send-express = c_x.
i_send-rec_type = c_u.
APPEND i_send.
Move text - Error Log into obj-description
i_data-obj_name = c_urgent.
i_data-sensitivty = c_s.
i_data-obj_descr = text-057.
To send E-Mail to specific User If BDC fails
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = i_data
document_type = c_raw
put_in_outbox = c_x
IMPORTING
sent_to_all = sent
new_object_id = mail_id
TABLES
object_content = i_text
receivers = i_send
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
SKIP 1.
MESSAGE e000(zzsd) WITH text-039.
ENDIF.
DATA: seltab TYPE TABLE OF rsparams,
seltab_wa LIKE LINE OF seltab.
CONSTANTS: c_mode LIKE rsparams-selname VALUE 'MODE',
c_p1 LIKE rsparams-kind VALUE 'P',
c_int LIKE rsparams-low VALUE 'INT'.
MOVE: c_mode TO seltab_wa-selname,
c_p1 TO seltab_wa-kind, " PARAMETER
c_int TO seltab_wa-low.
APPEND seltab_wa TO seltab.
SUBMIT rsconn01
WITH SELECTION-TABLE seltab
AND RETURN.
COMMIT WORK.</b>
I had run this program several times and checked SCOT Transaction - And every time i am processing this program in SCOT under INT 1 more addition is being made and they are moving from WAITING to COMPLETED but i am not able to receive any mails to Mobile.
Though if i change it our email id's it is going immedately. But to mobiles it is not working.
Can anybody tell me why!and provide me with solution.
<b>Do i need to make any changes to following statement!
i_send-receiver = '9886094449@nokia.com'.</b>
Thanks in advance.
Thanks & Regards,
Prasad.
04-26-2006 12:09 PM
Hi Prasad,
Try sending a mail from normal mail applications(OUTLOOK) etc.
I think its not a valid email address.
Are you sure that 9989898908@nokia.com is a valid number?
Try orange.com or hutch.com instead of nokia.
Regards,
Ravi
04-26-2006 12:13 PM
Hi,
I had it sent to my personel mail id several times and it is working an mails are coming.
But when i sent it to Mobile it's not working!
As Mr.<b>Rich Helman</b> posted some days back
it should be
<b>mailrec-receiver = 'yournumber@yourcellularprovider.com'. </b>
Can anybody tell me how can i use it.
In SCOT it is showing as completed but it is not coming to mobiles. Why!
Thanks,
Prasad.
04-26-2006 12:10 PM
Hi Prasad ,
Instead of @nokia.com , use service providers name.
Regards
Shkhar
04-26-2006 12:13 PM
the issue is with the mail id.
9989898908@nokia.com
its not a valid email id.
generally it will be <number>@<service provider>.com
please note that not all service providers provide this feature,
Regards
Raja
04-26-2006 12:14 PM
04-26-2006 12:15 PM
Hi,
I had used <b>i_send-receiver = '9886094449@hutch.com'.</b> that is also not working.
Thanks,
Prasad.
04-26-2006 12:17 PM
Prasad,
First try to send from yahoomail or any mail account which you have.
If it is a valid email, then you will get it to your mobile.
Then try sending through SAP.
meanwhile try, orange.com
Regards,
Ravi
04-26-2006 12:27 PM
Hi,
It is <b>INDIA-BANGALORE</b>
<b>The Number is HUTCH Connection.
And MObile is NOKIA MObile.</b>
From my personel id to Mobile also it is going.
Can anybody sujjest!
Thanks & Regards,
Prasad.
04-26-2006 12:33 PM
Hi prasad,
1. Not all cellular services support
such SMS from mail system.
(this does not depend upon the mobile
whether nokia,samsung etc)
2. First we need to find out whether
HUTCH supports
SMS via email.
3. eg. IDEA supports
1234565@attcell.net
123144@ideacellular.net
4. Instead of testing from abap code,
we should check from normal
email with outlook express or any other
internet based email and send the
mail.
5. Even after sending the mail,
it may / may not take time (minutes,hours)
so that sms is received.
6. IT ALL DEPENDS UPON THE SERVICES
OF THE SERVICE PROVIDER (idea,hutch,airtel etc)
*----
7. One more thing,
eg. in idea, if we send sms thru email,
then in mobile,
we DO NOT DIRECTLY GET THE MESSAGE.
(INSTEAD, there is a message that
' u have received sms from xyz,
to read, please reply to this message'
)
8. So in this case, we have to send
a blank sms to get the original sms.
regards,
amit m.
04-26-2006 12:16 PM
04-26-2006 12:26 PM
Hi Prasad,
if you are in india, try to send to one of the following, they will work..
1. Andhra Pradesh
Airtel
9849
919849012345@airtelap.com
2. Andhra Pradesh
Idea Cellular
9848
9848012345@ideacellular.net
3. Chennai
Skycell / Airtel
9840
919840012345@airtelchennai.com
4. Chennai
RPG Cellular
9841
9841012345@rpgmail.net
5. Delhi
Airtel
9810
919810012345@airtelmail.com
6. Delhi
Hutch
9811
9811012345@delhi.hutch.co.in
7. Gujarat
Idea
9824
9824012345@ideacellular.net
8. Gujarat
Airtel
9898
919898012345@ airtelmail.com
9. Gujarat
Celforce / Fascel
9825
9825012345@celforce.com
10. Goa
Airtel
9890
919890012345@airtelmail.com
11. Goa
BPL Mobile
9823
9823012345@bplmobile.com
12. Goa
Idea Cellular
9822
9822012345@ideacellular.net
13. Haryana
Airtel
9896
919896012345@airtelmail.com
14. Haryana
Escotel
9812
9812012345@escotelmobile.com
15. Himachal Pradesh
Airtel
9816
919816012345@airtelmail.com
16. Karnataka
Airtel
9845
919845012345@airtelmail.com
17. Kerala
Airtel
9895
919895012345@airtelmail.com
18. Kerala
Escotel
9847
9847012345@escotelmobile.com
19. Kerala
BPL Mobile
9846
9846012345@bplmobile.com
20. Kolkata
Airtel
9831
919831012345@airtelkol.com
21. Madhya Pradesh
Airtel
9893
919893012345@airtelmail.com
22. Maharashtra
Airtel
9890
919890012345@airtelmail.com
23. Maharashtra
BPL Mobile
9823
9823012345@bplmobile.com
24. Maharashtra
Idea Cellular
9822
9822012345@ideacellular.net
25. Mumbai
Airtel
9892
919892012345@airtelmail.com
26. Mumbai
BPL Mobile
9821
9821012345@bplmobile.com
27. Punjab
Airtel
9815
919815012345@airtelmail.com
28. Pondicherry
BPL Mobile
9843
9843012345@bplmobile.com
29. Tamil Nadu
Airtel
9894
919894012345@airteltn.com
30. Tamil Nadu
BPL Mobile
9843
9843012345@bplmobile.com
31. Tamil Nadu
Aircel
9842
9842012345@airsms.com
32. Uttar Pradesh (West)
Escotel
9837
9837012345@escotelmobile.com
Regards
vijay