SAP ABAP IMG Activity CPRO_WEBDAV_CPRO (Change WebDAV Attributes of the Project Mgmt Objects to Be Transferred)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PLM (Application Component) Product Lifecycle Management
     CPRO (Package) Interface for File Explorer Integration
IMG Activity
ID CPRO_WEBDAV_CPRO Change WebDAV Attributes of the Project Mgmt Objects to Be Transferred  
Transaction Code S_PPD_96000041   (empty) 
Created on 20050504    
Customizing Attributes CPRO_WEBDAV   Change WebDAV Attributes of the cFolders Objects to Be Transferred 
Customizing Activity CPRO_WEBDAV_CPRO   Change WebDAV Attributes of the cProjects Objects to Be Transferred 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_CPRO_WEBDAV_CPRO    

Use

This Business Add-In (BAdI) controls the transfer of object attributes in the Project Management (PPM-PRO) component to Web-Based Distributed Authoring and Versioning (WebDAV) via the interface.

The BAdI contains methods in which you can influence the selection of data before the transfer takes place:

  • Attributes that the SAP system transfers to an object can be deleted.
  • Values of an attribute can be changed.
  • More attributes can be added.

Requirements

Create an implementing class for the BAdI in the Class Builder (transaction SE24). This class must implement the IF_CPROW_BADI_CHANGE_PROP_DPR interface.

Standard settings

The BAdI can be used multiple times. It is not active in the standard system.

Activities

Create a new enhancement implementation:

  1. Choose Create Implementation.

    If implementations already exist for the BAdI, a dialog box appears that displays these existing implementations. Choose Create in this dialog box.

  2. Enter a name and a short text for the enhancement implementation.
  3. Enter a composite enhancement implementation. The implementation that is to be created is assigned to this enhancement implementation. This dialog box also contains a function for creating a new composite enhancement implementation.
  4. Confirm your entries and enter the data for the object directory entry.
  5. In the Selection for BAdIs to Be Implemented dialog box, enter the name of your implementation for the BADI_CPRO_CHANGE_PROPS_DPR BAdI and confirm your entry.
  6. Complete the data for the enhancement implementation in the editor:
    • Choose Create BAdI Implementation on the BAdI tab page in the overview area.
    • In the Create BAdI Implementation dialog box, enter the BAdI definition BADI_CPRO_CHANGE_PROPS_DPR and the data for the BAdI implementation (name, short text, and implementing class).
    • Confirm your entries. The new implementation is visible in the structure tree of the BAdI implementation.
  7. Expand the tree. Double-click to go to the Description.
    • If you want the source text you created to run when the application program is executed, select Active Implementation. You can also activate this implementation later on in your processing. If this is the case, the source text is not run at this point.
    • Select Default Implementation if required.
  8. Start the Class Builder application (transaction SE24).
    • Navigate to the implementing class and implement the source text for your chosen methods.
    • Save and activate the class.
    • You also have to implement and activate the methods you are not using (empty methods).

For more information about the individual methods, see the Class Builder, interface IF_CPROW_BADI_CHANGE_PROP_DPR.

Example

The class CL_EXM_IM_CHANGE_PROPS_DPR contains an example of the source text.

  • Method CL_EXM_IM_CHANGE_PROPS_DPR->IF_CPROW_BADI_CHANGE_PROP_DPR~TASK

    In this method, an attribute transferred by the SAP system is not transferred.

  • Method CL_EXM_IM_CHANGE_PROPS_DPR->IF_CPROW_BADI_CHANGE_PROP_DPR~PHASE

    In this method, an attribute not transferred by the SAP system is added.

Business Attributes
ASAP Roadmap ID 151   Design interfaces 
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  20091021 
SAP Release Created in 400