SAP MV_ADJUST_MSP_COMPUTE_RES_PKTE Function Module for









MV_ADJUST_MSP_COMPUTE_RES_PKTE is a standard mv adjust msp compute res pkte 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 mv adjust msp compute res pkte FM, simply by entering the name MV_ADJUST_MSP_COMPUTE_RES_PKTE into the relevant SAP transaction such as SE37 or SE38.

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



Function MV_ADJUST_MSP_COMPUTE_RES_PKTE 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 'MV_ADJUST_MSP_COMPUTE_RES_PKTE'"
EXPORTING
* I_BAUJAHR = '00000000' "
* I_SSTCKBIS = '000' "
I_VIOB01 = "
* I_BEZDATUM = SY-DATUM "
I_BEZFLAECHE = "
I_BPKTE = "
* I_KZ_OBJ_MARKE = ' ' "
* I_KZ_OBJ_PUNKTE = '*' "
* I_READ_WHOLE_MSP = 'X' "
I_SMERKMA = "
I_SMIETSP = "

IMPORTING
E_BPKTE = "
E_BPKTRES = "
E_RTIV04_71 = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for MV_ADJUST_MSP_COMPUTE_RES_PKTE

I_BAUJAHR -

Data type: VIOB03-YBAUJAHR
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SSTCKBIS -

Data type: VIOB03-SSTCKBIS
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIOB01 -

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

I_BEZDATUM -

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

I_BEZFLAECHE -

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

I_BPKTE -

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

I_KZ_OBJ_MARKE -

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

I_KZ_OBJ_PUNKTE -

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

I_READ_WHOLE_MSP -

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

I_SMERKMA -

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

I_SMIETSP -

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

EXPORTING Parameters details for MV_ADJUST_MSP_COMPUTE_RES_PKTE

E_BPKTE -

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

E_BPKTRES -

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

E_RTIV04_71 -

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

EXCEPTIONS details

NOT_FOUND -

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

Copy and paste ABAP code example for MV_ADJUST_MSP_COMPUTE_RES_PKTE 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_bpkte  TYPE VIMI02-BPKTE, "   
lv_i_baujahr  TYPE VIOB03-YBAUJAHR, "   '00000000'
lv_not_found  TYPE VIOB03, "   
lv_i_sstckbis  TYPE VIOB03-SSTCKBIS, "   '000'
lv_i_viob01  TYPE VIOB01, "   
lv_e_bpktres  TYPE VIMI02-BPKTRES, "   
lv_i_bezdatum  TYPE SY-DATUM, "   SY-DATUM
lv_e_rtiv04_71  TYPE RTIV04_71, "   
lv_i_bezflaeche  TYPE VIOB40-FQMFLART, "   
lv_i_bpkte  TYPE VIMI02-BPKTE, "   
lv_i_kz_obj_marke  TYPE VIMI02, "   SPACE
lv_i_kz_obj_punkte  TYPE VIMI02, "   '*'
lv_i_read_whole_msp  TYPE VIMI02, "   'X'
lv_i_smerkma  TYPE TIV04-SMERKMA, "   
lv_i_smietsp  TYPE TIV20-SMIETSP. "   

  CALL FUNCTION 'MV_ADJUST_MSP_COMPUTE_RES_PKTE'  "
    EXPORTING
         I_BAUJAHR = lv_i_baujahr
         I_SSTCKBIS = lv_i_sstckbis
         I_VIOB01 = lv_i_viob01
         I_BEZDATUM = lv_i_bezdatum
         I_BEZFLAECHE = lv_i_bezflaeche
         I_BPKTE = lv_i_bpkte
         I_KZ_OBJ_MARKE = lv_i_kz_obj_marke
         I_KZ_OBJ_PUNKTE = lv_i_kz_obj_punkte
         I_READ_WHOLE_MSP = lv_i_read_whole_msp
         I_SMERKMA = lv_i_smerkma
         I_SMIETSP = lv_i_smietsp
    IMPORTING
         E_BPKTE = lv_e_bpkte
         E_BPKTRES = lv_e_bpktres
         E_RTIV04_71 = lv_e_rtiv04_71
    EXCEPTIONS
        NOT_FOUND = 1
. " MV_ADJUST_MSP_COMPUTE_RES_PKTE




ABAP code using 7.40 inline data declarations to call FM MV_ADJUST_MSP_COMPUTE_RES_PKTE

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 BPKTE FROM VIMI02 INTO @DATA(ld_e_bpkte).
 
"SELECT single YBAUJAHR FROM VIOB03 INTO @DATA(ld_i_baujahr).
DATA(ld_i_baujahr) = '00000000'.
 
 
"SELECT single SSTCKBIS FROM VIOB03 INTO @DATA(ld_i_sstckbis).
DATA(ld_i_sstckbis) = '000'.
 
 
"SELECT single BPKTRES FROM VIMI02 INTO @DATA(ld_e_bpktres).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_bezdatum).
DATA(ld_i_bezdatum) = SY-DATUM.
 
 
"SELECT single FQMFLART FROM VIOB40 INTO @DATA(ld_i_bezflaeche).
 
"SELECT single BPKTE FROM VIMI02 INTO @DATA(ld_i_bpkte).
 
DATA(ld_i_kz_obj_marke) = ' '.
 
DATA(ld_i_kz_obj_punkte) = '*'.
 
DATA(ld_i_read_whole_msp) = 'X'.
 
"SELECT single SMERKMA FROM TIV04 INTO @DATA(ld_i_smerkma).
 
"SELECT single SMIETSP FROM TIV20 INTO @DATA(ld_i_smietsp).
 


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!