Ansicht
Dokumentation
CBIH_ER30_ER_FIND_BY_EXPQUANT - EHS: Find Risk Assessment Entries Using Amounts
CPI1466 during Backup PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module is used to determine risk assessment record numbers. To do this, a search is run using the parameters entered by the user for exposure amounts.
The function module has the following parameters:
- I_ERQUANTREC (CIHEX_ERQTAPI_WA_TYPE)
-
A data record of the exposure amounts with search parameters. More search parameters are linked with an AND logic operation.
- I_SEARCHMODE (CCIHS_WASEL-SEARCHMODE)
-
Search mode for the historical search, default value is 'w' = weak.
- I_VALDAT (RCGUADM-VALTO)
-
Only data valid on this date is read.
- I_DATERANGE (RCGDATERANGE)
-
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 (SY-TABIX)
-
Returns the number of risk assessment keys found.
- I_RESTRICTION_TAB (CIHEX_ERFAPI_KEY_TAB_TYPE)
-
Restriction to the search by predefined risk assessment record numbers. If no risk assessment record numbers are passed, the search is run on all records of the exposure amounts.
- E_KEY_TAB (CIHEX_ERFAPI_KEY_TAB_TYPE)
- All risk assessment record numbers found are entered in this result table.
Notes
The search for a discrete "valid from" or "valid to" date within the header record I_ERQUANTREC 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.
Further information
- Type group CIH01
- Type group CIHEX
- Type group CIHER
Parameters
E_KEY_TABE_RECORDS_FOUND
I_DATERANGE
I_ERQUANTREC
I_MJ_KEYTAB
I_MP_KEYTAB
I_RESTRICTION_TAB
I_SEARCHMODE
I_VALDAT
Exceptions
INTERNAL_ERRORFunction Group
CBIH_ER30PERFORM Short Reference Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2917 Date: 20240523 Time: 113355 sap01-206 ( 46 ms )