Ansicht
Dokumentation

/CPD/PFP_BADI_LAUNCH - BAdI: Launch of Financial Planning Application

/CPD/PFP_BADI_LAUNCH - BAdI: Launch of Financial Planning Application

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

This Business Add-In (BAdI) is used in the Project Cost and Revenue Planning (CA-CPD-FP) component. You use this BAdI to do the following:

  • Control navigation to financial plans and determine which financial plan is launched.
You can create financial plans in the following ways:
  • A screen where you can create a new financial plan either for an existing commercial project or for a new commercial project. However, you can create the commercial project structure only by navigating to the commercial project.

  • A screen where you can create a new financial plan and a commercial project along with a commercial project structure. This is also referred to as a single financial plan.

  • A screen where you can create a commercial project and the commercial project structure, and create multiple financial plans for individual assigned business objects or for a group of assigned business objects. This is also referred to as a multiple financial plan.

Note
You can create multiple financial plans only for business objects in a commercial project structure and not for a bid structure.

  • Influence the data that is displayed when you launch a workbook, by passing additional variables to queries in workbooks

To decide the type of financial plan that must be launched for a commercial project type, you have selected a financial plan type, in Customizing for Commercial Project Management > Master Data > Commercial Project > Make Settings for Commercial Project Types > Define Commercial Project Types.

For a commercial project type, and in the field Financial Plan Type, you define the default type of financial plan.

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

The default code in the BAdI (fallback class /CPD/CL_PFP_LAUNCH_FP_APP) does the following:

  • If the setting for the preferred financial plan application is Single, the system displays a screen where you can create work with a financial plan, but without the ability to directly create or change the commercial project structure.
  • If the setting for the preferred financial plan application is Multiple, the system displays a screen where you can create a commercial project and multiple financial plans for individual assigned business objects or a group of assigned business objects.

The example implementation /CPD/PFP_BI_LAUNCH_FP_APP provides an example of how you can launch the different financial planning screens depending on the application from which it is launched. The example implementation demonstrates the following:

  • If the configured financial planning screen for a commercial project type is Single, the system launches a screen where one can simultaneously create a commercial project and a financial plan for a single structure.
  • If the configured financial planning screen for a commercial project type is Multiple, the system launches a screen where one can simultaneously create a commercial project and multiple financial plans for an individual assigned business object or a group of assigned business objects.
  • If you're editing an existing financial plan based on a bid structure, the system launches a screen with only a reference to the existing commercial project.

BAdI method documentation:






Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4641 Date: 20240328 Time: 103954     sap01-206 ( 82 ms )