Ansicht
Dokumentation

CPM_ATTR_SYNC_BADI - BAdI: Attribute Synchronization during CPM Integration

CPM_ATTR_SYNC_BADI - BAdI: Attribute Synchronization during CPM Integration

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

This Business Add-in (BAdI) is used in the Portfolio Management (PPM-PFM) component. Use this BAdI to

  • Override the mappings maintained in the customizing activity ‘SAP Portfolio and Project Management-> Portfolio Management-> Global Customizing-> Portfolio-Independent Settings-> Map Item Type to Project or PS or Commercial Project-> Item Type to Commercial Project Type -> Field Mapping for Attribute Synchronization’.
  • Override source object’s field values

Source object can be either a portfolio item or a commercial project. The modified source object field values will be synchronized with target object based on the modified mappings. Additionally, you can modify the field values as per the business scenario.

Note: Before updating the attributes in the BAdI, ensure that the data types are compatible for the successful synchronization of source and target fields.

If no active BAdI implementation is available, then source object’s actual field values are synchronized to target object based on mappings maintained in the Customizing Activity Field Mapping for Attribute Synchronization.

This BAdI has the following methods:

  • MODIFY_COMM_PROJ_SYNC_ATTR

You can use the Business Add-in (BAdI) method MODIFY_COMM_PROJ_SYNC_ATTR to alter Commercial project Attributes (using the changing structure CS_MP_HDR_K) and field mapping for attribute synchronization where the Source of synchronization is Commercial Project (using the changing table CT_ATTR_SYNC_MAPPING).

  • MODIFY_ITEM_SYNC_ATTR

You can use the Business Add-in (BAdI) method MODIFY_ITEM_SYNC_ATTRto alter Item Attributes (using the changing structure ‘CS_ITEM_DETAILS) and field mapping for attribute synchronization where the Source of synchronization is Item (using the changing table CT_ATTR_SYNC_MAPPING).

For information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

If PLANNED_START field of portfolio item is mapped to START_DATE of Commercial Project during Portfolio Item creation, then you can modify the method MODIFY_ITEM_SYNC_ATTR to map a different set of fields (based on the business scenario by modifying the table CT_ATTR_SYNC_MAPPING.






General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2590 Date: 20240523 Time: 181119     sap01-206 ( 69 ms )