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

MFCJ0O01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

FCJ_CHECK_EXTENDED_FUNCTIONS CALL FUNCTION 'FCJ_CHECK_EXTENDED_FUNCTIONS' "783468 EXPORTING "783468 i_comp_code = f_comp_code "783468 EXCEPTIONS "783468 EXTENDED_FUNCTIONS_NOT_AVAIL = 1. "783468

FCJ_GET_DATA_FOR_SCREEN CALL FUNCTION 'FCJ_GET_DATA_FOR_SCREEN' EXPORTING i_comp_code = f_comp_code i_cajo_number = f_cajo_number i_display_period_hi = f_display_period_hi i_display_period_lo = f_display_period_lo IMPORTING e_beginning_balance = f_beg_balance e_running_balance = f_run_balance e_running_cash_balance = f_run_cash_balance "527796 e_total_receipts = f_total_receipts e_total_rec_number = f_numb_of_rec e_total_payments = f_total_payments e_total_paym_number = f_numb_of_paym e_total_checks = f_total_checks e_total_checks_number = f_numb_of_checks e_comp_name = f_comp_name e_cajo_name = f_cajo_name e_currency1 = f_currency1 e_currency2 = f_currency2 e_currency3 = f_currency3 e_currency4 = f_currency4 e_currency5 = f_currency5 e_currency6 = f_currency6 TABLES e_postings = itcj_postings e_wtax_items = itcj_wtax_items e_split_postings = itcj_split_postings e_cpd = itcj_cpd.

FCJ_CHECK_DEFAULTS_EXISTENCE ** CALL FUNCTION 'FCJ_CHECK_DEFAULTS_EXISTENCE' "852607 ** IMPORTING "852607 ** e_defaults_exist = gd_defaults_exist. "852607

FCJ_SET_DISPLAY_PERIOD CALL FUNCTION 'FCJ_SET_DISPLAY_PERIOD' "939801 EXPORTING "939801 i_comp_code = f_comp_code "939801 i_okcode = ld_peri "939801 CHANGING "939801 p_display_period_lo = f_display_period_lo "939801 p_display_period_hi = f_display_period_hi. "939801

FCJ_GET_DEFAULTS ** CALL FUNCTION 'FCJ_GET_DEFAULTS' "852607 ** IMPORTING "852607 ** e_comp_code = f_comp_code "852607 ** e_cajo_number = f_cajo_number "852607 ** e_display_period_lo = f_display_period_lo "852607 ** e_display_period_hi = f_display_period_hi. "852607

FCJ_GET_LATEST_ARCH CALL FUNCTION 'FCJ_GET_LATEST_ARCH' EXPORTING I_COMP_CODE = f_comp_code I_CAJO_NUMBER = f_cajo_number I_BALANCE_DATE = f_display_period_lo IMPORTING E_LAST_ARCH_DATE = ld_last_arch_date * E_LAST_ARCH_CURRENCY = * E_LAST_ARCH_SUM = * E_LAST_ARCH_ACCOUNTANT = * E_SARCH = EXCEPTIONS NO_ARCH_DATA = 1 * OTHERS = 2 .

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F5A' I_DTYPE = 'I' I_MSGNR = '344' I_VAR01 = ld_last_arch_date.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F5A' I_DTYPE = 'I' I_MSGNR = '345' I_VAR01 = ld_last_arch_date.

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

FCJ_DELETE_DEFAULTS ** CALL FUNCTION 'FCJ_DELETE_DEFAULTS'. "494535 "852607

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'F5A' i_dtype = 'S' i_msgnr = '335' i_var01 = f_cajo_number i_var02 = f_comp_code.

ENQUEUE_EFBCJ_LOCK CALL FUNCTION 'ENQUEUE_EFBCJ_LOCK' EXPORTING mode_tcj_c_journals = 'E' * MANDT = SY-MANDT comp_code = f_comp_code cajo_number = f_cajo_number * X_COMP_CODE = ' ' * X_CAJO_NUMBER = ' ' _scope = '3' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 * SYSTEM_FAILURE = 2 * OTHERS = 3 .

