Functionality This function module is part of the Application Programming Interface(API>) of the EH&Scomponent Industrial Hygiene and Safety>. It is used to readinjury/illness log data.Which injury/illness log entries are read? To determine the injury/illness log entries for which the SAP systemreads the data, the X_API_HEADER_TAB> table must contain recordsin which the record number> (RECN) field is filled. If the X_API_HEADER_TAB> table does not contain an entry, theexception NO_OBJECT_SPECIFIED> is triggered.Which data is read for the injury/illness log entries? Which injury/illness log data is read is specified by the differentI_FLG_XXX> indicators, where an indicator corresponds to one ormore output tables as follows: | Corresponding> Indicator | table parameter> --------------------------|---------------------------> I_FLG_HEADER | X_API_HEADER_TAB> I_FLG_MEDACT | E_API_MEDACT_TAB> I_FLG_MEDA_DESC_LTXT | E_API_MEDA_DESC_LTXT_TAB> I_FLG_MEDA_DESCF_LTXT | E_API_MEDA_DESCF_LTXT_TAB> I_FLG_INVPERS | X_API_INVPERSONS_TAB> I_FLG_INVPERS_LTXT | E_API_INVPERS_LTXT_TAB> I_FLG_AFF_INTLTXT | E_API_AFF_INTLTXT_TAB> I_FLG_AFF_EXTLTXT | E_API_AFF_EXTLTXT_TAB> I_FLG_INJURIES | E_API_INJURIES_TAB> I_FLG_FALVAL | E_API_FALVAL_INST_TAB> | E_API_FALVAL_PROP_TAB> If an indicator is set to "TRUE," the respective data is placed in thecorresponding output table(s). If an indicator is set to "TRUE," but no corresponding output table isspecified, the exception PARAMETER_ERROR> is triggered.How and for what purpose is the data read? The scenario I_SCENARIO> determines how the injury/illness logdata is read: "for display" (secure or nonsecure, meaning with orwithout shared lock) or "for changing." Within a scenario there is amaximum of three levels for which the read type can be specified. Each output table is assigned to a level as follows: Level 1, header level: ,,X_API_HEADER_TAB Level 2: ,,E_API_MEDACT_TAB ,,E_API_MEDA_DESC_LTXT_TAB ,,E_API_MEDA_DESCF_LTXT_TAB ,,X_API_INVPERSONS_TAB ,,E_API_INVPERS_LTXT_TAB ,,E_API_AFF_INTLTXT_TAB ,,E_API_AFF_EXTLTXT_TAB ,,E_API_INJURIES_TAB ,,E_API_FALVAL_INST_TAB ,,E_API_FALVAL_PROP_TAB INCLUDE EHS_FMODULE_API_INTERVAL_IHS OBJECT DOKU ID TXNotes
- So that the classification system data (I_FLG_FALVAL = TRUE) is placed
in the E_API_FALVAL_PROP_TAB table in the order in which it appears inthe dialog box, the I_FLG_VAL_SORT> indicator must be set to"TRUE." Note that the sort takes additional time and therefore slowsperformance.
- So that characteristics without value assignments are also returned in
the E_API_FALVAL_PROP_TAB> table, the I_FLG_VAL_READ_ALL>indicator must be set to "TRUE."
|