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

J_3RCALF00 SAP ABAP INCLUDE - Include J_3RCALF00







J_3RCALF00 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_3RCALF00 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_3RCALF00. "Basic submit
SUBMIT J_3RCALF00 AND RETURN. "Return to original report after report execution complete
SUBMIT J_3RCALF00 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_3RCALF00


INCLUDES used within this REPORT J_3RCALF00

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:

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = l_calltype i_group = pb_name i_keep = l_keep i_mode = l_mode i_user = user i_xbdcc = xbdcc EXCEPTIONS OTHERS = 4.

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING DATE = l_date FOREIGN_CURRENCY = bkpf-waers LOCAL_CURRENCY = t001-waers * TYPE_OF_RATE = 'M' IMPORTING EXCHANGE_RATE = selpos-kursc EXCEPTIONS NO_RATE_FOUND = 1 NO_FACTORS_FOUND = 2 NO_SPREAD_FOUND = 3 DERIVED_2_TIMES = 4 OVERFLOW = 5 OTHERS = 6.

CALCULATE_EXCHANGE_RATE CALL FUNCTION 'CALCULATE_EXCHANGE_RATE' EXPORTING date = l_date foreign_amount = bseg-wrbtr foreign_currency = bkpf-waers local_amount = bseg-dmbtr local_currency = t001-waers * type_of_rate = 'M' IMPORTING exchange_rate = selpos-kursr EXCEPTIONS no_rate_computable = 1 no_rate_found = 2 rate_too_big = 3 no_factors_found = 4 no_spread_found = 5 derived_2_times = 6 OTHERS = 7.

CALCULATE_EXCHANGE_RATE *CALL FUNCTION 'CALCULATE_EXCHANGE_RATE' * EXPORTING * date = l_date * foreign_amount = bseg-wrbtr * foreign_currency = bkpf-waers * local_amount = bseg-dmbtr * local_currency = t001-waers * type_of_rate = 'M' * IMPORTING ** course rate from system table * exchange_rate = selpos-kursc ** FOREIGN_FACTOR = ** LOCAL_FACTOR = ** DERIVED_RATE_TYPE = ** FIXED_RATE = * EXCEPTIONS * no_rate_computable = 1 * no_rate_found = 2 * rate_too_big = 3 * no_factors_found = 4 * no_spread_found = 5 * derived_2_times = 6 * OTHERS = 7.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = selpos-budat foreign_currency = inv_waer-low local_amount = selpos-dmbtr local_currency = t001-waers type_of_rate = 'M ' * in according with rate amount IMPORTING foreign_amount = selpos-clrng EXCEPTIONS no_rate_found = 1 overflow = 1.

READ_DOCUMENT_HEADER CALL FUNCTION 'READ_DOCUMENT_HEADER' EXPORTING belnr = selpos-rebzg bukrs = selpos-bukrs gjahr = selpos-rebzj IMPORTING e_bkpf = l_bkpf EXCEPTIONS exit = 1 not_found = 2 archive_cancel = 3 OTHERS = 4.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = -budat FOREIGN_CURRENCY = transfkurs-WAERS LOCAL_AMOUNT = -DMBTR LOCAL_CURRENCY = -HWAER RATE = transfkurs-KURSF IMPORTING FOREIGN_AMOUNT = -clrng.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = -budat FOREIGN_CURRENCY = TRANSFKURS-WAERS LOCAL_AMOUNT = -DMBTR LOCAL_CURRENCY = -HWAER RATE = transfkurs-KURSF IMPORTING FOREIGN_AMOUNT = -clrng.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = gc_tcode_fb05 * POST_LOCAL = NOVBLOCAL * PRINTING = NOPRINT TABLES dynprotab = l_bdc_tab EXCEPTIONS internal_error = 1 not_open = 2 queue_error = 3 tcode_invalid = 4 printing_invalid = 5 posting_invalid = 6 OTHERS = 7.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = gc_tcode_fb05 * POST_LOCAL = NOVBLOCAL * PRINTING = NOPRINT TABLES dynprotab = bdc_tab EXCEPTIONS internal_error = 1 not_open = 2 queue_error = 3 tcode_invalid = 4 printing_invalid = 5 posting_invalid = 6 OTHERS = 7.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = gc_tcode_fb05 EXCEPTIONS ok = 0 not_ok = 1.

CONVERSION_EXIT_ISOLA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = sy-langu IMPORTING output = l_laiso .

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = g_repid TABLES selection_table = seltab EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = g_repid mode_write_or_move = ' ' IMPORTING p_trange = l_trange EXCEPTIONS not_found = 1 wrong_type = 2 OTHERS = 3.

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING DATE = l_date FOREIGN_CURRENCY = p_bkpf-waers LOCAL_CURRENCY = t001-waers * TYPE_OF_RATE = 'M' IMPORTING EXCHANGE_RATE = selpos-kursc EXCEPTIONS NO_RATE_FOUND = 1 NO_FACTORS_FOUND = 2 NO_SPREAD_FOUND = 3 DERIVED_2_TIMES = 4 OVERFLOW = 5 OTHERS = 6.

