SAP CP_BD_DIRECT_INPUT_KNOWLEDGE Function Module for NOTRANSL: Zuordnung von Beziehungswissen in DIRECT INPUT Verfahren
CP_BD_DIRECT_INPUT_KNOWLEDGE is a standard cp bd direct input knowledge 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: Zuordnung von Beziehungswissen in DIRECT INPUT Verfahren 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 cp bd direct input knowledge FM, simply by entering the name CP_BD_DIRECT_INPUT_KNOWLEDGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CPBD
Program Name: SAPLCPBD
Main Program: SAPLCPBD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CP_BD_DIRECT_INPUT_KNOWLEDGE 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 'CP_BD_DIRECT_INPUT_KNOWLEDGE'"NOTRANSL: Zuordnung von Beziehungswissen in DIRECT INPUT Verfahren.
IMPORTING
ERROR_DI_EXP = "
TABLES
KNOWL_ALLOC_OBJ_DI_TAB = "
* KNOWL_SOURCE_DI_TAB = "
ERROR_DI_TAB = "
ERROR_TAB = "
KNOWL_ALLOC_DI_TAB = "Assignment Information for Relationships
* KNOWL_BASIC_OBJ_DI_TAB = "
* KNOWL_BASIC_DI_TAB = "
* KNOWL_NAMES_OBJ_DI_TAB = "
* KNOWL_NAMES_DI_TAB = "
* KNOWL_DOCUS_OBJ_DI_TAB = "
* KNOWL_DOCUS_DI_TAB = "
* KNOWL_SOURCE_OBJ_DI_TAB = "
EXCEPTIONS
NO_INZ = 1
EXPORTING Parameters details for CP_BD_DIRECT_INPUT_KNOWLEDGE
ERROR_DI_EXP -
Data type: ERROR_DIOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CP_BD_DIRECT_INPUT_KNOWLEDGE
KNOWL_ALLOC_OBJ_DI_TAB -
Data type: RCUOB1_DIOptional: No
Call by Reference: No ( called with pass by value option)
KNOWL_SOURCE_DI_TAB -
Data type: RCUKN1Optional: Yes
Call by Reference: No ( called with pass by value option)
ERROR_DI_TAB -
Data type: ERROR_DIOptional: No
Call by Reference: No ( called with pass by value option)
ERROR_TAB -
Data type: CMFMSGOptional: No
Call by Reference: No ( called with pass by value option)
KNOWL_ALLOC_DI_TAB - Assignment Information for Relationships
Data type: RCUOB1Optional: No
Call by Reference: No ( called with pass by value option)
KNOWL_BASIC_OBJ_DI_TAB -
Data type: RCUKB1_DIOptional: Yes
Call by Reference: No ( called with pass by value option)
KNOWL_BASIC_DI_TAB -
Data type: RCUKB1Optional: Yes
Call by Reference: No ( called with pass by value option)
KNOWL_NAMES_OBJ_DI_TAB -
Data type: RCUKBT1_DIOptional: Yes
Call by Reference: No ( called with pass by value option)
KNOWL_NAMES_DI_TAB -
Data type: RCUKBT1Optional: Yes
Call by Reference: No ( called with pass by value option)
KNOWL_DOCUS_OBJ_DI_TAB -
Data type: RCUKDO1_DIOptional: Yes
Call by Reference: No ( called with pass by value option)
KNOWL_DOCUS_DI_TAB -
Data type: RCUKDOC1Optional: Yes
Call by Reference: No ( called with pass by value option)
KNOWL_SOURCE_OBJ_DI_TAB -
Data type: RCUKN1_DIOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_INZ -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CP_BD_DIRECT_INPUT_KNOWLEDGE 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_no_inz | TYPE STRING, " | |||
| lv_error_di_exp | TYPE ERROR_DI, " | |||
| lt_knowl_alloc_obj_di_tab | TYPE STANDARD TABLE OF RCUOB1_DI, " | |||
| lt_knowl_source_di_tab | TYPE STANDARD TABLE OF RCUKN1, " | |||
| lt_error_di_tab | TYPE STANDARD TABLE OF ERROR_DI, " | |||
| lt_error_tab | TYPE STANDARD TABLE OF CMFMSG, " | |||
| lt_knowl_alloc_di_tab | TYPE STANDARD TABLE OF RCUOB1, " | |||
| lt_knowl_basic_obj_di_tab | TYPE STANDARD TABLE OF RCUKB1_DI, " | |||
| lt_knowl_basic_di_tab | TYPE STANDARD TABLE OF RCUKB1, " | |||
| lt_knowl_names_obj_di_tab | TYPE STANDARD TABLE OF RCUKBT1_DI, " | |||
| lt_knowl_names_di_tab | TYPE STANDARD TABLE OF RCUKBT1, " | |||
| lt_knowl_docus_obj_di_tab | TYPE STANDARD TABLE OF RCUKDO1_DI, " | |||
| lt_knowl_docus_di_tab | TYPE STANDARD TABLE OF RCUKDOC1, " | |||
| lt_knowl_source_obj_di_tab | TYPE STANDARD TABLE OF RCUKN1_DI. " |
|   CALL FUNCTION 'CP_BD_DIRECT_INPUT_KNOWLEDGE' "NOTRANSL: Zuordnung von Beziehungswissen in DIRECT INPUT Verfahren |
| IMPORTING | ||
| ERROR_DI_EXP | = lv_error_di_exp | |
| TABLES | ||
| KNOWL_ALLOC_OBJ_DI_TAB | = lt_knowl_alloc_obj_di_tab | |
| KNOWL_SOURCE_DI_TAB | = lt_knowl_source_di_tab | |
| ERROR_DI_TAB | = lt_error_di_tab | |
| ERROR_TAB | = lt_error_tab | |
| KNOWL_ALLOC_DI_TAB | = lt_knowl_alloc_di_tab | |
| KNOWL_BASIC_OBJ_DI_TAB | = lt_knowl_basic_obj_di_tab | |
| KNOWL_BASIC_DI_TAB | = lt_knowl_basic_di_tab | |
| KNOWL_NAMES_OBJ_DI_TAB | = lt_knowl_names_obj_di_tab | |
| KNOWL_NAMES_DI_TAB | = lt_knowl_names_di_tab | |
| KNOWL_DOCUS_OBJ_DI_TAB | = lt_knowl_docus_obj_di_tab | |
| KNOWL_DOCUS_DI_TAB | = lt_knowl_docus_di_tab | |
| KNOWL_SOURCE_OBJ_DI_TAB | = lt_knowl_source_obj_di_tab | |
| EXCEPTIONS | ||
| NO_INZ = 1 | ||
| . " CP_BD_DIRECT_INPUT_KNOWLEDGE | ||
ABAP code using 7.40 inline data declarations to call FM CP_BD_DIRECT_INPUT_KNOWLEDGE
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