/SAPAPO/OM11_MAIL 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 /SAPAPO/OM11_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.
Selection Text: P_DUR = Selection Duration
Selection Text: P_EMAIL = Email
Title: Mail from Logging Log
Text Symbol: 001 = Time
Text Symbol: 002 = Event
Text Symbol: 003 = Cl.
Text Symbol: 004 = Message Text
Text Symbol: 005 = Errors or warnings in log on
Text Symbol: 006 = in
Text Symbol: 007 = Error when sending mails
Text Symbol: 008 = Mail sent to
Text Symbol: 009 = No error or warning found
Text Symbol: 010 = Enter a duration > 0
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SO_NEW_DOCUMENT_SEND_API1 CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1' EXPORTING document_data = gs_doc_chng TABLES object_content = gt_objtxt receivers = gt_reclist EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.