SAP Reports / Programs | Financial Accounting | General Ledger Accounting | G/L Account Posting(FI-GL-GL-AP) SAP FI

MFCJ0F01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'FB00' EXCEPTIONS ok = 0 OTHERS = 4.

FI_WT_DETERM_RELEVANT_TYPES CALL FUNCTION 'FI_WT_DETERM_RELEVANT_TYPES' EXPORTING I_BUKRS = itcj_e_postings-comp_code I_ACCT = itcj_e_postings-customer I_KOART = 'D' I_BUDAT = itcj_e_postings-posting_date I_POSTINGTIME = '2' TABLES T_WITH = lt_accit_wt EXCEPTIONS NOTHING_SELECTED = 1 * OTHERS = 2 .

FI_WT_DETERM_RELEVANT_TYPES CALL FUNCTION 'FI_WT_DETERM_RELEVANT_TYPES' EXPORTING I_BUKRS = itcj_e_postings-comp_code I_ACCT = itcj_e_postings-vendor_no I_KOART = 'K' I_BUDAT = itcj_e_postings-posting_date I_POSTINGTIME = '2' TABLES T_WITH = lt_accit_wt EXCEPTIONS NOTHING_SELECTED = 1 * OTHERS = 2 .

FCJ_GET_CAJO_DATA2 CALL FUNCTION 'FCJ_GET_CAJO_DATA2' EXPORTING i_comp_code = f_comp_code i_cajo_number = f_cajo_number i_langu = sy-langu IMPORTING E_TCJ_C_JOURNALS = ls_tcj_c_journals * E_TCJ_CJ_NAMES = EXCEPTIONS CAJO_NOT_EXISTENT = 1 OTHERS = 2 .

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = gd_postings-transact_name i_comp_code = gd_postings-comp_code TABLES itcj_transactions = lt_transactions.

FCJ_GET_CAJO_DATA2 CALL FUNCTION 'FCJ_GET_CAJO_DATA2' EXPORTING i_comp_code = gd_postings-comp_code i_cajo_number = gd_postings-cajo_number i_langu = sy-langu IMPORTING e_tcj_c_journals = ld_journals.

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = itcj_e_split_postings-transact_name i_comp_code = itcj_e_split_postings-comp_code TABLES itcj_transactions = lt_transactions.

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = itcj_r_split_postings-transact_name i_comp_code = itcj_r_split_postings-comp_code TABLES itcj_transactions = lt_transactions.

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = itcj_cr_split_postings-transact_name i_comp_code = itcj_cr_split_postings-comp_code TABLES itcj_transactions = lt_transactions.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = itcj_e_postings-comp_code date = itcj_e_postings-posting_date IMPORTING currm = ld_monat curry = ld_gjahr.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = itcj_r_postings-comp_code date = itcj_r_postings-posting_date IMPORTING currm = ld_monat curry = ld_gjahr.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = itcj_cr_postings-comp_code date = itcj_cr_postings-posting_date IMPORTING currm = ld_monat curry = ld_gjahr.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = itcj_e_split_postings-comp_code date = itcj_e_split_postings-posting_date IMPORTING currm = ld_monat curry = ld_gjahr.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = itcj_r_split_postings-comp_code date = itcj_r_split_postings-posting_date IMPORTING currm = ld_monat curry = ld_gjahr.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = itcj_cr_split_postings-comp_code date = itcj_cr_split_postings-posting_date IMPORTING currm = ld_monat curry = ld_gjahr.



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