SAP FKK_CLEARING_HIS_GET_DETAILS Function Module for









FKK_CLEARING_HIS_GET_DETAILS is a standard fkk clearing his get details 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 clearing his get details FM, simply by entering the name FKK_CLEARING_HIS_GET_DETAILS into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_CLEARING_HIS_GET_DETAILS 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_CLEARING_HIS_GET_DETAILS'"
EXPORTING
I_BELNR = "
I_POSITION = "
* I_REPEAT_POS = ' ' "
* I_FIXED_DAY = "
* I_SEARCH_IN_ARCHIVE = ' ' "

IMPORTING
E_ORIGINAL_POSITION = "
E_FIXED_DAY_CLEAR_AMMOUNT = "

TABLES
* CLEARING_HISTORY = "
* CLEARING_CHRONOLOGY = "Clearing/Return Chronology
* ITEMS = "Business Partner Items in Contract Account Document

EXCEPTIONS
NO_DATA_SELECTED = 1
.



IMPORTING Parameters details for FKK_CLEARING_HIS_GET_DETAILS

I_BELNR -

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

I_POSITION -

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

I_REPEAT_POS -

Data type: FKKOP-OPUPW
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FIXED_DAY -

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

I_SEARCH_IN_ARCHIVE -

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

EXPORTING Parameters details for FKK_CLEARING_HIS_GET_DETAILS

E_ORIGINAL_POSITION -

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

E_FIXED_DAY_CLEAR_AMMOUNT -

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

TABLES Parameters details for FKK_CLEARING_HIS_GET_DETAILS

CLEARING_HISTORY -

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

CLEARING_CHRONOLOGY - Clearing/Return Chronology

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

ITEMS - Business Partner Items in Contract Account Document

Data type: FKKOP
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_DATA_SELECTED -

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

Copy and paste ABAP code example for FKK_CLEARING_HIS_GET_DETAILS 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_i_belnr  TYPE FKKOP-OPBEL, "   
lt_clearing_history  TYPE STANDARD TABLE OF DFKKRAP, "   
lv_no_data_selected  TYPE DFKKRAP, "   
lv_e_original_position  TYPE FKKOP, "   
lv_i_position  TYPE FKKOP-OPUPK, "   
lt_clearing_chronology  TYPE STANDARD TABLE OF FKKRA_CHRO, "   
lv_e_fixed_day_clear_ammount  TYPE FKKOP-BETRW, "   
lt_items  TYPE STANDARD TABLE OF FKKOP, "   
lv_i_repeat_pos  TYPE FKKOP-OPUPW, "   SPACE
lv_i_fixed_day  TYPE D, "   
lv_i_search_in_archive  TYPE XFELD. "   SPACE

  CALL FUNCTION 'FKK_CLEARING_HIS_GET_DETAILS'  "
    EXPORTING
         I_BELNR = lv_i_belnr
         I_POSITION = lv_i_position
         I_REPEAT_POS = lv_i_repeat_pos
         I_FIXED_DAY = lv_i_fixed_day
         I_SEARCH_IN_ARCHIVE = lv_i_search_in_archive
    IMPORTING
         E_ORIGINAL_POSITION = lv_e_original_position
         E_FIXED_DAY_CLEAR_AMMOUNT = lv_e_fixed_day_clear_ammount
    TABLES
         CLEARING_HISTORY = lt_clearing_history
         CLEARING_CHRONOLOGY = lt_clearing_chronology
         ITEMS = lt_items
    EXCEPTIONS
        NO_DATA_SELECTED = 1
. " FKK_CLEARING_HIS_GET_DETAILS




ABAP code using 7.40 inline data declarations to call FM FKK_CLEARING_HIS_GET_DETAILS

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 OPBEL FROM FKKOP INTO @DATA(ld_i_belnr).
 
 
 
 
"SELECT single OPUPK FROM FKKOP INTO @DATA(ld_i_position).
 
 
"SELECT single BETRW FROM FKKOP INTO @DATA(ld_e_fixed_day_clear_ammount).
 
 
"SELECT single OPUPW FROM FKKOP INTO @DATA(ld_i_repeat_pos).
DATA(ld_i_repeat_pos) = ' '.
 
 
DATA(ld_i_search_in_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!