Fonction SAP CBIH_ER15_ER_FIND_BY_NXRA - EHS: Determine Risk Assessments Using the Next Date

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_VALDAT CCIHT_ERH-VALFR D 8 SY-DATUM X Key date

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
X_ADDITIONAL_PARAMS ESP12_EXTSEA_FUNC_TYPE 0 X Additional parameters

Paramètre Reférence Long. Facultatif Description
E_EXPREG_TAB RCGSTDRECN 20 New set of log entries
E_HITINFO_TAB RCGHITINFO 260 X Additional information on log entries found
I_ENVIRONMENT_TAB TCGENV 170 X Environment parameters
I_EXPREG_TAB RCGSTDRECN 20 Set of log entries already found

Exception Description
INTERNAL_ERROR Search error

Functionality
This function determines all risk assessments (record numbers) whosenext date corresponds to the given search criteria (CCIHS_NRADSEL).
The required search criteria are specified using the correspondingfunction CBIH_ER15_ER_FIND_BY_NXRA_PARA.
Only the risk assessments whose data is valid on the key date specifiedin I_VALDAT are taken into account.
The number of record numbers passed in I_EXPREG_TAB is used asthe initial set. If no initial set is specified, all risk assessmentsare searched.
The resulting set is returned to the caller in E_EXPREG_TAB.
The following always applies here:
|E_EXPREG_TAB| <= |I_EXPREG_TAB| (for I_EXPREG_TAB > 0)

Notes
Neither the name nor the interface may be changed.

Further information
For more information, see the documentation for the following functionmodules:

  • Search via Risk Assessment Headers ->
  • CBIH_ER30_ER_FIND_BY_HEAD
    • Command Function for the Extended Search via Next Date ->
    • CBIH_ER15_ER_FIND_BY_NXRA_CMD
      • Parameter Function for Extended Search via Next Date ->
      • CBIH_ER15_ER_FIND_BY_NXRA_PARA