C_LglCntntMCntxtRnwlAndTermnTP
LCM Context Renewal and Termination
C_LglCntntMCntxtRnwlAndTermnTP is a Consumption CDS View that provides data about "LCM Context Renewal and Termination" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCntxtRnwlAndTermnTP) and exposes 23 fields with key field LglCntntMContextUUID. It has 2 associations to related views. Part of development package ODATA_LCM_CTX.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LglCntntMCntxtRnwlAndTermnTP | I_LglCntntMCntxtRnwlAndTermnTP | projection |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | LCM Context Renewal and Termination | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | LglCntntMContextUUID | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMContextUUID | LglCntntMContextUUID | Universal Unique ID | |
| LglCntntMRnwlType | LglCntntMRnwlType | Renewal Type | ||
| LglCntntMRnwlTypeName | _LglCntntMRnwlTypeText | LglCntntMRnwlTypeName | ||
| LglCntntMRenewalClause | LglCntntMRenewalClause | Renewal Clause | ||
| LglCntntMRnwlPeriod | LglCntntMRnwlPeriod | Renewal Period | ||
| LglCntntMRnwlPeriodUnit | LglCntntMRnwlPeriodUnit | Period Unit | ||
| UnitOfMeasureName | _UnitOfMeasureText | UnitOfMeasureName | Meas. Unit Text | |
| LglCntntMRnwlReminderDays | LglCntntMRnwlReminderDays | Rnwl Reminder Days | ||
| LglCntntMRnwlReminderUser | LglCntntMRnwlReminderUser | Rnwl Recipient User | ||
| FullName | _RnwlUserDetails | FullName | Name | |
| LglCntntMTerminationClause | LglCntntMTerminationClause | Termination Clause | ||
| LglCntntMNextTermnClause | LglCntntMNextTermnClause | Next Termn Clause | ||
| LglCntntMTermnReminderDays | LglCntntMTermnReminderDays | Term Reminder Days | ||
| LglCntntMReminderTimeUnit | LglCntntMReminderTimeUnit | |||
| LglCntntMReminderTimeUnitName | _ReminderUnitOfMeasureText | UnitOfMeasureName | Meas. Unit Text | |
| LglCntntMTermnReminderUser | LglCntntMTermnReminderUser | Term Recipient User | ||
| RecipientFullName | _TermnUserDetails | FullName | Name | |
| _LglCntntMContext | _LglCntntMContext | |||
| _TermnContactCard | _TermnContactCard | |||
| _RnwlContactCard | _RnwlContactCard | |||
| _TermnUserDetails | _TermnUserDetails | |||
| _RnwlUserDetails | _RnwlUserDetails | |||
| _ReminderUnitOfMeasureText | _ReminderUnitOfMeasureText |
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_LglCntntMCntxtRnwlAndTermnTP.
-- 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.
CREATE VIEW C_LglCntntMCntxtRnwlAndTermnTP AS
SELECT
LglCntntMContextUUID,
LglCntntMRnwlType,
_LglCntntMRnwlTypeText.LglCntntMRnwlTypeName AS LglCntntMRnwlTypeName,
LglCntntMRenewalClause,
LglCntntMRnwlPeriod,
LglCntntMRnwlPeriodUnit,
_UnitOfMeasureText.UnitOfMeasureName AS UnitOfMeasureName,
LglCntntMRnwlReminderDays,
LglCntntMRnwlReminderUser,
_RnwlUserDetails.FullName AS FullName,
LglCntntMTerminationClause,
LglCntntMNextTermnClause,
LglCntntMTermnReminderDays,
LglCntntMReminderTimeUnit,
_ReminderUnitOfMeasureText.UnitOfMeasureName AS LglCntntMReminderTimeUnitName,
LglCntntMTermnReminderUser,
_TermnUserDetails.FullName AS RecipientFullName
FROM I_LglCntntMCntxtRnwlAndTermnTP
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]
;
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