SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

IBPREP_LOG SAP ABAP INCLUDE - IBPREPLOG







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


INCLUDES used within this REPORT IBPREP_LOG

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:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = c_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = u_log_handle i_s_msg = l_s_msg EXCEPTIONS OTHERS = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'SBPBWBUDGET' * FIELDNAME = ' ' langu = sy-langu * LFIELDNAME = ' ' all_types = 'X' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = l_t_dfies * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = l_t_log_handle IMPORTING e_new_lognumbers = l_t_new_lognumbers EXCEPTIONS OTHERS = 1.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = l_s_log_filter IMPORTING e_t_log_header = l_t_log_header EXCEPTIONS OTHERS = 1.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = l_t_log_header EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_DISPLAY_PROFILE = EXCEPTIONS OTHERS = 1.

BAL_DB_SEARCH * CALL FUNCTION 'BAL_DB_SEARCH' * EXPORTING * i_s_log_filter = l_s_log_filter * IMPORTING * e_t_log_header = l_t_log_header * EXCEPTIONS * OTHERS = 1.

BAL_DB_DELETE * CALL FUNCTION 'BAL_DB_DELETE' * EXPORTING * i_t_logs_to_delete = l_t_log_header * EXCEPTIONS * OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'SBPBWRET_LOG_DETAIL' i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 80 i_screen_end_line = 10 TABLES t_outtab = l_my_message_data EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'SBPBWRET_LOG_DETAIL' i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 80 i_screen_end_line = 10 TABLES t_outtab = l_my_message_data EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'TBPBWRET20' i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 80 i_screen_end_line = 10 TABLES t_outtab = g_my_header_data_ret EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'TBPBWRET30' i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 80 i_screen_end_line = 10 TABLES t_outtab = g_my_header_data_reverse EXCEPTIONS OTHERS = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = u_nr_range object = const_nr_range_object * QUANTITY = '1' * SUBOBJECT = ' ' * TOYEAR = '0000' * IGNORE_BUFFER = ' ' IMPORTING number = e_bwret_docnr * QUANTITY = * RETURNCODE = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7 .



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