IMAPROT1 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 IMAPROT1 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: Log Management (ADO Module)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ERROR_RULE_ACCOUNT_NEW CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' EXPORTING ARBEITSGEBIET = 'X' CHANNEL = 'T' DATEI = PROTNAME MESSAGENUMMER = 'X' NUR_IMPORT = 'X' SEVERITY = 'X' SORTIERT = ' ' PROTNAME_HAS_PATH = 'X' APPEND = ' ' TABLES FEHLER_IMPORT = TAB_SPROT EXCEPTIONS FILE_ERROR = 1 OTHERS = 2.
TR_WRITE_LOG CALL FUNCTION 'TR_WRITE_LOG' EXPORTING IV_LOG_TYPE = 'FILE' IV_LOGNAME_FILE = LC_FILENAME IV_APPEND_MODE = 'X' IV_CONDENSE = ' ' * iv_logname_db = * iv_logname_memory = TABLES IT_MSGS = TAB_SPROT EXCEPTIONS INVALID_INPUT = 1 FILE_ACCESS_ERROR = 2 DB_ACCESS_ERROR = 3 OTHERS = 4.
TR_READ_AND_DISPLAY_LOG CALL FUNCTION 'TR_READ_AND_DISPLAY_LOG' EXPORTING IV_LOG_TYPE = 'FILE' IV_LOGNAME_FILE = PROTNAME.
RERA_CREATE_UNIQUE_PROTNAME CALL FUNCTION 'RERA_CREATE_UNIQUE_PROTNAME' IMPORTING * FILENAME_ONLY = FILENAME_PATH = FILENAME 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.