SAP FKK_DOC_EXTR_CSV Function Module for
FKK_DOC_EXTR_CSV is a standard fkk doc extr csv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fkk doc extr csv FM, simply by entering the name FKK_DOC_EXTR_CSV into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKK_DOC_EXTR_EXTR
Program Name: SAPLFKK_DOC_EXTR_EXTR
Main Program: SAPLFKK_DOC_EXTR_EXTR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_DOC_EXTR_CSV 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 'FKK_DOC_EXTR_CSV'".
EXPORTING
I_OBJECT = "Short Extract: Object Key
I_OPBEL = "Document Number Range Table
I_REPLACE = "Overwrite File
I_BUKRS = "Range Table Company Code
I_GPART = "Range Table GPART
I_BUDAT = "Range Table for BUDAT
I_GJAHR = "Fiscal Year Range Table
I_LAYOUT = "
I_FILE = "File Name
I_LOCAL = "Local File
I_SPRAS = "Language Key
IMPORTING Parameters details for FKK_DOC_EXTR_CSV
I_OBJECT - Short Extract: Object Key
Data type: TFKK_EXTR_OBJ-OBJECTOptional: No
Call by Reference: Yes
I_OPBEL - Document Number Range Table
Data type: FKK_RT_OPBELOptional: No
Call by Reference: Yes
I_REPLACE - Overwrite File
Data type: COptional: No
Call by Reference: Yes
I_BUKRS - Range Table Company Code
Data type: FKK_RT_BUKRSOptional: No
Call by Reference: Yes
I_GPART - Range Table GPART
Data type: FKK_RT_SH_GPARTOptional: No
Call by Reference: Yes
I_BUDAT - Range Table for BUDAT
Data type: FKK_RT_BUDATOptional: No
Call by Reference: Yes
I_GJAHR - Fiscal Year Range Table
Data type: FKK_RT_GJAHROptional: No
Call by Reference: Yes
I_LAYOUT -
Data type: SLNAM_KKOptional: No
Call by Reference: Yes
I_FILE - File Name
Data type: FKKPDO-FILE_NAMEOptional: No
Call by Reference: Yes
I_LOCAL - Local File
Data type: FKKPDO-LOCALOptional: No
Call by Reference: Yes
I_SPRAS - Language Key
Data type: SPRASOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_DOC_EXTR_CSV 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_i_object | TYPE TFKK_EXTR_OBJ-OBJECT, " | |||
| lv_i_opbel | TYPE FKK_RT_OPBEL, " | |||
| lv_i_replace | TYPE C, " | |||
| lv_i_bukrs | TYPE FKK_RT_BUKRS, " | |||
| lv_i_gpart | TYPE FKK_RT_SH_GPART, " | |||
| lv_i_budat | TYPE FKK_RT_BUDAT, " | |||
| lv_i_gjahr | TYPE FKK_RT_GJAHR, " | |||
| lv_i_layout | TYPE SLNAM_KK, " | |||
| lv_i_file | TYPE FKKPDO-FILE_NAME, " | |||
| lv_i_local | TYPE FKKPDO-LOCAL, " | |||
| lv_i_spras | TYPE SPRAS. " |
|   CALL FUNCTION 'FKK_DOC_EXTR_CSV' " |
| EXPORTING | ||
| I_OBJECT | = lv_i_object | |
| I_OPBEL | = lv_i_opbel | |
| I_REPLACE | = lv_i_replace | |
| I_BUKRS | = lv_i_bukrs | |
| I_GPART | = lv_i_gpart | |
| I_BUDAT | = lv_i_budat | |
| I_GJAHR | = lv_i_gjahr | |
| I_LAYOUT | = lv_i_layout | |
| I_FILE | = lv_i_file | |
| I_LOCAL | = lv_i_local | |
| I_SPRAS | = lv_i_spras | |
| . " FKK_DOC_EXTR_CSV | ||
ABAP code using 7.40 inline data declarations to call FM FKK_DOC_EXTR_CSV
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 OBJECT FROM TFKK_EXTR_OBJ INTO @DATA(ld_i_object). | ||||
| "SELECT single FILE_NAME FROM FKKPDO INTO @DATA(ld_i_file). | ||||
| "SELECT single LOCAL FROM FKKPDO INTO @DATA(ld_i_local). | ||||
Search for further information about these or an SAP related objects