SAP FKK_CLNOTIF_SUBSCRIBE Function Module for
FKK_CLNOTIF_SUBSCRIBE is a standard fkk clnotif subscribe 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 clnotif subscribe FM, simply by entering the name FKK_CLNOTIF_SUBSCRIBE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKB_CS1
Program Name: SAPLFKB_CS1
Main Program: SAPLFKB_CS1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_CLNOTIF_SUBSCRIBE 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_CLNOTIF_SUBSCRIBE'".
EXPORTING
I_XDELE = "Delete Item
* I_BTD_REFERENCE = "Document Reference from Feeder System
I_RECEIVER_SYS = "Key Name of a Business System
* I_CHECKD = '00000000' "Date From Which Possible to Check If Entry Is Obsolete
* I_PROCESS = 'CL' "Process for Registering an Object
I_GPART = "Business Partner Number
I_EXT_GPART = "Business Partner Number in External System
I_OPBEL = "Number of a Contract Accounts Receivable and Payable Document
I_VKONT = "Contract Account Number
I_VTREF = "Reference Specifications from Contract
I_SUBAP = "Subapplication in Contract Accounts Receivable and Payable
I_INTERNAL_ICDR = "ID of an InsuranceCollectionDisbursementRequest
EXCEPTIONS
BUSINESS_PARTNER_MISSING = 1 EXT_BUSINESS_PARTNER_UNKNOWN = 2 ICDR_NOT_FOUND = 3 RECEIVER_SYSTEM_MISSING = 4 EVENT_ERROR = 5 NO_AUTHORIZATION = 6 OBJECT_MISSING = 7 OBJECT_NOT_UNIQUE = 8
IMPORTING Parameters details for FKK_CLNOTIF_SUBSCRIBE
I_XDELE - Delete Item
Data type: XDELI_KKOptional: No
Call by Reference: Yes
I_BTD_REFERENCE - Document Reference from Feeder System
Data type: FKK_BUS_TRANS_DOC_REF_INTOptional: Yes
Call by Reference: Yes
I_RECEIVER_SYS - Key Name of a Business System
Data type: SLD_BSKEYOptional: No
Call by Reference: Yes
I_CHECKD - Date From Which Possible to Check If Entry Is Obsolete
Data type: DFKKREGOBJ-FIRST_CHECK_DATEDefault: '00000000'
Optional: Yes
Call by Reference: Yes
I_PROCESS - Process for Registering an Object
Data type: DFKKREGOBJ-PROCESSDefault: 'CL'
Optional: No
Call by Reference: Yes
I_GPART - Business Partner Number
Data type: DFKKREGOBJ-GPARTOptional: No
Call by Reference: Yes
I_EXT_GPART - Business Partner Number in External System
Data type: BU_BPEXTOptional: No
Call by Reference: Yes
I_OPBEL - Number of a Contract Accounts Receivable and Payable Document
Data type: OPBEL_KKOptional: No
Call by Reference: Yes
I_VKONT - Contract Account Number
Data type: VKONT_KKOptional: No
Call by Reference: Yes
I_VTREF - Reference Specifications from Contract
Data type: VTREF_KKOptional: No
Call by Reference: Yes
I_SUBAP - Subapplication in Contract Accounts Receivable and Payable
Data type: SUBAP_KKOptional: No
Call by Reference: Yes
I_INTERNAL_ICDR - ID of an InsuranceCollectionDisbursementRequest
Data type: CHAR15Optional: No
Call by Reference: Yes
EXCEPTIONS details
BUSINESS_PARTNER_MISSING -
Data type:Optional: No
Call by Reference: Yes
EXT_BUSINESS_PARTNER_UNKNOWN -
Data type:Optional: No
Call by Reference: Yes
ICDR_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
RECEIVER_SYSTEM_MISSING -
Data type:Optional: No
Call by Reference: Yes
EVENT_ERROR -
Data type:Optional: No
Call by Reference: Yes
NO_AUTHORIZATION - No Authorization
Data type:Optional: No
Call by Reference: Yes
OBJECT_MISSING - No Object Specified
Data type:Optional: No
Call by Reference: Yes
OBJECT_NOT_UNIQUE - Object Not Unique
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_CLNOTIF_SUBSCRIBE 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_xdele | TYPE XDELI_KK, " | |||
| lv_business_partner_missing | TYPE XDELI_KK, " | |||
| lv_i_btd_reference | TYPE FKK_BUS_TRANS_DOC_REF_INT, " | |||
| lv_i_receiver_sys | TYPE SLD_BSKEY, " | |||
| lv_i_checkd | TYPE DFKKREGOBJ-FIRST_CHECK_DATE, " '00000000' | |||
| lv_i_process | TYPE DFKKREGOBJ-PROCESS, " 'CL' | |||
| lv_ext_business_partner_unknown | TYPE DFKKREGOBJ, " | |||
| lv_i_gpart | TYPE DFKKREGOBJ-GPART, " | |||
| lv_icdr_not_found | TYPE DFKKREGOBJ, " | |||
| lv_i_ext_gpart | TYPE BU_BPEXT, " | |||
| lv_receiver_system_missing | TYPE BU_BPEXT, " | |||
| lv_i_opbel | TYPE OPBEL_KK, " | |||
| lv_event_error | TYPE OPBEL_KK, " | |||
| lv_i_vkont | TYPE VKONT_KK, " | |||
| lv_no_authorization | TYPE VKONT_KK, " | |||
| lv_i_vtref | TYPE VTREF_KK, " | |||
| lv_object_missing | TYPE VTREF_KK, " | |||
| lv_i_subap | TYPE SUBAP_KK, " | |||
| lv_object_not_unique | TYPE SUBAP_KK, " | |||
| lv_i_internal_icdr | TYPE CHAR15. " |
|   CALL FUNCTION 'FKK_CLNOTIF_SUBSCRIBE' " |
| EXPORTING | ||
| I_XDELE | = lv_i_xdele | |
| I_BTD_REFERENCE | = lv_i_btd_reference | |
| I_RECEIVER_SYS | = lv_i_receiver_sys | |
| I_CHECKD | = lv_i_checkd | |
| I_PROCESS | = lv_i_process | |
| I_GPART | = lv_i_gpart | |
| I_EXT_GPART | = lv_i_ext_gpart | |
| I_OPBEL | = lv_i_opbel | |
| I_VKONT | = lv_i_vkont | |
| I_VTREF | = lv_i_vtref | |
| I_SUBAP | = lv_i_subap | |
| I_INTERNAL_ICDR | = lv_i_internal_icdr | |
| EXCEPTIONS | ||
| BUSINESS_PARTNER_MISSING = 1 | ||
| EXT_BUSINESS_PARTNER_UNKNOWN = 2 | ||
| ICDR_NOT_FOUND = 3 | ||
| RECEIVER_SYSTEM_MISSING = 4 | ||
| EVENT_ERROR = 5 | ||
| NO_AUTHORIZATION = 6 | ||
| OBJECT_MISSING = 7 | ||
| OBJECT_NOT_UNIQUE = 8 | ||
| . " FKK_CLNOTIF_SUBSCRIBE | ||
ABAP code using 7.40 inline data declarations to call FM FKK_CLNOTIF_SUBSCRIBE
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 FIRST_CHECK_DATE FROM DFKKREGOBJ INTO @DATA(ld_i_checkd). | ||||
| DATA(ld_i_checkd) | = '00000000'. | |||
| "SELECT single PROCESS FROM DFKKREGOBJ INTO @DATA(ld_i_process). | ||||
| DATA(ld_i_process) | = 'CL'. | |||
| "SELECT single GPART FROM DFKKREGOBJ INTO @DATA(ld_i_gpart). | ||||
Search for further information about these or an SAP related objects