CALCULATE_EXCHANGE_RATE CALL FUNCTION 'CALCULATE_EXCHANGE_RATE' EXPORTING date = l_date foreign_amount = p_bseg-wrbtr foreign_currency = p_bkpf-waers local_amount = p_bseg-dmbtr local_currency = t001-waers type_of_rate = 'M' IMPORTING * customizing table course rate exchange_rate = selpos-kursr * FOREIGN_FACTOR = * LOCAL_FACTOR = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS no_rate_computable = 1 no_rate_found = 2 rate_too_big = 3 no_factors_found = 4 no_spread_found = 5 derived_2_times = 6 OTHERS = 7.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = selpos-budat foreign_currency = inv_waer-low local_amount = selpos-dmbtr local_currency = t001-waers type_of_rate = 'M ' * in according with cource rate amount IMPORTING foreign_amount = selpos-clrng EXCEPTIONS no_rate_found = 1 overflow = 1.

REUSE_ALV_BLOCK_LIST_INIT CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT' EXPORTING i_callback_program = g_repid i_callback_user_command = gc_screen_process i_callback_pf_status_set = gc_pfstatus it_excluding = gt_extab.

REUSE_ALV_BLOCK_LIST_APPEND





CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING it_fieldcat = gt_field_sel is_layout = gs_layout_sel * i_tabname = 'VWSELPOS' i_tabname = -tabl_name it_events = gt_events_sel it_sort = gt_sort_sel i_text = text-030 * i_text = l_text * IT_SORT = TABLES * t_outtab = vwselpos * t_outtab = l_vwselpos t_outtab = " 1228707 EXCEPTIONS program_error = 0 maximum_of_appends_reached = 0 OTHERS = 0 .

REUSE_ALV_BLOCK_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY' EXPORTING is_print = gt_print.

REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING it_fieldcat = gt_field_clr is_layout = gs_layout_clr * i_tabname = 'VWSELPOS' i_tabname = -tabl_name it_events = gt_events_clr it_sort = gt_sort_clr i_text = text-034 * i_text = l_text * IT_SORT = TABLES * t_outtab = vwprocpos * t_outtab = l_vwprocpos t_outtab = " 1228707 EXCEPTIONS program_error = 0 maximum_of_appends_reached = 0 OTHERS = 0 .

REUSE_ALV_BLOCK_LIST_APPEND *CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' * EXPORTING * it_fieldcat = gt_field_clr * is_layout = gs_layout_clr * i_tabname = 'VWPROCPOS' * it_events = gt_events_clr * it_sort = gt_sort_clr * i_text = text-034 * TABLES * t_outtab = vwprocpos * EXCEPTIONS * program_error = 0 * maximum_of_appends_reached = 0 * OTHERS = 0 * .

REUSE_ALV_BLOCK_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY' EXPORTING is_print = gt_print.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * i_internal_tabname = p_tabname i_structure_name = p_structr * I_CLIENT_NEVER_DISPLAY = gc_true CHANGING ct_fieldcat = p_field[].

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = pt_header[].

RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = g_repid mode_write_or_move = ' ' IMPORTING p_trange = l_trange EXCEPTIONS not_found = 1 wrong_type = 2 OTHERS = 3 .

FREE_SELECTIONS_RANGE_2_EX *CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' * EXPORTING * field_ranges = l_trange * IMPORTING * expressions = l_expressions * .

FREE_SELECTIONS_EX_2_WHERE *CALL FUNCTION 'FREE_SELECTIONS_EX_2_WHERE' * EXPORTING * expressions = l_expressions * IMPORTING * where_clauses = l_twhere * EXCEPTIONS * expression_not_supported = 1 * OTHERS = 2 * .

FREE_SELECTIONS_RANGE_2_WHERE CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_WHERE' EXPORTING field_ranges = l_trange IMPORTING where_clauses = l_twhere[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = 'BKPF' CHANGING ct_fieldcat = it_fc_bkpf EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = 'BSEG' CHANGING ct_fieldcat = it_fc_bseg EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'SYST' CHANGING ct_fieldcat = lt_fieldcat.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'J_3RFCLOPT' CHANGING ct_fieldcat = lt_tempcat.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'SHKONTEXT' CHANGING ct_fieldcat = lt_tempcat.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'BAL_S_SHOW' CHANGING ct_fieldcat = lt_tempcat.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_interface_check = 'X' i_callback_program = g_repid i_callback_pf_status_set = gc_pfstatus i_callback_user_command = gc_user_command_log is_layout = ls_layout it_fieldcat = lt_fieldcat[] * it_sort = * i_save = l_save * is_variant = l_variant * it_events = lt_events[] * is_print = gs_print it_excluding = lt_extab[] TABLES t_outtab = gt_messtab[].

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = ls_help_info TABLES dynpselect = lt_dselc[] dynpvaluetab = lt_dval[] EXCEPTIONS OTHERS = 0.






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