SAP Reports / Programs | Real Estate Management(RE) SAP RE

IMAPROT1 SAP ABAP INCLUDE - Log Management (ADO Module)







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


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 IMAPROT1. "Basic submit
SUBMIT IMAPROT1 AND RETURN. "Return to original report after report execution complete
SUBMIT IMAPROT1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Log Management (ADO Module)


INCLUDES used within this REPORT IMAPROT1

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:

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.



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 IMAPROT1 or its description.