Ansicht
Dokumentation

BAPI_MTRREADDOC_GETLIST - Select meter reading orders and results

BAPI_MTRREADDOC_GETLIST - Select meter reading orders and results

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method provides a list of meter reading orders or results (MRDOCUMENTDATA) and meter reading reason allocations (MRDOCUMENTREASONS) according to different selection criteria.

Please enter one of the following objects as a selection criterion:

  • Portion (PORTION)
  • Meter reading unit (METERREADINGUNIT)
  • Customer (CUSTOMER)
  • Contract (CONTRACT)
  • Installation (INSTALLATION)
  • Serial number (SERIALNO)

Only enter a material (MATERIAL) or a register (REGISTER) in combination with a serial number. If the serial number is not unique in the system, a selection can only be made if the material is also provided.

You can use the meter reading document type parameter (MRDOCUMENTTYPE) to control whether meter reading orders or meter reading results are selected. The parameter must be provided.

You can use the meter reading reason (MRREASON) to further restrict the selection. For meter reading orders you can restrict your selection using the target meter reading date (TARGETMRDATEFROM, TARGETMRDATETO), and for meter reading results you can use the meter reading date (MRDATEFROM, MRDATETO).

Example

Notes

Messages are returned in the RETURN parameter.

Further information





Parameters

CONTRACT
CUSTOMER
INSTALLATION
MATERIAL
MATERIAL_LONG
METERREADINGUNIT
MRDATEFROM
MRDATETO
MRDOCUMENTDATA
MRDOCUMENTREASONS
MRDOCUMENTTYPE
MRREASON
NO_REG_RELSHIP
PORTION
REGISTER
RETURN
SERIALNO
TARGETMRDATEFROM
TARGETMRDATETO

Exceptions

Function Group

MTRREADDOC

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3546 Date: 20240523 Time: 180007     sap01-206 ( 37 ms )