Ansicht
Dokumentation

REFXCN_BADI_COMPARE - BAdI: Contract Comparison Display/Approval

REFXCN_BADI_COMPARE - BAdI: Contract Comparison Display/Approval

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) to support the Contract Version Management enhancement made for Flexible Real Estate Management(RE-FX) China.

This BAdI serves two purposes, depending on the mode selected:

  • Approval Mode - You specify the approval criteria required in an approval process. If the required approval criteria for an original contract and a contract version are the same, then the contract version is automatically approved and processed. Otherwise, the contract version is submitted to the standard approval process via a workflow.
  • Display Mode - You specify the criteria to display in a comparison report result. If no criteria is specified, then by default, the system displays the results of all differences in a contract comparison report.

The following method is available:

  • COMPARE_EXT Method - You can use this Business Add-In (BAdI) method to compare tables or customized tables. This method is called before the FILTER_DIFFERENCE method.
  • Importing parameter

IO_CONTRACT_ORIG - object for original contract
IO_CONTRACT_VERS - object for contract version
  • Changing parameter - Use ct_diffto view the result of the comparison

  • FILTER_DIFFERENCE Method - You can use this Business Add-In (BAdI) method to select the method, and change the criteria parameters.
  • Importing parameter- Use iv_mode to select the mode you are using:

1 - Display
2 - Approval
9 - Others
  • Changing parameter- Use ct_diff to change the parameters in the table. Depending on the mode selected, you can change either the comparison result, or the required criteria in a workflow.

In the standard system, there is no default implementation. You must create your own BAdI implementation.






Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.

Length: 2543 Date: 20240523 Time: 195444     sap01-206 ( 41 ms )