Ansicht
Dokumentation

/ACCGO/V_CLOSE_CHECK - Maintain Contract Closure Checks

/ACCGO/V_CLOSE_CHECK - Maintain Contract Closure Checks

ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you maintain the checks to be performed at the time of contract closure. You can also define additional checks for the contract closure process using this customizing.

The following check functions have been delivered from standard, and run for each contract item to identify if a contract can be closed or not:

  • /ACCGO/CHECK_CALL_OFF_STATUS: This function checks that the contract being closed is in a call-off relevant status.
  • /ACCGO/CHECK_AMENDMENT_STATUS: This function checks that the contract being closed is not in Amendment Awaiting Approvalor Amendment Rejectedstatus.
  • /ACCGO/CHECK_REV_REC_STATUS: This function checks that all applications documents corresponding to a commodity contract have been settled and revenue recognized. This is a mandatory check and will always be executed, irrespective of whether it's configured or not.
  • /ACCGO/CHECK_OVERFILL_TOL: This function checks whether more overfills are allowed on the contract being closed or not.
  • /ACCGO/CHECK_UNDERFILL_TOL: This function checks that the open quantity left on a contract is within the underfill tolerance defined at the contract item level.
  • /ACCGO/CHECK_RESIDUAL_QTY: This function checks that the open quantity left on the contract is within the residual quantity defined in the BRF+ rule for residual quantity (BRF+ Function: /ACCGO/FN_AP15_RESIDUAL_QTY).
  • /ACCGO/CHECK_DEL_PERIOD: This function checks that the closure date (on which the contract is being closed) is not lying between the delivery period of contract items.
  • /ACCGO/CHECK_GRACE_PERIOD: This function checks that the closure date (on which the contract is being closed) is not within the grace period defined at the contract item level.
  • /ACCGO/CHECK_LATE_DEL_TOL: This function checks that the closure date (on which the contract is being closed) is not within the late delivery tolerance defined in the BRF+ rule for late delivery tolerance (BRF+ Function: /ACCGO/FN_AP08_LATE_DEL_TOL)
  • /ACCGO/CHECK_MAX_DAYS: This function checks that the closure date (on which the contract is being closed) is not within the period defined in the BRF+ rule for grace period (BRF+ Function: /ACCGO/FN_GRACE_PERIOD).

To execute this customizing, there are three views which need to be maintained:

  • Maintain Check Function Modules
  • Maintain Matching Criteria
  • Assign Checks to Match IDs

In this view, you maintain the function modules to perform the required checks. To maintain the check function modules, perform the following steps:

  1. Enter a Check ID.
  2. Assign the relevant Function Module to the check using the input help.
  3. Enter the description for the check in the Criteria Check Textfield.
  4. Save your entries.

In this view, you maintain the match IDs and their descriptions. To maintain the match IDs, perform the following steps:

  • Enter a Match ID.
  • Maintain the Match ID Description.
  • Save your entries.

In this view, you assign check IDs maintained in the view Maintain Check Function Modulesto match IDs maintained in the view Maintain Matching Criteria. To assign checks to match IDs, perform the following steps:

  • Select the required Match IDline item in the Maintain Matching Criteriaview.
  • Next, double click on the Assign Checks to Match IDsactivity in the dialog structure on the left.
    The Assign Checks to Match IDsview for the selected match ID will be displayed.
  • Click on New Entriesto assign a new check to this match ID.
  • Select a Check IDusing the input help. All the check IDs maintained in the Maintain Check Function Modulesview will be displayed for selection.
  • Select the Typeof check using the drop-down. The following options will be displayed for selection:
  • Error

  • Information

  • Warning

  • Save your entries.

Maintain Check Function Modules

Check ID Function Module Criteria Check Text
1003 /ACCGO/CHECK_OVERFILL_TOL Overfill Tolerance Check

Maintain Matching Criteria

Match ID Match ID Description
CC02 Background Mode
CC01 Foreground Mode






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

Length: 6504 Date: 20240328 Time: 092525     sap01-206 ( 114 ms )