Ansicht
Dokumentation

CRM_FS_CANC_CHK_END - BAdI: Check of End Date When Contract is Cancelled

CRM_FS_CANC_CHK_END - BAdI: Check of End Date When Contract is Cancelled

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

You use this Business Add-In (BAdI) in the Quotation and Contract component (CRM-LAM-BTX-CTR).

The default implementation in the SAP standard system forbids cancellations after the end of the lease. Otherwise this could lead to inconsistencies in asset and financial accounting. This means that you cannot post data in a closed fiscal year.

You can use this BAdI to reimplement the check performed on the end date of a contract that you want to cancel.

Note: If you enter a user-defined check logic in your customer implementation, you must ensure the consistency of asset and financial accounting yourself.

In the standard system, the default implementation is activated in the BAdI class CL_IM_CRM_FS_CANCEL_CHK_END_DA. The default code is executed automatically. The system performs the following checks:

  • Status: Is the status set to I1206: Contract?
  • Contract end date: Has the contract end date (CONTEND) been reached? If the contract end date is after or the same as the current system date, then you cannot cancel the contract.

This BAdI replaces existing SAP functions. If you do not replace the default implementation with a user-defined implementation, the system behavior does not change.

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_EX_CRM_FS_CANCEL_CHK_END_DA. For more information, display the interface in the Class Builder.






CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2450 Date: 20240606 Time: 073029     sap01-206 ( 95 ms )