FCJ_CHECK_EXTENDED_FUNCTIONS CALL FUNCTION 'FCJ_CHECK_EXTENDED_FUNCTIONS' "783468 EXPORTING "783468 i_comp_code = f_comp_code "783468 EXCEPTIONS "783468 EXTENDED_FUNCTIONS_NOT_AVAIL = 1. "783468

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = '1' diagnosetext1 = ld_text_1 diagnosetext2 = ld_text_2 diagnosetext3 = gd_diagnosetext3 "783468 textline1 = gd_textline "783468 text_option1 = gd_textoption1 "783468 text_option2 = text-106 * ICON_TEXT_OPTION1 = * ICON_TEXT_OPTION2 = titel = text-100 * CANCEL_DISPLAY = 'X' IMPORTING answer = ld_antwort.

FCJ_PREPARE_NEW_LINE CALL FUNCTION 'FCJ_PREPARE_NEW_LINE' EXPORTING i_comp_code = f_comp_code i_display_period_lo = f_display_period_lo i_display_period_hi = f_display_period_hi TABLES itcj_postings = itcj_e_postings.

FCJ_PREPARE_NEW_LINE CALL FUNCTION 'FCJ_PREPARE_NEW_LINE' EXPORTING i_comp_code = f_comp_code i_display_period_lo = f_display_period_lo i_display_period_hi = f_display_period_hi TABLES itcj_postings = itcj_r_postings.

FCJ_PREPARE_NEW_LINE CALL FUNCTION 'FCJ_PREPARE_NEW_LINE' EXPORTING i_comp_code = f_comp_code i_display_period_lo = f_display_period_lo i_display_period_hi = f_display_period_hi TABLES itcj_postings = itcj_cr_postings.

RS_HDSYS_GET_SC_VARIANT CALL FUNCTION 'RS_HDSYS_GET_SC_VARIANT' EXPORTING progname = 'SAPMFCJ0' dynpro = '0100' IMPORTING scvariant = ld_scvariant TABLES values_scvariant = it_shdsvfvci guixt_scripts = it_shdguixt.

ICON_CREATE





CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_GREEN_LIGHT' * TEXT = 'Document posted' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' * TEXT = 'Document reversed' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' * TEXT = 'Document reversed' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_YELLOW_LIGHT' * TEXT = 'Document saved' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_RED_LIGHT' * TEXT = 'Document entered' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = itcj_e_postings-comp_code EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.

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_WT CALL FUNCTION 'FCJ_GET_WT' EXPORTING i_comp_code = itcj_e_postings-comp_code i_cajo_number = itcj_e_postings-cajo_number i_fisc_year = itcj_e_postings-fisc_year i_posting_number = itcj_e_postings-posting_number i_position_number = itcj_e_postings-position_number TABLES itcj_wtax_items = lt_wtax_items EXCEPTIONS no_wtax_items_get = 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-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.

FCJ_GET_WT CALL FUNCTION 'FCJ_GET_WT' EXPORTING i_comp_code = itcj_e_postings-comp_code i_cajo_number = itcj_e_postings-cajo_number i_fisc_year = itcj_e_postings-fisc_year i_posting_number = itcj_e_postings-posting_number i_position_number = itcj_e_postings-position_number TABLES itcj_wtax_items = lt_wtax_items EXCEPTIONS no_wtax_items_get = 1 OTHERS = 2.

FCJ_GET_WT * CALL FUNCTION 'FCJ_GET_WT' "593510"671330 * EXPORTING * I_COMP_CODE = itcj_e_postings-comp_code * I_CAJO_NUMBER = itcj_e_postings-cajo_number * I_FISC_YEAR = '0000' * I_POSTING_NUMBER = itcj_e_postings-posting_number ** I_POSITION_NUMBER = ** TABLES ** ITCJ_WTAX_ITEMS = * EXCEPTIONS * NO_WTAX_ITEMS_GET = 1 * OTHERS = 2 * .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-B_WTAX_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-B_WTAX_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = itcj_e_postings-transact_name i_comp_code = f_comp_code TABLES itcj_transactions = lt_transactions.

FI_GL_ACCOUNT_DATA CALL FUNCTION 'FI_GL_ACCOUNT_DATA' EXPORTING i_bukrs = itcj_e_postings-comp_code i_saknr = itcj_e_postings-gl_account "530875 IMPORTING e_sako = ls_sako EXCEPTIONS account = 1 OTHERS = 2.

FI_CUSTOMER_DATA CALL FUNCTION 'FI_CUSTOMER_DATA' EXPORTING i_bukrs = itcj_e_postings-comp_code i_kunnr = itcj_e_postings-customer IMPORTING e_debi = ls_debi EXCEPTIONS customer_missing = 1 OTHERS = 2.

