SAP FKKCORR_PRINT_DFKKCOH_SET Function Module for









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

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



Function FKKCORR_PRINT_DFKKCOH_SET 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_PRINT_DFKKCOH_SET'"
EXPORTING
* I_REF_LOG = CL_FKK_CORR_DLG=>NULL "
* T_COKEY = "Correspondence Key Range Table
* T_UNAME = "
* T_DATE = "Range Table Creation Date
* T_LAUFD = "
* T_LAUFI = "
* T_GPART = "Range Table GPART
* T_VKONT = "Range Table VKONT
* T_VTREF = "Range Table Type VTREF
* T_BUKRS = "Range Table Company Code
* T_FORMK = "Application Forms Range Table
* I_COTYP = ' ' "Correspondence Type
* T_DATA1 = "Correspondence Data Range Table
* T_DATA2 = "Correspondence Data Range Table
* T_DATA3 = "Correspondence Data Range Table
* T_DATA4 = "Correspondence Data Range Table
* I_TAB_TWHERE = "
* I_ITCPO = "SAPscript output interface
* I_EFGPP = "Additional Print Params for ITCPO
* I_AVOID_COMMIT = ' ' "
* I_COMMIT_COUNT = 1000 "
* I_SUPPRESS_OCL = ' ' "Deactive Open/Close Optimization
* I_LAUFD = '00000000' "Date ID for Creation Run
* I_USE_FORMKEY_FROM_EFGPP = ' ' "
* I_SPOOL_AGGR = ' ' "
* I_LAUFI = ' ' "Additional ID Characteristic for Creation Run
* I_UPDATE = ' ' "
* I_FONSP = ' ' "
* I_AVOID_BUFFER_STORAGE = ' ' "
* I_USE_BUFFER_AND_NOT_SELECTION = ' ' "Buffering Type
* T_COTYP = "Correspondence Category Range Table

IMPORTING
E_SUCCESS_NUM = "
E_TEST_NUM = "
E_TAB_SPOOLID = "Table with Spool IDs

TABLES
* T_FIMSG = "FI messages
* T_PRINT_ERRORS = "Error Messages during Printing
* T_DFKKCOH = "FI-CA Correspondence - Correspondence Header
.



IMPORTING Parameters details for FKKCORR_PRINT_DFKKCOH_SET

I_REF_LOG -

Data type: IF_FKK_CORR_LOG
Default: CL_FKK_CORR_DLG=>NULL
Optional: Yes
Call by Reference: Yes

T_COKEY - Correspondence Key Range Table

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

T_UNAME -

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

T_DATE - Range Table Creation Date

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

T_LAUFD -

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

T_LAUFI -

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

T_GPART - Range Table GPART

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

T_VKONT - Range Table VKONT

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

T_VTREF - Range Table Type VTREF

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

T_BUKRS - Range Table Company Code

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

T_FORMK - Application Forms Range Table

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

I_COTYP - Correspondence Type

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

T_DATA1 - Correspondence Data Range Table

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

T_DATA2 - Correspondence Data Range Table

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

T_DATA3 - Correspondence Data Range Table

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

T_DATA4 - Correspondence Data Range Table

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

I_TAB_TWHERE -

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

I_ITCPO - SAPscript output interface

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

I_EFGPP - Additional Print Params for ITCPO

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

I_AVOID_COMMIT -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

I_COMMIT_COUNT -

Data type: I
Default: 1000
Optional: Yes
Call by Reference: Yes

I_SUPPRESS_OCL - Deactive Open/Close Optimization

Data type: EFG_DTE_OCL_INACTIVE
Default: ' '
Optional: Yes
Call by Reference: Yes

I_LAUFD - Date ID for Creation Run

Data type: CORR_LAUFD_KK
Default: '00000000'
Optional: Yes
Call by Reference: Yes

I_USE_FORMKEY_FROM_EFGPP -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

I_SPOOL_AGGR -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

I_LAUFI - Additional ID Characteristic for Creation Run

Data type: CORR_LAUFI_KK
Default: ' '
Optional: Yes
Call by Reference: Yes

I_UPDATE -

Data type: CORR_PRINT_MODE
Default: ' '
Optional: Yes
Call by Reference: Yes

I_FONSP -

Data type: XCORR_FORCE_NEW_SPOOL
Default: ' '
Optional: Yes
Call by Reference: Yes

I_AVOID_BUFFER_STORAGE -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

I_USE_BUFFER_AND_NOT_SELECTION - Buffering Type

Data type: CORR_BUFFER_MODE
Default: ' '
Optional: Yes
Call by Reference: Yes

T_COTYP - Correspondence Category Range Table

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

EXPORTING Parameters details for FKKCORR_PRINT_DFKKCOH_SET

E_SUCCESS_NUM -

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

E_TEST_NUM -

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

E_TAB_SPOOLID - Table with Spool IDs

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

TABLES Parameters details for FKKCORR_PRINT_DFKKCOH_SET

T_FIMSG - FI messages

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

T_PRINT_ERRORS - Error Messages during Printing

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

T_DFKKCOH - FI-CA Correspondence - Correspondence Header

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

