J_1AF317_MAIN 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 J_1AF317_MAIN 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 J_1AF317_MAIN
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CUSTOMER_READ CALL FUNCTION 'CUSTOMER_READ' EXPORTING i_bukrs = space i_kunnr = bseg-kunnr IMPORTING e_kna1 = kna1.
CUSTOMER_READ CALL FUNCTION 'CUSTOMER_READ' EXPORTING i_bukrs = bseg-bukrs i_kunnr = bseg-kunnr IMPORTING e_kna1 = kna1.
J_1A_EXIT_J_1AF217 * CALL FUNCTION 'J_1A_EXIT_J_1AF217' * TABLES * doctab = doctab.
FAGL_BATCH_HEADING_PERFORM * CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' * EXPORTING * is_bhdgd = bhdgd.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog CHANGING PHYSICAL_FILENAME = S_FILE1 EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING * I_LOG_HANDLE = i_msgty = iv_msgty i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4 .
BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = gs_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_print_options = ls_print_options i_s_list_append = gc_value_x i_s_display_profile = gs_display_profile * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
REUSE_ALV_VARIANT_F4 * CALL FUNCTION 'REUSE_ALV_VARIANT_F4' * EXPORTING * is_variant = gs_variant * i_save = gc_value_x * IMPORTING * es_variant = ls_variant * EXCEPTIONS * not_found = 1 * program_error = 2 * OTHERS = 3.
REUSE_ALV_VARIANT_EXISTENCE * CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' * EXPORTING * i_save = gc_value_x * CHANGING * cs_variant = ls_variant.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'FIKO' language = bkorm-param+78(1) name = text_name object = 'BKORM' TABLES lines = xtline.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lcl_file TABLES data_tab = gt_output EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.