RPTREQ_MAIL is a standard ABAP INCLUDE 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 RPTREQ_MAIL 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DOCU_GET_FOR_F1HELP CALL FUNCTION 'DOCU_GET_FOR_F1HELP' EXPORTING id = 'DT' langu = lang object = text * TYP = 'E' * IMPORTING * DOKSTATE = * HEAD = TABLES line = lcl_std_text EXCEPTIONS ret_code = 1 OTHERS = 2.
SO_NEW_DOCUMENT_ATT_SEND_API1 CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' EXPORTING document_data = document_data put_in_outbox = ' ' commit_work = 'X' IMPORTING sent_to_all = sent * NEW_OBJECT_ID = TABLES packing_list = packing_list * object_header = * CONTENTS_BIN = contents_txt = contents * CONTENTS_HEX = * OBJECT_PARA = * OBJECT_PARB = receivers = receivers_max 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.
SAP_WAPI_GET_HEADER CALL FUNCTION 'SAP_WAPI_GET_HEADER' EXPORTING workitem_id = wi_id IMPORTING workitem_attributes = attribs return_code = subrc.
RH_SUBSTITUTES_GET CALL FUNCTION 'RH_SUBSTITUTES_GET' EXPORTING act_plvar = p_actor-plvar act_otype = 'US' act_objid = p_actor-user act_endda = sy-datum TABLES subst_str = subst_str EXCEPTIONS no_substitute_found = 1 OTHERS = 2.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = l_subst_str-otype act_objid = l_subst_str-objid act_wegid = 'SAP_TAGT' TABLES result_tab = agents_tab EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.
RH_GET_SMTP_ADDRESS CALL FUNCTION 'RH_GET_SMTP_ADDRESS' EXPORTING plvar = p_actor-plvar otype = agents_type objid = agents_id IMPORTING smtpadr = smtp.
HR_GET_EMPLOYEES_FROM_USER_DB CALL FUNCTION 'HR_GET_EMPLOYEES_FROM_USER_DB' "Note1222939 EXPORTING "Note1222939 user = l_uname "Note1222939 begda = sy-datum "Note1222939 endda = sy-datum "Note1222939 TABLES "Note1222939 ee_tab = it_employees. "Note1222939
SUSR_USER_ADDRESSKEY_GET CALL FUNCTION 'SUSR_USER_ADDRESSKEY_GET' "Note1222939 EXPORTING "Note1222939 bname = l_uname "Note1222939 IMPORTING "Note1222939 persnumber = l_persnr "Note1222939 addrnumber = l_addrnr "Note1222939 EXCEPTIONS "Note1222939 address_not_found = 1 "Note1222939 OTHERS = 2. "Note1222939
ADDR_PERS_COMP_COMM_GET CALL FUNCTION 'ADDR_PERS_COMP_COMM_GET' "Note1222939 EXPORTING "Note1222939 address_number = l_addrnr "Note1222939 person_number = l_persnr "Note1222939 table_type = 'ADSMTP' "Note1222939 TABLES "Note1222939 comm_table = lt_adsmtp "Note1222939 EXCEPTIONS "Note1222939 parameter_error = 1 "Note1222939 address_not_exist = 2 "Note1222939 internal_error = 4 "Note1222939 OTHERS = 5. "Note1222939
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = pernr infty = '0002' begda = sy-datum endda = sy-datum IMPORTING subrc = return TABLES infty_tab = p0002_tab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.