MP041540 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 MP041540 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!
HELP_PU12 CALL FUNCTION 'HELP_PU12' EXPORTING SWITCH = 'IF' DO_NOT_PROCESS_F4 = 'X' TABLES IF_TAB = IF_TAB EXCEPTIONS OTHERS = 1.
TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING system_client_role = client_role.
APPL_LOG_INIT CALL FUNCTION 'APPL_LOG_INIT' EXPORTING object = prot_obj subobject = sub_obj EXCEPTIONS OTHERS = 0.
APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = prot_head EXCEPTIONS OTHERS = 0.
APPL_LOG_WRITE_MESSAGES CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES' TABLES messages = p_prot_mess EXCEPTIONS object_not_found = 0.
APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' TABLES object_with_lognumber = prot_nr 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.