SAP Reports / Programs | Financial Accounting | General Ledger Accounting(FI-GL) SAP FI

FAGL_FC_TRANS_I1 SAP ABAP INCLUDE - FAGLFCTRANSI1







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


INCLUDES used within this REPORT FAGL_FC_TRANS_I1

INCLUDE RFEPOSC5.


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:

BAL_LOG_MSG_CUMULATE CALL FUNCTION 'BAL_LOG_MSG_CUMULATE' EXPORTING i_s_msg = l_s_msg * I_LOG_HANDLE = * importing * E_MSG_WAS_LOGGED = G_E_MSG EXCEPTIONS log_not_found = 0 OTHERS = 1.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = fimsg i_xappn = ' ' EXCEPTIONS OTHERS = 01.

FAGL_SPLINFO_GET CALL FUNCTION 'FAGL_SPLINFO_GET' EXPORTING id_ldgrp = gd_ldgrp id_bukrs = buchung-bukrs id_budat = buchung-budat id_hkont = buchung-konto id_bs_fields = ' ' is_addaa = buchung-addaa IMPORTING es_splinfo = ld_splinfo.

FI_POSTINGS_ALV_NEW * call function 'FI_POSTINGS_ALV_NEW' * EXPORTING * i_headline = hd_txt * is_variant = h_variant * is_layout = t_slis_layout_alv * i_acc_principle = G_Acc_principle * TABLES * t_doc_hdr = t_header * t_doc_lines = t_item * CHANGING * ie_bhdgd = bhdgd.

FAGL_POSTINGS_ALV CALL FUNCTION 'FAGL_POSTINGS_ALV' EXPORTING i_headline = hd_txt is_variant = h_variant is_layout = t_slis_layout_alv i_acc_principle = g_acc_principle TABLES t_doc_hdr_new = t_header t_doc_lines_new = t_item CHANGING ie_bhdgd = gs_bhdgd.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = g_log_handle IMPORTING e_statistics = ld_stats.

BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = l_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = i_s_display_profile = l_display_profile * I_AMODAL = ' ' EXCEPTIONS OTHERS = 0.

FI_MESSAGES_ALV CALL FUNCTION 'FI_MESSAGES_ALV' EXPORTING i_headline = text-044 is_variant = h_variant is_layout = t_slis_layout_alv CHANGING ie_bhdgd = gs_bhdgd.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

CALCULATE_EXCHANGE_RATE * call function 'CALCULATE_EXCHANGE_RATE' * EXPORTING * date = list_item-budat * foreign_amount = list_item-wrbtr * foreign_currency = list_item-waers * local_amount = list_item-dmbtr * local_currency = list_item-hwaer * type_of_rate = 'M' * IMPORTING * exchange_rate = list_item-kursf * EXCEPTIONS * others = 7.

SKAT_SELECT CALL FUNCTION 'SKAT_SELECT' EXPORTING ktopl = t001-ktopl saknr = list_item-hkont spras = sy-langu IMPORTING i_skat = skat EXCEPTIONS OTHERS = 4.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = belege-bukrs saknr = belege-hkont spras = sy-langu xmass = 'X' xskan = 'X' xtext = ' ' IMPORTING altkt = skb1-altkt EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = h_repid i_callback_pf_status_set = h_set_pf_status i_callback_user_command = h_user_command i_default = 'X' is_layout = t_slis_layout_alv is_print = t_slis_print_alv it_events = t_events[] it_fieldcat = t_fieldcat[] i_save = 'A' is_variant = h_variant TABLES t_outtab = list_item EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = h_repid i_internal_tabname = i_tab i_inclname = h_repid i_client_never_display = 'X' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = ti_fieldcat[] EXCEPTIONS OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = t_event[] EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_sort = t_slis_sort EXCEPTIONS OTHERS = 0.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

READ_SKA1





CALL FUNCTION 'READ_SKA1' EXPORTING xktopl = t001-ktopl xsaknr = ska1-saknr IMPORTING xska1 = ska1 xskat = skat EXCEPTIONS OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = i_variant i_save = 'A' IMPORTING e_exit = exit es_variant = e_variant EXCEPTIONS program_error = 3 OTHERS = 3.

TABLE_COMPRESS CALL FUNCTION 'TABLE_COMPRESS' TABLES in = list_item out = list_item_c EXCEPTIONS OTHERS = 4.

TABLE_DECOMPRESS CALL FUNCTION 'TABLE_DECOMPRESS' TABLES in = list_item_c out = list_item EXCEPTIONS OTHERS = 4.

FI_LIST_VARIANTS_PREVIEW_ALV CALL FUNCTION 'FI_LIST_VARIANTS_PREVIEW_ALV' EXPORTING i_repid = irepid i_list_form = iform_name TABLES t_outtab = list_item.

DDUT_TEXT_FOR_VALUE CALL FUNCTION 'DDUT_TEXT_FOR_VALUE' EXPORTING tabname = 'ACCCR' fieldname = 'CURRTYP' value = curt_1 IMPORTING text = text.

DDUT_TEXT_FOR_VALUE CALL FUNCTION 'DDUT_TEXT_FOR_VALUE' EXPORTING tabname = 'ACCCR' fieldname = 'CURRTYP' value = curt_2 IMPORTING text = text.

DDUT_TEXT_FOR_VALUE CALL FUNCTION 'DDUT_TEXT_FOR_VALUE' EXPORTING tabname = 'ACCCR' fieldname = 'CURRTYP' value = curt_3 IMPORTING text = text.



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