SAP CO_DOWN_PAYMENT_WRITE Function Module for NOTRANSL: CO-Anzahlungskontierungsprüfung (TKA00 wird berücksichtigt)
CO_DOWN_PAYMENT_WRITE is a standard co down payment write SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: CO-Anzahlungskontierungsprüfung (TKA00 wird berücksichtigt) processing and below is the pattern details for this FM, 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 co down payment write FM, simply by entering the name CO_DOWN_PAYMENT_WRITE into the relevant SAP transaction such as SE37 or SE38.
Function Group: KADP
Program Name: SAPLKADP
Main Program: SAPLKADP
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CO_DOWN_PAYMENT_WRITE 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 'CO_DOWN_PAYMENT_WRITE'"NOTRANSL: CO-Anzahlungskontierungsprüfung (TKA00 wird berücksichtigt).
EXPORTING
* TEST = ' ' "
* LIST = ' ' "
TABLES
T_AUSZ1 = "
T_FMBK = "
T_FMBP = "
* T_BSEG = "Accounting Document Segment
* T_AUSZ3 = "Assign Clearing Item to Cleared Items
* T_BKPF = "Accounting Document Header
* T_COVP = "Table Generated for View COVP
IMPORTING Parameters details for CO_DOWN_PAYMENT_WRITE
TEST -
Data type: LKO74-TESTLAUFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LIST -
Data type: LKO74-LISTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CO_DOWN_PAYMENT_WRITE
T_AUSZ1 -
Data type: AUSZ1Optional: No
Call by Reference: No ( called with pass by value option)
T_FMBK -
Data type: FMBKOptional: No
Call by Reference: No ( called with pass by value option)
T_FMBP -
Data type: FMBPOptional: No
Call by Reference: No ( called with pass by value option)
T_BSEG - Accounting Document Segment
Data type: BSEGOptional: Yes
Call by Reference: Yes
T_AUSZ3 - Assign Clearing Item to Cleared Items
Data type: AUSZ_CLROptional: Yes
Call by Reference: Yes
T_BKPF - Accounting Document Header
Data type: BKPFOptional: Yes
Call by Reference: Yes
T_COVP - Table Generated for View COVP
Data type: COVPOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CO_DOWN_PAYMENT_WRITE 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_test | TYPE LKO74-TESTLAUF, " SPACE | |||
| lt_t_ausz1 | TYPE STANDARD TABLE OF AUSZ1, " | |||
| lv_list | TYPE LKO74-LIST, " SPACE | |||
| lt_t_fmbk | TYPE STANDARD TABLE OF FMBK, " | |||
| lt_t_fmbp | TYPE STANDARD TABLE OF FMBP, " | |||
| lt_t_bseg | TYPE STANDARD TABLE OF BSEG, " | |||
| lt_t_ausz3 | TYPE STANDARD TABLE OF AUSZ_CLR, " | |||
| lt_t_bkpf | TYPE STANDARD TABLE OF BKPF, " | |||
| lt_t_covp | TYPE STANDARD TABLE OF COVP. " |
|   CALL FUNCTION 'CO_DOWN_PAYMENT_WRITE' "NOTRANSL: CO-Anzahlungskontierungsprüfung (TKA00 wird berücksichtigt) |
| EXPORTING | ||
| TEST | = lv_test | |
| LIST | = lv_list | |
| TABLES | ||
| T_AUSZ1 | = lt_t_ausz1 | |
| T_FMBK | = lt_t_fmbk | |
| T_FMBP | = lt_t_fmbp | |
| T_BSEG | = lt_t_bseg | |
| T_AUSZ3 | = lt_t_ausz3 | |
| T_BKPF | = lt_t_bkpf | |
| T_COVP | = lt_t_covp | |
| . " CO_DOWN_PAYMENT_WRITE | ||
ABAP code using 7.40 inline data declarations to call FM CO_DOWN_PAYMENT_WRITE
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 TESTLAUF FROM LKO74 INTO @DATA(ld_test). | ||||
| DATA(ld_test) | = ' '. | |||
| "SELECT single LIST FROM LKO74 INTO @DATA(ld_list). | ||||
| DATA(ld_list) | = ' '. | |||
Search for further information about these or an SAP related objects