Ansicht
Dokumentation
CBIH_MP30_MJ_FIND_BY_HEAD - EHS: Search for Measurements via Header Data
RFUMSV00 - Advance Return for Tax on Sales/Purchases SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
This function module is used to determine measurement job record numbers. This is done by running a search based on the parameters entered by the user for the measurement job.
The function module has the following parameters:
- I_VALDAT
- Only data valid on this date is read.
- I_MJREC
- A data record for the measurement job header. Several search parameters are linked with AND.
- 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 job record numbers. If no record numbers are passed, the search is run on all records of the measurement job header.
- I_MPWA_KEYTAB
- This table contains the internal keys for the assigned work areas. If entries exist in this table, the search is restricted to those measurement jobs that have one of the assigned work areas listed in this table.
- I_MP_KEYTAB
- This table contains the internal measurement project keys. If entries exist in this table, the search is restricted to those measurement jobs that have one of the measurement projects listed in this table.
- E_KEY_TAB
- All measurement job 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_TABE_RECORDS_FOUND
I_DATERANGE
I_FLG_ONLY_CLOSED
I_MDATERANGE_TAB
I_MJREC
I_MPWA_KEYTAB
I_MP_KEYTAB
I_RESTRICTION_TAB
I_SEARCHMODE
I_VALDAT
Exceptions
INTERNAL_ERRORFunction Group
CBIH_MP30Fill RESBD Structure from EBP Component Structure TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2797 Date: 20240523 Time: 112901 sap01-206 ( 43 ms )