Ansicht
Dokumentation

CBIH_MP30_MP_FIND_BY_WAH - EHS: Search for Measurement Projects via Work Areas

CBIH_MP30_MP_FIND_BY_WAH - EHS: Search for Measurement Projects via Work Areas

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used to determine measurement project record numbers by running a search based on the parameters entered by the user for assigned work areas of the measurement project.

The function module has the following parameters:

  • I_VALDAT
Only data valid on this date is read.
  • I_MPWAREC
A data record of the assigned work area of the measurement project with search parameters. The search parameters are linked with an AND logic operation.
  • I_SEARCHMODE
Search mode for the historical search, default value is 'w' = weak.
  • I_DATERANGE
If I_DATERANGE is filled, the historical search is run. I_DATERANGE contains the time period for the historical search. When searching with I_DATERANGE, only the search mode 'w' = weak is permitted.
  • E_RECORDS_FOUND
Returns the number of measurement project keys found.
  • I_RESTRICTION_TAB
Restriction to the search by predefined measurement project record numbers. If no measurement project record numbers are passed, the search is run on all records of the measurement project header.
  • I_RECNTWAH_TAB
This table contains the internal work area keys for the assigned work areas. If entries exist in this table, the search is restricted to those measurement projects that have an assigned work area listed in this table.
  • E_KEY_TAB
All measurement project record numbers found are written to this result table.

Note

The search for a discrete "valid from" or "valid to" date within the header record I_MPREC is not supported. These values are used for selection in conjunction with the parameters I_VALDAT and I_DATERANGE.

The function module does not support a search via the change number. Before you call the function, the "valid from" date of the change number must be set in the parameter I_VALDAT.





Parameters

E_KEY_TAB
E_RECORDS_FOUND
I_DATERANGE
I_MPWAREC
I_RECNTWAH_TAB
I_RESTRICTION_TAB
I_SEARCHMODE
I_VALDAT

Exceptions

INTERNAL_ERROR

Function Group

CBIH_MP30

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2575 Date: 20240523 Time: 093257     sap01-206 ( 42 ms )