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

J_3RFDKSLD_INCL SAP ABAP INCLUDE - Include for J_3RFDSLD/J_3RFKSLD







J_3RFDKSLD_INCL 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_3RFDKSLD_INCL 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_3RFDKSLD_INCL. "Basic submit
SUBMIT J_3RFDKSLD_INCL AND RETURN. "Return to original report after report execution complete
SUBMIT J_3RFDKSLD_INCL 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 for J_3RFDSLD/J_3RFKSLD


INCLUDES used within this REPORT J_3RFDKSLD_INCL

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:

BUILD_DEFAULT_YEAR CALL FUNCTION 'BUILD_DEFAULT_YEAR' TABLES xgjahr = .

BUILD_DEFAULT_PERIOD CALL FUNCTION 'BUILD_DEFAULT_PERIOD' TABLES xmonat = b_period.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = g_variant2 EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_tabname_header = gc_tabname_header i_tabname_item = gc_tabname_item IMPORTING e_exit = g_exit es_variant = g_variant2 EXCEPTIONS not_found = 2.

BUILD_DEFAULT_PERIOD CALL FUNCTION 'BUILD_DEFAULT_PERIOD' TABLES xmonat = b_period.

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = ls_docs_index-bukrs IMPORTING e_x001 = ls_x001 EXCEPTIONS currency_2_not_defined = 1 currency_3_not_defined = 2 OTHERS = 3.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = gc_formname_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_special_groups = gt_sp_group[] i_default = space i_save = g_save is_variant = g_variant it_sort = g_save_sort it_filter = g_save_filter it_events = gt_events[] it_event_exit = gt_event_exit i_tabname_header = gc_tabname_header i_tabname_item = gc_tabname_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_header t_outtab_item = gt_detail EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = gc_formname_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_special_groups = gt_sp_group[] it_sort = g_save_sort it_filter = g_save_filter i_default = space i_save = g_save is_variant = g_variant it_events = gt_events[] it_event_exit = gt_event_exit TABLES t_outtab = gt_detail EXCEPTIONS OTHERS = 1.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = er_date foreign_currency = er_waers local_amount = c1_tab-umsav local_currency = bsi_tab-waers type_of_rate = er_kurst IMPORTING foreign_amount = gt_header-wrbtr_bh EXCEPTIONS no_rate_found = 1 overflow = 1.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = er_date foreign_currency = er_waers local_amount = c3_tab-saldv local_currency = bsi_tab-waers type_of_rate = er_kurst IMPORTING foreign_amount = gt_header-wrbtr_bh EXCEPTIONS no_rate_found = 1 overflow = 1.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = er_date foreign_currency = er_waers local_amount = bsi_tab-dmbtr local_currency = bsi_tab-waers type_of_rate = er_kurst IMPORTING foreign_amount = bsi_tab-wrbtr EXCEPTIONS no_rate_found = 1 overflow = 1.

RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = l_repid mode_write_or_move = 'M' IMPORTING p_trange = l_texpr1 EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = pt_events.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = gc_tabname_item i_structure_name = 'J_3RF_DKSLD_ALV_STRUCTURE' CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = g_variant2.

REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' EXPORTING i_dialog = space i_user_specific = l_user_specific i_tabname_header = l_tabname_header i_tabname_item = l_tabname_item it_default_fieldcat = pt_fieldcat i_layout = gs_layout IMPORTING et_fieldcat = pt_fieldcat CHANGING cs_variant = g_variant2 EXCEPTIONS OTHERS = 1.

LT_DBDATA_READ_FROM_LTDX CALL FUNCTION 'LT_DBDATA_READ_FROM_LTDX' EXPORTING is_varkey = ls_varkey TABLES t_dbfieldcat = lt_fieldcat[] EXCEPTIONS not_found = 1 wrong_relid = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_fieldcat = lt_fieldcat[] es_layout = g_save_layout et_sort = g_save_sort et_filter = g_save_filter EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_MAINTAIN





CALL FUNCTION 'REUSE_ALV_VARIANT_MAINTAIN' EXPORTING i_tabname_header = l_tabname_header i_tabname_item = l_tabname_item i_save = g_save is_layout = gs_layout it_special_groups = gt_sp_group CHANGING ct_fieldcat = g_save_fieldcat EXCEPTIONS no_change = 1 OTHERS = 3.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_tabname_header = l_tabname_header i_tabname_item = l_tabname_item IMPORTING e_exit = g_exit es_variant = g_variant2 EXCEPTIONS not_found = 1 OTHERS = 3.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = l_repid TABLES selection_table = lt_seltab EXCEPTIONS not_found = 1 OTHERS = 2.

RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = l_repid mode_write_or_move = 'M' IMPORTING p_trange = lt_texpr1 EXCEPTIONS not_found = 1 OTHERS = 2.

FREE_SELECTIONS_RANGE_2_EX CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' EXPORTING field_ranges = lt_texpr1 IMPORTING expressions = lt_texpr EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'J_3RF_DKSLD_ALV_MONTH_LIST' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = gc_formname_show_details is_layout = gs_layout it_fieldcat = lt_fieldcat i_save = g_save it_events = gt_events[] it_event_exit = lt_event_exit TABLES t_outtab = gt_outtab[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'BSEG' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'J_3RF_DKSLD_ALV_DETAIL_LIST' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = 'SHOW_DOCUMENT' it_fieldcat = lt_fieldcat is_layout = ls_layout i_save = g_save it_sort = g_save_sort it_events = gt_events[] it_event_exit = lt_event_exit TABLES t_outtab = gt_items[] EXCEPTIONS OTHERS = 1.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = is_gl_active EXCEPTIONS OTHERS = 1.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = ls_fagl_bsbw-datum i_bukrs = p_bukrs IMPORTING e_gjahr = bsi_tab-gjahr e_monat = bsi_tab-monat EXCEPTIONS fiscal_year = 1 period = 2 period_version = 3 posting_period = 4 special_period = 5 version = 6 posting_date = 7 OTHERS = 8.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = ls_bsbw-datum i_bukrs = p_bukrs IMPORTING e_gjahr = bsi_tab-gjahr e_monat = bsi_tab-monat EXCEPTIONS fiscal_year = 1 period = 2 period_version = 3 posting_period = 4 special_period = 5 version = 6 posting_date = 7 OTHERS = 8.



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