SAP Function BAPI_BLM_GETDETAIL - Reads out the meter history

Parameter Reference Type Length Default Optional Text
LOCATIONID BAPIBULOC01-LOCATIONID C 10
MATERIAL BAPIBULOCM01-MATERIAL C 18
SERVICETYPE BAPIBULOCM01-SERVICETYPE C 4
TIMERANGE BAPIBULOC08 u 19

Parameter Reference Type Length Text
RETURN BAPIRET2 u 548

Parameter Reference Length Optional Text
METERREADINGS BAPIBULOCM02 156

Functionality
You can use this method to retrieve meter readings for a businesslocation.
You must enter the location, material and service type for which youwish to obtain meter reading data. A time interval for the records canbe specified optionally.
The detail data contains all the meter readings for the specifiedlocation, material, service type and time interval. The detail datamight contain multiple meter sequence numbers - if the location salesmeters are broken down to several sequence numbers to reflect thephysical counters at the location.