Menu

SAP Function Module FRE_READ_CONSUMPTION

Consumption data read for F&R

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 FRE_READ_CONSUMPTION (Consumption data read for F&R) is a standard Function Module in SAP ERP and is part of the function group FRE_TS_DB within the package WFRE_PI.

Technical Information

Function Module FRE_READ_CONSUMPTION
Short Text Consumption data read for F&R
Function Group FRE_TS_DB
Package WFRE_PI
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_INITLOAD TYPE XFLAG 'X' when Initload
I_ISOCD TYPE T006-ISOCODE ISO code for unit of measurement
I_LOCTYPE TYPE FRE_LOCTYPE Location type
I_MATNR TYPE MARA-MATNR Material number
I_MEINS TYPE MARA-MEINS Base unit of measure
I_PERIODS TYPE FRE_SEND_OPTION-TS_PER_INIT Number of Periods for Consumption initial load
I_REFID TYPE FRE_BIF_ID Identifier
I_SENDER TYPE LOGSYSTEM Logical system
I_TZONE TYPE FRE_DB_SITE-TZONE Timezone for site
I_WERKS TYPE MARC-WERKS Plant

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
T_CDATA LIKE FRE_BIF_TSD Structure for selection of Time Series data

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERROR_ON_PROVB No value found for field PROVB in table T438A
NO_ENTRY_FOUND No entry found in MVER
NO_MARC No entry found in MARC