SAP Reports / Programs | Training and Event Management(PE) SAP PE

RHMAIL10 SAP ABAP Report - Submit Report for MAIL Processing







RHMAIL10 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 RHMAIL10 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RHMAIL10. "Basic submit
SUBMIT RHMAIL10 AND RETURN. "Return to original report after report execution complete
SUBMIT RHMAIL10 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Submit Report for MAIL Processing


INCLUDES used within this REPORT RHMAIL10

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRTEM_CORR_NOTIF_REQ' IMPORTING is_implemented = is_implemented CHANGING instance = badi_instance.

SO_NEW_DOCUMENT_SEND_API1 CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1' DESTINATION iv_rfcdes EXPORTING document_data = is_doc_param document_type = ic_doctype put_in_outbox = ic_outbox_flag commit_work = 'X' "LAK749211 IMPORTING sent_to_all = iv_sent_to_all new_object_id = iv_objid TABLES object_content = it_content object_para = it_para object_parb = it_parb receivers = it_recv 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 communication_failure = 8 system_failure = 9 OTHERS = 10.

DB_COMMIT * CALL FUNCTION 'DB_COMMIT'. "XEY606516



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RHMAIL10 or its description.