Ansicht
Dokumentation

FMCA_SAMPLE_P292 - TRM: Determine Risk Value for Risk Profile

FMCA_SAMPLE_P292 - TRM: Determine Risk Value for Risk Profile

CPI1466 during Backup   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

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:

  1. Get the highest risk value (RV1) for the risk category from the risk profile.
  2. Add the maximum answer points (MAXPOINT) for each answered question.
  3. Add the actual answer points (CURRENTPOINT) for each answered question.
  4. 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_VALUE
IT_RSKQADATA
IV_RSKCATID
IV_RSKPRFID

Exceptions

Function Group

FMCA_FPF_SAMPLE

ABAP 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 )