Status

OwnerThe person responsible for driving this decision and documenting it. Type @ to mention people by name
StakeholdersThe business stakeholders involved in making, reviewing, and endorsing this decision. Type @ to mention people by name
Jira Request ID
Jira Development ID

High- Level Specification

ParameterValue
Application SystemIcertis
Business Process ReferenceAgreement Approval

Functional Overview

This enhancement enables automated calculation and tracking of the Total Contract Value (TCV) for agreements in Icertis, including all amendments, to support DOA approval workflows. The TCV is defined as the sum of the original contract value and the values of all amendments. The system will ensure that DOA approvals are always based on the latest TCV, even as amendments are added.


Scope and Objectives

Scope:

  • Automate the calculation of TCV as:
    TCV = Original Contract Value + All Amendment Values
  • Ensure DOA approval routing is based on TCV, not just the original contract value.
  • Support both agreement creation/update and amendment (supersede) events.

Objectives:

  • Eliminate manual calculation or entry of TCV by users.
  • Ensure compliance with DOA policies for both new agreements and amendments.


Process Flow Diagram


Insert the flowchart and fill in the steps

Step

Description

Comment

1User creates or updates an AgreementContract Value in Euro is entered/updated
2On "Next" (UI) or Save, system copies Contract Value to TCVUI-level customization
3User creates an Amendment Amendment Value is entered
4Custom Task on Supersede Event triggersEvent Custom Task
5System sums Parent Agreement TCV + all Amendment ValuesAutomated calculation
6System updates Agreement’s TCV fieldTCV reflects all amendments
7DOA workflow uses updated TCV for approval routingEnsures correct approval level


Assumptions

  • All contract values and amendment values are maintained in Euro.
  • Amendments are always linked to their parent agreement.
  • The custom fields for TCV and Previous TCV exist and are available for use.
  • The system can trigger custom tasks on both UI actions and workflow events.
  • No changes are required to the standard DOA configuration, only to the value used for routing.

Dependencies

  • Data migration for existing agreements/amendments may be required.

Security, Integrity and Controls

NA


Configuration Requirements

  • Custom fields for TCV and Previous TCV must be configured in Icertis.
  • Event Custom Task must be configured for the Supersede Event.
  • UI customization on the "Next" button for agreement creation/update.
  • DOA workflow must reference the TCV field for approval routing.

Language Requirements

NA

Special Requirements

NA



Design Rationale

Functional Requirements

Detail the functional requirements that are desired to be achieved by the Enhancement compared to current functionality

Proposed Technology to Use

Typically, an enhancement will be based on an existing SAP BADI / user exit. If this is the case, please provide the proposed details of the BADI / user exit.

Data Source Considerations

Include an overview of the source

TableField NameComments/Calculation/Field Manipulation











Data Validation Considerations

Include an overview of the data validation requirement

TableField NameComments/Calculation/Field Manipulation













Custom Tables

If any custom configuration tables are required, which will be read by the enhancement logic, then specify them here.

Master Data

<Title Custom Table 1>

<Include an overview of the table and what it’s used for>

FieldDescriptionData Type/LengthValidation rule/ Value Help









Configuration Table

Title Configuration Table 1

Include an overview of the table and what it’s used for

FieldDescriptionData Type/LengthValidation rule/ Value Help








Selection Screen Enhancement

This section will give the details on the selection screen parameters, parameter type and whether it’s obligatory or not. This section can be used to define the Import Export parameters for Function Module or User Exit or Screens.

Field NameDescription

Select:

Option or Parameter

Check box or Radio button

Import or Export

Data Type/LengthDefault Value/ Validation rule/ Value HelpSelection Logic













Processing Logic

This section defines the detailed step-by-step logic implemented within the BAdI/User Exit to process the data received from the standard SAP program and database retrieval. It explains the operations performed on the data, the expected outcomes in different scenarios and how the system should behave in response to specific conditions.



Volumetrics

Provide volumetrics details: Initial load volumes, Number of Records, Expected Frequency, Expected Long term Growth)


Performance Considerations

Specify if there are any specific performance factors that need to be taken into consideration during development i.e. enhancement must be able to be executed by 10 users at the same time, etc.



Error Handling

Detail how errors will be handled: Notification, Restart/ Recovery and Re-Processing Procedures


Testing

How to Test

This section outlines the test scenarios, conditions, and expected results to validate the enhancement for Total Contract Value (TCV) calculation and DOA routing.

Test Conditions and Expected Results

IDConditionExpected Result
1Agreement Creation - Create a new agreement with a Contract Value in local currency. Click “Next” or Save.TCV field is populated with the same value as Contract Value.
2Agreement Update - Update the Contract Value of an existing agreement. Click “Next” or Save.TCV field is updated to reflect the new Contract Value.
3Amendment Creation - Create an amendment linked to an existing agreement. Enter Amendment Value.Amendment is created successfully.
4Supersede Event Trigger - Supersede the agreement via amendment. Trigger Event Custom Task.Previous TCV field is updated with the last known TCV.
5TCV Recalculation - After supersede, verify that TCV = Original Contract Value + All Amendment Values.TCV field reflects the correct cumulative value.
6DOA Routing - Submit agreement for approval.DOA workflow uses updated TCV for routing. Correct approver is selected based on TCV thresholds.
7Currency Validation - Create agreement in local currency (e.g., INR, USD).TCV calculation uses local currency. No conversion to Euro.
8Amendment Currency Mismatch - Create amendment with a different currency than parent agreement.System throws validation error. Amendment cannot proceed.
9Audit Log Verification - Perform agreement update and amendment creation.Audit log captures changes to TCV and Previous TCV.
10Error Handling - Leave Contract Value or Amendment Value blank.System prevents save and displays appropriate error message.


Test Considerations/Dependencies

List any considerations essential for application test planning (e.g., test this before ABC along with DEF separate from GHI). If the development encompasses a user interface, explain how to test it. List any insights as to how this component could be tested the most efficiently.


Other Information


Development Details

Package

Package NameParent Package




Enhancement Implementation

Enhancement TypeStandard Definition NameCustom Implementation NameDesign Rationale Reference









Other Development Objects

Object TypeObject NamePurpose/High Level LogicDesign Rationale Reference








Appendix

Custom Authorization Group Naming Convention

This table is based on the Syensqo development standards document. It provides the naming conventions for authorization groups to associated with custom reports and tables to comply with security requirements.

ABAP

ZFIZMMZPSZCOZSDZBCZFIZCA
TABLESZFITZMMTZPSTZCOTZSDTZBCTZFITZCAT

See also

Insert links and references to other documents which are relevant when trying to understand this decision and its implications. Other decisions are often impacted, so it's good to list them here with links. Attachments are also possible but dangerous as they are static documents and not updated by their authors.


Change log