Ansicht
Dokumentation
CBRC_CALC_SUBS_DET - Determination of Substances Relevant for Average Value Calculation
Fill RESBD Structure from EBP Component Structure SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
This function module determines the substances that are relevant for the average value calculation. It reads the substances that were transferred from the property tree to the tables for substance volume tracking with the program Substance Volume Tracking: Data Transfer from Property Tree. The system takes into account the following selection criteria when the tracked substances are read:
- Regulatory list (i_reg)
- Company code (i_bukrs_tab)
- Scenario (i_scen)
If no scenario was transferred, only cross-scenario substances are read.
- Tracked substances (i_subid_tab)
- Expiry date of registration
Only those data records are read for which the expiry date has not been exceeded. If you want to calculate the average values for 2010 and preliminary registration expires on November 30, 2010, for example, (expiry date = 11/30/2010), the average value is still calculated for 2010. As of 2011, no average values are then calculated.
- Note that the program Substance Volume Tracking: Data Transfer from Property Tree automatically enters the end date of the respective value assignment instance as the expiry date if no expiry date has been entered for the substance.
- Registration type; only data records with the following registration type are read:
Value | Description |
---|---|
01 | Registration of preregistered substance |
04 | Intermediate registration of preregistered substance |
06 | Observation project |
Data records with a cross company-code registration status (and data records without a company code) are broken down according to company code so that the table with the substances determined (E_SUBID_TAB) contains only company code-specific entries.
Example
Notes
Further information
Parameters
E_ERROR_TABE_FLG_ERROR
E_SUBID_TAB
I_AVG_YEARS_TAB
I_BUKRS_TAB
I_REG
I_SCEN
I_SUBID_TAB
I_YEAR
Exceptions
Function Group
CBRC_CALCCPI1466 during Backup CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 3101 Date: 20240523 Time: 085627 sap01-206 ( 68 ms )