Functionality This function module is part of the Application Programming Interface(API>) of SAP EH&S. It isused to create riskassessment>> data. Dependencies between new risk assessment data items to be createdcannot yet be represented via foreign keys. The new data does not yethave keys and therefore it cannot be referenced even by foreign keys,so the risk assessment data is passed to the function in a complexstructure. In this structure, the dependencies exist implicitly andmust not therefore be expressed explicitly using (foreign) keys. You will find a description of the complex structure used(CIHEX_EXPREG_API_TAB_TYPE>) in the type group CIHEX>.Which risk assessment data is created? To create a new risk assessment, the required entry fields of the riskassessment header (HEAD) must be filled in the X_API_EXPREG_TAB>parameter. If the X_API_EXPREG_TAB> parameter does not contain a value, theexception NO_OBJECT_SPECIFIED> is raised.Which data is created for a risk assessment? Which risk assessment data is to be created is specified by thedifferent I_FLG_xxx> indicators, where an indicator correspondsto one or more tables or structures within the complex structure ofX_API_EXPREG_TAB> as follows: NEW-PAGE | Corresponding> Indicator | table parameter> -----------------------------------|-------------------------> I_FLG_HEADER | HEAD> | |> |--I_FLG_RESULT_LTXT | LTXT_TAB> | | > |--I_FLG_HAS_VAL | VAL_TAB-VALUATION> | | VAL_TAB-PROPDATA> |--I_FLG_EXP_QUANTITY | QUANT_TAB-HEAD> | | |> | |--I_FLG_EXP_QTY_LTXT | QUANT_TAB-LONGTEXT> | |> |--I_FLG_ACTION | ACTION_TAB-HEAD> | | |> | |--I_FLG_ACTION_LTXT | ACTION_TAB-LONGTEXT> | |> |--I_FLG_ANALYSIS | ANALYSIS_TAB-ANML> | | ANALYSIS_TAB-ANNC-HEAD> | | ANALYSIS_TAB-ANNC-LONGTEXT> | | ANALYSIS_TAB-ANQS-QS> | | ANALYSIS_TAB-ANSC-HEAD> | | ANALYSIS_TAB-AM01> | | ANALYSIS_TAB-AM02> | | ANALYSIS_TAB-AM03> | | ANALYSIS_TAB-AM04> | | ANALYSIS_TAB-AM05> | | ANALYSIS_TAB-AM06> | | ANALYSIS_TAB-AM07> | | ANALYSIS_TAB-AM08-HEAD> | | ANALYSIS_TAB-AM09-HEAD> | | ANALYSIS_TAB-AM10-HEAD> | |> |--I_FLG_ANALYSIS_DETAILS | ANALYSIS_TAB-ANQS-QSREL> | ANALYSIS_TAB-ANSC-DETAIL> | ANALYSIS_TAB-AM08-DETAIL> | ANALYSIS_TAB-AM09-DETAIL> | ANALYSIS_TAB-AM10-DETAIL> ----------------------------------------------------------------> If an indicator is set to "TRUE," the respective data is created in thedatabase if the respective data record does not yet have an internalkey (RECN).Further information
- Type group ESPAP
- Type group CIH01
- Type group CIHEX
- Type group CIHER
- Type group CIHWA
|