SAP CVDS_DOCUMENT_CHECKIN Function Module for NOTRANSL: Dokumente einchecken (ALE-Eingang) (wird nicht mehr verwendet)
CVDS_DOCUMENT_CHECKIN is a standard cvds document checkin 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: Dokumente einchecken (ALE-Eingang) (wird nicht mehr verwendet) 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 cvds document checkin FM, simply by entering the name CVDS_DOCUMENT_CHECKIN into the relevant SAP transaction such as SE37 or SE38.
Function Group: CVALE
Program Name: SAPLCVALE
Main Program: SAPLCVALE
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CVDS_DOCUMENT_CHECKIN 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 'CVDS_DOCUMENT_CHECKIN'"NOTRANSL: Dokumente einchecken (ALE-Eingang) (wird nicht mehr verwendet).
EXPORTING
PF_NR = "
PS_DRAW = "
* PF_FILENAME = '' "
* PF_CREATE_NEWFILE = '' "
* PS_MESSAGES = "
IMPORTING
PF_DCTYPE = "
TABLES
* PT_DRAO = "
* PT_DRAZ = "
* PT_DRAOZ = "
EXCEPTIONS
ERROR_CHECK_IN = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLCVALE_001 User exit for ALE-DMS (DOCMAS inbound)
EXIT_SAPLCVALE_002 User exit for ALE-DMS (DOCMAS outbound)
EXIT_SAPLCVALE_003 User exit for ALE-DMS (DOLMAS inbound)
EXIT_SAPLCVALE_004 User exit for ALE-DMS (DOLMAS outbound)
EXIT_SAPLCVALE_005 Userexit for filter objects (ALE outbound)
EXIT_SAPLCVALE_006 User Exit for ALE-DVC (DOCMAS Outbound, BOMDOC Control)
IMPORTING Parameters details for CVDS_DOCUMENT_CHECKIN
PF_NR -
Data type: DRAO-APPNROptional: No
Call by Reference: No ( called with pass by value option)
PS_DRAW -
Data type: DRAWOptional: No
Call by Reference: No ( called with pass by value option)
PF_FILENAME -
Data type: DRAW-FILEPDefault: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
PF_CREATE_NEWFILE -
Data type: MCDOK-CVKLASDefault: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
PS_MESSAGES -
Data type: MESSAGESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CVDS_DOCUMENT_CHECKIN
PF_DCTYPE -
Data type: DRAW-DTTRGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CVDS_DOCUMENT_CHECKIN
PT_DRAO -
Data type: DRAOOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_DRAZ -
Data type: DRAZOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_DRAOZ -
Data type: DRAOZOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_CHECK_IN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CVDS_DOCUMENT_CHECKIN 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_pf_nr | TYPE DRAO-APPNR, " | |||
| lt_pt_drao | TYPE STANDARD TABLE OF DRAO, " | |||
| lv_pf_dctype | TYPE DRAW-DTTRG, " | |||
| lv_error_check_in | TYPE DRAW, " | |||
| lv_ps_draw | TYPE DRAW, " | |||
| lt_pt_draz | TYPE STANDARD TABLE OF DRAZ, " | |||
| lt_pt_draoz | TYPE STANDARD TABLE OF DRAOZ, " | |||
| lv_pf_filename | TYPE DRAW-FILEP, " '' | |||
| lv_pf_create_newfile | TYPE MCDOK-CVKLAS, " '' | |||
| lv_ps_messages | TYPE MESSAGES. " |
|   CALL FUNCTION 'CVDS_DOCUMENT_CHECKIN' "NOTRANSL: Dokumente einchecken (ALE-Eingang) (wird nicht mehr verwendet) |
| EXPORTING | ||
| PF_NR | = lv_pf_nr | |
| PS_DRAW | = lv_ps_draw | |
| PF_FILENAME | = lv_pf_filename | |
| PF_CREATE_NEWFILE | = lv_pf_create_newfile | |
| PS_MESSAGES | = lv_ps_messages | |
| IMPORTING | ||
| PF_DCTYPE | = lv_pf_dctype | |
| TABLES | ||
| PT_DRAO | = lt_pt_drao | |
| PT_DRAZ | = lt_pt_draz | |
| PT_DRAOZ | = lt_pt_draoz | |
| EXCEPTIONS | ||
| ERROR_CHECK_IN = 1 | ||
| . " CVDS_DOCUMENT_CHECKIN | ||
ABAP code using 7.40 inline data declarations to call FM CVDS_DOCUMENT_CHECKIN
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 APPNR FROM DRAO INTO @DATA(ld_pf_nr). | ||||
| "SELECT single DTTRG FROM DRAW INTO @DATA(ld_pf_dctype). | ||||
| "SELECT single FILEP FROM DRAW INTO @DATA(ld_pf_filename). | ||||
| DATA(ld_pf_filename) | = ''. | |||
| "SELECT single CVKLAS FROM MCDOK INTO @DATA(ld_pf_create_newfile). | ||||
| DATA(ld_pf_create_newfile) | = ''. | |||
Search for further information about these or an SAP related objects