I_LegalContextAPI01

DDL: I_LEGALCONTEXTAPI01 SQL: ILCMCONTEXTAPI01 Type: view BASIC

Legal Context

I_LegalContextAPI01 is a Basic CDS View that provides data about "Legal Context" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMContextBasic) and exposes 22 fields with key field LglCntntMContextUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMContextBasic I_LglCntntMContextBasic from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_LglCntntMContext _Extension $projection.LglCntntMContextUUID = _Extension.LglCntntMContextUUID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ILCMCONTEXTAPI01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.semanticKey LglCntntMContext 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
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Legal Context view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMContextUUID LglCntntMContextUUID
LglCntntMContext LglCntntMContext
LglCntntMContextVersion LglCntntMContextVersion
LglCntntMContextTitle LglCntntMContextTitle
LglCntntMContextOwner LglCntntMContextOwner
LglCntntMProfile LglCntntMProfile
LglCntntMContextStatus LglCntntMContextStatus
LglCntntMContextValidFromDate LglCntntMContextValidFromDate
LglCntntMContextValidToDate LglCntntMContextValidToDate
LglCntntMCntxtLanguage LglCntntMCntxtLanguage
LglCntntMPrevCntxtVers LglCntntMPrevCntxtVers
LglCntntMCntxtIsReadOnly LglCntntMCntxtIsReadOnly
LglCntntMGovLaw LglCntntMGovLaw
LglCntntMCntxtAccessLvl LglCntntMCntxtAccessLvl
LglCntntMMainOrgType LglCntntMMainOrgType
LglCntntMMainOrgCoCode LglCntntMMainOrgCoCode
LglCntntMMainOrgSalesOrg LglCntntMMainOrgSalesOrg
LglCntntMMainOrgPurOrg LglCntntMMainOrgPurOrg
LglCntntMCreatedByUser LglCntntMCreatedByUser
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime
LglCntntMChangedUTCDateTime LglCntntMChangedUTCDateTime
LglCntntMChangedByUser LglCntntMChangedByUser
@AbapCatalog.sqlViewName: 'ILCMCONTEXTAPI01'
@AbapCatalog.compiler.compareFilter:true 
@AbapCatalog.preserveKey:true 
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck:#CHECK
@VDM.viewType : #BASIC

@ObjectModel: {
  semanticKey: 'LglCntntMContext',
  representativeKey: 'LglCntntMContextUUID',
  usageType.serviceQuality: #A,
  usageType.sizeCategory: #L,
  usageType.dataClass: #TRANSACTIONAL
}

@AccessControl.personalData.blocking: #REQUIRED

@Metadata.ignorePropagatedAnnotations:true

@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API

@ObjectModel.supportedCapabilities:[ #SQL_DATA_SOURCE, 
                                     #CDS_MODELING_DATA_SOURCE, 
                                     #CDS_MODELING_ASSOCIATION_TARGET ]

@EndUserText.label: 'Legal Context'
define view I_LegalContextAPI01
  as select from I_LglCntntMContextBasic

  //Extension

  association [1..1] to E_LglCntntMContext as _Extension on $projection.LglCntntMContextUUID = _Extension.LglCntntMContextUUID

{

      //Key

  key LglCntntMContextUUID,

      LglCntntMContext,
      LglCntntMContextVersion,
      LglCntntMContextTitle,
      LglCntntMContextOwner,
      LglCntntMProfile,

      //Status

      LglCntntMContextStatus,


      //Validity

      LglCntntMContextValidFromDate,
      LglCntntMContextValidToDate,

      LglCntntMCntxtLanguage,
      LglCntntMPrevCntxtVers,
      LglCntntMCntxtIsReadOnly,
      LglCntntMGovLaw,
      LglCntntMCntxtAccessLvl,

      //Organization

      LglCntntMMainOrgType,
      LglCntntMMainOrgCoCode,
      LglCntntMMainOrgSalesOrg,
      LglCntntMMainOrgPurOrg,
      
      //Administration

      LglCntntMCreatedByUser,
      LglCntntMCreatedUTCDateTime,
      LglCntntMChangedUTCDateTime,
      LglCntntMChangedByUser

}
where

     IsEndOfPurposeBlocked = ''
  or IsEndOfPurposeBlocked is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LGLCNTNTMCONTEXTBASIC"
],
"ASSOCIATED":
[
"E_LGLCNTNTMCONTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/