I_LegalTransactionEntity
Basic View for LCM Legal Transaction Entity
I_LegalTransactionEntity is a Basic CDS View that provides data about "Basic View for LCM Legal Transaction Entity" in SAP S/4HANA. It reads from 1 data source (lcm_lt_entity) and exposes 19 fields with key field LegalTransactionEntityUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| lcm_lt_entity | lcm_lt_entity | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LegalTransaction | _LegalTransaction | $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID |
| [0..1] | I_LCMEntityTypeText | _EntityTypeText | $projection.LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType and _EntityTypeText.Language = $session.system_language |
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | _PurchasingOrganization.PurchasingOrganization = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '05' |
| [0..1] | I_Supplier | _Supplier | _Supplier.Supplier = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '01' |
| [0..1] | I_SalesOrganizationText | _SalesOrganizationText | _SalesOrganizationText.SalesOrganization = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '04' and _SalesOrganizationText.Language = $session.system_language |
| [0..1] | I_Customer | _Customer | _Customer.Customer = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '02' |
| [0..1] | I_CompanyCode | _CompanyCode | _CompanyCode.CompanyCode = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '03' |
| [0..1] | I_BusinessPartner | _BusinessPartner | _BusinessPartner.BusinessPartner = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '06' |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILEGALTRENTITY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.representativeKey | LEGALTRANSACTIONENTITYUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Basic View for LCM Legal Transaction Entity | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionEntityUUID | lcm_lt_entity | legaltransactionentityuuid | |
| LglCntntMRank | lcm_lt_entity | lglcntntmrank | ||
| LglCntntMEntity | lcm_lt_entity | lglcntntmentity | ||
| LglCntntMEntityType | lcm_lt_entity | lglcntntmentitytype | ||
| LglCntntMEntityTypeName | _EntityTypeText | LglCntntMEntityTypeName | ||
| LglCntntMTechEntityType | lcm_lt_entity | lglcntntmtechentitytype | ||
| LegalTransactionUUID | lcm_lt_entity | legaltransactionuuid | ||
| LegalTransactionMandatoryFlag | lcm_lt_entity | legaltransactionmandatoryflag | ||
| LglCntntMIsMainEntity | lcm_lt_entity | lglcntntmismainentity | ||
| LglCntntMIsIntegRelevant | lcm_lt_entity | lglcntntmisintegrelevant | ||
| LglCntntMIsAddedByIntegVarbl | lcm_lt_entity | lglcntntmisaddedbyintegvarbl | ||
| _LegalTransaction | _LegalTransaction | |||
| _EntityTypeText | _EntityTypeText | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _Supplier | _Supplier | |||
| _SalesOrganizationText | _SalesOrganizationText | |||
| _Customer | _Customer | |||
| _CompanyCode | _CompanyCode | |||
| _BusinessPartner | _BusinessPartner |
@AbapCatalog.sqlViewName: 'ILEGALTRENTITY'
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@AccessControl.authorizationCheck:#CHECK
@VDM.viewType : #BASIC
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel: {
representativeKey: 'LEGALTRANSACTIONENTITYUUID',
usageType.serviceQuality: #A,
usageType.sizeCategory: #L,
usageType.dataClass: #TRANSACTIONAL
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@AbapCatalog.preserveKey:true
@EndUserText.label: 'Basic View for LCM Legal Transaction Entity'
define view I_LegalTransactionEntity
as select from lcm_lt_entity
association [1..1] to I_LegalTransaction as _LegalTransaction on $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
// ESH association
// Annotation to customizing
association [0..1] to I_LCMEntityTypeText as _EntityTypeText on $projection.LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType
and _EntityTypeText.Language = $session.system_language
association [0..1] to I_PurchasingOrganization as _PurchasingOrganization on _PurchasingOrganization.PurchasingOrganization = $projection.LglCntntMEntity
and $projection.LglCntntMTechEntityType = '05'
association [0..1] to I_Supplier as _Supplier on _Supplier.Supplier = $projection.LglCntntMEntity
and $projection.LglCntntMTechEntityType = '01'
association [0..1] to I_SalesOrganizationText as _SalesOrganizationText on _SalesOrganizationText.SalesOrganization = $projection.LglCntntMEntity
and $projection.LglCntntMTechEntityType = '04'
and _SalesOrganizationText.Language = $session.system_language
association [0..1] to I_Customer as _Customer on _Customer.Customer = $projection.LglCntntMEntity
and $projection.LglCntntMTechEntityType = '02'
association [0..1] to I_CompanyCode as _CompanyCode on _CompanyCode.CompanyCode = $projection.LglCntntMEntity
and $projection.LglCntntMTechEntityType = '03'
association [0..1] to I_BusinessPartner as _BusinessPartner on _BusinessPartner.BusinessPartner = $projection.LglCntntMEntity
and $projection.LglCntntMTechEntityType = '06'
{
key lcm_lt_entity.legaltransactionentityuuid as LegalTransactionEntityUUID,
lcm_lt_entity.lglcntntmrank as LglCntntMRank,
lcm_lt_entity.lglcntntmentity as LglCntntMEntity,
lcm_lt_entity.lglcntntmentitytype as LglCntntMEntityType,
_EntityTypeText.LglCntntMEntityTypeName as LglCntntMEntityTypeName,
lcm_lt_entity.lglcntntmtechentitytype as LglCntntMTechEntityType,
lcm_lt_entity.legaltransactionuuid as LegalTransactionUUID,
lcm_lt_entity.legaltransactionmandatoryflag as LegalTransactionMandatoryFlag,
lcm_lt_entity.lglcntntmismainentity as LglCntntMIsMainEntity,
lcm_lt_entity.lglcntntmisintegrelevant as LglCntntMIsIntegRelevant,
@Semantics.booleanIndicator: true
lcm_lt_entity.lglcntntmisaddedbyintegvarbl as LglCntntMIsAddedByIntegVarbl,
//Authorization
_LegalTransaction,
// _EntityType,
_EntityTypeText,
_PurchasingOrganization,
_Supplier,
_SalesOrganizationText,
_Customer,
_CompanyCode,
_BusinessPartner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LCMENTITYTYPETEXT",
"LCM_LT_ENTITY"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_COMPANYCODE",
"I_CUSTOMER",
"I_LCMENTITYTYPETEXT",
"I_LEGALTRANSACTION",
"I_PURCHASINGORGANIZATION",
"I_SALESORGANIZATIONTEXT",
"I_SUPPLIER"
],
"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