Ansicht
Dokumentation

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

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

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header 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 Commercial Project Management (CA-CPD). You can use this BAdI to:

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

Create your own implementation to include structures in addition to those defined in the Customizing activity Define Components for Commercial Project Structure (under Commercial Project Management > Master Data > Commercial 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 commercial 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 Commercial 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 Commercial Project Structure, by choosingCommercial Project Management > Master Data > Commercial 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 commercial project structure. This is done by removing network activity elements from the commercial 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.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4667 Date: 20240424 Time: 005953     sap01-206 ( 77 ms )