Regarding Sending mails from ABAP Program to Mobile Numbers
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 = 'email@example.com'.
i_send-express = c_x.
i_send-rec_type = c_u.
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'
document_data = i_data
document_type = c_raw
put_in_outbox = c_x
sent_to_all = sent
new_object_id = mail_id
object_content = i_text
receivers = i_send
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.
MESSAGE e000(zzsd) WITH text-039.
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.
WITH SELECTION-TABLE seltab
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 = 'firstname.lastname@example.org'.</b>
Thanks in advance.
Thanks & Regards,