I_LCMContextTP
Enterprise Contract Mgmt. Legal Context
I_LCMContextTP is a Transactional CDS View that provides data about "Enterprise Contract Mgmt. Legal Context" in SAP S/4HANA. It reads from 1 data source (I_LcmContext) and exposes 54 fields with key field LglCntntMContextUUID. It has 19 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LcmContext | I_LcmContext | from |
Associations (19)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_LglCntntMContext | _Extension | $projection.LglCntntMContextUUID = _Extension.LglCntntMContextUUID |
| [0..*] | I_LglCntntMAccessLvlText | _LglCntntMAccessLvlText | $projection.LglCntntMCntxtAccessLvl = _LglCntntMAccessLvlText.LglCntntMAccessLvl |
| [0..*] | I_LglCntntMProfileText | _LglCntntMProfileText | $projection.LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile |
| [0..*] | I_LanguageText | _LanguageText | $projection.LglCntntMCntxtLanguage = _LanguageText.LanguageCode |
| [0..*] | I_SalesOrganizationText | _SalesOrganizationText | $projection.LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization |
| [0..*] | I_LCMStatusText | _LglCntntMCntxtCurrentStsTxt | $projection.LglCntntMContextCurStatus = _LglCntntMCntxtCurrentStsTxt.LglCntntMStatus |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.LglCntntMMainOrgCoCode = _CompanyCode.CompanyCode |
| [0..1] | I_LCMContextEntity | _LCMContextMainEntity | _LCMContextMainEntity.LglCntntMContextUUID = $projection.LglCntntMContextUUID and _LCMContextMainEntity.LglCntntMIsMainEntity = 'X' |
| [1..*] | I_LCMCtxIntContactTP | _LCMCtxIntContactTP | |
| [1..*] | I_LCMCtxExtContactTP | _LCMCtxExtContactTP | |
| [1..*] | I_LCMContextEntityTP | _LCMContextEntityTP | |
| [1..*] | I_LCMContextDateTP | _LCMContextDateTP | |
| [1..*] | I_LCMContextRelationshipTP | _LCMContextRelationshipTP | |
| [1..*] | I_LCMContextObjectLinksTP | _LCMContextObjectLinksTP | |
| [1..*] | I_LCMContextCategoryGroupTP | _LCMContextCategoryGroupTP | |
| [1..*] | I_LglCntntMContextDocTP | _LglCntntMContextDocTP | |
| [0..1] | I_LglCntntMCntxtRnwlAndTermnTP | _LglCntntMCntxtRnwlAndTermnTP | |
| [1..*] | I_LglCntntMCntxtPhseTP | _LglCntntMCntxtPhseTP | |
| [1..*] | I_LglCntntMCntxtRuleGroupTP | _LglCntntMCntxtRuleGroupTP | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | LglCntntMContextUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.sapObjectNodeType.name | LegalContext | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Enterprise Contract Mgmt. Legal Context | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMContextUUID | LglCntntMContextUUID | ||
| LglCntntMContext | LglCntntMContext | |||
| LglCntntMContextVersion | LglCntntMContextVersion | |||
| LglCntntMContextTitle | LglCntntMContextTitle | |||
| LglCntntMContextStatus | LglCntntMContextStatus | |||
| LglCntntMContextCurStatus | LglCntntMContextStatus | |||
| LglCntntMStsPrfl | LglCntntMStsPrfl | |||
| LglCntntMContextOwner | LglCntntMContextOwner | |||
| LglCntntMCreatedByUser | LglCntntMCreatedByUser | |||
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | |||
| LglCntntMChangedUTCDateTime | LglCntntMChangedUTCDateTime | |||
| LglCntntMChangedByUser | LglCntntMChangedByUser | |||
| LglCntntMIsUsed | ||||
| LglCntntMContextOperation | ||||
| LglCntntMContextValidFromDate | LglCntntMContextValidFromDate | |||
| LglCntntMContextValidToDate | LglCntntMContextValidToDate | |||
| LglCntntMPrevCntxtVers | LglCntntMPrevCntxtVers | |||
| LglCntntMCntxtIsReadOnly | LglCntntMCntxtIsReadOnly | |||
| LglCntntMProfile | LglCntntMProfile | |||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | |||
| LglCntntMLongTextUUID | LglCntntMLongTextUUID | |||
| LglCntntMLongText | LglCntntMLongText | |||
| LglCntntMLongTextMimeType | LglCntntMLongTextMimeType | |||
| LglCntntMCntxtLanguage | LglCntntMCntxtLanguage | |||
| LglCntntMGovLaw | LglCntntMGovLaw | |||
| LglCntntMCntxtAccessLvl | LglCntntMCntxtAccessLvl | |||
| LglCntntMMainOrgType | LglCntntMMainOrgType | |||
| LglCntntMMainOrgCoCode | LglCntntMMainOrgCoCode | |||
| LglCntntMMainOrgSalesOrg | LglCntntMMainOrgSalesOrg | |||
| LglCntntMMainOrgPurOrg | LglCntntMMainOrgPurOrg | |||
| LglCntntMIntegrationType | LglCntntMIntegrationType | |||
| _LCMCtxIntContactTP | _LCMCtxIntContactTP | |||
| _LCMCtxExtContactTP | _LCMCtxExtContactTP | |||
| _LCMContextEntityTP | _LCMContextEntityTP | |||
| _LCMContextRelationshipTP | _LCMContextRelationshipTP | |||
| _LCMContextObjectLinksTP | _LCMContextObjectLinksTP | |||
| _LCMContextCategoryGroupTP | _LCMContextCategoryGroupTP | |||
| _LCMContextDateTP | _LCMContextDateTP | |||
| _LglCntntMContextDocTP | _LglCntntMContextDocTP | |||
| _LglCntntMCntxtRnwlAndTermnTP | _LglCntntMCntxtRnwlAndTermnTP | |||
| _LglCntntMCntxtPhseTP | _LglCntntMCntxtPhseTP | |||
| _LglCntntMCntxtRuleGroupTP | _LglCntntMCntxtRuleGroupTP | |||
| _LglCntntMGovLaw | _LglCntntMGovLaw | |||
| _LglCntntMAccessLvlText | _LglCntntMAccessLvlText | |||
| _LglCntntMMainOrgTypeText | _LglCntntMMainOrgTypeText | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _LCMContextAggr | _LCMContextAggr | |||
| _LglCntntMProfileText | _LglCntntMProfileText | |||
| _LglCntntMIntegTypeText | _LglCntntMIntegTypeText | |||
| _LanguageText | _LanguageText | |||
| _SalesOrganizationText | _SalesOrganizationText | |||
| _LglCntntMCntxtCurrentStsTxt | _LglCntntMCntxtCurrentStsTxt | |||
| _CompanyCode | _CompanyCode | |||
| _LCMContextMainEntity | _LCMContextMainEntity |
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType : #TRANSACTIONAL
@ObjectModel: {
representativeKey: 'LglCntntMContextUUID',
usageType.serviceQuality: #C,
usageType.sizeCategory: #L,
usageType.dataClass: #TRANSACTIONAL,
//draft 2.0
transactionalProcessingEnabled: true
}
@ObjectModel.sapObjectNodeType.name:'LegalContext'
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@EndUserText.label: 'Enterprise Contract Mgmt. Legal Context'
define root view entity I_LCMContextTP
as select from I_LcmContext
composition [1..*] of I_LCMCtxIntContactTP as _LCMCtxIntContactTP
composition [1..*] of I_LCMCtxExtContactTP as _LCMCtxExtContactTP
composition [1..*] of I_LCMContextEntityTP as _LCMContextEntityTP
composition [1..*] of I_LCMContextDateTP as _LCMContextDateTP
composition [1..*] of I_LCMContextRelationshipTP as _LCMContextRelationshipTP
composition [1..*] of I_LCMContextObjectLinksTP as _LCMContextObjectLinksTP
composition [1..*] of I_LCMContextCategoryGroupTP as _LCMContextCategoryGroupTP
composition [1..*] of I_LglCntntMContextDocTP as _LglCntntMContextDocTP
composition [0..1] of I_LglCntntMCntxtRnwlAndTermnTP as _LglCntntMCntxtRnwlAndTermnTP
composition [1..*] of I_LglCntntMCntxtPhseTP as _LglCntntMCntxtPhseTP
composition [1..*] of I_LglCntntMCntxtRuleGroupTP as _LglCntntMCntxtRuleGroupTP
//Extension
association [1..1] to E_LglCntntMContext as _Extension on $projection.LglCntntMContextUUID = _Extension.LglCntntMContextUUID
// Text Associations
association [0..*] to I_LglCntntMAccessLvlText as _LglCntntMAccessLvlText on $projection.LglCntntMCntxtAccessLvl = _LglCntntMAccessLvlText.LglCntntMAccessLvl
association [0..*] to I_LglCntntMProfileText as _LglCntntMProfileText on $projection.LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile
association [0..*] to I_LanguageText as _LanguageText on $projection.LglCntntMCntxtLanguage = _LanguageText.LanguageCode
association [0..*] to I_SalesOrganizationText as _SalesOrganizationText on $projection.LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization
// //Value Helps
association [0..*] to I_LCMStatusText as _LglCntntMCntxtCurrentStsTxt on $projection.LglCntntMContextCurStatus = _LglCntntMCntxtCurrentStsTxt.LglCntntMStatus
association [0..1] to I_CompanyCode as _CompanyCode on $projection.LglCntntMMainOrgCoCode = _CompanyCode.CompanyCode
association [0..1] to I_LCMContextEntity as _LCMContextMainEntity on _LCMContextMainEntity.LglCntntMContextUUID = $projection.LglCntntMContextUUID
and _LCMContextMainEntity.LglCntntMIsMainEntity = 'X'
{
key LglCntntMContextUUID,
LglCntntMContext,
LglCntntMContextVersion,
LglCntntMContextTitle,
LglCntntMContextStatus,
LglCntntMContextStatus as LglCntntMContextCurStatus,
LglCntntMStsPrfl,
LglCntntMContextOwner,
@Semantics.user.createdBy: true
LglCntntMCreatedByUser,
LglCntntMCreatedUTCDateTime,
@Semantics.systemDateTime.lastChangedAt: true
LglCntntMChangedUTCDateTime,
@Semantics.user.lastChangedBy: true
LglCntntMChangedByUser,
cast ('' as lcm_is_used preserving type) as LglCntntMIsUsed,
cast ('' as lcm_ctx_operation_flag preserving type ) as LglCntntMContextOperation,
LglCntntMContextValidFromDate,
LglCntntMContextValidToDate,
LglCntntMPrevCntxtVers,
LglCntntMCntxtIsReadOnly,
LglCntntMProfile,
IsEndOfPurposeBlocked,
LglCntntMLongTextUUID,
LglCntntMLongText,
LglCntntMLongTextMimeType,
LglCntntMCntxtLanguage,
LglCntntMGovLaw,
LglCntntMCntxtAccessLvl,
LglCntntMMainOrgType,
LglCntntMMainOrgCoCode,
LglCntntMMainOrgSalesOrg,
LglCntntMMainOrgPurOrg,
LglCntntMIntegrationType,
// @UI.hidden: true
// LglCntntMArchiveStatus,
_LCMCtxIntContactTP,
_LCMCtxExtContactTP,
_LCMContextEntityTP,
_LCMContextRelationshipTP,
_LCMContextObjectLinksTP,
_LCMContextCategoryGroupTP,
_LCMContextDateTP,
_LglCntntMContextDocTP,
_LglCntntMCntxtRnwlAndTermnTP,
_LglCntntMCntxtPhseTP,
_LglCntntMCntxtRuleGroupTP,
_LglCntntMGovLaw,
_LglCntntMAccessLvlText,
_LglCntntMMainOrgTypeText,
_PurchasingOrganization,
_LCMContextAggr,
_LglCntntMProfileText,
_LglCntntMIntegTypeText,
_LanguageText,
_SalesOrganizationText,
_LglCntntMCntxtCurrentStsTxt,
_CompanyCode,
_LCMContextMainEntity
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LCMCONTEXT"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_LANGUAGETEXT",
"I_LCMCONTEXTAGGR",
"I_LCMCONTEXTCATEGORYGROUPTP",
"I_LCMCONTEXTDATETP",
"I_LCMCONTEXTENTITY",
"I_LCMCONTEXTENTITYTP",
"I_LCMCONTEXTOBJECTLINKSTP",
"I_LCMCONTEXTRELATIONSHIPTP",
"I_LCMCTXEXTCONTACTTP",
"I_LCMCTXINTCONTACTTP",
"I_LCMSTATUSTEXT",
"I_LGLCNTNTMACCESSLVLTEXT",
"I_LGLCNTNTMCNTXTPHSETP",
"I_LGLCNTNTMCNTXTRNWLANDTERMNTP",
"I_LGLCNTNTMCNTXTRULEGROUPTP",
"I_LGLCNTNTMCONTEXTDOCTP",
"I_LGLCNTNTMGOVLAW",
"I_LGLCNTNTMINTEGTYPETEXT",
"I_LGLCNTNTMMAINORGTYPETEXT",
"I_LGLCNTNTMPROFILETEXT",
"I_PURCHASINGORGANIZATION",
"I_SALESORGANIZATIONTEXT"
],
"BASE":
[
"I_LCMCONTEXT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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