SAP ABAP IMG Activity DPR_DEACTIVATE_TYPES (BAdI: Deactivate Object Types)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO-EXT-API (Application Component) BAPI Interface for cProjects
     DEVELOPMENT_PROJECTS_API (Package) API for Project Management
IMG Activity
ID DPR_DEACTIVATE_TYPES BAdI: Deactivate Object Types  
Transaction Code S_PTD_51000017   (empty) 
Created on 20070404    
Customizing Attributes DPR_DEACTIVATE_TYPES   BAdI: Deactivate Object Types 
Customizing Activity DPR_DEACTIVATE_TYPES   BAdI: Deactivate Object Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name DPR_DEACTIVATE_TYPES    

Use

This Business Add-In (BAdI) is used in the Project Management (PPM-PRO) component.

You use this BAdI to hide certain object types from the selection lists. This enables you to control which object types are available for selection in which situations.

You can deactivate the following object types with this BAdI:

  • Project types
  • Phase types
  • Checklist types
  • Task types

If you want to make a general setting for deactivating certain object types at a particular point in time, you can also deactivate the object types in Customizing for Project Management, by choosing Structure ->

  • Define Project Types
  • Define Phase Types
  • Define Checklist Types
  • Define Task Types

and deselecting the Active checkbox.

For more information, see the documentation for the relevant indicator, which you can use to activate or deactivate the object type:

Requirements

Standard settings

In the standard system, there is no activated BAdI implementation. The BAdI is not filter-dependent on a filter and not designed for multiple use.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

See also:

This BAdI uses the interface IF_EX_DPR_DEACTIVATE_TYPES. For more information, display the interface in the Class Builder.

Example

To display sample code, navigate to the implementation examples and select the sample class CL_EXM_IM_DEACTIVATE_TYPES. You can also find more details about the methods CHECK_AT_CHANGE and CHECK_BEFORE_CREATION and their parameters here.

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 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG DPR_DEACTIVATE_TYPES 0 APL0000008 Project Management 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070404 
SAP Release Created in 450