Copy and paste ABAP code example for FKKCORR_PRINT_DFKKCOH_SET 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_fimsg  TYPE STANDARD TABLE OF FIMSG, "   
lv_i_ref_log  TYPE IF_FKK_CORR_LOG, "   CL_FKK_CORR_DLG=>NULL
lv_e_success_num  TYPE I, "   
lv_t_cokey  TYPE FKK_RT_COKEY, "   
lv_t_uname  TYPE FKKCORR_RT_UNAME, "   
lv_t_date  TYPE FKK_RT_CDATE, "   
lv_t_laufd  TYPE FKKCORR_RT_LAUFD, "   
lv_t_laufi  TYPE FKKCORR_RT_LAUFI, "   
lv_t_gpart  TYPE FKKCORR_RT_CREC_GP, "   
lv_t_vkont  TYPE FKKCORR_RT_VKONT, "   
lv_t_vtref  TYPE FKKCORR_RT_VTREF, "   
lv_t_bukrs  TYPE FKKCORR_RT_BUKRS, "   
lv_t_formk  TYPE FKK_RT_FORMK, "   
lv_i_cotyp  TYPE COTYP_KK, "   ' '
lv_e_test_num  TYPE I, "   
lt_t_print_errors  TYPE STANDARD TABLE OF DFKKCOH_PRINT_ERROR, "   
lv_t_data1  TYPE FKK_RT_CDATA, "   
lv_t_data2  TYPE FKK_RT_CDATA, "   
lv_t_data3  TYPE FKK_RT_CDATA, "   
lv_t_data4  TYPE FKK_RT_CDATA, "   
lv_i_tab_twhere  TYPE RSDS_TWHERE, "   
lv_i_itcpo  TYPE ITCPO, "   
lv_i_efgpp  TYPE EFG_PRINTPARAMS, "   
lv_i_avoid_commit  TYPE XFELD, "   ' '
lv_i_commit_count  TYPE I, "   1000
lv_i_suppress_ocl  TYPE EFG_DTE_OCL_INACTIVE, "   ' '
lv_i_laufd  TYPE CORR_LAUFD_KK, "   '00000000'
lt_t_dfkkcoh  TYPE STANDARD TABLE OF DFKKCOH, "   
lv_e_tab_spoolid  TYPE TSFSPOOLID, "   
lv_i_use_formkey_from_efgpp  TYPE XFELD, "   ' '
lv_i_spool_aggr  TYPE XFELD, "   ' '
lv_i_laufi  TYPE CORR_LAUFI_KK, "   ' '
lv_i_update  TYPE CORR_PRINT_MODE, "   ' '
lv_i_fonsp  TYPE XCORR_FORCE_NEW_SPOOL, "   ' '
lv_i_avoid_buffer_storage  TYPE XFELD, "   ' '
lv_i_use_buffer_and_not_selection  TYPE CORR_BUFFER_MODE, "   ' '
lv_t_cotyp  TYPE FKK_RT_COTYP. "   

  CALL FUNCTION 'FKKCORR_PRINT_DFKKCOH_SET'  "
    EXPORTING
         I_REF_LOG = lv_i_ref_log
         T_COKEY = lv_t_cokey
         T_UNAME = lv_t_uname
         T_DATE = lv_t_date
         T_LAUFD = lv_t_laufd
         T_LAUFI = lv_t_laufi
         T_GPART = lv_t_gpart
         T_VKONT = lv_t_vkont
         T_VTREF = lv_t_vtref
         T_BUKRS = lv_t_bukrs
         T_FORMK = lv_t_formk
         I_COTYP = lv_i_cotyp
         T_DATA1 = lv_t_data1
         T_DATA2 = lv_t_data2
         T_DATA3 = lv_t_data3
         T_DATA4 = lv_t_data4
         I_TAB_TWHERE = lv_i_tab_twhere
         I_ITCPO = lv_i_itcpo
         I_EFGPP = lv_i_efgpp
         I_AVOID_COMMIT = lv_i_avoid_commit
         I_COMMIT_COUNT = lv_i_commit_count
         I_SUPPRESS_OCL = lv_i_suppress_ocl
         I_LAUFD = lv_i_laufd
         I_USE_FORMKEY_FROM_EFGPP = lv_i_use_formkey_from_efgpp
         I_SPOOL_AGGR = lv_i_spool_aggr
         I_LAUFI = lv_i_laufi
         I_UPDATE = lv_i_update
         I_FONSP = lv_i_fonsp
         I_AVOID_BUFFER_STORAGE = lv_i_avoid_buffer_storage
         I_USE_BUFFER_AND_NOT_SELECTION = lv_i_use_buffer_and_not_selection
         T_COTYP = lv_t_cotyp
    IMPORTING
         E_SUCCESS_NUM = lv_e_success_num
         E_TEST_NUM = lv_e_test_num
         E_TAB_SPOOLID = lv_e_tab_spoolid
    TABLES
         T_FIMSG = lt_t_fimsg
         T_PRINT_ERRORS = lt_t_print_errors
         T_DFKKCOH = lt_t_dfkkcoh
. " FKKCORR_PRINT_DFKKCOH_SET




ABAP code using 7.40 inline data declarations to call FM FKKCORR_PRINT_DFKKCOH_SET

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.

 
DATA(ld_i_ref_log) = CL_FKK_CORR_DLG=>NULL.
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_cotyp) = ' '.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_avoid_commit) = ' '.
 
DATA(ld_i_commit_count) = 1000.
 
DATA(ld_i_suppress_ocl) = ' '.
 
DATA(ld_i_laufd) = '00000000'.
 
 
 
DATA(ld_i_use_formkey_from_efgpp) = ' '.
 
DATA(ld_i_spool_aggr) = ' '.
 
DATA(ld_i_laufi) = ' '.
 
DATA(ld_i_update) = ' '.
 
DATA(ld_i_fonsp) = ' '.
 
DATA(ld_i_avoid_buffer_storage) = ' '.
 
DATA(ld_i_use_buffer_and_not_selection) = ' '.
 
 


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!