Ansicht
Dokumentation
/CPD/PFP_RFC_DEL_REF_OBJ_LINK - Delete Ref. Object Link from Financial Plan Bid Structure Elements
Addresses (Business Address Services) rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
You can use this function module to delete assignments between bid structure elements and reference object items when reference object items are deleted.
- You must input the master project GUID and the GUID of the reference object item. These are mandatory input parameters.
- If the reference object item is deleted, then the corresponding assignment to the bid structure element will also be deleted.
- If a financial plan is locked for editing, then the function module does not delete the assignments from the bid structure element.
- If any errors occur during deletion, the system displays appropriate error messages. In addition, the details are captured in the error log table /CPD/D_PFP_OPLOG. Information in the error log table can be processed at a later time, through the Reconciliation Program to Sync. Data in Commercial Projects (/CPD/PFP_R_SYNC_DATA_IN_CPM).
- This function module uses BOPF services to read, modify, and save data.
Parameters
Parameter | Description |
---|---|
IV_MP_GUID | Master Project GUID |
IT_REF_OBJECTS | Table type for reference object item details |
ET_BAPI_MESSAGES | Table with BAPI Return Information |
Example
Suppose the reference object is a CRM Opportunity containing three items, and the items are assigned to three different financial plan bid structures. If the three opportunity items are deleted and this function module is invoked for processing, the function module deletes the reference object item assignments in all the three financial plan bid structures.
If during the processing of the function module, one of the financial plans is being edited or is locked, the processing fails, and none of the assignments are deleted. Details of the reference object items and the master project are appended to the error log table.
The function module will receive input as follows:
- IV_MP_GUID: 38EAA717C1D41ED788E489BAEC530AAB
- IT_REF_OBJECTS:
- 005056937C491ED788DB3B43F9149F03
- 005056937C491ED788DB3B43F9167F03
-
005056937C491ED788DB3B43F917DF03
Parameters
ET_BAPI_MESSAGESIT_REF_OBJECTS
IV_MP_GUID
Exceptions
Function Group
/SAPLPFP_FG_API_RFCPERFORM Short Reference General Material Data
This documentation is copyright by SAP AG.
Length: 3293 Date: 20240418 Time: 095845 sap01-206 ( 48 ms )