MAFWCH_FLF04 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 MAFWCH_FLF04 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.
Title: Include MAFWCH_FLF04
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AFWCH_FL_GET_LIST CALL FUNCTION 'AFWCH_FL_GET_LIST' EXPORTING i_fltyp = con_free_select TABLES e_afwch_fl_t = ltab_afwch_fl_tmp[] e_afwch_flt_t = ltab_afwch_flt_tmp[].
AFWCH_FL_DESCR_READ CALL FUNCTION 'AFWCH_FL_DESCR_READ' EXPORTING I_LANGU = sy-langu CHANGING I_AFWCH_FLWA = wrk_afwch_flwa EXCEPTIONS NOT_FOUND = 1 NO_TEXT = 2 OTHERS = 3.
RM_FDEP_GET_FOR_FIELD CALL FUNCTION 'RM_FDEP_GET_FOR_FIELD' EXPORTING i_fieldname = wrk_fields-fieldname IMPORTING e_fdep_t = itab_fdep EXCEPTIONS no_dependencies = 1 OTHERS = 2.
RM_AUTH_CHECK_INIT CALL FUNCTION 'RM_AUTH_CHECK_INIT' EXPORTING i_rptype = '11' EXCEPTIONS OTHERS = 0.
AFWCH_FILTER_FO_DISPLAY CALL FUNCTION 'AFWCH_FILTER_FO_DISPLAY' EXPORTING i_flid = is_afwch_flwa-flid i_rmbid = is_afwch_flwa-rmbid * i_date = i_count_only = i_count_only i_test = is_afwch_flwa-FLAG_OBJ_TESTSL.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_user_command = 'AFWCH_FL_ALV_USR_CMD' i_grid_title = l_title is_layout = ls_layout it_sort = lt_sort it_fieldcat = lt_fcat i_screen_start_column = 20 i_screen_start_line = 2 i_screen_end_column = 80 i_screen_end_line = l_lines TABLES t_outtab = lt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
AFWCH_FL_READ CALL FUNCTION 'AFWCH_FL_READ' EXPORTING i_flid = ls_fl_bk-ref_flid i_variante = ls_fl_bk-testvariante i_disp = con_xon TABLES it_afwch_fld_cx = lt_fld_cx EXCEPTIONS NOT_FOUND = 1 INCONSISTENT = 2 OTHERS = 4.
AFWCH_FL_GET_SELECT CALL FUNCTION 'AFWCH_FL_GET_SELECT' EXPORTING i_flid = ls_fl_bk-flid i_variante = ls_fl_bk-variante i_disp = con_xon IMPORTING * e_frange_t = lt_frange e_trange = lt_trange EXCEPTIONS flid_state_error = 1 not_found = 2 inconsistent = 3 error_unkown = 4 OTHERS = 5.
RM_FCAT_GET_FOR_FIELD CALL FUNCTION 'RM_FCAT_GET_FOR_FIELD' EXPORTING i_fieldname = lwa_frange-fieldname I_DDIC = 'X' * I_APPLC = 'TMR' IMPORTING e_fieldtab_w = wrk_ftab EXCEPTIONS ddic_error = 1 field_not_in_fcat = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'AFWCH_S_FLC' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = lt_fieldcat_dirty EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = l_title it_fieldcat = lt_fieldcat * it_sort = lt_sort is_layout = ls_layout i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 120 i_screen_end_line = l_lin i_callback_program = 'SAPMAFWCH_FL' i_callback_user_command = 'AFWCH_FL_ALV_USR_CMD' TABLES t_outtab = gtab_flout_his EXCEPTIONS program_error = 1 OTHERS = 2.
AFWCH_SEGM_CHAR_FLOW CALL FUNCTION 'AFWCH_SEGM_CHAR_FLOW' EXPORTING i_datastr = p_AFWCH_FLWA-rmbid i_activity = '03' EXCEPTIONS datastr_not_found = 1 datastr_wrong_type = 2 no_authority = 3 segm_char_not_found = 4 canceled_by_user = 5 internal_error = 6 OTHERS = 7.
AFW_TRLOG_SHOW CALL FUNCTION 'AFW_TRLOG_SHOW' EXPORTING i_log_t = lt_log i_title = text-p05 i_subobject = 'BASIC' i_header = 'FLINI' i_text = text-p05 i_save = 'X'. "Save protocol
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.