C14DVS_EHSDOKAR_INTO_API_TABS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name C14DVS_EHSDOKAR_INTO_API_TABS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
C14DVS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'C14DVS_EHSDOKAR_INTO_API_TABS' "
* EXPORTING
* i_flg_header = ESP1_FALSE " esp1_boolean
* i_flg_docfile = ESP1_FALSE " esp1_boolean
* i_flg_doctext = ESP1_FALSE " esp1_boolean
* i_flg_classvalues = ESP1_FALSE " esp1_boolean
* i_flg_statuslog = ESP1_FALSE " esp1_boolean
* i_flg_exterror = ESP1_FALSE " esp1_boolean
* i_flg_initial_dokar_is_ok = ESP1_FALSE " esp1_boolean
IMPORTING
e_flg_error = " esp1_boolean
e_flg_no_matching_customized = " esp1_boolean
* TABLES
* x_api_header_tab = " espdv_apidraw_tab_type
* x_api_docfiles_tab = " espdv_apidrao_tab_type
* x_api_doctext_tab = " espdv_apidrat_tab_type
* x_api_classvalues_tab = " espdv_apiclass_tab_type
* x_api_statuslog_tab = " espdv_apidrap_tab_type
* x_exterror_tab = " espap_exterror_tab_type
EXCEPTIONS
NO_OBJECT_SPECIFIED = 1 "
PARAMETER_ERROR = 2 "
. " C14DVS_EHSDOKAR_INTO_API_TABS
The ABAP code below is a full code listing to execute function module C14DVS_EHSDOKAR_INTO_API_TABS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_flg_error | TYPE ESP1_BOOLEAN , |
| ld_e_flg_no_matching_customized | TYPE ESP1_BOOLEAN , |
| it_x_api_header_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAW_TAB_TYPE,"TABLES PARAM |
| wa_x_api_header_tab | LIKE LINE OF it_x_api_header_tab , |
| it_x_api_docfiles_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAO_TAB_TYPE,"TABLES PARAM |
| wa_x_api_docfiles_tab | LIKE LINE OF it_x_api_docfiles_tab , |
| it_x_api_doctext_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAT_TAB_TYPE,"TABLES PARAM |
| wa_x_api_doctext_tab | LIKE LINE OF it_x_api_doctext_tab , |
| it_x_api_classvalues_tab | TYPE STANDARD TABLE OF ESPDV_APICLASS_TAB_TYPE,"TABLES PARAM |
| wa_x_api_classvalues_tab | LIKE LINE OF it_x_api_classvalues_tab , |
| it_x_api_statuslog_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAP_TAB_TYPE,"TABLES PARAM |
| wa_x_api_statuslog_tab | LIKE LINE OF it_x_api_statuslog_tab , |
| it_x_exterror_tab | TYPE STANDARD TABLE OF ESPAP_EXTERROR_TAB_TYPE,"TABLES PARAM |
| wa_x_exterror_tab | LIKE LINE OF it_x_exterror_tab . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_flg_error | TYPE ESP1_BOOLEAN , |
| ld_i_flg_header | TYPE ESP1_BOOLEAN , |
| it_x_api_header_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAW_TAB_TYPE , |
| wa_x_api_header_tab | LIKE LINE OF it_x_api_header_tab, |
| ld_e_flg_no_matching_customized | TYPE ESP1_BOOLEAN , |
| ld_i_flg_docfile | TYPE ESP1_BOOLEAN , |
| it_x_api_docfiles_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAO_TAB_TYPE , |
| wa_x_api_docfiles_tab | LIKE LINE OF it_x_api_docfiles_tab, |
| ld_i_flg_doctext | TYPE ESP1_BOOLEAN , |
| it_x_api_doctext_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAT_TAB_TYPE , |
| wa_x_api_doctext_tab | LIKE LINE OF it_x_api_doctext_tab, |
| ld_i_flg_classvalues | TYPE ESP1_BOOLEAN , |
| it_x_api_classvalues_tab | TYPE STANDARD TABLE OF ESPDV_APICLASS_TAB_TYPE , |
| wa_x_api_classvalues_tab | LIKE LINE OF it_x_api_classvalues_tab, |
| ld_i_flg_statuslog | TYPE ESP1_BOOLEAN , |
| it_x_api_statuslog_tab | TYPE STANDARD TABLE OF ESPDV_APIDRAP_TAB_TYPE , |
| wa_x_api_statuslog_tab | LIKE LINE OF it_x_api_statuslog_tab, |
| ld_i_flg_exterror | TYPE ESP1_BOOLEAN , |
| it_x_exterror_tab | TYPE STANDARD TABLE OF ESPAP_EXTERROR_TAB_TYPE , |
| wa_x_exterror_tab | LIKE LINE OF it_x_exterror_tab, |
| ld_i_flg_initial_dokar_is_ok | TYPE ESP1_BOOLEAN . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name C14DVS_EHSDOKAR_INTO_API_TABS or its description.