‎2008 Apr 19 11:21 AM
Hi,
Please help me in finding a FM that will allow me to send emails to users if a field in the internal table is blank.
Please suggest.
Thanks.
‎2008 Apr 19 11:25 AM
hi dolly,
below is the link of function modules...
in that link... check for function module to send email...[Link for function modules..|http://www.sap-img.com/abap-function.htm]
Reward if helpful..
regards,
Brijesh
‎2008 Apr 19 11:25 AM
hi dolly,
below is the link of function modules...
in that link... check for function module to send email...[Link for function modules..|http://www.sap-img.com/abap-function.htm]
Reward if helpful..
regards,
Brijesh
‎2008 Apr 19 11:26 AM
Hi
Use this
call function 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = doc_data " Subject
document_type = 'RAW'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
object_header = obj_head " Header
object_content = obj_con[] " Body of mail
receivers = rec " reciver
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.
rgds
Arun
‎2008 Apr 19 11:28 AM
Hi,
first u need to write logic to check the internal table field is blank or not.
if the field is blank u need to trigger the function module.
try this to send the mails
ISR_FI_SEND_EMAIL
ISR_FI_SEND_EMAIL_NEW_USER
SO_NEW_DOCUMENT_SEND_API1
SO_OBJECT_SEND
reward if helpful
raam