C_LegalTransRnwlAndTermnTP
Legal Transaction Renewals
C_LegalTransRnwlAndTermnTP is a Consumption CDS View that provides data about "Legal Transaction Renewals" in SAP S/4HANA. It reads from 1 data source (I_LegalTransRnwlAndTermnTP) and exposes 41 fields with key field LglCntntMRnwlAndTermnUUID. It has 13 associations to related views. Part of development package ODATA_LCM_LT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransRnwlAndTermnTP | I_LegalTransRnwlAndTermnTP | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_LegalTransactionTP | _LegalTransactionTP | $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID |
| [0..1] | C_LglCntntMRnwlTypeVH | _LglCntntMRnwlTypeVH | $projection.LglCntntMRnwlType = _LglCntntMRnwlTypeVH.LglCntntMRnwlType |
| [0..1] | C_LglCntntMRnwlClauseVH | _LglCntntMRnwlClauseVH | $projection.LglCntntMRenewalClause = _LglCntntMRnwlClauseVH.LglCntntMClauseID |
| [0..1] | C_LglCntntMTermnClauseVH | _LglCntntMTermnClauseVH | $projection.LglCntntMTerminationClause = _LglCntntMTermnClauseVH.LglCntntMClauseID |
| [0..1] | C_LglCntntMTermnClauseVH | _LglCntntMNextTermnClauseVH | $projection.LglCntntMNextTermnClause = _LglCntntMNextTermnClauseVH.LglCntntMClauseID |
| [0..1] | C_LCMUserValueHelp | _RnwlUserValueHelp | _RnwlUserValueHelp.UserID = $projection.LglCntntMRnwlReminderUser |
| [0..1] | C_LCMUserValueHelp | _TermnUserValueHelp | _TermnUserValueHelp.UserID = $projection.LglCntntMTermnReminderUser |
| [0..1] | C_LglCntntMTimeUnitsVH | _LglCntntMTimeUnitsVH | _LglCntntMTimeUnitsVH.UnitOfMeasure = $projection.LglCntntMRnwlPeriodUnit |
| [0..1] | I_LCMUserContactCard | _RnwlContactCard | _RnwlContactCard.ContactCardType = 'User' and _RnwlContactCard.ContactCardID = $projection.LglCntntMRnwlReminderUser and _RnwlContactCard.ContactCardRole = 'Creator' |
| [0..1] | I_LCMUserContactCard | _TermnContactCard | _TermnContactCard.ContactCardType = 'User' and _TermnContactCard.ContactCardID = $projection.LglCntntMTermnReminderUser and _TermnContactCard.ContactCardRole = 'Creator' |
| [0..1] | I_LglCntntMUserDetails | _RnwlUserDetails | _RnwlUserDetails.ContactCardID = $projection.LglCntntMRnwlReminderUser |
| [0..1] | I_LglCntntMUserDetails | _TermnUserDetails | _TermnUserDetails.ContactCardID = $projection.LglCntntMTermnReminderUser |
| [0..1] | C_LegalTransactionTP | _LegalTransactionNavigation | $projection.LegalTransactionUUID = _LegalTransactionNavigation.LegalTransactionUUID |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLTRNWTP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.semanticKey | LglCntntMRnwlAndTermnUUID | view | |
| ObjectModel.representativeKey | LglCntntMRnwlAndTermnUUID | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| UI.headerInfo.typeName | Renewal | view | |
| UI.headerInfo.title.value | LglCntntMRnwlType | view | |
| UI.headerInfo.description.value | LglCntntMRnwlTypeName | view | |
| EndUserText.label | Legal Transaction Renewals | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMRnwlAndTermnUUID | LglCntntMRnwlAndTermnUUID | Universal Unique ID | |
| LegalTransactionUUID | LegalTransactionUUID | Universal Unique ID | ||
| LglCntntMRnwlType | LglCntntMRnwlType | Renewal Type | ||
| LglCntntMRnwlTypeName | _LglCntntMRnwlTypeText | LglCntntMRnwlTypeName | ||
| LglCntntMRnwlPeriod | LglCntntMRnwlPeriod | Renewal Period | ||
| LglCntntMRnwlPeriodUnit | LglCntntMRnwlPeriodUnit | Period Unit | ||
| UnitOfMeasureName | ||||
| LglCntntMRenewalClause | LglCntntMRenewalClause | Renewal Clause | ||
| LglCntntMRnwlClauseName | _LglCntntMRnwlClauseVH | LglCntntMRnwlClauseName | ||
| LglCntntMTerminationClause | LglCntntMTerminationClause | Termination Clause | ||
| LglCntntMTermnClauseName | _LglCntntMTermnClauseVH | LglCntntMTermnClauseName | ||
| LglCntntMNmbrOfRenewals | LglCntntMNmbrOfRenewals | Number of Auto Renewals | ||
| LglCntntMNrOfActiveRenewal | LglCntntMNrOfActiveRenewal | Number of Active Renewals | ||
| LglCntntMTotalNrOfRenewal | Total Number of Renewals | |||
| LglCntntMRnwlReminderUser | LglCntntMRnwlReminderUser | Renewal Reminder Recipient | ||
| FullName | _RnwlUserDetails | FullName | Name | |
| LglCntntMTermnReminderUser | LglCntntMTermnReminderUser | Termination Reminder Recipient | ||
| RecipientFullName | _TermnUserDetails | FullName | Name | |
| LglCntntMRnwlReminderDays | LglCntntMRnwlReminderDays | Send Renewal Reminder | ||
| LglCntntMReminderTimeUnit | LglCntntMReminderTimeUnit | |||
| LglCntntMTermnReminderDays | LglCntntMTermnReminderDays | Send Termination Reminder | ||
| LglCntntMNextTermnClause | LglCntntMNextTermnClause | Next Termination Clause | ||
| LglCntntMNextTermnClauseName | _LglCntntMNextTermnClauseVH | LglCntntMTermnClauseName | ||
| LglCntntMNextTermnNotifDate | LglCntntMNextTermnNotifDate | Next Termination Notification Date | ||
| _LegalTransaction | _LegalTransaction | |||
| _LglCntntMRnwlTypeVH | _LglCntntMRnwlTypeVH | |||
| _LglCntntMTermnClauseVH | _LglCntntMTermnClauseVH | |||
| _LglCntntMNextTermnClauseVH | _LglCntntMNextTermnClauseVH | |||
| _LglCntntMRnwlClauseVH | _LglCntntMRnwlClauseVH | |||
| _RnwlUserValueHelp | _RnwlUserValueHelp | |||
| _TermnUserValueHelp | _TermnUserValueHelp | |||
| _LglCntntMTimeUnitsVH | _LglCntntMTimeUnitsVH | |||
| _RnwlContactCard | _RnwlContactCard | |||
| _TermnContactCard | _TermnContactCard | |||
| _LegalTransactionNavigation | _LegalTransactionNavigation | |||
| _LegalTransactionDate | _LegalTransactionDate | |||
| _UnitOfMeasureText | _UnitOfMeasureText | |||
| _ReminderUnitOfMeasureText | _ReminderUnitOfMeasureText | |||
| _LegalTransactionTP | _LegalTransactionTP | |||
| _TermnUserDetails | _TermnUserDetails | |||
| _RnwlUserDetails | _RnwlUserDetails |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_LegalTransRnwlAndTermnTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CLTRNWTP
CREATE VIEW C_LegalTransRnwlAndTermnTP AS
SELECT
LglCntntMRnwlAndTermnUUID,
LegalTransactionUUID,
LglCntntMRnwlType,
_LglCntntMRnwlTypeText.LglCntntMRnwlTypeName AS LglCntntMRnwlTypeName,
LglCntntMRnwlPeriod,
LglCntntMRnwlPeriodUnit,
_UnitOfMeasureText[1: Language = $session.system_language].UnitOfMeasureName AS UnitOfMeasureName,
LglCntntMRenewalClause,
_LglCntntMRnwlClauseVH.LglCntntMRnwlClauseName AS LglCntntMRnwlClauseName,
LglCntntMTerminationClause,
_LglCntntMTermnClauseVH.LglCntntMTermnClauseName AS LglCntntMTermnClauseName,
LglCntntMNmbrOfRenewals,
LglCntntMNrOfActiveRenewal,
cast( 0 as lcm_lt_num_of_total_renewals) AS LglCntntMTotalNrOfRenewal,
LglCntntMRnwlReminderUser,
_RnwlUserDetails.FullName AS FullName,
LglCntntMTermnReminderUser,
_TermnUserDetails.FullName AS RecipientFullName,
LglCntntMRnwlReminderDays,
LglCntntMReminderTimeUnit,
LglCntntMTermnReminderDays,
LglCntntMNextTermnClause,
_LglCntntMNextTermnClauseVH.LglCntntMTermnClauseName AS LglCntntMNextTermnClauseName,
LglCntntMNextTermnNotifDate
FROM I_LegalTransRnwlAndTermnTP
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionTP ON LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN C_LglCntntMRnwlTypeVH AS _LglCntntMRnwlTypeVH ON LglCntntMRnwlType = _LglCntntMRnwlTypeVH.LglCntntMRnwlType -- association [0..1]
LEFT OUTER JOIN C_LglCntntMRnwlClauseVH AS _LglCntntMRnwlClauseVH ON LglCntntMRenewalClause = _LglCntntMRnwlClauseVH.LglCntntMClauseID -- association [0..1]
LEFT OUTER JOIN C_LglCntntMTermnClauseVH AS _LglCntntMTermnClauseVH ON LglCntntMTerminationClause = _LglCntntMTermnClauseVH.LglCntntMClauseID -- association [0..1]
LEFT OUTER JOIN C_LglCntntMTermnClauseVH AS _LglCntntMNextTermnClauseVH ON LglCntntMNextTermnClause = _LglCntntMNextTermnClauseVH.LglCntntMClauseID -- association [0..1]
LEFT OUTER JOIN C_LCMUserValueHelp AS _RnwlUserValueHelp ON _RnwlUserValueHelp.UserID = LglCntntMRnwlReminderUser -- association [0..1]
LEFT OUTER JOIN C_LCMUserValueHelp AS _TermnUserValueHelp ON _TermnUserValueHelp.UserID = LglCntntMTermnReminderUser -- association [0..1]
LEFT OUTER JOIN C_LglCntntMTimeUnitsVH AS _LglCntntMTimeUnitsVH ON _LglCntntMTimeUnitsVH.UnitOfMeasure = LglCntntMRnwlPeriodUnit -- association [0..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _RnwlContactCard ON _RnwlContactCard.ContactCardType = 'User' AND _RnwlContactCard.ContactCardID = LglCntntMRnwlReminderUser AND _RnwlContactCard.ContactCardRole = 'Creator' -- association [0..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _TermnContactCard ON _TermnContactCard.ContactCardType = 'User' AND _TermnContactCard.ContactCardID = LglCntntMTermnReminderUser AND _TermnContactCard.ContactCardRole = 'Creator' -- association [0..1]
LEFT OUTER JOIN I_LglCntntMUserDetails AS _RnwlUserDetails ON _RnwlUserDetails.ContactCardID = LglCntntMRnwlReminderUser -- association [0..1]
LEFT OUTER JOIN I_LglCntntMUserDetails AS _TermnUserDetails ON _TermnUserDetails.ContactCardID = LglCntntMTermnReminderUser -- association [0..1]
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionNavigation ON LegalTransactionUUID = _LegalTransactionNavigation.LegalTransactionUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA