Functionality This function module is used to search for injury/illness log entriesvia data for personsinvolved>. The search is executed using the parameters entered by the user viaCCIHT_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_IP> (CCIHT_IP)
A data record of the table for persons involved (CCIHT_IP) with searchparameters. The search parameters are linked with AND. The search ispossible using the following parameters: Reference object (REFOBJ) Role of person involved (IPTYPE) Person involved (IPPERS) External/internal person involved (IPPFLAG)
- I_VALDAT> (RCGUADM-VALTO)
Only data valid on this date is read. The parameter is only taken intoaccount if I_DATERANGE is initia.
- 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' = weakis permitted.
- I_RESTRICTION_TAB> (RCGSTDRECN)
Restriction to the search by predefined record numbers. If no recordnumbers are passed, the search is run on all records of theinjury/illness log header.
- I_PERSON_TAB> (CIHAL_PERSON_TAB_TYPE)
Restriction to the search using a predefined list of personnel numbers.If no numbers are passed, the search is run on all records.
- E_KEY_TAB> (RCGSTDRECN)
All injury/illness log record numbers found are written to this resulttable.
- E_RECORDS_FOUND> (SY-TABIX)
Returns the number of record numbers found in E_KEY_TAB>.Notes The search for a discrete "valid from" or "valid to" date within theheader record I_SELCRIT_IP> is not supported. These values areused 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 changenumber must be set in the parameter I_VALDAT>.
|