Ansicht
Dokumentation

CBIH_FA30_FAL_FIND_BY_INJURY - EHS: Search for Injury/Illness Log Entries via Injuries

CBIH_FA30_FAL_FIND_BY_INJURY - EHS: Search for Injury/Illness Log Entries via Injuries

rdisp/max_wprun_time - Maximum work process run time   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used to search for injury/illness log entries via injury data for persons affected.

The search is executed using the parameters entered by the user via CCIHT_IP.

The function module has the following parameters:

  • I_SEARCHMODE (CCIHS_FASEL-SEARCHMODE)
Search mode for the historical search, default value is 'w' = weak.
  • I_SELCRIT_INJ (CCIHT_IPEVINJ)
Search parameters for the search via injuries. The search parameters are linked with AND. The search is possible using the following parameters:
  • Main injury (MAININJFLG)

  • Old injury (OLDINJFLG)

  • Body part (BODYPART)

  • Description of body part (BODYPARTDESC)

  • Injury type (INJURY)

  • Description of injury type (INJURYDESC)

  • I_VALDAT (RCGUADM-VALTO)
Only data valid on this date is read.
  • I_DATERANGE (RCGDATERANGE)
If I_DATERANGE is filled, the historical search is run. I_DATERANGE contains the time period for the historical search. When searching with I_DATERANGE, only the search mode 'w' = weak is permitted.
  • I_FLG_FILL_EXTERROR (ESP1_BOOLEAN)
If this indicator has the value TRUE, the function module fills the extended error information table. The default setting for the indicator is TRUE.
  • I_RESTRICTION_TAB (RCGSTDRECN)
Restriction to the search by predefined record numbers. If no record numbers are passed, the search is run on all records of the injury/illness log header.
  • E_RESULT_TAB (RCGSTDRECN)
All record numbers found in the injury/illness log are written to this result table.
  • E_RECORDS_FOUND (SY-TABIX)
Returns the number of record numbers found in E_RESULT_TAB.

Notes

The search for a discrete "valid from" or "valid to" date within the header record I_SELCRIT_INJ is not supported. These values are used for selection in conjunction with the parameters I_VALDAT and I_DATERANGE.

The function module does not support a search via the change number. Before you call the function, the "valid from" date of the change number must be set in the parameter I_VALDAT.





Parameters

E_RECORDS_FOUND
E_RESULT_TAB
I_DATERANGE
I_FLG_FILL_EXTERROR
I_RESTRICTION_TAB
I_SEARCHMODE
I_SELCRIT_INJ
I_VALDAT

Exceptions

INTERNAL_ERROR

Function Group

CBIH_FA30

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3529 Date: 20240523 Time: 112234     sap01-206 ( 45 ms )