Ansicht
Dokumentation

/FRE/CON_BADI_001 - BAdI: Contract Determination

/FRE/CON_BADI_001 - BAdI: Contract Determination

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI allows you to implement alternative contract determination modes on two different levels, therefore the BAdI interface provides two different methods:

  • Method GET_SINGLE_CONTRACT_FOR_OPI can be used to implement an alternative contract determination logic for a single order proposal item. In cases where an active implementation of this BAdI exists, the standard algorithm for determining contracts will not be executed.
The interface for this method consists of the order proposal item structure as changing parameter. Thus, the fields that store the contract number and the contract existence flag can be changed within this method. No other order proposal item fields can be changed. The system does not check whether the order proposal item data returned by the BAdI implementation is consistent.
If you want the implementation to consider the Customizing settings for the contract determination service, these settings must be read and evaluated within the BAdI implementation.
  • Method GET_CONTRACTS_FOR_LOCLOCPROD can be used to implement an alternative read method for contract data that is defined for a source location, target location and product. The interface for this method consists of an import structure with source location, target location and product, and an export table with contract data.
Implementing this method (which is called by the standard contract determination service) allows you to select and filter the contract data for a source location, target location and product before the data is passed to the standard contract determination service.
The system does not check whether the contract data returned by the BAdI implementation are is consistent.






ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1980 Date: 20240329 Time: 063221     sap01-206 ( 51 ms )