I_LEGALTRANSACTIONENTITYMAIN
Composite View for LCM Legal Transaction Entity Main
I_LEGALTRANSACTIONENTITYMAIN is a CDS View in S/4HANA. Composite View for LCM Legal Transaction Entity Main. It contains 5 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_LegalTransactionEntityMain | view | from | CONSUMPTION | Legal Transaction Entity |
Fields (5)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| _BusinessPartner | _BusinessPartner | 1 | |
| _Customer | _Customer | 1 | |
| _Supplier | _Supplier | 1 | |
| LglCntntMEntityType | LglCntntMEntityType | 1 | |
| LglCntntMTechEntityType | LglCntntMTechEntityType | 1 |
@AbapCatalog.sqlViewName: 'ILEGALTRENTITYM'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck:#CHECK
@VDM.viewType : #COMPOSITE // 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
@EndUserText.label: 'Composite View for LCM Legal Transaction Entity Main'
define view I_LegalTransactionEntityMain
as select from I_LegalTransactionEntity as LegalTransactionEntity
association [1..1] to I_LegalTransaction as _LegalTransaction on $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
//association [0..1] to I_Legaltransactiontext as _LegalTransactionText on $projection.LegalTransactionUUID = _LegalTransactionText.LegalTransactionUUID
// and _LegalTransactionText.LglCntntMLanguage = $session.system_language
association [0..1] to I_LCMEntityTypeText as _EntityTypeText on $projection.LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType
and _EntityTypeText.Language = $session.system_language
association [0..*] to I_LCMEntityTypeText as _LCMEntityTypeText on $projection.LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType
{
key LegalTransactionEntity.LegalTransactionEntityUUID as LegalTransactionEntityUUID,
LegalTransactionEntity.LglCntntMRank as LglCntntMRank,
LegalTransactionEntity.LglCntntMEntity as LglCntntMEntity,
LegalTransactionEntity.LglCntntMEntityType as LglCntntMEntityType,
LegalTransactionEntity.LglCntntMTechEntityType as LglCntntMTechEntityType,
LegalTransactionEntity.LegalTransactionUUID as LegalTransactionUUID,
//lcm_lt_entity.lglcntntmismandatory as LglCntntMIsMandatory,
LegalTransactionEntity.LegalTransactionMandatoryFlag as LegalTransactionMandatoryFlag,
LegalTransactionEntity.LglCntntMIsMainEntity as LglCntntMIsMainEntity,
//_LegalTransactionText,
_LegalTransaction,
_EntityTypeText,
_LCMEntityTypeText,
@Consumption.filter.hidden: true
LegalTransactionEntity._Supplier,
@Consumption.filter.hidden: true
LegalTransactionEntity._Customer,
@Consumption.filter.hidden: true
LegalTransactionEntity._BusinessPartner
}
where
LglCntntMIsMainEntity = 'X'