MV_ADJUST_MSP_COMPUTE_TAB_PKTE 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 MV_ADJUST_MSP_COMPUTE_TAB_PKTE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVMM
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MV_ADJUST_MSP_COMPUTE_TAB_PKTE' "
EXPORTING
* i_baujahr = '00000000' " viob03-ybaujahr
* i_bezdatum = SY-DATUM " sy-datum
i_bezflaeche = " viob40-fqmflart
* i_kz_bpktres_compute = 'X' "
* i_kz_sum_compute = 'X' "
* i_read_whole_msp = 'X' "
i_smietsp = " tiv20-smietsp
* i_sstckbis = '000' " viob03-sstckbis
i_viob01 = " viob01
IMPORTING
e_kz_changed = "
TABLES
e_tab_sum_pro_klasse = " rtiv70_sum
ie_tab_vimi02 = " avimi02
. " MV_ADJUST_MSP_COMPUTE_TAB_PKTE
The ABAP code below is a full code listing to execute function module MV_ADJUST_MSP_COMPUTE_TAB_PKTE 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).
| ld_e_kz_changed | TYPE STRING , |
| it_e_tab_sum_pro_klasse | TYPE STANDARD TABLE OF RTIV70_SUM,"TABLES PARAM |
| wa_e_tab_sum_pro_klasse | LIKE LINE OF it_e_tab_sum_pro_klasse , |
| it_ie_tab_vimi02 | TYPE STANDARD TABLE OF AVIMI02,"TABLES PARAM |
| wa_ie_tab_vimi02 | LIKE LINE OF it_ie_tab_vimi02 . |
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_e_kz_changed | TYPE STRING , |
| ld_i_baujahr | TYPE VIOB03-YBAUJAHR , |
| it_e_tab_sum_pro_klasse | TYPE STANDARD TABLE OF RTIV70_SUM , |
| wa_e_tab_sum_pro_klasse | LIKE LINE OF it_e_tab_sum_pro_klasse, |
| ld_i_bezdatum | TYPE SY-DATUM , |
| it_ie_tab_vimi02 | TYPE STANDARD TABLE OF AVIMI02 , |
| wa_ie_tab_vimi02 | LIKE LINE OF it_ie_tab_vimi02, |
| ld_i_bezflaeche | TYPE VIOB40-FQMFLART , |
| ld_i_kz_bpktres_compute | TYPE STRING , |
| ld_i_kz_sum_compute | TYPE STRING , |
| ld_i_read_whole_msp | TYPE STRING , |
| ld_i_smietsp | TYPE TIV20-SMIETSP , |
| ld_i_sstckbis | TYPE VIOB03-SSTCKBIS , |
| ld_i_viob01 | TYPE VIOB01 . |
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 MV_ADJUST_MSP_COMPUTE_TAB_PKTE or its description.