SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_1AF317_MAIN SAP ABAP INCLUDE - Include J_1AF317_MAIN







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


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


Text pool values


Title: Include J_1AF317_MAIN


INCLUDES used within this REPORT J_1AF317_MAIN

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:

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.



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