SAP CDESK_CHECKIN_WIZARD Function Module for NOTRANSL: Checkt Dateien ein, ggf. mit Dialog
CDESK_CHECKIN_WIZARD is a standard cdesk checkin wizard 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: Checkt Dateien ein, ggf. mit Dialog 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 cdesk checkin wizard FM, simply by entering the name CDESK_CHECKIN_WIZARD into the relevant SAP transaction such as SE37 or SE38.
Function Group: CDESK
Program Name: SAPLCDESK
Main Program: SAPLCDESK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CDESK_CHECKIN_WIZARD 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 'CDESK_CHECKIN_WIZARD'"NOTRANSL: Checkt Dateien ein, ggf. mit Dialog.
EXPORTING
* UPDATE_DOC_DATA = 'X' "
* WORKDIRECTORY = "Path for original file
* DARK = ' ' "
IMPORTING
EXECUTE = "Checkbox
RETURN = "Return Parameter(s)
TABLES
DOCUMENTS = "Document Data in CAD Desktop
IMPORTING Parameters details for CDESK_CHECKIN_WIZARD
UPDATE_DOC_DATA -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
WORKDIRECTORY - Path for original file
Data type: BAPI_DOC_FILES2-DOCPATHOptional: Yes
Call by Reference: No ( called with pass by value option)
DARK -
Data type: XFLAGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CDESK_CHECKIN_WIZARD
EXECUTE - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CDESK_CHECKIN_WIZARD
DOCUMENTS - Document Data in CAD Desktop
Data type: PLM_DOCUMENTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CDESK_CHECKIN_WIZARD 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_execute | TYPE XFELD, " | |||
| lt_documents | TYPE STANDARD TABLE OF PLM_DOCUMENT, " | |||
| lv_update_doc_data | TYPE XFELD, " 'X' | |||
| lv_return | TYPE BAPIRET2, " | |||
| lv_workdirectory | TYPE BAPI_DOC_FILES2-DOCPATH, " | |||
| lv_dark | TYPE XFLAG. " ' ' |
|   CALL FUNCTION 'CDESK_CHECKIN_WIZARD' "NOTRANSL: Checkt Dateien ein, ggf. mit Dialog |
| EXPORTING | ||
| UPDATE_DOC_DATA | = lv_update_doc_data | |
| WORKDIRECTORY | = lv_workdirectory | |
| DARK | = lv_dark | |
| IMPORTING | ||
| EXECUTE | = lv_execute | |
| RETURN | = lv_return | |
| TABLES | ||
| DOCUMENTS | = lt_documents | |
| . " CDESK_CHECKIN_WIZARD | ||
ABAP code using 7.40 inline data declarations to call FM CDESK_CHECKIN_WIZARD
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.| DATA(ld_update_doc_data) | = 'X'. | |||
| "SELECT single DOCPATH FROM BAPI_DOC_FILES2 INTO @DATA(ld_workdirectory). | ||||
| DATA(ld_dark) | = ' '. | |||
Search for further information about these or an SAP related objects