Ansicht
Dokumentation

/ACCGO/CAK_CLOSE_CONTRACTS - Mass Contract Closure

/ACCGO/CAK_CLOSE_CONTRACTS - Mass Contract Closure

ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report program allows you to close trading contracts. You can only close trading contracts for which all the corresponding application documents have been fully revenue recognized. The status of a trading contract will be set to Closedafter performing these configured validations. During the closure process, any open quantity left on the contracts is cancelled and their status is set to Closed.

Prerequisites

The following configurations must be maintained before running this report:

  1. To mark a trading contract as Closed, you need to configure its status using the Define Application Status and Status Groups customizing. To do this, go to the folIowing IMG path: SAP Customizing Implementation Guide-> Logistics - General-> Global Trade Management -> Trading Contract-> Define Application Status and Status Groups
  2. Once the application status is defined and assigned to a status group, maintain the status category of the defined application status in the Maintain Contract Status Categories customizing. To do this, go to the folIowing IMG path: SAP Customizing Implementation Guide-> Logistics - General -> Global Trade Management-> Agricultural Contract Management-> Basic Settings-> Maintain Contract Status Categories
  3. While maintaining this customizing for setting the contract status as Closed, ensure that the following two mandatory settings have been maintained:
  • The value of the Status Categoryfield should always be defined as X(Closed)

  • The value of the Status Relevancefield should always be defined as C(Relevant for Closure)


A sample entry would look like the following example:

Application Status Status Category Position Relevant Snapshot Relevant Confirmation Relevant Application Status Name Don't Validate CI Don't Validate Tolerance Don't Validate DPQS Status Relevance
O X X X   Closed     C

  1. You can configure all the validations which should run at the time of contract closure in the Maintain Contract Closure Checks customizing. To do this, go to the following IMG path: SAP Customizing Implementation Guide-> Logistics - General-> Global Trade Management-> Agricultural Contract Management-> Basic Settings-> Contract Closure-> Maintain Contract Closure Checks
  2. You also need to set the rules for the following BRF functions:
  • /ACCGO/FN_MATCH_CRITERIA: This function is used to define the Matching Criterion ID(under which all the validations are grouped).

  • /ACCGO/FN_GRACE_PERIOD: This function is used to define the maximum grace period for contract closure process.

Features

Selection

  • You can execute this report either in the online mode or as a batch job.
  • You need to select at least some selection parameters such as Company Code, Created By, and Creation Date to limit the selection of records.

Standard Variants

Output

Activities

To execute this report, perform the following steps:

  1. Enter values for relevant fields in the Selection Criteriasection.
  2. Specify the Maximum No. of Processors.
  3. Click on Execute to display the detailed logs.

Example






RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 5595 Date: 20240426 Time: 193349     sap01-206 ( 80 ms )