FI_VENDOR_DATA CALL FUNCTION 'FI_VENDOR_DATA' EXPORTING i_bukrs = itcj_e_postings-comp_code i_lifnr = itcj_e_postings-vendor_no IMPORTING e_kred = ls_kred EXCEPTIONS vendor_missing = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-BCPD_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-BCPD_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-BSPLIT_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .




ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-BSPLIT_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-B_PAOBJNR EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-B_PAOBJNR EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-B_IMKEY EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_E_POSTINGS-B_IMKEY EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_GREEN_LIGHT' info = ld_quickinfo IMPORTING RESULT = f_status.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' * TEXT = 'Document reversed' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' * TEXT = 'Document reversed' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_YELLOW_LIGHT' * TEXT = 'Document saved' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_RED_LIGHT' * TEXT = 'Document entered' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = itcj_r_postings-transact_name i_comp_code = f_comp_code TABLES itcj_transactions = lt_transactions.

FI_GL_ACCOUNT_DATA CALL FUNCTION 'FI_GL_ACCOUNT_DATA' EXPORTING i_bukrs = itcj_r_postings-comp_code i_saknr = itcj_r_postings-gl_account "530875 IMPORTING e_sako = ls_sako EXCEPTIONS account = 1 OTHERS = 2.

FI_CUSTOMER_DATA CALL FUNCTION 'FI_CUSTOMER_DATA' EXPORTING i_bukrs = itcj_r_postings-comp_code i_kunnr = itcj_r_postings-customer IMPORTING e_debi = ls_debi EXCEPTIONS customer_missing = 1 OTHERS = 2.

FI_VENDOR_DATA CALL FUNCTION 'FI_VENDOR_DATA' EXPORTING i_bukrs = itcj_r_postings-comp_code i_lifnr = itcj_r_postings-vendor_no IMPORTING e_kred = ls_kred EXCEPTIONS vendor_missing = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-BCPD_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-BCPD_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-BSPLIT_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-BSPLIT_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-B_PAOBJNR EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-B_PAOBJNR EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-B_IMKEY EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_R_POSTINGS-B_IMKEY EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

FI_TAX_CHK_JURISDICTION_ACTIVE * CALL FUNCTION 'FI_TAX_CHK_JURISDICTION_ACTIVE' * EXPORTING * i_bukrs = f_comp_code * IMPORTING * e_isactive = ld_txjcd_active ** E_EXTERNAL = ** E_XTXIT = ** E_TTXD = * EXCEPTIONS * bukrs_not_found = 1 * country_not_found = 2 * kalsm_not_found = 3 * parameter_error = 4 * unknown_error = 5 * OTHERS = 6 * .

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = f_comp_code EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.

J_1BSA_COMPONENT_ACTIVE CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE' "1888423 EXPORTING bukrs = f_comp_code component = '**' IMPORTING active_component = ld_component out_country = ld_country EXCEPTIONS component_not_active = 01.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = f_comp_code IMPORTING e_t001 = ls_t001 * EXCEPTIONS * SYSTEM_ERROR = 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 .

FI_TAX_CHK_JURISDICTION_ACTIVE * CALL FUNCTION 'FI_TAX_CHK_JURISDICTION_ACTIVE' * EXPORTING * i_bukrs = f_comp_code * IMPORTING * e_isactive = ld_txjcd_active ** E_EXTERNAL = ** E_XTXIT = ** E_TTXD = * EXCEPTIONS * bukrs_not_found = 1 * country_not_found = 2 * kalsm_not_found = 3 * parameter_error = 4 * unknown_error = 5 * OTHERS = 6 * .

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = f_comp_code EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.

J_1BSA_COMPONENT_ACTIVE CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE' "1888423 EXPORTING bukrs = f_comp_code component = '**' IMPORTING active_component = ld_component out_country = ld_country EXCEPTIONS component_not_active = 01.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = f_comp_code IMPORTING e_t001 = ls_t001 * EXCEPTIONS * SYSTEM_ERROR = 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_ASSEMBLE_SEL_POSTINGS CALL FUNCTION 'FCJ_ASSEMBLE_SEL_POSTINGS' IMPORTING e_lines = ftcj_e_postings-lines TABLES itcj_postings = itcj_e_postings itcj_sel_postings = gt_sel_postings.

FCJ_ASSEMBLE_SEL_POSTINGS CALL FUNCTION 'FCJ_ASSEMBLE_SEL_POSTINGS' IMPORTING e_lines = ftcj_r_postings-lines TABLES itcj_postings = itcj_r_postings itcj_sel_postings = gt_sel_postings.

