Ansicht
Dokumentation

/CPD/BADI_INTR_MPSTR - BAdI: Additional Components for Commercial Project Structure

/CPD/BADI_INTR_MPSTR - BAdI: Additional Components for Commercial Project Structure

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Project Workspace(CA-CPD-WS) component of SAP Commercial Project Management (CA-CPD). You can use this BAdI to:

  • Integrate additional structures into the master project structure
  • Change the granular level of reference for objects that are displayed in the master project structure

Create your own implementation to include structures in addition to those defined in the Customizing activity Define Components for Master Project Structure (under SAP Commercial Project Management > Master Data > Master Project).

This BAdI definition has the following methods:

  • In method IS_ONLY_BADI_EXECUTE, you decide if you want to combine structures from the Customizing and the BAdI implementation.
Changing Parameter
CV_EXECUTE : '=X' If only the BAdI needs to be executed

  • In method GET_HIERARCHY, you define the additional structures that you may want to include in the master project structure.
Importing Parameters
IV_MP_GUID : Master Project GUID
IT_VIEW_CONDITIONS : List of View Conditions
IS_HIERARCHY_KEY : Parent Key

Changing Parameters
CT_MESSAGES : Message Table
CT_HIERARCHY : Hierarchy Table Type

  • You use method GET_ALL_VIEW_CONDITIONS to retrieve the business objects for all the components defined in Customizing activity Define Components for Master Project Structure. This is necessary for the system to calculate information such as key performance indicators (KPIs), alerts, and commercial information.
Changing Parameters
CT_CONDITIONS : List of View Conditions

CT_CONDITIONS

Ensure that you have defined at least one view ID in the Customizing activity Define Components for Master Project Structure, by choosingSAP Commercial Project Management > Master Data > Master Project.

CT_CONDITIONS

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

CT_CONDITIONS

CT_CONDITIONS

The following example implementation is available:

  • /CPD/CL_BADI_INTRINSIC_STRUC
This example implementation prevents the display of all network activity elements from the master project structure. This is done by removing network activity elements from the master project structure hierarchy.
CT_CONDITIONS

For information about implementing BAdIs as part of 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 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.






TXBHW - Original Tax Base Amount in Local Currency   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 4796 Date: 20240329 Time: 065229     sap01-206 ( 65 ms )