Functionality This function module is part of theApplication ProgrammingInterface> (API) of the Environment, Health and Safety>(EH&S) component. It is used to create measurement project data. Dependencies between new data items to be created cannot yet berepresented via foreign keys. The new data does not yet have keysand therefore it cannot be referenced even by foreign keys, so themeasurement project data is passed to the function in a complexstructure. In this structure, the dependencies exist implicitlyand must not therefore be expressed explicitly using (foreign) keys.Note You will find a description of the complex structure used(CIHMP_MP_API_TAB_TYPE) in the type group CIHMP. Which measurement project is created? To create a new measurement project, the required entry fields of thework area HEAD must be filled in the X_API_MP_TAB parameter. If the X_API_MP_TAB parameter does not contain a value, the exceptionNO_OBJECT_SPECIFIED is raised. Which data is created for the measurement project? Which measurement project data is to be created is specified by thedifferent I_FLG_xxx indicators, where an indicator corresponds to atable or work area within the complex structure of X_API_MP_TAB asfollows: I_FLG_MP_HEADER ,,HEAD I_FLG_MP_HEADER_LTXT1 ,,LTXT1 I_FLG_MP_HEADER_LTXT2 ,,LTXT2 I_FLG_MP_HEADER_VAL ,,MPVAL_TAB-VALUATION ,,MPVAL_TAB-PROPDATA I_FLG_MP_WA ,,MPWA_TAB-HEAD I_FLG_MP_WA_LTXT ,,MPWA_TAB-LTXT_TAB I_FLG_MP_PLAN ,,MPWA_TAB-PLAN_TAB-HEAD I_FLG_MP_PLAN_LTXT ,,MPWA_TAB-PLAN_TAB-LTXT I_FLG_MP_PLMET ,,MPWA_TAB-MPMT_TAB I_FLG_MP_EQUIPMENT ,,DEVICE_TAB I_FLG_MJ_HEADER ,,MPWA_TAB-MJOB_TAB-HEAD I_FLG_MJ_HEADER_LTXT1 ,,MPWA_TAB-MJOB_TAB-LTXT1 I_FLG_MJ_HEADER_LTXT2 ,,MPWA_TAB-MJOB_TAB-LTXT2 I_FLG_MJ_REFERENCE ,,MPWA_TAB-MJOB_TAB-REF_MJ_TAB I_FLG_MJ_VALUES ,,MPWA_TAB-MJOB_TAB-MVALUES_TAB I_FLG_MJ_WORKAREA ,,MPWA_TAB-MJOB_TAB-MWA_TAB 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). INCLUDE EHS_FMODULE_API_INTERVAL_ACC OBJECT DOKU ID TX |