FCJ_ASSEMBLE_SEL_POSTINGS CALL FUNCTION 'FCJ_ASSEMBLE_SEL_POSTINGS' IMPORTING e_lines = ftcj_cr_postings-lines TABLES itcj_postings = itcj_cr_postings itcj_sel_postings = gt_sel_postings.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_GREEN_LIGHT' * TEXT = 'Document posted' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' * TEXT = 'Document reversed' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INCOMPLETE' * TEXT = 'Document reversed' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_YELLOW_LIGHT' * TEXT = 'Document saved' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_RED_LIGHT' * TEXT = 'Document entered' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_STATUS_BOOKED' * TEXT = ' ' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_check_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_STATUS_PARTLY_BOOKED' * TEXT = ' ' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_check_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_SUM' * TEXT = ' ' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING RESULT = f_check_status * EXCEPTIONS * ICON_NOT_FOUND = 1 * OUTPUTFIELD_TOO_SHORT = 2 * OTHERS = 3 .

FCJ_GET_TRANSACTION CALL FUNCTION 'FCJ_GET_TRANSACTION' EXPORTING i_transaction = itcj_cr_postings-transact_name i_comp_code = f_comp_code TABLES itcj_transactions = lt_transactions.

FI_GL_ACCOUNT_DATA CALL FUNCTION 'FI_GL_ACCOUNT_DATA' EXPORTING i_bukrs = itcj_cr_postings-comp_code i_saknr = itcj_cr_postings-gl_account "530875 IMPORTING e_sako = ls_sako EXCEPTIONS account = 1 OTHERS = 2.

FI_CUSTOMER_DATA CALL FUNCTION 'FI_CUSTOMER_DATA' EXPORTING i_bukrs = itcj_cr_postings-comp_code i_kunnr = itcj_cr_postings-customer IMPORTING e_debi = ls_debi EXCEPTIONS customer_missing = 1 OTHERS = 2.

FI_VENDOR_DATA CALL FUNCTION 'FI_VENDOR_DATA' EXPORTING i_bukrs = itcj_cr_postings-comp_code i_lifnr = itcj_cr_postings-vendor_no IMPORTING e_kred = ls_kred EXCEPTIONS vendor_missing = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-BCPD_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-BCPD_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-BSPLIT_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-BSPLIT_DIALOG EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-B_PAOBJNR EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-B_PAOBJNR EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_DISPLAY_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-B_IMKEY EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "593510 EXPORTING name = 'ICON_ENTER_MORE' info = ld_quickinfo * ADD_STDINF = 'X' IMPORTING result = ISCJ_CR_POSTINGS-B_IMKEY EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 others = 3 .

FI_TAX_CHK_JURISDICTION_ACTIVE * CALL FUNCTION 'FI_TAX_CHK_JURISDICTION_ACTIVE' * EXPORTING * i_bukrs = f_comp_code * IMPORTING * e_isactive = ld_txjcd_active ** E_EXTERNAL = ** E_XTXIT = ** E_TTXD = * EXCEPTIONS * bukrs_not_found = 1 * country_not_found = 2 * kalsm_not_found = 3 * parameter_error = 4 * unknown_error = 5 * OTHERS = 6 * .

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = f_comp_code EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.

J_1BSA_COMPONENT_ACTIVE CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE' "1888423 EXPORTING bukrs = f_comp_code component = '**' IMPORTING active_component = ld_component out_country = ld_country EXCEPTIONS component_not_active = 01.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = f_comp_code IMPORTING e_t001 = ls_t001 * EXCEPTIONS * SYSTEM_ERROR = 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 .

FI_TAX_CHK_JURISDICTION_ACTIVE CALL FUNCTION 'FI_TAX_CHK_JURISDICTION_ACTIVE' EXPORTING i_bukrs = f_comp_code IMPORTING e_isactive = ld_txjcd_active * E_EXTERNAL = * E_XTXIT = * E_TTXD = EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 kalsm_not_found = 3 parameter_error = 4 unknown_error = 5 OTHERS = 6.

FCJ_CHECK_EXTENDED_FUNCTIONS CALL FUNCTION 'FCJ_CHECK_EXTENDED_FUNCTIONS' "808317 EXPORTING "808317 i_comp_code = f_comp_code "808317 EXCEPTIONS "808317 EXTENDED_FUNCTIONS_NOT_AVAIL = 1. "808317



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