Functionality This function module is part of theApplication ProgrammingInterface> (API) of the Environment, Health and Safety> (EH&S)component. It is used to read measurement project data.Which measurement projects are read? To determine the measurement projects, the X_API_MP_HEADER_TAB tablemust contain records in which one of the following fields is filled:
- Record number (RECN)
- Measurement project (MPID)
Which data is read by the measurement projects? Which data is read is specified by the different I_FLG_xxx indicators,where an indicator corresponds to one or more output tables as follows: I_FLG_MP_HEADER ,,X_API_MP_HEADER_TAB I_FLG_MP_HEADER_LTXT1 ,,E_API_MP_HEADER_LTXT1_TAB I_FLG_MP_HEADER_LTXT1 ,,E_API_MP_HEADER_LTXT2_TAB I_FLG_MP_HEADER_VAL ,,E_API_MP_HEADER_VAL_TAB ,,E_API_MP_HEADER_PROP_TAB I_FLG_MP_WA ,,E_API_MP_WA_TAB I_FLG_MP_WA_LTXT ,,E_API_MP_WA_LTXT_TAB I_FLG_MP_PLAN ,,E_API_MP_PLAN_TAB I_FLG_MP_PLAN_LTXT ,,E_API_MP_PLAN_LTXT_TAB I_FLG_MP_PLMET ,,E_API_MP_PLMET_TAB I_FLG_MP_EQUIPMENT ,,E_API_MP_EQUIPMENT_TAB I_FLG_MJ_HEADER ,,E_API_MJ_HEADER_TAB I_FLG_MJ_HEADER_LTXT1 ,,E_API_MJ_HEADER_LTXT1_TAB I_FLG_MJ_HEADER_LTXT2 ,,E_API_MJ_HEADER_LTXT2_TAB I_FLG_MJ_REFERENCE ,,E_API_MJ_REFERENCE_TAB I_FLG_MJ_VALUES ,,E_API_MJ_VALUES_TAB I_FLG_MJ_JOIN_WA ,,E_API_MJ_JOIN_WA_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 nocorresponding output table is specified, the exception PARAMETER_ERRORis raised. How and for what purpose is the data read? The scenario I_SCENARIO determines how the measurement project data isread: "for display" (secure or nonsecure, meaning with orwithout shared lock) or "for changing." Within a scenario there is a maximum of two levels for which the readtype can be specified.Each output table is assigned to a level as follows: Level 1 ,,X_API_MP_HEADER_TAB ,,E_API_MP_HEADER_LTXT1_TAB ,,E_API_MP_HEADER_LTXT2_TAB Level 2 ,,E_API_MP_HEADER_VAL_TAB ,,E_API_MP_HEADER_PROP_TAB ,,E_API_MP_WA_TAB ,,E_API_MP_WA_LTXT_TAB ,,E_API_MP_PLAN_TAB ,,E_API_MP_PLAN_LTXT_TAB ,,E_API_MP_PLMET_TAB ,,E_API_MP_EQUIPMENT_TAB ,,E_API_MJ_HEADER_TAB ,,E_API_MJ_HEADER_LTXT1_TAB ,,E_API_MJ_HEADER_LTXT2_TAB ,,E_API_MJ_REFERENCE_TAB ,,E_API_MJ_VALUES_TAB ,,E_API_MJ_JOIN_WA_TAB INCLUDE EHS_FMODULE_API_INTERVAL_ACC OBJECT DOKU ID TX
|