FAGL_DR_PROVISION_CLASS_IMP 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 FAGL_DR_PROVISION_CLASS_IMP 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!
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' IMPORTING e_exit = l_exit es_variant = l_variant_help EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gc_repid i_internal_tabname = gc_tabname1 i_structure_name = gc_structure1 CHANGING ct_fieldcat = gt_fieldcat_receivables EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gc_repid i_internal_tabname = gc_tabname2 i_structure_name = gc_structure2 CHANGING ct_fieldcat = gt_fieldcat_receivables EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gc_repid i_structure_name = gc_structure2 CHANGING ct_fieldcat = gt_fieldcat_totals EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gc_repid i_structure_name = gc_structure3 CHANGING ct_fieldcat = gt_fieldcat_postings EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gc_repid i_structure_name = gc_structure2 CHANGING ct_fieldcat = gt_fieldcat_err_bseg EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
CALCULATE_TAX_FROM_GROSSAMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_GROSSAMOUNT' EXPORTING i_bukrs = iv_bukrs i_mwskz = iv_mwskz i_waers = iv_waers i_wrbtr = iv_wrbtr IMPORTING e_fwste = mwsts EXCEPTIONS OTHERS = 5.
FI_SPLIT_ACTIVATION CALL FUNCTION 'FI_SPLIT_ACTIVATION' EXPORTING id_cocd = iv_bukrs IMPORTING ed_active = rv_split_active.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gc_repid i_callback_pf_status_set = gc_set_pf_status i_callback_user_command = gc_handle_event_user_command it_fieldcat = lt_fieldcat_receivables is_layout = ls_layout it_events = lt_events is_variant = ls_variant i_tabname_header = gc_tabname1 i_tabname_item = gc_tabname2 is_keyinfo = ls_keyinfo i_save = 'A' TABLES t_outtab_header = lt_header[] t_outtab_item = lt_item[].
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gc_repid it_fieldcat = lt_fieldcat_totals is_variant = ls_variant it_sort = lt_sort it_events = lt_events is_layout = ls_layout i_save = 'A' TABLES t_outtab = lt_totals EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gc_repid it_fieldcat = lt_fieldcat_postings is_variant = ls_variant it_events = lt_events is_layout = ls_layout i_save = 'A' TABLES t_outtab = lt_postings EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gc_repid it_fieldcat = lt_fieldcat_err_bseg is_variant = ls_variant it_events = lt_events is_layout = ls_layout i_save = 'A' TABLES t_outtab = lt_err_bseg EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' "#EC * EXPORTING i_list_type = 0 IMPORTING et_events = et_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = ls_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = ls_display_profile.
BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = abap_true i_s_display_profile = ls_display_profile i_t_log_handle = it_log_handle.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile i_t_log_handle = it_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
CALL FUNCTION 'FAGL_AUTH_POST_CHECK' EXPORTING i_bukrs = is_bsid_tab-bukrs i_blart = iv_blart i_ldgrp = ls_tacc_trgt_ldgr-ldgrp_gl EXCEPTIONS no_authority_bukrs = 1 no_authority_blart = 2 no_authority_ldgrp = 3 OTHERS = 4.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = is_bsid_tab-bukrs * I_LAND1 = ' ' * I_RCOMP = ' ' i_ldgrp = ls_tacc_trgt_ldgr-ldgrp_gl IMPORTING e_x001 = ls_x001 EXCEPTIONS * CURRENCY_2_NOT_DEFINED = 1 * CURRENCY_3_NOT_DEFINED = 2 OTHERS = 3.
FAGL_GET_REPRESENTATIVE_LEDGER CALL FUNCTION 'FAGL_GET_REPRESENTATIVE_LEDGER' "n1487548 EXPORTING "n1487548 i_ldgrp = ls_tacc_trgt_ldgr-ldgrp_gl "n1487548 i_bukrs = is_bsid_tab-bukrs "n1487548 IMPORTING "n1487548 e_rldnr = lv_rldnr_aworg "n1487548 EXCEPTIONS "n1487548 error_message = 0 "n1487548 OTHERS = 0. "n1487548
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = iv_budat i_bukrs = is_bsid_tab-bukrs i_rldnr = lv_rldnr_aworg "n1487548 IMPORTING e_gjahr = lv_gjahr e_monat = lv_monat EXCEPTIONS OTHERS = 4.
FI_SPLIT_FROM_ITEM CALL FUNCTION 'FI_SPLIT_FROM_ITEM' EXPORTING is_item = ls_spl_item * ID_LEDGER = ' ' IMPORTING et_spldoc = lt_spl_doc EXCEPTIONS * INTERNAL_ERROR = 1 OTHERS = 2.
FI_SPLIT_MOVE_TO_ACCIT CALL FUNCTION 'FI_SPLIT_MOVE_TO_ACCIT' EXPORTING company_code = s_accit-bukrs id_budat = s_accit-budat add_acct_ass = ls_spl_item-addaa id_hkont = s_accit-hkont CHANGING cs_accit = s_accit EXCEPTIONS internal_error = 1 OTHERS = 2.
FAGL_AUTH_CHECK CALL FUNCTION 'FAGL_AUTH_CHECK' EXPORTING buzei = l_buzei i_cobl = ls_cobl EXCEPTIONS no_authority_business_area = 1 no_authority_profit_center = 2 no_authority_segment = 3 OTHERS = 4.
FI_SPLIT_FROM_ITEM CALL FUNCTION 'FI_SPLIT_FROM_ITEM' EXPORTING is_item = ls_spl_item * ID_LEDGER = ' ' IMPORTING et_spldoc = lt_spl_doc EXCEPTIONS * INTERNAL_ERROR = 1 OTHERS = 2.
FI_SPLIT_MOVE_TO_ACCIT CALL FUNCTION 'FI_SPLIT_MOVE_TO_ACCIT' EXPORTING company_code = s_accit-bukrs id_budat = s_accit-budat add_acct_ass = ls_spl_item-addaa id_hkont = s_accit-hkont CHANGING cs_accit = s_accit EXCEPTIONS internal_error = 1 OTHERS = 2.
FAGL_AUTH_CHECK CALL FUNCTION 'FAGL_AUTH_CHECK' EXPORTING buzei = l_buzei i_cobl = ls_cobl EXCEPTIONS no_authority_business_area = 1 no_authority_profit_center = 2 no_authority_segment = 3 OTHERS = 4.
AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' EXPORTING i_free_table = ' ' TABLES t_acchd = t_acchd t_accit = t_accit t_acccr = t_acccr EXCEPTIONS error_message = 1.
FAGL_GET_REPRESENTATIVE_LEDGER CALL FUNCTION 'FAGL_GET_REPRESENTATIVE_LEDGER' EXPORTING i_ldgrp = s_acchd-ldgrp i_bukrs = is_bsid_tab-bukrs IMPORTING e_rldnr = lv_rldnr EXCEPTIONS error_message = 0 OTHERS = 0.
FAGL_GET_NUMBER_RANGE_FOR_PN CALL FUNCTION 'FAGL_GET_NUMBER_RANGE_FOR_PN' EXPORTING i_rldnr = lv_rldnr i_blart = s_accit-blart IMPORTING es_t003 = ls_t003 EXCEPTIONS not_found = 1 OTHERS = 2.
NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING nr_range_nr = lv_numkr object = 'RF_BELEG' subobject = s_accit-bukrs toyear = s_accit-gjahr IMPORTING interval = nriv.
RF_GET_DOCUMENT_NUMBER CALL FUNCTION 'RF_GET_DOCUMENT_NUMBER' EXPORTING company = s_accit-bukrs range = lv_numkr year = s_accit-gjahr IMPORTING document_number = lv_belnr.
AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING i_awtyp = s_acchd-awtyp i_awref = s_acchd-awref i_aworg = s_acchd-aworg i_awsys = s_acchd-awsys EXCEPTIONS error_message = 1.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = iv_log_handle i_msgty = 'E' i_probclass = '4' i_text = iv_free_text.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = l_repid TABLES selection_table = lt_rsparams EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.
KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail ls_witem = ls_witem IMPORTING ls_key = gv_key_static TABLES lt_selkrit = lt_select lt_param = lt_param.
KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = gv_key_static ls_scma_event = ls_scma_event CHANGING ld_aplstat = lv_aplstat EXCEPTIONS no_id_given = 1 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.
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 FAGL_DR_PROVISION_CLASS_IMP or its description.
FAGL_DR_PROVISION_CLASS_IMP - FAGLDRPROVISIONCLASSIMP FAGL_DR_PROVISION_CLASS_DEF - FAGLDRPROVISIONCLASSDEF FAGL_DR_PROVISION - Provisions for Doubtful Receivables FAGL_DR_PROVISION - Provisions for Doubtful Receivables FAGL_DELETE_WRONG_LEDGER - Delete Inconsistent Ledgers FAGL_DELETE_WRONG_LEDGER - Delete Inconsistent Ledgers