SAP CUVT_UPDATE_TABLE_CONTENT Function Module for









CUVT_UPDATE_TABLE_CONTENT is a standard cuvt update table content 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 cuvt update table content FM, simply by entering the name CUVT_UPDATE_TABLE_CONTENT into the relevant SAP transaction such as SE37 or SE38.

Function Group: CUVT
Program Name: SAPLCUVT
Main Program: SAPLCUVT
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 3



Function CUVT_UPDATE_TABLE_CONTENT 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 'CUVT_UPDATE_TABLE_CONTENT'"
EXPORTING
TABLE_HEADER = "
* ECM_NUMBER = "
* DATE = "

TABLES
LINES_OLD = "
LINES_NEW = "
VALUES_C_OLD = "
VALUES_C_NEW = "
VALUES_N_OLD = "
VALUES_N_NEW = "
.



IMPORTING Parameters details for CUVT_UPDATE_TABLE_CONTENT

TABLE_HEADER -

Data type: CUVTAB
Optional: No
Call by Reference: No ( called with pass by value option)

ECM_NUMBER -

Data type: CUVTLN-ECM_NO
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATE -

Data type: CDHDR-UDATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CUVT_UPDATE_TABLE_CONTENT

LINES_OLD -

Data type: CUVTLN
Optional: No
Call by Reference: No ( called with pass by value option)

LINES_NEW -

Data type: CUVTLN
Optional: No
Call by Reference: No ( called with pass by value option)

VALUES_C_OLD -

Data type: CUVTAB_VALC
Optional: No
Call by Reference: No ( called with pass by value option)

VALUES_C_NEW -

Data type: CUVTAB_VALC
Optional: No
Call by Reference: No ( called with pass by value option)

VALUES_N_OLD -

Data type: CUVTAB_VALN
Optional: No
Call by Reference: No ( called with pass by value option)

VALUES_N_NEW -

Data type: CUVTAB_VALN
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CUVT_UPDATE_TABLE_CONTENT 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_lines_old  TYPE STANDARD TABLE OF CUVTLN, "   
lv_table_header  TYPE CUVTAB, "   
lt_lines_new  TYPE STANDARD TABLE OF CUVTLN, "   
lv_ecm_number  TYPE CUVTLN-ECM_NO, "   
lv_date  TYPE CDHDR-UDATE, "   
lt_values_c_old  TYPE STANDARD TABLE OF CUVTAB_VALC, "   
lt_values_c_new  TYPE STANDARD TABLE OF CUVTAB_VALC, "   
lt_values_n_old  TYPE STANDARD TABLE OF CUVTAB_VALN, "   
lt_values_n_new  TYPE STANDARD TABLE OF CUVTAB_VALN. "   

  CALL FUNCTION 'CUVT_UPDATE_TABLE_CONTENT'  "
    EXPORTING
         TABLE_HEADER = lv_table_header
         ECM_NUMBER = lv_ecm_number
         DATE = lv_date
    TABLES
         LINES_OLD = lt_lines_old
         LINES_NEW = lt_lines_new
         VALUES_C_OLD = lt_values_c_old
         VALUES_C_NEW = lt_values_c_new
         VALUES_N_OLD = lt_values_n_old
         VALUES_N_NEW = lt_values_n_new
. " CUVT_UPDATE_TABLE_CONTENT




ABAP code using 7.40 inline data declarations to call FM CUVT_UPDATE_TABLE_CONTENT

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 ECM_NO FROM CUVTLN INTO @DATA(ld_ecm_number).
 
"SELECT single UDATE FROM CDHDR INTO @DATA(ld_date).
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!