I_LglCntntMContextBasic

DDL: I_LGLCNTNTMCONTEXTBASIC SQL: ILCMCONTEXTBASIC Type: view BASIC

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)

SourceAliasJoin Type
lcm_context lcm_context from

Associations (18)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMContextUUID lglcntntmcontextuuid Universal Unique ID
LglCntntMContext lglcntntmcontext Context ID
LglCntntMContextVersion lglcntntmcontextversion Context Version
LglCntntMContextTitle lglcntntmcontexttitle Title
LglCntntMContextStatus lglcntntmcontextstatus Status
LglCntntMStsPrfl lglcntntmstsprfl Status Profile
LglCntntMContextOwner lglcntntmcontextowner Owner
LglCntntMCreatedByUser lglcntntmcreatedbyuser Created By
LglCntntMCreatedUTCDateTime lglcntntmcreatedutcdatetime Created On
LglCntntMChangedUTCDateTime lglcntntmchangedutcdatetime Changed On
LglCntntMChangedByUser lglcntntmchangedbyuser Changed By
LglCntntMContextValidFromDate lglcntntmcontextvalidfromdate Valid From
LglCntntMContextValidToDate lglcntntmcontextvalidtodate Valid To
LglCntntMCntxtLanguage lglcntntmcntxtlanguage Language
LglCntntMPrevCntxtVers lglcntntmprevcntxtvers Universal Unique ID
LglCntntMCntxtIsReadOnly lglcntntmcntxtisreadonly Read Only
LglCntntMProfile lglcntntmprofile Profile
IsEndOfPurposeBlocked isendofpurposeblocked Busin. Purp. Cmpltd.
LglCntntMGovLaw lglcntntmgovlaw Governing Law
LglCntntMCntxtAccessLvl lglcntntmcntxtaccesslvl Acs. Level
LglCntntMMainOrgType lglcntntmmainorgtype Main Organisation Ty
LglCntntMMainOrgCoCode lglcntntmmainorgcocode Entity ID
LglCntntMMainOrgSalesOrg lglcntntmmainorgsalesorg Entity ID
LglCntntMMainOrgPurOrg lglcntntmmainorgpurorg Entity ID
LglCntntMLongTextUUID lglcntntmlongtextuuid Description UUID
LglCntntMIntegrationType lglcntntmintegrationtype Integration Variant
_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

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 I_LglCntntMContextBasic.
-- 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: ILCMCONTEXTBASIC

CREATE VIEW I_LglCntntMContextBasic AS
SELECT
  LglCntntMContextUUID,
  LglCntntMContext,
  LglCntntMContextVersion,
  LglCntntMContextTitle,
  LglCntntMContextStatus,
  LglCntntMStsPrfl,
  LglCntntMContextOwner,
  LglCntntMCreatedByUser,
  LglCntntMCreatedUTCDateTime,
  LglCntntMChangedUTCDateTime,
  LglCntntMChangedByUser,
  LglCntntMContextValidFromDate,
  LglCntntMContextValidToDate,
  LglCntntMCntxtLanguage,
  LglCntntMPrevCntxtVers,
  LglCntntMCntxtIsReadOnly,
  LglCntntMProfile,
  IsEndOfPurposeBlocked,
  LglCntntMGovLaw,
  LglCntntMCntxtAccessLvl,
  LglCntntMMainOrgType,
  LglCntntMMainOrgCoCode,
  LglCntntMMainOrgSalesOrg,
  LglCntntMMainOrgPurOrg,
  LglCntntMLongTextUUID,
  LglCntntMIntegrationType
FROM lcm_context
LEFT OUTER JOIN I_LglCntntMGovLaw AS _LglCntntMGovLaw ON LglCntntMGovLaw = _LglCntntMGovLaw.LglCntntMGovLaw  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMAccessLvlText AS _LglCntntMAccessLvlText ON LglCntntMCntxtAccessLvl = _LglCntntMAccessLvlText.LglCntntMAccessLvl AND _LglCntntMAccessLvlText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMMainOrgTypeText AS _LglCntntMMainOrgTypeText ON LglCntntMMainOrgType = _LglCntntMMainOrgTypeText.LglCntntMMainOrgType  -- association [0..*]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON LglCntntMMainOrgPurOrg = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization  -- association [0..*]
LEFT OUTER JOIN I_LglCntntMProfileText AS _LglCntntMProfileText ON LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile AND _LglCntntMProfileText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMIntegTypeText AS _LglCntntMIntegTypeText ON LglCntntMIntegrationType = _LglCntntMIntegTypeText.LglCntntMIntegrationType  -- association [0..*]
LEFT OUTER JOIN I_LCMContextParentCategory AS _ContextParentCategory ON LglCntntMContextUUID = _ContextParentCategory.LglCntntMContextUUID  -- association [1..*]
LEFT OUTER JOIN I_LCMContextCategory AS _ContextCategory ON LglCntntMContextUUID = _ContextCategory.LglCntntMContextUUID  -- association [1..*]
LEFT OUTER JOIN I_LCMContextEntity AS _ContextEntity ON LglCntntMContextUUID = _ContextEntity.LglCntntMContextUUID  -- association [1..*]
LEFT OUTER JOIN I_LCMContextEntity AS _MainContextEntity ON LglCntntMContextUUID = _MainContextEntity.LglCntntMContextUUID AND _MainContextEntity.LglCntntMIsMainEntity = 'X'  -- association [1..1]
LEFT OUTER JOIN I_LCMStatusText AS _ContextStatusText ON LglCntntMContextStatus = _ContextStatusText.LglCntntMStatus AND _ContextStatusText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON LglCntntMCntxtLanguage = _LanguageText.LanguageCode AND _LanguageText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LCMUserAddressAssignment AS _Owner ON LglCntntMContextOwner = _Owner.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_LCMUserAddressAssignment AS _CreatedBy ON LglCntntMCreatedByUser = _CreatedBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_LCMUserAddressAssignment AS _ChangedBy ON LglCntntMChangedByUser = _ChangedBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMUserDetails AS _OwnerUserDetails ON _OwnerUserDetails.ContactCardID = LglCntntMContextOwner  -- association [0..1]
LEFT OUTER JOIN E_LglCntntMContext AS _Extension ON LglCntntMContextUUID = _Extension.LglCntntMContextUUID  -- association [1..1]
;