MESCR_MAIL_SEND is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MESCR_MAIL_SEND into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Sending an Internet mail
INCLUDE MESCR_MAIL_SENDTOP . "
INCLUDE MESCR_MAIL_SEND_F01.
No SAP DATABASE tables are accessed within this REPORT code!
T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' t001w_werks = l_plant IMPORTING wt001w = gs_plant EXCEPTIONS not_found = 0 OTHERS = 0 .
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt ** ID = TXTID_BEWEG id = ls_header-tdid language = nast-spras name = ls_header-tdname object = ls_header-tdobject ** OBJECT = TDOBJECT IMPORTING header = ls_header TABLES lines = tlines EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06 wrong_access_to_archive = 07.
NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = syst-msgid msg_nr = syst-msgno msg_ty = syst-msgty msg_v1 = syst-msgv1 msg_v2 = syst-msgv2 msg_v3 = syst-msgv3 msg_v4 = syst-msgv4 EXCEPTIONS OTHERS = 0.
TEXT_SYMBOL_REPLACE CALL FUNCTION 'TEXT_SYMBOL_REPLACE' EXPORTING endline = l_lines header = ls_header * INIT = ' ' * OPTION_DIALOG = ' ' program = l_repid * REPLACE_PROGRAM = 'X' * REPLACE_STANDARD = 'X' * REPLACE_SYSTEM = 'X' * REPLACE_TEXT = 'X' * STARTLINE = 1 * IMPORTING * CHANGED = * NEWHEADER = TABLES lines = tlines .
SO_OBJECT_SEND CALL FUNCTION 'SO_OBJECT_SEND' EXPORTING folder_id = x_folder_id forwarder = x_forwarder object_fl_change = x_object_fl_change object_hd_change = x_object_hd_change object_id = x_object_id object_type = x_object_type outbox_flag = x_outbox_flag owner = x_owner store_flag = x_store_flag IMPORTING object_id_new = x_object_id_new sent_to_all = x_sent_to_all TABLES objcont = x_objcont objhead = x_objhead objpara = x_objpara objparb = x_objparb receivers = x_receivers EXCEPTIONS active_user_not_exist = 1 component_not_available = 2 folder_no_authorization = 3 folder_not_exist = 4 forwarder_not_exist = 5 object_no_authorization = 6 object_not_exist = 7 object_not_sent = 8 object_type_not_exist = 9 operation_no_authorization = 10 owner_not_exist = 11 parameter_error = 12 substitute_not_active = 13 substitute_not_defined = 14 user_not_exist = 15.
SO_DEQUEUE_UPDATE_LOCKS CALL FUNCTION 'SO_DEQUEUE_UPDATE_LOCKS' EXCEPTIONS OTHERS = 0.
NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = syst-msgid msg_nr = syst-msgno msg_ty = syst-msgty msg_v1 = syst-msgv1 msg_v2 = syst-msgv2 msg_v3 = syst-msgv3 msg_v4 = syst-msgv4 EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MESCR_MAIL_SEND - Sending an Internet mail MESCR_MAIL_SEND - Sending an Internet mail MERGE_APPL_CUST_MYOBJ_FOR_CATS - Merge TMYOBJ_CATS_CUST + TMYOBJ_CATS_TMPL as per TMYOBJ_CATS_APPL MERGE_APPL_CUST_MYOBJ_FOR_CATS - Merge TMYOBJ_CATS_CUST + TMYOBJ_CATS_TMPL as per TMYOBJ_CATS_APPL MEREP_UCOPY_SOURCE_GEN - Source system function module generator MEREP_UCOPY_SOURCE_GEN - Source system function module generator