Menu

SAP Function Module MCV_STATISTICS_ORDER

Statistics Update: Sales Order

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module MCV_STATISTICS_ORDER (Statistics Update: Sales Order) is a standard Function Module in SAP ERP and is part of the function group MCS1 within the package MCS.

Technical Information

Function Module MCV_STATISTICS_ORDER
Short Text Statistics Update: Sales Order
Function Group MCS1
Package MCS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MODUS LIKE MCCONTROL-MODUS SPACE
POSITION TYPE XFELD SPACE 'X' call from item processing
SPROG LIKE MCCONTROL-SPROG SPACE
SROUT LIKE MCCONTROL-SROUT SPACE
TRTYP LIKE T180-TRTYP Transaction type
VRSIO LIKE MCCONTROL-VRSIO '000'
XVBAK LIKE VBAK New order header
XVBAK_UPDKZ LIKE VBAPVB-UPDKZ Order header new update indicator
YVBAK LIKE VBAK Old order header
YVBAK_UPDKZ LIKE VBAPVB-UPDKZ Order header old update indicator

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MCINF LIKE MCSOINF
VBAPF LIKE VBAPF Order summarized flow (old-new)
XFPLA LIKE FPLAVB
XFPLT LIKE FPLTVB
XKOMV LIKE KOMV
XVBAP LIKE VBAPVB New order item
XVBEP LIKE VBEPVB New order classifications
XVBFA LIKE VBFAVB New order flow
XVBKD LIKE VBKDVB New order business data
XVBPA LIKE VBPAVB New order partner
XVBUK LIKE VBUKVB New order header status
XVBUP LIKE VBUPVB New order item status
YFPLA LIKE FPLAVB
YFPLT LIKE FPLTVB
YVBAP LIKE VBAPVB Old order item
YVBEP LIKE VBEPVB Old order classifications
YVBFA LIKE VBFAVB Old order flow
YVBKD LIKE VBKDVB Old order business data
YVBPA LIKE VBPAVB Old order partner
YVBUK LIKE VBUKVB Old order header status
YVBUP LIKE VBUPVB Old order item status

Exceptions

This function module does not define any Exceptions.