Fonction SAP CBIH_MP15_MP_FIND_BY_HEAD - EHS: Determine Measurement Projects Using Criteria for Header Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_VALDAT RCGADDINF-VALDAT D 8 SY-DATUM X Key Date

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
X_ADDITIONAL_PARAMS ESP12_EXTSEA_FUNC_TYPE 0 X Additional parameters

Paramètre Reférence Long. Facultatif Description
E_HITINFO_TAB RCGHITINFO 260 X
E_MP_KEYTAB RCGSTDRECN 20
I_ENVIRONMENT_TAB TCGENV 170 X Environment parameters
I_MP_KEYTAB RCGSTDRECN 20

Exception Description
INTERNAL_ERROR Search error

Functionality
This function module determines all measurement projects (recordnumbers) that fulfill the given search criteria for the tableCCIHT_MP (Measurement Project Header).
The required search criteria are specified using the correspondingfunction CBIH_MP15_MP_FIND_BY_HEAD_PARA.
Only those measurement projects whose data is valid on the key datespecified in I_VALDAT are taken into account if DATARANGE in theparameter X_ADDITIONAL_PARAMS is initial. If values are specifiedthere (both), a "weak search" is run based on the date interval.
The number of measurement projects passed in I_MP_KEYTAB is used asthe initial set. If no initial set is specified, the systemsearches all measurement projects.
The resulting set is returned to the caller in E_MP_KEYTAB. Thefollowing always applies here:
|E_MP_KEYTAB| <= |I_MP_KEYTAB| (for I_MP_KEYTAB > 0)

Notes
INCLUDE EHS_CBIH_USER_EXIT_HINT OBJECT DOKU ID TX
For more information, see the following function modules:

  • Command Function for Extended Search of Meas. Project Headers ->
  • CBIH_MP15_MP_FIND_BY_HEAD_CMD
    • Parameter Function for Extended Search of Meas. Project Headers ->
    • CBIH_MP15_MP_FIND_BY_HEAD_PARA