SAP Reports / Programs | Financials | Financial Supply Chain Management | FSCM In-House Cash(FIN-FSCM-IHC) SAP FIN

IHC_COMPARE_BANK_STATEMENTS SAP ABAP Report - Compare Bank Statements







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


Text pool values


Selection Text: P_BCA = BCA Statement Items w/o IDoc
Selection Text: P_BS_OK = Also Display Correct Items
Selection Text: P_IDOC = IDoc w/o BCA Statement Items
Selection Text: S_ACEXT = D .
Selection Text: S_ASTNO = D .
Selection Text: S_AYEAR = D .
Selection Text: S_BKKRS = D .
Title: Compare Bank Statements
Text Symbol: 001 = Messages
Text Symbol: B01 = Selection Criteria
Text Symbol: B02 = Display Params


INCLUDES used within this REPORT IHC_COMPARE_BANK_STATEMENTS

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:

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = lw_statement-key-acnum_ext IMPORTING output = lw_statement-key-acnum_ext.

BKK_ACCNT_STAT_GET_HEAD_ITEMS CALL FUNCTION 'BKK_ACCNT_STAT_GET_HEAD_ITEMS' EXPORTING i_bkkrs = us_key-bkkrs i_acnum_int = us_key-acnum_int i_bkstatyear = us_key-accst_year i_bkstatno = us_key-accstatno IMPORTING e_tab_items = lt_items e_rc = l_rc.

BKK_BKKRS_GET_BANKKEY CALL FUNCTION 'BKK_BKKRS_GET_BANKKEY' EXPORTING i_bkkrs = us_key-bkkrs i_acnum_ext = us_key-acnum_ext IMPORTING e_rc = l_rc e_bankl = l_bank_key e_banks = l_bank_country.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = lw_item-ref_acext IMPORTING output = lw_converted-account.

BKK_ACCNT_STAT_CONV_EXT_AMOUNT CALL FUNCTION 'BKK_ACCNT_STAT_CONV_EXT_AMOUNT' IMPORTING e_rc = l_rc CHANGING c_amount = lw_item-a_amount.

CURRENCY_AMOUNT_SAP_TO_IDOC CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_IDOC' EXPORTING currency = lw_item-acur sap_amount = lw_item-a_amount IMPORTING idoc_amount = lw_converted-posted-amount.

BKK_ACCNT_STAT_CONV_EXT_AMOUNT CALL FUNCTION 'BKK_ACCNT_STAT_CONV_EXT_AMOUNT' IMPORTING e_rc = l_rc CHANGING c_amount = lw_item-t_amount.

CURRENCY_AMOUNT_SAP_TO_IDOC CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_IDOC' EXPORTING currency = lw_item-tcur sap_amount = lw_item-t_amount IMPORTING idoc_amount = lw_converted-original-amount.

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING sap_code = l_sap_currency IMPORTING iso_code = lw_converted-posted-currency EXCEPTIONS not_found = 1 OTHERS = 2.

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING sap_code = l_sap_currency IMPORTING iso_code = lw_converted-original-currency EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_catalog it_excluding = lt_excluding it_sort = lt_sort i_save = 'X' TABLES t_outtab = lt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = u_text titel = u_title IMPORTING answer = l_answer.

SMPO_DISPLAY_MESSAGES CALL FUNCTION 'SMPO_DISPLAY_MESSAGES' EXPORTING titlebar = 'Meldungen'(001) TABLES messages = lt_messages.



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