SAP CK_EXTRACT_SAVE Function Module for NOTRANSL: Speichern des Extraktes
CK_EXTRACT_SAVE is a standard ck extract save 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: Speichern des Extraktes 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 ck extract save FM, simply by entering the name CK_EXTRACT_SAVE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CK_EXTRACT_LEVEL2
Program Name: SAPLCK_EXTRACT_LEVEL2
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CK_EXTRACT_SAVE 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 'CK_EXTRACT_SAVE'"NOTRANSL: Speichern des Extraktes.
EXPORTING
I_REPORT = "ABAP Program Name
I_VARIANT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_USER = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_STRUCNAME = "Table Name
* I_CUT_OFF = ' ' "Checkbox
TABLES
IT_TABLE = "
* IT_FIELDCAT_HLINK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_HLINKS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for CK_EXTRACT_SAVE
I_REPORT - ABAP Program Name
Data type: CKDISEXTR-REPORTOptional: No
Call by Reference: No ( called with pass by value option)
I_VARIANT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CKDISEXTR-VRNTOptional: No
Call by Reference: No ( called with pass by value option)
I_USER - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CKDISEXTR-USERNAMEDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_STRUCNAME - Table Name
Data type: CKEXTRDUM-TABNAMEOptional: No
Call by Reference: Yes
I_CUT_OFF - Checkbox
Data type: CKEXTRDUM-CUT_OFFDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for CK_EXTRACT_SAVE
IT_TABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IT_FIELDCAT_HLINK - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LVC_S_FC2_WAOOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_HLINKS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: LVC_S_HYPE_WAOOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CK_EXTRACT_SAVE 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: | ||||
| lt_it_table | TYPE STANDARD TABLE OF STRING, " | |||
| lv_i_report | TYPE CKDISEXTR-REPORT, " | |||
| lv_i_variant | TYPE CKDISEXTR-VRNT, " | |||
| lt_it_fieldcat_hlink | TYPE STANDARD TABLE OF LVC_S_FC2_WAO, " | |||
| lv_i_user | TYPE CKDISEXTR-USERNAME, " SPACE | |||
| lt_it_hlinks | TYPE STANDARD TABLE OF LVC_S_HYPE_WAO, " | |||
| lv_i_strucname | TYPE CKEXTRDUM-TABNAME, " | |||
| lv_i_cut_off | TYPE CKEXTRDUM-CUT_OFF. " SPACE |
|   CALL FUNCTION 'CK_EXTRACT_SAVE' "NOTRANSL: Speichern des Extraktes |
| EXPORTING | ||
| I_REPORT | = lv_i_report | |
| I_VARIANT | = lv_i_variant | |
| I_USER | = lv_i_user | |
| I_STRUCNAME | = lv_i_strucname | |
| I_CUT_OFF | = lv_i_cut_off | |
| TABLES | ||
| IT_TABLE | = lt_it_table | |
| IT_FIELDCAT_HLINK | = lt_it_fieldcat_hlink | |
| IT_HLINKS | = lt_it_hlinks | |
| . " CK_EXTRACT_SAVE | ||
ABAP code using 7.40 inline data declarations to call FM CK_EXTRACT_SAVE
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 REPORT FROM CKDISEXTR INTO @DATA(ld_i_report). | ||||
| "SELECT single VRNT FROM CKDISEXTR INTO @DATA(ld_i_variant). | ||||
| "SELECT single USERNAME FROM CKDISEXTR INTO @DATA(ld_i_user). | ||||
| DATA(ld_i_user) | = ' '. | |||
| "SELECT single TABNAME FROM CKEXTRDUM INTO @DATA(ld_i_strucname). | ||||
| "SELECT single CUT_OFF FROM CKEXTRDUM INTO @DATA(ld_i_cut_off). | ||||
| DATA(ld_i_cut_off) | = ' '. | |||
Search for further information about these or an SAP related objects