Fonction SAP CBIH_PT15_PT_FIND_BY_HEAD - EHS: Determine Patterns Using Criteria for Header Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_VALDAT CCIHT_WAH-VALFR 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 Additional information on work areas found
E_WKA_TAB RCGSTDRECN 20 New set of work areas
I_ENVIRONMENT_TAB TCGENV 170 X Environment parameters
I_WKA_TAB RCGSTDRECN 20 Set of work areas already found

Exception Description
INTERNAL_ERROR Search Error

Functionality
This function determines allpatterns (record numbers)that fulfill the given search criteria for the pattern headertable (CCIHT_WAH).
The required search criteria are specified using the correspondingfunction CBIH_WA15_WA_FIND_BY_HEAD_PARA.
Only the patterns whose data is valid on the key date specified inI_VALDAT are taken into account if DATARANGE in the parameterX_ADDITIONAL_PARAMS is initial. If values are specified there (both), a"weak search" is carried out based on the date interval.
The number of patterns passed in I_WKA_TAB is used as the initial set.If no initial set is specified, all patterns are searched.
The resulting set is returned to the caller in E_WKA_TAB. The followingalways applies here:
|E_WKA_TAB| <= |I_WKA_TAB| (for I_WKA_TAB > 0)

Notes
INCLUDE EHS_CBIH_USER_EXIT_HINT OBJECT DOKU ID TX

Further information
For more information, see the following function modules:

  • Search via Pattern Headers ->
  • CBIH_WA30_PT_FIND_BY_HEAD
    • Command Function for the Extended Search via Pattern Headers ->
    • CBIH_PT15_PT_FIND_BY_HEAD_CMD
      • Parameter Function for Extended Search via Pattern Headers ->
      • CBIH_PT15_PT_FIND_BY_HEAD_PARA