‎2006 Sep 21 10:09 PM
Hello All,
I am using this function module to send mails to the users. When i run the program that uses the function module its working fine and when i run the program in bacground its giving me a short dump saying
-
The termination occurred in the ABAP/4 program "SAPLZMAIL " in
"SEND_MAIL".
The main program was "ZMDI0090 ".
The termination occurred in line 53
of the source code of program "LZMAILS01 " (when calling the editor 530).
The program "SAPLZMAIL " was started as a background job.
-
This function module is used internally by another function module in my program..
Please suggest or clarify me wat is that i have to do to avoid this error..
Thank You,
Suresh
‎2006 Sep 21 10:15 PM
‎2006 Sep 21 10:23 PM
CALL FUNCTION 'Z_TABLE_ERR_RTN'
EXPORTING
Z_PGM = z_jobname "Jobname for Tivoli
Z_FLG1 = p_o_tpm "TPM for Table Owner
Z_FLG2 = p_o_eml "Email for Table Owner
Z_FLG3 = p_i_eml "Email Interface Owner
Z_SVRITY = p_o_svr "TPM Severity
IMPORTING
Z_RETCODE = z_g_subrc
Z_ERRMSG = z_g_submsg
TABLES
a00_CONTENTS = a01_err_itab"Error Table
a00_EMAILS = s_email. "Email recipients
The function module internally calls SO_OBJECT_SEND.