Fonction SAP CBIH_FA15_FAL_FIND_BY_HEA - EHS: Determine Injury/Illness Log Entries Using Criteria for Header Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_VALDAT CCIHT_FAL-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_FAL_KEYTAB RCGSTDRECN 20 New set of injury/illness log entries
E_HITINFO_TAB RCGHITINFO 260 X Additional info. on injury/illness log entries found
I_ENVIRONMENT_TAB TCGENV 170 X Environment parameters
I_FAL_KEYTAB RCGSTDRECN 20 X Set of injury/illness log entries already found

Exception Description
INTERNAL_ERROR System error

Functionality
This function determines all injury/illness log entries (recordnumbers) that fulfill the given search criteria for the injury/illnesslog header data table (CCIHT_FAL).
The required search criteria are specified using the correspondingfunction CBIH_FA15_FAL_FIND_BY_HEAD_PARA.
Only the injury/illness log entries whose data is valid on the key datespecified in I_VALDAT are taken into account if DATARANGE in theparameter X_ADDITIONAL_PARAMS is initial. If values are specified there(both), a 'weak search' is carried out based on the date interval.
The number of record numbers passed in I_FAL_KEYTAB is used asthe initial set. If no initial set is specified, all injury/illness logentries are searched.
The resulting set is returned to the caller in E_FAL_KEYTAB.
The following always applies here:
|E_FAL_KEYTAB| <= |I_FAL_KEYTAB| (for I_FAL_KEYTAB > 0)

Notes
Neither the name nor the interface may be changed.

Further information
For more information, see the following function modules:

  • Search via Injury/Illness Log Header
  • CBIH_FA30_FAL_FIND_BY_HEAD
    • Command Function for the Extended Search via Injury/Illness Log Header
    • CBIH_FA15_FAL_FIND_BY_HEA_CMD
      • Parameter Function for Extended Search via Injury/Illness Log Header
      • CBIH_FA15_FAL_FIND_BY_HEA_PARA