ISU_FLEXBRE_LOG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for BRE: Complete log of parallel BRE run using transaction FLEXLOG It is now possible to call a summarized log of all individual runs using the transaction
If you would like to execute this report or see the full code listing simply enter ISU_FLEXBRE_LOG into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FLEXLOG - Total Log of Parallel BRE Run
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: RUNID = Run ID ParlBRE
Title: Total Log Parallel BRE Run
Text Symbol: 003 = Run ID ParlBRE
Text Symbol: 010 = Parallel BRE Run With
INCLUDE IBRECONST.
INCLUDE REAPROT02DAT.
INCLUDE MEAMAC00.
INCLUDE IBRRCOMTEX.
No SAP DATABASE tables are accessed within this REPORT code!
APPL_LOG_WRITE_MESSAGE_PARAMS CALL FUNCTION 'APPL_LOG_WRITE_MESSAGE_PARAMS' EXPORTING OBJECT = PWA_HEADER-OBJECT SUBOBJECT = PWA_HEADER-SUBOBJECT MESSAGE = L_MESSAGE UPDATE_OR_INSERT = 'I' TABLES PARAMETERS = PIT_MESSAGE_PARAMS_I EXCEPTIONS OBJECT_NOT_FOUND = 1 SUBOBJECT_NOT_FOUND = 2 NO_TEXT_AND_NO_USEREXIT = 3 OTHERS = 4.
APPL_LOG_WRITE_MESSAGES CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES' EXPORTING OBJECT = PWA_HEADER-OBJECT SUBOBJECT = PWA_HEADER-SUBOBJECT UPDATE_OR_INSERT = 'I' TABLES MESSAGES = LIT_MESSAGES EXCEPTIONS OBJECT_NOT_FOUND = 1 SUBOBJECT_NOT_FOUND = 2 OTHERS = 3.
ISU_DB_PROC_BRE_SELECT CALL FUNCTION 'ISU_DB_PROC_BRE_SELECT' EXPORTING X_RUNID = X_RUNID TABLES YT_PROC_BRE = PIT_PROC_BRE EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.
APPL_LOG_READ_DB_WITH_LOGNO CALL FUNCTION 'APPL_LOG_READ_DB_WITH_LOGNO' TABLES LOGNUMBERS = PIT_LOGNR HEADER_DATA = PIT_HEADER_DATA HEADER_PARAMETERS = PIT_HEADER_PAR MESSAGES = PIT_MESSAGES MESSAGE_PARAMETERS = PIT_MESSAGE_PARAMS.
APPL_LOG_INIT CALL FUNCTION 'APPL_LOG_INIT' EXPORTING OBJECT = LWA_HEADER_DATA-OBJECT SUBOBJECT = LWA_HEADER_DATA-SUBOBJECT EXCEPTIONS OBJECT_NOT_FOUND = 1 SUBOBJECT_NOT_FOUND = 2 OTHERS = 3.
APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING HEADER = L_ACT_HEADER EXCEPTIONS OBJECT_NOT_FOUND = 1 SUBOBJECT_NOT_FOUND = 2 OTHERS = 3.
APPL_LOG_WRITE_LOG_PARAMETERS CALL FUNCTION 'APPL_LOG_WRITE_LOG_PARAMETERS' TABLES PARAMETERS = LIT_HEADER_PAR.
APPL_LOG_DISPLAY_INTERN CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' EXPORTING OBJECT = P_LOG_OBJECT TITLE_LIST_SCREEN = P_TITLE EXTERNAL_NUMBER_DISPLAY_LENGTH = 0 EXCEPTIONS OBJECT_NOT_FOUND = 1 SUBOBJECT_NOT_FOUND = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.