Ansicht
Dokumentation

EHENV_EMISSION_FOREC - BAdI: Forecast of Environmental Emissions

EHENV_EMISSION_FOREC - BAdI: Forecast of Environmental Emissions

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

BAdI:Emission Forecast

This Business Add-In (BAdI) is used in the environment management component of Environment, Health, and Safety. You can use this BAdI to enhance the standard functionality when you execute forecast of environmental emissions.

The BAdI is intended for multiple uses and is filter-dependent.
For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

This BAdI is active in the standard system and uses the IF_EHENV_EMISSION_FORECAST interface. This interface contains a GET DATA method that uses the following parameters:

  • IT_SOURCE_UUID: Identifying parameter that ensures correct data selection.
  • IV_USAGEPERIOD: Data period (hourly, daily, monthly, and so on) for past and future data.
  • IV_SUBJ_COMP_KEY_REF: Subject reference key for a component (optional).
  • IV_SUBJ_COMP_TYPE: Subject type for a component (optional).
  • IV_PAST_FROM, IV_PAST_TO: Date range for narrowing down the data selection of past data.
  • IV_FUTURE_FROM, IV_FUTURE_FROM: Date range for narrowing down the data selection of future data.
  • ET_FUTURE_RESULTS: Predicted data, calculated for forecast purposes.
  • ET_PAST_RESULTS: Collected data for past periods.

  • RT_MESSAGES: Error, warning, and success messages during the GET DATA method execution.

As of 1909 FPS01, this BAdI is delivered with 2 example BAdI implementations (Latest Delta Extrapolationand Double Exponential Smoothingimplementation). You can use them to create your own BAdI implementations.






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2196 Date: 20240523 Time: 184409     sap01-206 ( 39 ms )