Ansicht
Dokumentation

/CPD/RM_RISK_UPDATE - RFC to update Risk data

/CPD/RM_RISK_UPDATE - RFC to update Risk data

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to:

  • Update existing risks that have been added to master projects
  • Update existing action items in risks
  • Add new action items in risks

When you use this function module, you must note the following:

  • In IS_ISSUE_ROOT_DATA, RISK_ID is a mandatory entry.
  • Use SORT_NUMBER to define the sequence for fields related to dates, description, description text, and partners.
  • You can modify the dates, description, and partners fields.
  • Entries in the IT_RISK_CHANGE_LOG table are mandatory. This table is used to define the field names that need to be modified. In this table, use SORT_NUMBER1 to map the relevant fields to their corresponding records.
Example
To edit TEXT and LONG_TEXT_FORMATTED for one description and only LONG_TEXT_FORMATTED for another description, you must add LONG_TEXT_FORMATTED two times with different sort numbers and these sort numbers must belong to the description data.
  • The activity ID is a mandatory entry if you want to modify action items.
  • The application, activity type, and category are mandatory entries if you want to add a new action item.
  • The use of the sort number feature, in action items, has the following rules:
  • In action item list, use SORT_NUMBER1 to provide the action item sequence

  • Use SORT_NUMBER1 in a sequence, for fields related to dates, description, description text, and partners

  • SORT_NUMBER2 must contain the corresponding SORT_NUMBER1 of the action item to which it belongs

  • The entries for IT_ACT_CHANGE_FIELDS are mandatory if you want to add or modify action items
  • Use SORT_NUMBER1 to define the record sequence and SORT_NUMBER2 to specify the action item to which it belongs
  • If EV_RESULT is X it reflects that the records have been successfully updated; if not, ET_MESSAGES displays the error details.

Example

Notes

Further information





Parameters

ET_MESSAGES
EV_RESULT
IS_RISK_ROOT_DATA
IT_ACT_CHANGED_FIELDS
IT_ACT_DATES
IT_ACT_DESC
IT_ACT_DESC_TXT
IT_ACT_ITEMS_DATA
IT_ACT_PARTY
IT_DESC
IT_DESC_TXT
IT_PARTNERS
IT_RISK_CHANGE_LOG
IT_RISK_DATES

Exceptions

Function Group

/SAPLRM_FG_API

PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 4208 Date: 20240511 Time: 044714     sap01-206 ( 52 ms )