Ansicht
Dokumentation

CRM_FS_CANC_END_CHK - BAdI: Final Check of Selected Items to be Cancelled

CRM_FS_CANC_END_CHK - BAdI: Final Check of Selected Items to be Cancelled

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

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

The default implementation in the SAP standard system does not allow you to cancel migrated documents as this can lead to inconsistencies in asset accounting and financial accounting.
You can use this BAdI to implement your own checks (END_CHK_CANCEL method) for migrated documents (with status I1250) that you want to cancel. The BAdI is called at the end of the checking procedure in the cancellation process.

Note:

You have to consider the following aspects when you want to switch off the standard check in order to cancel migrated documents. Furthermore, there may be additional aspects and important questions you need to consider, depending on your implementation.

The following assumptions are made:

  • Contract is migrated at a certain point in time
  • Historical data is not transferred

Aspects:

  • Billing
  • Are all the billing items that need to be cancelled available?

  • Has the customer's balance in accounts receivables been adjusted correctly?

  • Accounting
  • Has the depreciation value of the asset been adjusted correctly?

  • Has the profit posted been adjusted correctly?

  • Have other accounts been adjusted correctly?

  • Does the takeover balance in the legacy system need to be adjusted?

  • Legacy system
  • Does the contract have to be cancelled in this system as well?

  • When you are dealing with objects:
  • Does the object have the correct status?

  • If you have created your own transitions in OITF Customizing for cancellations: Do your guard conditions cover the cancellation of migrated transactions?

  • After you have created your own implementation of BAdI definition CRM_LAE_UPL_ADJUST, check whether the cancellation of migrated contracts affects the upload to LAE.

Note: You cannot undo a cancellation process.

In the standard system, the default implementation is activated in the BAdI class CL_IM_CRM_FS_CANCEL_END_CHK. The default code is executed automatically. The system checks if the respective item has been migrated (status set to I1250). If this is the case, you cannot cancel this item.

This BAdI replaces existing standard 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_END_CHK. For more information, display the interface in the Class Builder.






TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4396 Date: 20240523 Time: 152559     sap01-206 ( 109 ms )