SAP Reports / Programs | Financial Accounting | Accounts Payable | Payment Transactions(FI-AP-AP-PT) SAP FI

RFZ30FOR SAP ABAP INCLUDE - documentation and ABAP source code







RFZ30FOR 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 RFZ30FOR 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 RFZ30FOR. "Basic submit
SUBMIT RFZ30FOR AND RETURN. "Return to original report after report execution complete
SUBMIT RFZ30FOR 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 RFZ30FOR

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:

CORRESPONDENCE_DATA_BUSAB CALL FUNCTION 'CORRESPONDENCE_DATA_BUSAB' EXPORTING i_bukrs = gt_header_main-zbukr i_busab = gt_header_main-busab i_langu = sy-langu IMPORTING e_t001s = ls_t001s e_fsabe = ls_fsabe EXCEPTIONS busab_not_found = 1 OTHERS = 2.

CORRESPONDENCE_DATA_BUSAB CALL FUNCTION 'CORRESPONDENCE_DATA_BUSAB' EXPORTING i_bukrs = gt_header_main-zbukr i_busab = gt_header_main-busab i_langu = sy-langu IMPORTING e_t001s = ls_t001s e_fsabe = ls_fsabe EXCEPTIONS busab_not_found = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_sort = gt_sort_main[] EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-057 IMPORTING answer = gc_answer.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = p_variant i_save = p_save i_tabname_header = p_header i_tabname_item = p_item IMPORTING e_exit = lc_exit es_variant = l_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = p_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'ADDR_DEFAULT_SENDER_COUNTRY' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

ADDR_DEFAULT_SENDER_COUNTRY CALL FUNCTION 'ADDR_DEFAULT_SENDER_COUNTRY' "#EC EXISTS IMPORTING ev_sender_country = st_sender_country.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING adrswa_in = adrs IMPORTING adrswa_out = adrs.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = reguh-adrnr number_of_lines = lp_madrz sender_country = st_sender_country language_for_country_name = st_sender_language " note 1337633 receiver_language = st_lit_language " note 1337633 IMPORTING address_printform = l_add_print address_short_form = l_add_short_form address_data_carrier = l_add_data_carrier address_data_carrier_0 = l_add_data_carrier_0 number_of_used_lines = adrs-anzzl.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING adrswa_in = adrs IMPORTING adrswa_out = adrs.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = reguh-zadnr number_of_lines = lp_madrz sender_country = st_sender_country language_for_country_name = st_sender_language " note 1337633 receiver_language = st_lit_language " note 1337633 IMPORTING address_printform = l_add_print address_short_form = l_add_short_form address_data_carrier = l_add_data_carrier address_data_carrier_0 = l_add_data_carrier_0 number_of_used_lines = adrs-anzzl.

CONVERT_BANK_ACCOUNT_NUMBER CALL FUNCTION 'CONVERT_BANK_ACCOUNT_NUMBER' EXPORTING i_banks = gt_header_main-zbnks i_bankk = gt_header_main-zbnky i_bankn = gt_header_main-zbnkn i_bkont = gt_header_main-zbkon i_bkref = gt_header_main-bkref i_bankl = gt_header_main-zbnkl IMPORTING e_bankn_long = lc_bankn e_subrc = lc_subrc.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = bnka-adrnr number_of_lines = l_madrz sender_country = st_sender_country language_for_country_name = st_sender_language receiver_language = st_lit_language IMPORTING address_printform = l_add_print address_short_form = l_add_short_form address_data_carrier = l_add_data_carrier address_data_carrier_0 = l_add_data_carrier_0 number_of_used_lines = adrs-anzzl.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = g_user_command is_layout = gs_layout_main it_fieldcat = gt_fieldcat_main[] it_sort = gt_sort_main[] i_save = g_save is_variant = g_variant_main it_events = gt_events it_event_exit = gt_event_exit[] i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo_main is_print = gs_print it_excluding = gt_extab[] TABLES t_outtab_header = gt_header_main t_outtab_item = gt_item_main.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout_append it_fieldcat = gt_fieldcat_poken it_events = gt_events_leg is_print = gs_print TABLES t_outtab = gt_output_main-poken.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout_append it_fieldcat = p_fieldcat it_event_exit = gt_event_exit[] it_sort = p_sort i_save = g_save is_variant = p_variant it_events = gt_events_leg is_print = gs_print it_excluding = gt_extab[] "// HW 0369220 TABLES t_outtab = p_outtab.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_sort = gt_sort_main[] EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_SET





CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING it_sort = gt_sort_main[].

FI_PYF_AUTHORITY_OUTPUT CALL FUNCTION 'FI_PYF_AUTHORITY_OUTPUT' TABLES t_fimsg = lt_fimsg t_err_auth = gt_err_auth.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_fieldcat = lt_fieldcat.

FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING i_bukrs = gt_item_main-bukrs i_type = ls_regupw-witht i_wt_withcd = ls_regupw-wt_withcd TABLES t_t059z = lt_t059z EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059U CALL FUNCTION 'FI_WT_READ_T059U' EXPORTING i_bukrs = gt_item_main-bukrs i_type = ls_regupw-witht TABLES t_t059u = lt_t059u EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERT_BANK_ACCOUNT_NUMBER CALL FUNCTION 'CONVERT_BANK_ACCOUNT_NUMBER' EXPORTING i_banks = p_kbank-bnks1 i_bankk = p_kbank-bnkl1 i_bankn = p_kbank-bnkn1 i_bkont = p_kbank-bkon1 i_bkref = p_kbank-bkrf1 i_bankl = p_kbank-bnkl1 IMPORTING e_bankn_long = p_kbank-bnkn1_long e_bkont = p_kbank-bkon1_upd e_bkref = p_kbank-bkrf1_upd e_subrc = g_subrc.



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