Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SO_OBJECT_SEND Function Module

Former Member
0 Likes
421

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

2 REPLIES 2
Read only

Former Member
0 Likes
374

Hi

You should show us the your code

Max

Read only

0 Likes
374

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.