C_LegalTransactionEntityMain
Legal Transaction Entity
C_LegalTransactionEntityMain is a Consumption CDS View that provides data about "Legal Transaction Entity" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionEntityMain) and exposes 11 fields with key field LegalTransactionEntityUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransactionEntityMain | LglTransactionEntityMain | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LegalTrEntityAggr | _LegalTrEntityAggrgn | $projection.LegalTransactionEntityUUID = _LegalTrEntityAggrgn.LegalTransactionEntityUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLEGALTRENTITYM | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Legal Transaction Entity | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.semanticKey | LglCntntMIsMainEntity | view | |
| ObjectModel.representativeKey | LegalTransactionEntityUUID | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Search.searchable | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionEntityUUID | LegalTransactionEntityUUID | ||
| LegalTransactionUUID | LegalTransactionUUID | |||
| LglCntntMIsMainEntity | LglCntntMIsMainEntity | |||
| LglCntntMEntityType | I_LegalTransactionEntityMain | LglCntntMEntityType | Entity Type | |
| LglCntntMEntityName | _LegalTrEntityAggrgn | LglCntntMEntityName | ||
| LglCntntMTechEntityType | I_LegalTransactionEntityMain | LglCntntMTechEntityType | ||
| LglCntntMEntity | LglCntntMEntity | Entity ID | ||
| _LegalTransaction | _LegalTransaction | |||
| _Supplier | I_LegalTransactionEntityMain | _Supplier | ||
| _Customer | I_LegalTransactionEntityMain | _Customer | ||
| _BusinessPartner | I_LegalTransactionEntityMain | _BusinessPartner |
@AbapCatalog.sqlViewName: 'CLEGALTRENTITYM'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Legal Transaction Entity'
@VDM.viewType: #CONSUMPTION
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel: { semanticKey: 'LglCntntMIsMainEntity',
representativeKey: 'LegalTransactionEntityUUID',
usageType.dataClass: #MIXED,
usageType.serviceQuality: #C,
usageType.sizeCategory: #L }
@Search.searchable: true
define view C_LegalTransactionEntityMain
as select from I_LegalTransactionEntityMain as LglTransactionEntityMain
// Aggregation
association [0..1] to I_LegalTrEntityAggr as _LegalTrEntityAggrgn on $projection.LegalTransactionEntityUUID = _LegalTrEntityAggrgn.LegalTransactionEntityUUID
{
@UI.hidden : true
key LegalTransactionEntityUUID,
@UI.hidden: true
LegalTransactionUUID,
@UI.hidden : true
LglCntntMIsMainEntity,
@EndUserText.label: 'Entity Type'
LglTransactionEntityMain.LglCntntMEntityType as LglCntntMEntityType,
@UI.hidden: true
@ObjectModel.readOnly: true
@Semantics.text: true
// @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
_LegalTrEntityAggrgn.LglCntntMEntityName,
@UI.hidden: true
@ObjectModel.readOnly: true
LglTransactionEntityMain.LglCntntMTechEntityType as LglCntntMTechEntityType,
@ObjectModel.text.element: 'LglCntntMEntityName'
@EndUserText.label: 'Entity ID'
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
LglCntntMEntity,
_LegalTransaction,
@Consumption.filter.hidden: true
LglTransactionEntityMain._Supplier,
@Consumption.filter.hidden: true
LglTransactionEntityMain._Customer,
@Consumption.filter.hidden: true
LglTransactionEntityMain._BusinessPartner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LEGALTRANSACTIONENTITYMAIN",
"I_LEGALTRENTITYAGGR"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_CUSTOMER",
"I_LEGALTRANSACTION",
"I_LEGALTRENTITYAGGR",
"I_SUPPLIER"
],
"BASE":
[
"I_LEGALTRANSACTIONENTITYMAIN"
],
"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