SAP ABAP IMG Activity /MRSS/DPR_ENH_CPRO (BAdI: CPro Enhancements for the Integration with MRS)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC (Application Component) Maintenance Processing
     /MRSS/DPR (Package) MRS Interface for Cprojects
IMG Activity
ID /MRSS/DPR_ENH_CPRO BAdI: CPro Enhancements for the Integration with MRS  
Transaction Code /MRSS/92000114   IMG-Aktivität 
Created on 20080919    
Customizing Attributes /MRSS/DPR_ENH_CPRO   BAdI: CPro Enhancements for the Integration with MRS 
Customizing Activity /MRSS/DPR_ENH_CPRO   BAdI: CPro Enhancements for the Integration with MRS 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/DPR_BADI_ENH_CPRO    

Use

You use this Business Add-In (BAdI) to enhance standard objects from Collaboration Projects (cPro) so that Collaboration Projects can be integrated with SAP Multiresource Scheduling.

The BAdI provides the following methods:

  • IS_ACTIVE_FOR_ELEMENT
    The system calls this method to determine whether the MRS tab is active for the role.
  • COPY_PARTICIPANT
    The system calls this method when a cProject role is copied.
  • MODIFY_DELETE_BO_NODE
    The system calls this method if a cProject role is deleted.
  • IS_STAFFING_ENABLED
    The system calls this method if a cProject role is opened or created. It uses the method to check whether staffing is activated for the current role.
  • DO_CLEANUP
    The system always calls this method if the cProject screen is refreshed or if the user leaves the current session.
  • GET_DATA
    The system always calls this method when a cProject role is created or loaded.
  • SET_PROJ_DATA
    The system calls this method when a cProject is created or opened.
  • CHECK_ROLE_CAPACITY
    The system calls this method if the capacity of a role is changed in a cProject.
  • VALIDATE_ROLE_TYPE
    The system calls this method if the role category is changed in a cProject role.
  • CHECK_PROJECT_STATUS
    The system calls this method if the project status of the cProject is changed.
  • CHECK_BEFORE_SAVE
    This method validates the information and messages on the MRS tab before the cProject is saved.
  • ALLOCATE
    This method is called when the resource is allocated.
  • GET_DISTRIBUTION_DATA
    This method is called when the distribution data for a role in a cProject is changed.

Requirements

Standard settings

SAP delivers the following default implementation:

  • /MRSS/DPR_CPRO_IMPL

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

Activities

We recommend that you use the default implementation to benefit from automatic code updates and improvements.

However, if you had implemented a customer-specific logic in a previous SAP Multiresource Scheduling release and want to keep using your implementation, you can do so.

Example

Further information

For information about how to implement BAdIs in the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then choose Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20090903 
SAP Release Created in 610