SAP FKKCORR_DFKKCOH_GET_CORR Function Module for









FKKCORR_DFKKCOH_GET_CORR is a standard fkkcorr dfkkcoh get corr 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 fkkcorr dfkkcoh get corr FM, simply by entering the name FKKCORR_DFKKCOH_GET_CORR into the relevant SAP transaction such as SE37 or SE38.

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



Function FKKCORR_DFKKCOH_GET_CORR 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 'FKKCORR_DFKKCOH_GET_CORR'"
EXPORTING
* I_COTYP = "Correspondence Type
I_COKEY = "Correspondence Key

IMPORTING
E_DFKKCOH = "FI-CA Correspondence - Correspondence Header
E_TAB_CLUSTER = "
E_TAB_DOCPART = "

TABLES
* ET_DFKKCOD = "FI-CA Correspondence - Correspondence Data
* ET_DFKKCODCLUST = "FI-CA Correspondence - Correspondence Cluster Data

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for FKKCORR_DFKKCOH_GET_CORR

I_COTYP - Correspondence Type

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

I_COKEY - Correspondence Key

Data type: COKEY_KK
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FKKCORR_DFKKCOH_GET_CORR

E_DFKKCOH - FI-CA Correspondence - Correspondence Header

Data type: DFKKCOH
Optional: No
Call by Reference: Yes

E_TAB_CLUSTER -

Data type: FKK_TAB_CORR_CLUSTER
Optional: No
Call by Reference: Yes

E_TAB_DOCPART -

Data type: FKK_TAB_CORR_DOCPART
Optional: No
Call by Reference: Yes

TABLES Parameters details for FKKCORR_DFKKCOH_GET_CORR

ET_DFKKCOD - FI-CA Correspondence - Correspondence Data

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

ET_DFKKCODCLUST - FI-CA Correspondence - Correspondence Cluster Data

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

EXCEPTIONS details

NOT_FOUND - Not Found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKKCORR_DFKKCOH_GET_CORR 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_cotyp  TYPE COTYP_KK, "   
lv_e_dfkkcoh  TYPE DFKKCOH, "   
lv_not_found  TYPE DFKKCOH, "   
lt_et_dfkkcod  TYPE STANDARD TABLE OF DFKKCOD, "   
lv_i_cokey  TYPE COKEY_KK, "   
lv_e_tab_cluster  TYPE FKK_TAB_CORR_CLUSTER, "   
lt_et_dfkkcodclust  TYPE STANDARD TABLE OF DFKKCODCLUST, "   
lv_e_tab_docpart  TYPE FKK_TAB_CORR_DOCPART. "   

  CALL FUNCTION 'FKKCORR_DFKKCOH_GET_CORR'  "
    EXPORTING
         I_COTYP = lv_i_cotyp
         I_COKEY = lv_i_cokey
    IMPORTING
         E_DFKKCOH = lv_e_dfkkcoh
         E_TAB_CLUSTER = lv_e_tab_cluster
         E_TAB_DOCPART = lv_e_tab_docpart
    TABLES
         ET_DFKKCOD = lt_et_dfkkcod
         ET_DFKKCODCLUST = lt_et_dfkkcodclust
    EXCEPTIONS
        NOT_FOUND = 1
. " FKKCORR_DFKKCOH_GET_CORR




ABAP code using 7.40 inline data declarations to call FM FKKCORR_DFKKCOH_GET_CORR

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.

 
 
 
 
 
 
 
 


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!