Ansicht
Dokumentation

CRM_FS_CREATE_SRVPLA - BAdI: Creation of Service Plan With Reference to FS Contract

CRM_FS_CREATE_SRVPLA - BAdI: Creation of Service Plan With Reference to FS Contract

BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Business Transaction Leasing (CRM-LAM-BTX) component.

You can use this BAdI to influence the creation of the service plan document when running the corresponding action in the Post Processing Framework on a service contract item that is contained in an FS contract.

The Creation of the service plan is done via action Create Service Plan with Reference to FS contract. For checking if the action should be executable a scheduled condition is used. The standard condition is true if status I1004 (Released) is active on the object and switch CRM_FS_CI_1 is active.

When executing a change process on a service line item which already has a service plan and you run the inception for this line item a new document flow is created.

The BAdI contains the following methods:

  • CHECK_RELEVANCE: You can use this method to add further restrictions to the scheduling of the action Create Service Plan with Reference to FS contract.
  • CHANGE_SRVPLAN: In the standard system this method is implemented via fallback class CL_EX_CRM_FS_CREATE_SRVPLAN. It creates the service plan with the following data:
  • Process type for service plan: LSPL

  • Serviceplan product

  • Scenario 1: If you are using a reference product without a predefined template the default interval template of the service plan product is used.

  • Scenario 2: If you are using a reference product with a predefined template the default interval template of the service plan product is overwritten.

If you want to change this system behaviour you must create your own implementation.

  • CHANGE_SRVPLAN_INC: You can use this method to execute a specific system behaviour on inception of service line items.

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).

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

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






BAL Application Log Documentation   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3487 Date: 20240523 Time: 160954     sap01-206 ( 101 ms )