SAP SDOK_DOC_FEATURES_GET Function Module for
SDOK_DOC_FEATURES_GET is a standard sdok doc features get 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 sdok doc features get FM, simply by entering the name SDOK_DOC_FEATURES_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDCE
Program Name: SAPLSDCE
Main Program: SAPLSDCE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function SDOK_DOC_FEATURES_GET 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 'SDOK_DOC_FEATURES_GET'".
EXPORTING
DOCU' ' = "Document Area
* CLIENT = SY-MANDT "Client
LAISO = "Language According to ISO 639
* NUMBERFE = 10 "
IMPORTING
RCODE = "Error Number
ES_ERRORCODE = "
TABLES
* ITAB_CATPROPTY = "
DOCLISTTAB = "
RESULTFEATTAB = "Results List for Characteristic Determination
EXCEPTIONS
CATID_NOT_EXISTING = 1 LANGUAGE_UNKNOWN = 2 RFC_SYS_FAILURE = 3 RFC_COM_FAILURE = 4 NO_RFC_DEST = 5 XERROR = 6
IMPORTING Parameters details for SDOK_DOC_FEATURES_GET
DOCUSPACE - Document Area
Data type: SDOK_DOCSPOptional: No
Call by Reference: No ( called with pass by value option)
CLIENT - Client
Data type: MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
LAISO - Language According to ISO 639
Data type: SRETA101-LAISOOptional: No
Call by Reference: No ( called with pass by value option)
NUMBERFE -
Data type: SRETGSTRUC-NUMBERFEDefault: 10
Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SDOK_DOC_FEATURES_GET
RCODE - Error Number
Data type: SRETGSTRUC-RCODEOptional: No
Call by Reference: No ( called with pass by value option)
ES_ERRORCODE -
Data type: SRETSERRORCODEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SDOK_DOC_FEATURES_GET
ITAB_CATPROPTY -
Data type: SDOKPROPTYOptional: Yes
Call by Reference: Yes
DOCLISTTAB -
Data type: SDOKRESDOCOptional: No
Call by Reference: Yes
RESULTFEATTAB - Results List for Characteristic Determination
Data type: SDOKRSDOC2Optional: No
Call by Reference: Yes
EXCEPTIONS details
CATID_NOT_EXISTING -
Data type:Optional: No
Call by Reference: Yes
LANGUAGE_UNKNOWN -
Data type:Optional: No
Call by Reference: Yes
RFC_SYS_FAILURE - Communication Error
Data type:Optional: No
Call by Reference: Yes
RFC_COM_FAILURE - Communication Error
Data type:Optional: No
Call by Reference: Yes
NO_RFC_DEST -
Data type:Optional: No
Call by Reference: Yes
XERROR - Unknown Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SDOK_DOC_FEATURES_GET 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_rcode | TYPE SRETGSTRUC-RCODE, " | |||
| lv_docuspace | TYPE SDOK_DOCSP, " | |||
| lt_itab_catpropty | TYPE STANDARD TABLE OF SDOKPROPTY, " | |||
| lv_catid_not_existing | TYPE SDOKPROPTY, " | |||
| lv_client | TYPE MANDT, " SY-MANDT | |||
| lt_doclisttab | TYPE STANDARD TABLE OF SDOKRESDOC, " | |||
| lv_es_errorcode | TYPE SRETSERRORCODE, " | |||
| lv_language_unknown | TYPE SRETSERRORCODE, " | |||
| lv_laiso | TYPE SRETA101-LAISO, " | |||
| lt_resultfeattab | TYPE STANDARD TABLE OF SDOKRSDOC2, " | |||
| lv_rfc_sys_failure | TYPE SDOKRSDOC2, " | |||
| lv_numberfe | TYPE SRETGSTRUC-NUMBERFE, " 10 | |||
| lv_rfc_com_failure | TYPE SRETGSTRUC, " | |||
| lv_no_rfc_dest | TYPE SRETGSTRUC, " | |||
| lv_xerror | TYPE SRETGSTRUC. " |
|   CALL FUNCTION 'SDOK_DOC_FEATURES_GET' " |
| EXPORTING | ||
| DOCUSPACE | = lv_docuspace | |
| CLIENT | = lv_client | |
| LAISO | = lv_laiso | |
| NUMBERFE | = lv_numberfe | |
| IMPORTING | ||
| RCODE | = lv_rcode | |
| ES_ERRORCODE | = lv_es_errorcode | |
| TABLES | ||
| ITAB_CATPROPTY | = lt_itab_catpropty | |
| DOCLISTTAB | = lt_doclisttab | |
| RESULTFEATTAB | = lt_resultfeattab | |
| EXCEPTIONS | ||
| CATID_NOT_EXISTING = 1 | ||
| LANGUAGE_UNKNOWN = 2 | ||
| RFC_SYS_FAILURE = 3 | ||
| RFC_COM_FAILURE = 4 | ||
| NO_RFC_DEST = 5 | ||
| XERROR = 6 | ||
| . " SDOK_DOC_FEATURES_GET | ||
ABAP code using 7.40 inline data declarations to call FM SDOK_DOC_FEATURES_GET
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 RCODE FROM SRETGSTRUC INTO @DATA(ld_rcode). | ||||
| DATA(ld_client) | = SY-MANDT. | |||
| "SELECT single LAISO FROM SRETA101 INTO @DATA(ld_laiso). | ||||
| "SELECT single NUMBERFE FROM SRETGSTRUC INTO @DATA(ld_numberfe). | ||||
| DATA(ld_numberfe) | = 10. | |||
Search for further information about these or an SAP related objects