Fonction SAP CBIH_FA15_FAL_FIND_BY_WKA - EHS: Determine Injury/Illness Log Entries Using Criteria for Work Areas

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 work areaheader table (CCIHT_WAH).
The required search criteria are specified using the correspondingfunction CBIH_FA15_FAL_FIND_BY_WKA_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 Work Area Header
  • CBIH_WA30_WA_FIND_BY_HEAD
    • Command Function for the Extended Search via Work Area Header
    • CBIH_FA15_FAL_FIND_BY_WKA_CMD
      • Parameter Function for Extended Search via Work Area Header
      • CBIH_FA15_FAL_FIND_BY_WKA_PARA