Ansicht
Dokumentation
FMCA_SAMPLE_P292 - TRM: Determine Risk Value for Risk Profile
CPI1466 during Backup General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
This function module is called for event P292 and is used to determine the risk value for a risk category from question and answer (Q&A) data. This event is called only if the Calculate with Answer Points indicator is selected for the risk category in Customizing activity Define Risk Profiles.
The import parameters are the risk profile ID (IV_RSKPRFID), risk category ID (IV_RSKCATID), and Q&A data (IT_RSKQADATA) for the risk category. The export parameter is the risk value (EV_RSK_VALUE).
The program logic is as follows:
- Get the highest risk value (RV1) for the risk category from the risk profile.
- Add the maximum answer points (MAXPOINT) for each answered question.
- Add the actual answer points (CURRENTPOINT) for each answered question.
- Calculate the risk value: RV1 * (CURRENTPOINT/MAXPOINT).
Example
For an example, see the documentation for Customizing activity Define Risk Profiles.
Notes
Further information
Parameters
EV_RSK_VALUEIT_RSKQADATA
IV_RSKCATID
IV_RSKPRFID
Exceptions
Function Group
FMCA_FPF_SAMPLEABAP Short Reference rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 1731 Date: 20240523 Time: 091416 sap01-206 ( 26 ms )