SAP FCJ_SAVE_CHECKS_SUM Function Module for
FCJ_SAVE_CHECKS_SUM is a standard fcj save checks sum SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fcj save checks sum FM, simply by entering the name FCJ_SAVE_CHECKS_SUM into the relevant SAP transaction such as SE37 or SE38.
Function Group: FCJ_PROCESS_MANAGER
Program Name: SAPLSAPLFCJ_PROCESS_MANAGER
Main Program: SAPLSAPLFCJ_PROCESS_MANAGER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FCJ_SAVE_CHECKS_SUM pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FCJ_SAVE_CHECKS_SUM'".
EXPORTING
I_COMP_CODE = "Company Code
I_DISPLAY_PERIOD_HI = "Date and Time, Current (Application Server) Date
I_CURRENCY = "Currency Key
I_TAX_CODE = "Tax Code
I_GL_ACCOUNT = "G/L Account
I_CAJO_NUMBER = "Cash Journal Number
I_FISC_YEAR = "Fiscal Year
I_TOTAL_CHECKS = "Cash Journal Amount Field with +/- Sign
I_CHECK_STACK = "Number of Check Lot in Cash Journal
I_TRANSACT_NAME = "Cash Journal Business Transaction
I_POSTING_DATE = "Posting Date in the Document
I_VALUTA_DATE = "Value Date
I_DISPLAY_PERIOD_LO = "Date and Time, Current (Application Server) Date
IMPORTING
E_CHECKS_SUM = "Cash Journal Structure Screen 0100 SAPMFCJ0
TABLES
ITCJ_SEL_CHECKS = "Cash Journal Structure Screen 0100 SAPMFCJ0
EXCEPTIONS
SAVE_ERROR = 1
IMPORTING Parameters details for FCJ_SAVE_CHECKS_SUM
I_COMP_CODE - Company Code
Data type: BUKRSOptional: No
Call by Reference: Yes
I_DISPLAY_PERIOD_HI - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: No
Call by Reference: Yes
I_CURRENCY - Currency Key
Data type: TCJ_C_JOURNALS-CURRENCYOptional: No
Call by Reference: Yes
I_TAX_CODE - Tax Code
Data type: MWSKZOptional: No
Call by Reference: Yes
I_GL_ACCOUNT - G/L Account
Data type: HKONTOptional: No
Call by Reference: Yes
I_CAJO_NUMBER - Cash Journal Number
Data type: CJNROptional: No
Call by Reference: Yes
I_FISC_YEAR - Fiscal Year
Data type: GJAHROptional: No
Call by Reference: Yes
I_TOTAL_CHECKS - Cash Journal Amount Field with +/- Sign
Data type: CJAMOUNTOptional: No
Call by Reference: Yes
I_CHECK_STACK - Number of Check Lot in Cash Journal
Data type: CJCHECKSTACKOptional: No
Call by Reference: Yes
I_TRANSACT_NAME - Cash Journal Business Transaction
Data type: CJTRANSTXTOptional: No
Call by Reference: Yes
I_POSTING_DATE - Posting Date in the Document
Data type: BUDATOptional: No
Call by Reference: Yes
I_VALUTA_DATE - Value Date
Data type: VALUTOptional: No
Call by Reference: Yes
I_DISPLAY_PERIOD_LO - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FCJ_SAVE_CHECKS_SUM
E_CHECKS_SUM - Cash Journal Structure Screen 0100 SAPMFCJ0
Data type: ISCJ_POSTINGSOptional: No
Call by Reference: Yes
TABLES Parameters details for FCJ_SAVE_CHECKS_SUM
ITCJ_SEL_CHECKS - Cash Journal Structure Screen 0100 SAPMFCJ0
Data type: ISCJ_POSTINGSOptional: No
Call by Reference: Yes
EXCEPTIONS details
SAVE_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FCJ_SAVE_CHECKS_SUM Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_save_error | TYPE STRING, " | |||
| lv_i_comp_code | TYPE BUKRS, " | |||
| lv_e_checks_sum | TYPE ISCJ_POSTINGS, " | |||
| lt_itcj_sel_checks | TYPE STANDARD TABLE OF ISCJ_POSTINGS, " | |||
| lv_i_display_period_hi | TYPE SY-DATUM, " | |||
| lv_i_currency | TYPE TCJ_C_JOURNALS-CURRENCY, " | |||
| lv_i_tax_code | TYPE MWSKZ, " | |||
| lv_i_gl_account | TYPE HKONT, " | |||
| lv_i_cajo_number | TYPE CJNR, " | |||
| lv_i_fisc_year | TYPE GJAHR, " | |||
| lv_i_total_checks | TYPE CJAMOUNT, " | |||
| lv_i_check_stack | TYPE CJCHECKSTACK, " | |||
| lv_i_transact_name | TYPE CJTRANSTXT, " | |||
| lv_i_posting_date | TYPE BUDAT, " | |||
| lv_i_valuta_date | TYPE VALUT, " | |||
| lv_i_display_period_lo | TYPE SY-DATUM. " |
|   CALL FUNCTION 'FCJ_SAVE_CHECKS_SUM' " |
| EXPORTING | ||
| I_COMP_CODE | = lv_i_comp_code | |
| I_DISPLAY_PERIOD_HI | = lv_i_display_period_hi | |
| I_CURRENCY | = lv_i_currency | |
| I_TAX_CODE | = lv_i_tax_code | |
| I_GL_ACCOUNT | = lv_i_gl_account | |
| I_CAJO_NUMBER | = lv_i_cajo_number | |
| I_FISC_YEAR | = lv_i_fisc_year | |
| I_TOTAL_CHECKS | = lv_i_total_checks | |
| I_CHECK_STACK | = lv_i_check_stack | |
| I_TRANSACT_NAME | = lv_i_transact_name | |
| I_POSTING_DATE | = lv_i_posting_date | |
| I_VALUTA_DATE | = lv_i_valuta_date | |
| I_DISPLAY_PERIOD_LO | = lv_i_display_period_lo | |
| IMPORTING | ||
| E_CHECKS_SUM | = lv_e_checks_sum | |
| TABLES | ||
| ITCJ_SEL_CHECKS | = lt_itcj_sel_checks | |
| EXCEPTIONS | ||
| SAVE_ERROR = 1 | ||
| . " FCJ_SAVE_CHECKS_SUM | ||
ABAP code using 7.40 inline data declarations to call FM FCJ_SAVE_CHECKS_SUM
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single DATUM FROM SY INTO @DATA(ld_i_display_period_hi). | ||||
| "SELECT single CURRENCY FROM TCJ_C_JOURNALS INTO @DATA(ld_i_currency). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_display_period_lo). | ||||
Search for further information about these or an SAP related objects