SAP FKK_DOC_TO_TOTALS_RECONCILIATE Function Module for









FKK_DOC_TO_TOTALS_RECONCILIATE is a standard fkk doc to totals reconciliate 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 fkk doc to totals reconciliate FM, simply by entering the name FKK_DOC_TO_TOTALS_RECONCILIATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: FKK_RECONCILIATION
Program Name: SAPLFKK_RECONCILIATION
Main Program: SAPLFKK_RECONCILIATION
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FKK_DOC_TO_TOTALS_RECONCILIATE 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 'FKK_DOC_TO_TOTALS_RECONCILIATE'"
EXPORTING
* I_TEST_SEL_ONLY = "
* I_NO_CLEARED_ITEMS = "
* IX_BATCH_READ_ARCHIVE = "

TABLES
* T_FIKEY = "
* T_OUT_OP = "
* T_OUT_OPK = "
* T_OUT_IT = "
* T_OUT_ERRDOC = "
* T_BUKRS = "Ranges for company code
* T_HKONT = "
* T_BUDAT = "
* T_WAERS = "
* T_GSBER = "
* T_IN_SUM = "
* T_IN_NOKSCHL = "
* T_OUT_SUM = "

EXCEPTIONS
NO_SELECT_RESTRICTION = 1 NO_DATA_SELECTED = 2 SELECTION_CANCELLED = 3
.



IMPORTING Parameters details for FKK_DOC_TO_TOTALS_RECONCILIATE

I_TEST_SEL_ONLY -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NO_CLEARED_ITEMS -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IX_BATCH_READ_ARCHIVE -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FKK_DOC_TO_TOTALS_RECONCILIATE

T_FIKEY -

Data type: FKKR_FIKEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_OUT_OP -

Data type: FKK_ABS_OP
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_OUT_OPK -

Data type: FKK_ABS_OPK
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_OUT_IT -

Data type: FKK_ABS_ITEMS
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_OUT_ERRDOC -

Data type: FKK_ABS_ERRDOC
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_BUKRS - Ranges for company code

Data type: FKKR_BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_HKONT -

Data type: FKKR_HKONT
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_BUDAT -

Data type: FKKR_BUDAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_WAERS -

Data type: FKKR_WAERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_GSBER -

Data type: FKKR_GSBER
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_IN_SUM -

Data type: FKK_ABS_SUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_IN_NOKSCHL -

Data type: FKK_ABS_FIKEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_OUT_SUM -

Data type: FKK_ABS_SUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_SELECT_RESTRICTION - No Selection Criteria

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_DATA_SELECTED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SELECTION_CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKK_DOC_TO_TOTALS_RECONCILIATE 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:
lt_t_fikey  TYPE STANDARD TABLE OF FKKR_FIKEY, "   
lv_i_test_sel_only  TYPE BOOLE-BOOLE, "   
lv_no_select_restriction  TYPE BOOLE, "   
lt_t_out_op  TYPE STANDARD TABLE OF FKK_ABS_OP, "   
lt_t_out_opk  TYPE STANDARD TABLE OF FKK_ABS_OPK, "   
lt_t_out_it  TYPE STANDARD TABLE OF FKK_ABS_ITEMS, "   
lt_t_out_errdoc  TYPE STANDARD TABLE OF FKK_ABS_ERRDOC, "   
lt_t_bukrs  TYPE STANDARD TABLE OF FKKR_BUKRS, "   
lv_no_data_selected  TYPE FKKR_BUKRS, "   
lv_i_no_cleared_items  TYPE BOOLE-BOOLE, "   
lt_t_hkont  TYPE STANDARD TABLE OF FKKR_HKONT, "   
lv_selection_cancelled  TYPE FKKR_HKONT, "   
lv_ix_batch_read_archive  TYPE BOOLE-BOOLE, "   
lt_t_budat  TYPE STANDARD TABLE OF FKKR_BUDAT, "   
lt_t_waers  TYPE STANDARD TABLE OF FKKR_WAERS, "   
lt_t_gsber  TYPE STANDARD TABLE OF FKKR_GSBER, "   
lt_t_in_sum  TYPE STANDARD TABLE OF FKK_ABS_SUM, "   
lt_t_in_nokschl  TYPE STANDARD TABLE OF FKK_ABS_FIKEY, "   
lt_t_out_sum  TYPE STANDARD TABLE OF FKK_ABS_SUM. "   

  CALL FUNCTION 'FKK_DOC_TO_TOTALS_RECONCILIATE'  "
    EXPORTING
         I_TEST_SEL_ONLY = lv_i_test_sel_only
         I_NO_CLEARED_ITEMS = lv_i_no_cleared_items
         IX_BATCH_READ_ARCHIVE = lv_ix_batch_read_archive
    TABLES
         T_FIKEY = lt_t_fikey
         T_OUT_OP = lt_t_out_op
         T_OUT_OPK = lt_t_out_opk
         T_OUT_IT = lt_t_out_it
         T_OUT_ERRDOC = lt_t_out_errdoc
         T_BUKRS = lt_t_bukrs
         T_HKONT = lt_t_hkont
         T_BUDAT = lt_t_budat
         T_WAERS = lt_t_waers
         T_GSBER = lt_t_gsber
         T_IN_SUM = lt_t_in_sum
         T_IN_NOKSCHL = lt_t_in_nokschl
         T_OUT_SUM = lt_t_out_sum
    EXCEPTIONS
        NO_SELECT_RESTRICTION = 1
        NO_DATA_SELECTED = 2
        SELECTION_CANCELLED = 3
. " FKK_DOC_TO_TOTALS_RECONCILIATE




ABAP code using 7.40 inline data declarations to call FM FKK_DOC_TO_TOTALS_RECONCILIATE

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 BOOLE FROM BOOLE INTO @DATA(ld_i_test_sel_only).
 
 
 
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_no_cleared_items).
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_batch_read_archive).
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!