I_LegalTransactionTP
TP View for LCM Legal Transaction
I_LegalTransactionTP is a Transactional CDS View that provides data about "TP View for LCM Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LegalTransaction) and exposes 53 fields with key field LegalTransactionUUID. It has 21 associations to related views. Part of development package APPL_LCM_LT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransaction | I_LegalTransaction | from |
Associations (21)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_LegalTransactionEntityTP | _LegalTransactionEntityTP | $projection.LegalTransactionUUID = _LegalTransactionEntityTP.LegalTransactionUUID |
| [0..1] | I_LegalTransactionEntityMain | _LegalTransactionEntityMain | $projection.LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID |
| [0..*] | I_LegalTransactionIntContactTP | _LegalTransactionIntContactTP | $projection.LegalTransactionUUID = _LegalTransactionIntContactTP.LegalTransactionUUID |
| [0..*] | I_LegalTransactionExtContactTP | _LegalTransactionExtContactTP | $projection.LegalTransactionUUID = _LegalTransactionExtContactTP.LegalTransactionUUID |
| [0..*] | I_LegalTransactionDateTP | _LegalTransactionDateTP | $projection.LegalTransactionUUID = _LegalTransactionDateTP.LegalTransactionUUID |
| [0..*] | I_LegalTransactionReminderTP | _LegalTransactionReminderTP | $projection.LegalTransactionUUID = _LegalTransactionReminderTP.LegalTransactionUUID |
| [0..*] | I_LegalTrRelationshipTP | _LegalTrRelationshipTP | $projection.LegalTransactionUUID = _LegalTrRelationshipTP.LegalTransactionUUID |
| [0..*] | I_LegalTrLinkedObjectsTP | _LegalTrLinkedObjectsTP | $projection.LegalTransactionUUID = _LegalTrLinkedObjectsTP.LegalTransactionUUID |
| [0..1] | I_LCMContextTP | _Context | $projection.LglCntntMContextUUID = _Context.LglCntntMContextUUID |
| [0..*] | I_LegalTransactionDocLinkTP | _LegalTransactionDocLinkTP | $projection.LegalTransactionUUID = _LegalTransactionDocLinkTP.LegalTransactionUUID |
| [1..*] | I_LegalTrCategoryGroupTP | _LegalTrCategoryGroupTP | $projection.LegalTransactionUUID = _LegalTrCategoryGroupTP.LegalTransactionUUID |
| [0..*] | I_LglCntntMTaskGroupTP | _LglCntntMTaskGroupTP | $projection.LegalTransactionUUID = _LglCntntMTaskGroupTP.LegalTransactionUUID |
| [0..1] | I_LegalTransRnwlAndTermnTP | _LegalTransRnwlAndTermnTP | $projection.LegalTransactionUUID = _LegalTransRnwlAndTermnTP.LegalTransactionUUID |
| [1..1] | E_LegalTransaction | _Extenstion | $projection.LegalTransactionUUID = _Extenstion.LegalTransactionUUID |
| [0..1] | I_LglCntntMProfileText | _LglCntntMProfileText | $projection.LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile and Language = $session.system_language |
| [0..1] | I_LanguageText | _LanguageText | $projection.LglCntntMLanguage = _LanguageText.LanguageCode and Language = $session.system_language |
| [0..1] | I_LegalTransactionHealthText | _LegalTransactionHealthText | $projection.LegalTransactionHealth = _LegalTransactionHealthText.LegalTransactionHealth and Language = $session.system_language |
| [0..1] | I_SalesOrganizationText | _SalesOrganizationText | $projection.LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization and Language = $session.system_language |
| [0..1] | I_LglCntntMMainOrgTypeText | _LglCntntMMainOrgTypeText | $projection.LglCntntMMainOrgType = _LglCntntMMainOrgTypeText.LglCntntMMainOrgType and Language = $session.system_language |
| [0..1] | I_LegalTrLinkedObjectTrigger | _LglTrLinkedObjectTrigger | $projection.LegalTransactionUUID = _LglTrLinkedObjectTrigger.LegalTransactionUUID |
| [0..*] | I_LCMEntityTypeText | _LCMEntityTypeText | $projection.lglcntntmentitytype = _LCMEntityTypeText.LglCntntMEntityType |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILEGALTRTP | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | TP View for LCM Legal Transaction | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | LegalTransactionUUID | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.writeActivePersistence | LCM_LEGALTR | view | |
| ObjectModel.writeDraftPersistence | LCM_LEGALTR_D | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.entityChangeStateId | LglCntntMChangedUTCDateTime | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.sapObjectNodeType.name | LegalTransaction | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionUUID | LegalTransactionUUID | ||
| LegalTransaction | LegalTransaction | |||
| LegalTransactionTitle | LegalTransactionTitle | |||
| LegalTransactionHealth | LegalTransactionHealth | |||
| LglCntntMLanguage | LglCntntMLanguage | |||
| LglCntntMContextUUID | LglCntntMContextUUID | |||
| LglCntntMCreatedByUser | LglCntntMCreatedByUser | |||
| LglTransWrkFlwModInstce | LglTransWrkFlwModInstce | |||
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | |||
| LglCntntMChangedByUser | LglCntntMChangedByUser | |||
| LglCntntMChangedUTCDateTime | LglCntntMChangedUTCDateTime | |||
| LglCntntMProfile | LglCntntMProfile | |||
| LegalTransactionSource | LegalTransactionSource | |||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | |||
| LglCntntMRtntnPerdStartDate | LglCntntMRtntnPerdStartDate | |||
| LglCntntMContext | _Context | LglCntntMContext | ||
| LglCntntMContextVersion | _Context | LglCntntMContextVersion | ||
| LglCntntMContextTitle | _Context | LglCntntMContextTitle | ||
| LglCntntMEntity | _LegalTransactionEntityMain | LglCntntMEntity | ||
| LglCntntMEntityType | _LegalTransactionEntityMain | LglCntntMEntityType | ||
| LglCntntMLongTextUUID | LglCntntMLongTextUUID | |||
| LglCntntMLongText | LglCntntMLongText | |||
| LglCntntMLongTextMimeType | LglCntntMLongTextMimeType | |||
| LglCntntMGovLaw | LglCntntMGovLaw | |||
| LglTransAccessLvl | LglTransAccessLvl | |||
| LglCntntMMainOrgType | LglCntntMMainOrgType | |||
| LglCntntMMainOrgCoCode | LglCntntMMainOrgCoCode | |||
| LglCntntMMainOrgSalesOrg | LglCntntMMainOrgSalesOrg | |||
| LglCntntMMainOrgPurOrg | LglCntntMMainOrgPurOrg | |||
| LglCntntMIntegrationType | LglCntntMIntegrationType | |||
| LglCntntMSgntrIsDisabled | ||||
| LglCntntMCrtedFrmLglTransUUID | LglCntntMCrtedFrmLglTransUUID | |||
| _LglCntntMProfileText | _LglCntntMProfileText | |||
| _LglCntntMIntegTypeText | _LglCntntMIntegTypeText | |||
| _LanguageText | _LanguageText | |||
| _LegalTransactionHealthText | _LegalTransactionHealthText | |||
| _LglCntntMAccessLvlText | _LglCntntMAccessLvlText | |||
| _SalesOrganizationText | _SalesOrganizationText | |||
| _LglCntntMMainOrgTypeText | _LglCntntMMainOrgTypeText | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _LglTrLinkedObjectTrigger | _LglTrLinkedObjectTrigger | |||
| _LCMEntityTypeText | _LCMEntityTypeText | |||
| _LegalTransactionEntityTP | _LegalTransactionEntityTP | |||
| _LegalTransactionIntContactTP | _LegalTransactionIntContactTP | |||
| _LegalTransactionExtContactTP | _LegalTransactionExtContactTP | |||
| _LegalTransactionDateTP | _LegalTransactionDateTP | |||
| _LegalTransactionReminderTP | _LegalTransactionReminderTP | |||
| _LegalTrRelationshipTP | _LegalTrRelationshipTP | |||
| _LegalTrLinkedObjectsTP | _LegalTrLinkedObjectsTP | |||
| _LegalTransactionDocLinkTP | _LegalTransactionDocLinkTP | |||
| _LegalTrCategoryGroupTP | _LegalTrCategoryGroupTP | |||
| _LglCntntMTaskGroupTP | _LglCntntMTaskGroupTP | |||
| _LegalTransRnwlAndTermnTP | _LegalTransRnwlAndTermnTP |
@AbapCatalog.sqlViewName: 'ILEGALTRTP'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck:#CHECK
@EndUserText.label: 'TP View for LCM Legal Transaction'
@VDM.viewType : #TRANSACTIONAL
//@ObjectModel.modelCategory: #BUSINESS_OBJECT
@ObjectModel: {
representativeKey: 'LegalTransactionUUID',
semanticKey: [ 'LegalTransaction' ] ,
//Only at Root
compositionRoot: true,
transactionalProcessingEnabled: true,
//All Levels
draftEnabled: true,
createEnabled: 'EXTERNAL_CALCULATION',
updateEnabled: 'EXTERNAL_CALCULATION',
deleteEnabled: 'EXTERNAL_CALCULATION', //Commented for 1708
writeActivePersistence: 'LCM_LEGALTR',
writeDraftPersistence: 'LCM_LEGALTR_D',
usageType.serviceQuality: #C,
usageType.sizeCategory: #XL,
usageType.dataClass: #TRANSACTIONAL,
entityChangeStateId:'LglCntntMChangedUTCDateTime'
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.sapObjectNodeType.name:'LegalTransaction'
define view I_LegalTransactionTP
as select from I_LegalTransaction
//Parties
association [0..*] to I_LegalTransactionEntityTP as _LegalTransactionEntityTP on $projection.LegalTransactionUUID = _LegalTransactionEntityTP.LegalTransactionUUID
association [0..1] to I_LegalTransactionEntityMain as _LegalTransactionEntityMain on $projection.LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID
association [0..*] to I_LegalTransactionIntContactTP as _LegalTransactionIntContactTP on $projection.LegalTransactionUUID = _LegalTransactionIntContactTP.LegalTransactionUUID
association [0..*] to I_LegalTransactionExtContactTP as _LegalTransactionExtContactTP on $projection.LegalTransactionUUID = _LegalTransactionExtContactTP.LegalTransactionUUID
//Dates & Reminers
association [0..*] to I_LegalTransactionDateTP as _LegalTransactionDateTP on $projection.LegalTransactionUUID = _LegalTransactionDateTP.LegalTransactionUUID
association [0..*] to I_LegalTransactionReminderTP as _LegalTransactionReminderTP on $projection.LegalTransactionUUID = _LegalTransactionReminderTP.LegalTransactionUUID
//Relationships
association [0..*] to I_LegalTrRelationshipTP as _LegalTrRelationshipTP on $projection.LegalTransactionUUID = _LegalTrRelationshipTP.LegalTransactionUUID
association [0..*] to I_LegalTrLinkedObjectsTP as _LegalTrLinkedObjectsTP on $projection.LegalTransactionUUID = _LegalTrLinkedObjectsTP.LegalTransactionUUID
//Context
association [0..1] to I_LCMContextTP as _Context on $projection.LglCntntMContextUUID = _Context.LglCntntMContextUUID
//Document Link
association [0..*] to I_LegalTransactionDocLinkTP as _LegalTransactionDocLinkTP on $projection.LegalTransactionUUID = _LegalTransactionDocLinkTP.LegalTransactionUUID
//Category
association [1..*] to I_LegalTrCategoryGroupTP as _LegalTrCategoryGroupTP on $projection.LegalTransactionUUID = _LegalTrCategoryGroupTP.LegalTransactionUUID
//Task Group
association [0..*] to I_LglCntntMTaskGroupTP as _LglCntntMTaskGroupTP on $projection.LegalTransactionUUID = _LglCntntMTaskGroupTP.LegalTransactionUUID
//Renewal
association [0..1] to I_LegalTransRnwlAndTermnTP as _LegalTransRnwlAndTermnTP on $projection.LegalTransactionUUID = _LegalTransRnwlAndTermnTP.LegalTransactionUUID
//Extension
association [1..1] to E_LegalTransaction as _Extenstion on $projection.LegalTransactionUUID = _Extenstion.LegalTransactionUUID
//Text associations
association [0..1] to I_LglCntntMProfileText as _LglCntntMProfileText on $projection.LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile
and Language = $session.system_language
association [0..1] to I_LanguageText as _LanguageText on $projection.LglCntntMLanguage = _LanguageText.LanguageCode
and Language = $session.system_language
association [0..1] to I_LegalTransactionHealthText as _LegalTransactionHealthText on $projection.LegalTransactionHealth = _LegalTransactionHealthText.LegalTransactionHealth
and Language = $session.system_language
association [0..1] to I_SalesOrganizationText as _SalesOrganizationText on $projection.LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization
and Language = $session.system_language
association [0..1] to I_LglCntntMMainOrgTypeText as _LglCntntMMainOrgTypeText on $projection.LglCntntMMainOrgType = _LglCntntMMainOrgTypeText.LglCntntMMainOrgType
and Language = $session.system_language
association [0..1] to I_LegalTrLinkedObjectTrigger as _LglTrLinkedObjectTrigger on $projection.LegalTransactionUUID = _LglTrLinkedObjectTrigger.LegalTransactionUUID
// association [0..1] to I_LegalTrEntityAggr as _LegalTrEntityAggr on $projection.legaltransactionentityuuid = _LegalTrEntityAggr.LegalTransactionEntityUUID
association [0..*] to I_LCMEntityTypeText as _LCMEntityTypeText on $projection.lglcntntmentitytype = _LCMEntityTypeText.LglCntntMEntityType
//and Language = $session.system_language
{
key LegalTransactionUUID,
LegalTransaction,
LegalTransactionTitle,
LegalTransactionHealth,
LglCntntMLanguage,
LglCntntMContextUUID,
LglCntntMCreatedByUser,
LglTransWrkFlwModInstce,
//@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
LglCntntMCreatedUTCDateTime,
// @ObjectModel.readOnly: true
// LglCntntMCreatedUTCDateTime as LglCntntMCreatedOnDateTime,
LglCntntMChangedByUser,
@Semantics.systemDateTime.lastChangedAt: true
LglCntntMChangedUTCDateTime,
// @ObjectModel.readOnly: true
// LglCntntMChangedUTCDateTime as LglCntntMChangedOnDateTime,
LglCntntMProfile,
LegalTransactionSource,
IsEndOfPurposeBlocked,
@ObjectModel.readOnly: true
LglCntntMRtntnPerdStartDate,
@ObjectModel.readOnly: true
_Context.LglCntntMContext as LglCntntMContext,
@ObjectModel.readOnly: true
_Context.LglCntntMContextVersion,
_Context.LglCntntMContextTitle,
//@ObjectModel.readOnly: true
_LegalTransactionEntityMain.LglCntntMEntity,
_LegalTransactionEntityMain.LglCntntMEntityType,
// _LegalTransactionEntityTP.LegalTransactionEntityUUID,
LglCntntMLongTextUUID,
LglCntntMLongText,
LglCntntMLongTextMimeType,
// @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
LglCntntMGovLaw,
LglTransAccessLvl,
LglCntntMMainOrgType,
LglCntntMMainOrgCoCode,
LglCntntMMainOrgSalesOrg,
LglCntntMMainOrgPurOrg,
LglCntntMIntegrationType,
// Expose esign flag
cast( '' as boole_d ) as LglCntntMSgntrIsDisabled,
// @ObjectModel.readOnly: true
// CopiedFromLegalTransactionUUID,
LglCntntMCrtedFrmLglTransUUID,
_LglCntntMProfileText,
_LglCntntMIntegTypeText,
_LanguageText,
_LegalTransactionHealthText,
_LglCntntMAccessLvlText,
_SalesOrganizationText,
_LglCntntMMainOrgTypeText,
_PurchasingOrganization,
_LglTrLinkedObjectTrigger,
_LCMEntityTypeText,
// _LegalTrEntityAggr,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTransactionEntityTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTransactionIntContactTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTransactionExtContactTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTransactionDateTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTransactionReminderTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTrRelationshipTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTrLinkedObjectsTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTransactionDocLinkTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LegalTrCategoryGroupTP,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_LglCntntMTaskGroupTP,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_LegalTransRnwlAndTermnTP
}
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