I_LglCntntMContextBasic
LCM Context Basic
I_LglCntntMContextBasic is a Basic CDS View that provides data about "LCM Context Basic" in SAP S/4HANA. It reads from 1 data source (lcm_context) and exposes 43 fields with key field LglCntntMContextUUID. It has 18 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| lcm_context | lcm_context | from |
Associations (18)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LglCntntMGovLaw | _LglCntntMGovLaw | $projection.LglCntntMGovLaw = _LglCntntMGovLaw.LglCntntMGovLaw |
| [0..1] | I_LglCntntMAccessLvlText | _LglCntntMAccessLvlText | $projection.LglCntntMCntxtAccessLvl = _LglCntntMAccessLvlText.LglCntntMAccessLvl and _LglCntntMAccessLvlText.Language = $session.system_language |
| [0..*] | I_LglCntntMMainOrgTypeText | _LglCntntMMainOrgTypeText | $projection.LglCntntMMainOrgType = _LglCntntMMainOrgTypeText.LglCntntMMainOrgType |
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.LglCntntMMainOrgPurOrg = _PurchasingOrganization.PurchasingOrganization |
| [0..*] | I_SalesOrganizationText | _SalesOrganizationText | $projection.LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization |
| [0..1] | I_LglCntntMProfileText | _LglCntntMProfileText | $projection.LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile and _LglCntntMProfileText.Language = $session.system_language |
| [0..*] | I_LglCntntMIntegTypeText | _LglCntntMIntegTypeText | $projection.LglCntntMIntegrationType = _LglCntntMIntegTypeText.LglCntntMIntegrationType |
| [1..*] | I_LCMContextParentCategory | _ContextParentCategory | $projection.LglCntntMContextUUID = _ContextParentCategory.LglCntntMContextUUID |
| [1..*] | I_LCMContextCategory | _ContextCategory | $projection.LglCntntMContextUUID = _ContextCategory.LglCntntMContextUUID |
| [1..*] | I_LCMContextEntity | _ContextEntity | $projection.LglCntntMContextUUID = _ContextEntity.LglCntntMContextUUID |
| [1..1] | I_LCMContextEntity | _MainContextEntity | $projection.LglCntntMContextUUID = _MainContextEntity.LglCntntMContextUUID and _MainContextEntity.LglCntntMIsMainEntity = 'X' |
| [0..1] | I_LCMStatusText | _ContextStatusText | $projection.LglCntntMContextStatus = _ContextStatusText.LglCntntMStatus and _ContextStatusText.Language = $session.system_language |
| [0..1] | I_LanguageText | _LanguageText | $projection.LglCntntMCntxtLanguage = _LanguageText.LanguageCode and _LanguageText.Language = $session.system_language |
| [0..1] | I_LCMUserAddressAssignment | _Owner | $projection.LglCntntMContextOwner = _Owner.ContactCardID |
| [0..1] | I_LCMUserAddressAssignment | _CreatedBy | $projection.LglCntntMCreatedByUser = _CreatedBy.ContactCardID |
| [0..1] | I_LCMUserAddressAssignment | _ChangedBy | $projection.LglCntntMChangedByUser = _ChangedBy.ContactCardID |
| [0..1] | I_LglCntntMUserDetails | _OwnerUserDetails | _OwnerUserDetails.ContactCardID = $projection.LglCntntMContextOwner |
| [1..1] | E_LglCntntMContext | _Extension | $projection.LglCntntMContextUUID = _Extension.LglCntntMContextUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILCMCONTEXTBASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | LglCntntMContextUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | LCM Context Basic | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMContextUUID | lglcntntmcontextuuid | ||
| LglCntntMContext | lglcntntmcontext | |||
| LglCntntMContextVersion | lglcntntmcontextversion | |||
| LglCntntMContextTitle | lglcntntmcontexttitle | |||
| LglCntntMContextStatus | lglcntntmcontextstatus | |||
| LglCntntMStsPrfl | lglcntntmstsprfl | |||
| LglCntntMContextOwner | lglcntntmcontextowner | |||
| LglCntntMCreatedByUser | lglcntntmcreatedbyuser | |||
| LglCntntMCreatedUTCDateTime | lglcntntmcreatedutcdatetime | |||
| LglCntntMChangedUTCDateTime | lglcntntmchangedutcdatetime | |||
| LglCntntMChangedByUser | lglcntntmchangedbyuser | |||
| LglCntntMContextValidFromDate | lglcntntmcontextvalidfromdate | |||
| LglCntntMContextValidToDate | lglcntntmcontextvalidtodate | |||
| LglCntntMCntxtLanguage | lglcntntmcntxtlanguage | |||
| LglCntntMPrevCntxtVers | lglcntntmprevcntxtvers | |||
| LglCntntMCntxtIsReadOnly | lglcntntmcntxtisreadonly | |||
| LglCntntMProfile | lglcntntmprofile | |||
| IsEndOfPurposeBlocked | isendofpurposeblocked | |||
| LglCntntMGovLaw | lglcntntmgovlaw | |||
| LglCntntMCntxtAccessLvl | lglcntntmcntxtaccesslvl | |||
| LglCntntMMainOrgType | lglcntntmmainorgtype | |||
| LglCntntMMainOrgCoCode | lglcntntmmainorgcocode | |||
| LglCntntMMainOrgSalesOrg | lglcntntmmainorgsalesorg | |||
| LglCntntMMainOrgPurOrg | lglcntntmmainorgpurorg | |||
| LglCntntMLongTextUUID | lglcntntmlongtextuuid | |||
| LglCntntMIntegrationType | lglcntntmintegrationtype | |||
| _LglCntntMGovLaw | _LglCntntMGovLaw | |||
| _LglCntntMAccessLvlText | _LglCntntMAccessLvlText | |||
| _LglCntntMMainOrgTypeText | _LglCntntMMainOrgTypeText | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _SalesOrganizationText | _SalesOrganizationText | |||
| _LglCntntMProfileText | _LglCntntMProfileText | |||
| _LglCntntMIntegTypeText | _LglCntntMIntegTypeText | |||
| _ContextParentCategory | _ContextParentCategory | |||
| _ContextCategory | _ContextCategory | |||
| _ContextEntity | _ContextEntity | |||
| _MainContextEntity | _MainContextEntity | |||
| _ContextStatusText | _ContextStatusText | |||
| _LanguageText | _LanguageText | |||
| _Owner | _Owner | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy | |||
| _OwnerUserDetails | _OwnerUserDetails |
@AbapCatalog.sqlViewName: 'ILCMCONTEXTBASIC'
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType : #BASIC
@ObjectModel: {
representativeKey: 'LglCntntMContextUUID',
usageType.serviceQuality: #A,
usageType.sizeCategory: #L,
usageType.dataClass: #TRANSACTIONAL
}
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.privilegedAssociations: [ '_Owner', '_CreatedBy', '_ChangedBy', '_OwnerUserDetails' ]
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@EndUserText.label: 'LCM Context Basic'
define view I_LglCntntMContextBasic
as select from lcm_context
association [0..1] to I_LglCntntMGovLaw as _LglCntntMGovLaw on $projection.LglCntntMGovLaw = _LglCntntMGovLaw.LglCntntMGovLaw
association [0..1] to I_LglCntntMAccessLvlText as _LglCntntMAccessLvlText on $projection.LglCntntMCntxtAccessLvl = _LglCntntMAccessLvlText.LglCntntMAccessLvl
and _LglCntntMAccessLvlText.Language = $session.system_language
association [0..*] to I_LglCntntMMainOrgTypeText as _LglCntntMMainOrgTypeText on $projection.LglCntntMMainOrgType = _LglCntntMMainOrgTypeText.LglCntntMMainOrgType
// and Language = $session.system_language
association [0..1] to I_PurchasingOrganization as _PurchasingOrganization on $projection.LglCntntMMainOrgPurOrg = _PurchasingOrganization.PurchasingOrganization
association [0..*] to I_SalesOrganizationText as _SalesOrganizationText on $projection.LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization
association [0..1] to I_LglCntntMProfileText as _LglCntntMProfileText on $projection.LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile
and _LglCntntMProfileText.Language = $session.system_language
association [0..*] to I_LglCntntMIntegTypeText as _LglCntntMIntegTypeText on $projection.LglCntntMIntegrationType = _LglCntntMIntegTypeText.LglCntntMIntegrationType
// and _LglCntntMIntegTypeText.Language = $session.system_language
// ESH associations
association [1..*] to I_LCMContextParentCategory as _ContextParentCategory on $projection.LglCntntMContextUUID = _ContextParentCategory.LglCntntMContextUUID
association [1..*] to I_LCMContextCategory as _ContextCategory on $projection.LglCntntMContextUUID = _ContextCategory.LglCntntMContextUUID
association [1..*] to I_LCMContextEntity as _ContextEntity on $projection.LglCntntMContextUUID = _ContextEntity.LglCntntMContextUUID
association [1..1] to I_LCMContextEntity as _MainContextEntity on $projection.LglCntntMContextUUID = _MainContextEntity.LglCntntMContextUUID
and _MainContextEntity.LglCntntMIsMainEntity = 'X'
association [0..1] to I_LCMStatusText as _ContextStatusText on $projection.LglCntntMContextStatus = _ContextStatusText.LglCntntMStatus
and _ContextStatusText.Language = $session.system_language
association [0..1] to I_LanguageText as _LanguageText on $projection.LglCntntMCntxtLanguage = _LanguageText.LanguageCode
and _LanguageText.Language = $session.system_language
association [0..1] to I_LCMUserAddressAssignment as _Owner on $projection.LglCntntMContextOwner = _Owner.ContactCardID
association [0..1] to I_LCMUserAddressAssignment as _CreatedBy on $projection.LglCntntMCreatedByUser = _CreatedBy.ContactCardID
association [0..1] to I_LCMUserAddressAssignment as _ChangedBy on $projection.LglCntntMChangedByUser = _ChangedBy.ContactCardID
association [0..1] to I_LglCntntMUserDetails as _OwnerUserDetails on _OwnerUserDetails.ContactCardID = $projection.LglCntntMContextOwner
association [1..1] to E_LglCntntMContext as _Extension on $projection.LglCntntMContextUUID = _Extension.LglCntntMContextUUID
{
key lglcntntmcontextuuid as LglCntntMContextUUID,
lglcntntmcontext as LglCntntMContext,
lglcntntmcontextversion as LglCntntMContextVersion,
@Semantics.text: true
lglcntntmcontexttitle as LglCntntMContextTitle,
lglcntntmcontextstatus as LglCntntMContextStatus,
lglcntntmstsprfl as LglCntntMStsPrfl,
lglcntntmcontextowner as LglCntntMContextOwner,
lglcntntmcreatedbyuser as LglCntntMCreatedByUser,
lglcntntmcreatedutcdatetime as LglCntntMCreatedUTCDateTime,
lglcntntmchangedutcdatetime as LglCntntMChangedUTCDateTime,
lglcntntmchangedbyuser as LglCntntMChangedByUser,
@Semantics.businessDate.from: true
lglcntntmcontextvalidfromdate as LglCntntMContextValidFromDate,
@Semantics.businessDate.to: true
lglcntntmcontextvalidtodate as LglCntntMContextValidToDate,
lglcntntmcntxtlanguage as LglCntntMCntxtLanguage,
lglcntntmprevcntxtvers as LglCntntMPrevCntxtVers,
lglcntntmcntxtisreadonly as LglCntntMCntxtIsReadOnly,
@ObjectModel.text.association: '_LglCntntMProfileText'
lglcntntmprofile as LglCntntMProfile,
@Semantics.booleanIndicator: true
isendofpurposeblocked as IsEndOfPurposeBlocked,
lglcntntmgovlaw as LglCntntMGovLaw,
@ObjectModel.text.association: '_LglCntntMAccessLvlText'
lglcntntmcntxtaccesslvl as LglCntntMCntxtAccessLvl,
@ObjectModel.text.association: '_LglCntntMMainOrgTypeText'
lglcntntmmainorgtype as LglCntntMMainOrgType,
lglcntntmmainorgcocode as LglCntntMMainOrgCoCode,
lglcntntmmainorgsalesorg as LglCntntMMainOrgSalesOrg,
lglcntntmmainorgpurorg as LglCntntMMainOrgPurOrg,
lglcntntmlongtextuuid as LglCntntMLongTextUUID,
@ObjectModel.text.association: '_LglCntntMIntegTypeText'
lglcntntmintegrationtype as LglCntntMIntegrationType,
_LglCntntMGovLaw,
_LglCntntMAccessLvlText,
_LglCntntMMainOrgTypeText,
_PurchasingOrganization,
_SalesOrganizationText,
_LglCntntMProfileText,
_LglCntntMIntegTypeText,
_ContextParentCategory,
_ContextCategory,
_ContextEntity,
_MainContextEntity,
_ContextStatusText,
_LanguageText,
_Owner,
_CreatedBy,
_ChangedBy,
_OwnerUserDetails
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"LCM_CONTEXT"
],
"ASSOCIATED":
[
"E_LGLCNTNTMCONTEXT",
"I_LANGUAGETEXT",
"I_LCMCONTEXTCATEGORY",
"I_LCMCONTEXTENTITY",
"I_LCMCONTEXTPARENTCATEGORY",
"I_LCMSTATUSTEXT",
"I_LCMUSERADDRESSASSIGNMENT",
"I_LGLCNTNTMACCESSLVLTEXT",
"I_LGLCNTNTMGOVLAW",
"I_LGLCNTNTMINTEGTYPETEXT",
"I_LGLCNTNTMMAINORGTYPETEXT",
"I_LGLCNTNTMPROFILETEXT",
"I_LGLCNTNTMUSERDETAILS",
"I_PURCHASINGORGANIZATION",
"I_SALESORGANIZATIONTEXT"
],
"BASE":
[],
"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