Fonction SAP CBIH_IA15_IAL_FIND_BY_WKA - EHS: Determine Incident/Accident Log Entries Using Work Areas

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_VALDAT CCIHT_IAL-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_HITINFO_TAB RCGHITINFO 260 X Additional information on inc./acc. log entries found
E_IAL_KEYTAB RCGSTDRECN 20 New set of log incident/accident log entries
I_ENVIRONMENT_TAB TCGENV 170 X Environment parameters
I_IAL_KEYTAB RCGSTDRECN 20 X Set of incident/accident log entries already found

Exception Description
INTERNAL_ERROR System error

Functionality
This function determines allincident/accident logentries (record numbers) that fulfill the given search criteria for thework area header table (CCIHT_WAH).
The required search criteria are specified using the correspondingfunction CBIH_IA15_IAL_FIND_BY_WKA_PARA.
Only the incident/accident log entries whose data is valid on the keydate specified 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_IAL_KEYTAB is used as theinitial set. If no initial set is specified, all incident/accident logentries are searched.
The resulting set is returned to the caller in E_IAL_KEYTAB.
The following always applies here:
|E_IAL_KEYTAB| <= |I_IAL_KEYTAB| (for I_IAL_KEYTAB > 0)

Notes
INCLUDE EHS_CBIH_USER_EXIT_HINT OBJECT DOKU ID TX

Further information

  • Search via Work Area Header ->
  • CBIH_WA30_WA_FIND_BY_HEAD
    • Command Function for the Extended Search via Work Area ->
    • CBIH_IA15_IAL_FIND_BY_WKA_CMD
      • Parameter Function for Extended Search via Work Area ->
      • CBIH_IA15_IAL_FIND_BY_WKA_PARA