RFMAHN20 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 RFMAHN20 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.
Selection Text: P_LIFNR = Vendor
Selection Text: P_KUNNR = Customer
Selection Text: P_KOART = Account type
Selection Text: P_BUKRS = Company code
Title: FI Dunning - Dunning History
Text Symbol: 053 = Local currency
Text Symbol: 052 = Acct type
Text Symbol: 051 = Comp. code
Text Symbol: 050 = Account
Text Symbol: 042 = Ind: Items printed
Text Symbol: 041 = Ind: Dunn.notice printed
Text Symbol: 040 = Dunn.history
Text Symbol: 039 = End of the list
Text Symbol: 001 = Accrual
INCLUDE RFMAHNXXTOP.
INCLUDE RFMAHNXXFORM.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = h_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = h_repid i_callback_pf_status_set = h_set_pf_status i_callback_user_command = h_user_command is_layout = h_layout it_fieldcat = t_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * it_sort = t_sort[] * IT_FILTER = * IS_SEL_HIDE = *-- i_screen_start_column = 5 *-- i_screen_start_line = 5 *-- i_screen_end_column = 80 *-- i_screen_end_line = 25 i_default = 'X' i_save = 'A' is_variant = h_variant it_events = t_events[] * IT_EVENT_EXIT = i_tabname_header = h_tabname_header i_tabname_item = h_tabname_item * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = h_keyinfo * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab_header = t_mhnk_acc t_outtab_item = t_mhnk_ext EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = h_repid i_internal_tabname = i_item i_structure_name = 'MHNK' i_client_never_display = 'X' * i_inclname = 'RFMAHNXXTOP' CHANGING ct_fieldcat = ti_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
FI_ADD_AUTHORITY_CHECK CALL FUNCTION 'FI_ADD_AUTHORITY_CHECK' * EXPORTING * I_BUKRS = IMPORTING * E_XBLAR = E_XGSBE = ld_GSBERcheck_active.
EDIT_DUNNING_DATA CALL FUNCTION 'EDIT_DUNNING_DATA' EXPORTING i_mhnk = th_mhnk i_xdisplay = 'X' TABLES t_mhnd = th_mhnd t_mhnk = th_mhnk EXCEPTIONS OTHERS = 1.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = t_event[] EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.