SAP CNV_INT_STATE_UPDATE Function Module for









CNV_INT_STATE_UPDATE is a standard cnv int state update 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 cnv int state update FM, simply by entering the name CNV_INT_STATE_UPDATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV_BASIS_STATE
Program Name: SAPLCNV_BASIS_STATE
Main Program: SAPLCNV_BASIS_STATE
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CNV_INT_STATE_UPDATE 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 'CNV_INT_STATE_UPDATE'"
EXPORTING
* STATE = "
* RECSELECT = "
* RECTOTAL = "
* RECREAD = "
* RECUPD = "
* RERUNARG = "
* STATE_TEC = "
* CLUID_MIN = "
* CLUID_MAX = "
.



IMPORTING Parameters details for CNV_INT_STATE_UPDATE

STATE -

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

RECSELECT -

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

RECTOTAL -

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

RECREAD -

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

RECUPD -

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

RERUNARG -

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

STATE_TEC -

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

CLUID_MIN -

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

CLUID_MAX -

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

Copy and paste ABAP code example for CNV_INT_STATE_UPDATE 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_state  TYPE CNVSTATE-STATE_LOG, "   
lv_recselect  TYPE CNVSTATE-RECSELECT, "   
lv_rectotal  TYPE CNVSTATE-RECTOTAL, "   
lv_recread  TYPE CNVSTATE-RECREAD, "   
lv_recupd  TYPE CNVSTATE-RECUPD, "   
lv_rerunarg  TYPE CNVSTATE-RERUNARG, "   
lv_state_tec  TYPE CNVSTATE-STATE_TEC, "   
lv_cluid_min  TYPE CNVSTATE-CLUID_MIN, "   
lv_cluid_max  TYPE CNVSTATE-CLUID_MAX. "   

  CALL FUNCTION 'CNV_INT_STATE_UPDATE'  "
    EXPORTING
         STATE = lv_state
         RECSELECT = lv_recselect
         RECTOTAL = lv_rectotal
         RECREAD = lv_recread
         RECUPD = lv_recupd
         RERUNARG = lv_rerunarg
         STATE_TEC = lv_state_tec
         CLUID_MIN = lv_cluid_min
         CLUID_MAX = lv_cluid_max
. " CNV_INT_STATE_UPDATE




ABAP code using 7.40 inline data declarations to call FM CNV_INT_STATE_UPDATE

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 STATE_LOG FROM CNVSTATE INTO @DATA(ld_state).
 
"SELECT single RECSELECT FROM CNVSTATE INTO @DATA(ld_recselect).
 
"SELECT single RECTOTAL FROM CNVSTATE INTO @DATA(ld_rectotal).
 
"SELECT single RECREAD FROM CNVSTATE INTO @DATA(ld_recread).
 
"SELECT single RECUPD FROM CNVSTATE INTO @DATA(ld_recupd).
 
"SELECT single RERUNARG FROM CNVSTATE INTO @DATA(ld_rerunarg).
 
"SELECT single STATE_TEC FROM CNVSTATE INTO @DATA(ld_state_tec).
 
"SELECT single CLUID_MIN FROM CNVSTATE INTO @DATA(ld_cluid_min).
 
"SELECT single CLUID_MAX FROM CNVSTATE INTO @DATA(ld_cluid_max).
 


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!