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

Function FKK_WRITEOFF_VERIFY 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_WRITEOFF_VERIFY'".
EXPORTING
I_BUDAT = "Posting Date in the Document
* I_XCOLL = "Submission to Collection Agency
* I_XINVC = "Single-Character Indicator
* I_ERNAM = "Name of Person Who Created Object
* I_OPBEL = "Number of a Contract Accounts Receivable and Payable Document
* I_XANZA = "Write Off Down Payment Requests and Payment Requests
I_BLART = "Document Type
I_ABGRD = "Write-Off Reason
I_WAERS = "Currency Key
* I_FIKEY = "Reconciliation Key for General Ledger
* I_BUKRS = "Company Code
* I_COKEY = "CO Account Assignment Key
* I_XRULE = "Write-Off without Check Rules
* I_RFKA1 = "Dialog Fields for SAPLFKA1 and SAPLFKA8
TABLES
T_FKKCL = "Clearing Items for Document in Contract Accounts Receivable and Payable
* T_MESSA = "FI Messages
IMPORTING Parameters details for FKK_WRITEOFF_VERIFY
I_BUDAT - Posting Date in the Document
Data type: RFKA1-BUDATOptional: No
Call by Reference: No ( called with pass by value option)
I_XCOLL - Submission to Collection Agency
Data type: RFKA1-XCOLLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_XINVC - Single-Character Indicator
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ERNAM - Name of Person Who Created Object
Data type: ERNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OPBEL - Number of a Contract Accounts Receivable and Payable Document
Data type: RFKA1-OPBELOptional: Yes
Call by Reference: No ( called with pass by value option)
I_XANZA - Write Off Down Payment Requests and Payment Requests
Data type: XANZAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BLART - Document Type
Data type: RFKA1-BLARTOptional: No
Call by Reference: No ( called with pass by value option)
I_ABGRD - Write-Off Reason
Data type: RFKA1-ABGRDOptional: No
Call by Reference: No ( called with pass by value option)
I_WAERS - Currency Key
Data type: RFKA1-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
I_FIKEY - Reconciliation Key for General Ledger
Data type: RFKA1-FIKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS - Company Code
Data type: RFKA1-BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_COKEY - CO Account Assignment Key
Data type: RFKA1-COKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_XRULE - Write-Off without Check Rules
Data type: RFKA1-XRULEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RFKA1 - Dialog Fields for SAPLFKA1 and SAPLFKA8
Data type: RFKA1Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_WRITEOFF_VERIFY
T_FKKCL - Clearing Items for Document in Contract Accounts Receivable and Payable
Data type: FKKCLOptional: No
Call by Reference: Yes
T_MESSA - FI Messages
Data type: FIMSGOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FKK_WRITEOFF_VERIFY 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_budat | TYPE RFKA1-BUDAT, " | |||
| lt_t_fkkcl | TYPE STANDARD TABLE OF FKKCL, " | |||
| lv_i_xcoll | TYPE RFKA1-XCOLL, " | |||
| lv_i_xinvc | TYPE CHAR1, " | |||
| lv_i_ernam | TYPE ERNAM, " | |||
| lv_i_opbel | TYPE RFKA1-OPBEL, " | |||
| lv_i_xanza | TYPE XANZA, " | |||
| lv_i_blart | TYPE RFKA1-BLART, " | |||
| lt_t_messa | TYPE STANDARD TABLE OF FIMSG, " | |||
| lv_i_abgrd | TYPE RFKA1-ABGRD, " | |||
| lv_i_waers | TYPE RFKA1-WAERS, " | |||
| lv_i_fikey | TYPE RFKA1-FIKEY, " | |||
| lv_i_bukrs | TYPE RFKA1-BUKRS, " | |||
| lv_i_cokey | TYPE RFKA1-COKEY, " | |||
| lv_i_xrule | TYPE RFKA1-XRULE, " | |||
| lv_i_rfka1 | TYPE RFKA1. " |
|   CALL FUNCTION 'FKK_WRITEOFF_VERIFY' " |
| EXPORTING | ||
| I_BUDAT | = lv_i_budat | |
| I_XCOLL | = lv_i_xcoll | |
| I_XINVC | = lv_i_xinvc | |
| I_ERNAM | = lv_i_ernam | |
| I_OPBEL | = lv_i_opbel | |
| I_XANZA | = lv_i_xanza | |
| I_BLART | = lv_i_blart | |
| I_ABGRD | = lv_i_abgrd | |
| I_WAERS | = lv_i_waers | |
| I_FIKEY | = lv_i_fikey | |
| I_BUKRS | = lv_i_bukrs | |
| I_COKEY | = lv_i_cokey | |
| I_XRULE | = lv_i_xrule | |
| I_RFKA1 | = lv_i_rfka1 | |
| TABLES | ||
| T_FKKCL | = lt_t_fkkcl | |
| T_MESSA | = lt_t_messa | |
| . " FKK_WRITEOFF_VERIFY | ||
ABAP code using 7.40 inline data declarations to call FM FKK_WRITEOFF_VERIFY
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 BUDAT FROM RFKA1 INTO @DATA(ld_i_budat). | ||||
| "SELECT single XCOLL FROM RFKA1 INTO @DATA(ld_i_xcoll). | ||||
| "SELECT single OPBEL FROM RFKA1 INTO @DATA(ld_i_opbel). | ||||
| "SELECT single BLART FROM RFKA1 INTO @DATA(ld_i_blart). | ||||
| "SELECT single ABGRD FROM RFKA1 INTO @DATA(ld_i_abgrd). | ||||
| "SELECT single WAERS FROM RFKA1 INTO @DATA(ld_i_waers). | ||||
| "SELECT single FIKEY FROM RFKA1 INTO @DATA(ld_i_fikey). | ||||
| "SELECT single BUKRS FROM RFKA1 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single COKEY FROM RFKA1 INTO @DATA(ld_i_cokey). | ||||
| "SELECT single XRULE FROM RFKA1 INTO @DATA(ld_i_xrule). | ||||
Search for further information about these or an SAP related objects