CUVT_UPDATE_TABLE_STRUCTURE 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 CUVT_UPDATE_TABLE_STRUCTURE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CUVT
Released Date:
Not Released
Processing type: Start update immediately (start immed)
CALL FUNCTION 'CUVT_UPDATE_TABLE_STRUCTURE' "
EXPORTING
cuvt_header_new = " cuvtab
cuvt_header_old = " cuvtab
* cuvt_adm_old = " cuvtab_adm
TABLES
cuvt_tab_indices_new = " cuvtab_ind
cuvt_tab_indices_old = " cuvtab_ind
cuvt_tab_fields_new = " cuvtab_fld
cuvt_tab_fields_old = " cuvtab_fld
cuvt_tab_texts_new = " cuvtab_tx
cuvt_tab_texts_old = " cuvtab_tx
. " CUVT_UPDATE_TABLE_STRUCTURE
The ABAP code below is a full code listing to execute function module CUVT_UPDATE_TABLE_STRUCTURE 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).
| it_cuvt_tab_indices_new | TYPE STANDARD TABLE OF CUVTAB_IND,"TABLES PARAM |
| wa_cuvt_tab_indices_new | LIKE LINE OF it_cuvt_tab_indices_new , |
| it_cuvt_tab_indices_old | TYPE STANDARD TABLE OF CUVTAB_IND,"TABLES PARAM |
| wa_cuvt_tab_indices_old | LIKE LINE OF it_cuvt_tab_indices_old , |
| it_cuvt_tab_fields_new | TYPE STANDARD TABLE OF CUVTAB_FLD,"TABLES PARAM |
| wa_cuvt_tab_fields_new | LIKE LINE OF it_cuvt_tab_fields_new , |
| it_cuvt_tab_fields_old | TYPE STANDARD TABLE OF CUVTAB_FLD,"TABLES PARAM |
| wa_cuvt_tab_fields_old | LIKE LINE OF it_cuvt_tab_fields_old , |
| it_cuvt_tab_texts_new | TYPE STANDARD TABLE OF CUVTAB_TX,"TABLES PARAM |
| wa_cuvt_tab_texts_new | LIKE LINE OF it_cuvt_tab_texts_new , |
| it_cuvt_tab_texts_old | TYPE STANDARD TABLE OF CUVTAB_TX,"TABLES PARAM |
| wa_cuvt_tab_texts_old | LIKE LINE OF it_cuvt_tab_texts_old . |
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_cuvt_header_new | TYPE CUVTAB , |
| it_cuvt_tab_indices_new | TYPE STANDARD TABLE OF CUVTAB_IND , |
| wa_cuvt_tab_indices_new | LIKE LINE OF it_cuvt_tab_indices_new, |
| ld_cuvt_header_old | TYPE CUVTAB , |
| it_cuvt_tab_indices_old | TYPE STANDARD TABLE OF CUVTAB_IND , |
| wa_cuvt_tab_indices_old | LIKE LINE OF it_cuvt_tab_indices_old, |
| ld_cuvt_adm_old | TYPE CUVTAB_ADM , |
| it_cuvt_tab_fields_new | TYPE STANDARD TABLE OF CUVTAB_FLD , |
| wa_cuvt_tab_fields_new | LIKE LINE OF it_cuvt_tab_fields_new, |
| it_cuvt_tab_fields_old | TYPE STANDARD TABLE OF CUVTAB_FLD , |
| wa_cuvt_tab_fields_old | LIKE LINE OF it_cuvt_tab_fields_old, |
| it_cuvt_tab_texts_new | TYPE STANDARD TABLE OF CUVTAB_TX , |
| wa_cuvt_tab_texts_new | LIKE LINE OF it_cuvt_tab_texts_new, |
| it_cuvt_tab_texts_old | TYPE STANDARD TABLE OF CUVTAB_TX , |
| wa_cuvt_tab_texts_old | LIKE LINE OF it_cuvt_tab_texts_old. |
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 CUVT_UPDATE_TABLE_STRUCTURE or its description.