SAP FVST_ME_STATUS_HIST_CHECK_SET Function Module for









FVST_ME_STATUS_HIST_CHECK_SET is a standard fvst me status hist check set 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 fvst me status hist check set FM, simply by entering the name FVST_ME_STATUS_HIST_CHECK_SET into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVST
Program Name: SAPLFVST
Main Program: SAPLFVST
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FVST_ME_STATUS_HIST_CHECK_SET 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 'FVST_ME_STATUS_HIST_CHECK_SET'"
EXPORTING
* I1_VIMIMV_NEW = ' ' "
* I1_VIMIMV_OLD = ' ' "
* I2_DBEZU = ' ' "
* I2_DSTGAB = ' ' "
* I2_STAT = ' ' "
I_OBJNR = "
* I_SET_STATUS = ' ' "
* I_KZ_SUPPRESS_EVENT = ' ' "

IMPORTING
E_CHANGE_FLAG = "

EXCEPTIONS
DBEZU_NOT_VALID = 1 NEW_STATUS_NOT_VALID = 2 NO_CHANGE = 3 OLD_STATUS_NOT_FOUND = 4 NO_EVENT_CREATED = 5
.



IMPORTING Parameters details for FVST_ME_STATUS_HIST_CHECK_SET

I1_VIMIMV_NEW -

Data type: VIMIMV
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I1_VIMIMV_OLD -

Data type: VIMIMV
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I2_DBEZU -

Data type: VIMI01-DBEZU
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I2_DSTGAB -

Data type: VIMI03-DSTGAB
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I2_STAT -

Data type: VIMI03-STAT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBJNR -

Data type: VIMI03-OBJNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_SET_STATUS -

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZ_SUPPRESS_EVENT -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FVST_ME_STATUS_HIST_CHECK_SET

E_CHANGE_FLAG -

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

EXCEPTIONS details

DBEZU_NOT_VALID -

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

NEW_STATUS_NOT_VALID -

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

NO_CHANGE -

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

OLD_STATUS_NOT_FOUND -

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

NO_EVENT_CREATED -

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

Copy and paste ABAP code example for FVST_ME_STATUS_HIST_CHECK_SET 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_e_change_flag  TYPE STRING, "   
lv_i1_vimimv_new  TYPE VIMIMV, "   SPACE
lv_dbezu_not_valid  TYPE VIMIMV, "   
lv_i1_vimimv_old  TYPE VIMIMV, "   SPACE
lv_new_status_not_valid  TYPE VIMIMV, "   
lv_i2_dbezu  TYPE VIMI01-DBEZU, "   SPACE
lv_no_change  TYPE VIMI01, "   
lv_i2_dstgab  TYPE VIMI03-DSTGAB, "   SPACE
lv_old_status_not_found  TYPE VIMI03, "   
lv_i2_stat  TYPE VIMI03-STAT, "   SPACE
lv_no_event_created  TYPE VIMI03, "   
lv_i_objnr  TYPE VIMI03-OBJNR, "   
lv_i_set_status  TYPE VIMI03, "   SPACE
lv_i_kz_suppress_event  TYPE C. "   SPACE

  CALL FUNCTION 'FVST_ME_STATUS_HIST_CHECK_SET'  "
    EXPORTING
         I1_VIMIMV_NEW = lv_i1_vimimv_new
         I1_VIMIMV_OLD = lv_i1_vimimv_old
         I2_DBEZU = lv_i2_dbezu
         I2_DSTGAB = lv_i2_dstgab
         I2_STAT = lv_i2_stat
         I_OBJNR = lv_i_objnr
         I_SET_STATUS = lv_i_set_status
         I_KZ_SUPPRESS_EVENT = lv_i_kz_suppress_event
    IMPORTING
         E_CHANGE_FLAG = lv_e_change_flag
    EXCEPTIONS
        DBEZU_NOT_VALID = 1
        NEW_STATUS_NOT_VALID = 2
        NO_CHANGE = 3
        OLD_STATUS_NOT_FOUND = 4
        NO_EVENT_CREATED = 5
. " FVST_ME_STATUS_HIST_CHECK_SET




ABAP code using 7.40 inline data declarations to call FM FVST_ME_STATUS_HIST_CHECK_SET

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.

 
DATA(ld_i1_vimimv_new) = ' '.
 
 
DATA(ld_i1_vimimv_old) = ' '.
 
 
"SELECT single DBEZU FROM VIMI01 INTO @DATA(ld_i2_dbezu).
DATA(ld_i2_dbezu) = ' '.
 
 
"SELECT single DSTGAB FROM VIMI03 INTO @DATA(ld_i2_dstgab).
DATA(ld_i2_dstgab) = ' '.
 
 
"SELECT single STAT FROM VIMI03 INTO @DATA(ld_i2_stat).
DATA(ld_i2_stat) = ' '.
 
 
"SELECT single OBJNR FROM VIMI03 INTO @DATA(ld_i_objnr).
 
DATA(ld_i_set_status) = ' '.
 
DATA(ld_i_kz_suppress_event) = ' '.
 


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!