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.
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 | Universal Unique ID | |
| LegalTransaction | LegalTransaction | Legal Transaction ID | ||
| LegalTransactionTitle | LegalTransactionTitle | Title | ||
| LegalTransactionHealth | LegalTransactionHealth | LT Status | ||
| LglCntntMLanguage | LglCntntMLanguage | Language | ||
| LglCntntMContextUUID | LglCntntMContextUUID | Universal Unique ID | ||
| LglCntntMCreatedByUser | LglCntntMCreatedByUser | Created By | ||
| LglTransWrkFlwModInstce | LglTransWrkFlwModInstce | Instance ID | ||
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | Created On | ||
| LglCntntMChangedByUser | LglCntntMChangedByUser | Changed By | ||
| LglCntntMChangedUTCDateTime | LglCntntMChangedUTCDateTime | Changed On | ||
| LglCntntMProfile | LglCntntMProfile | Profile | ||
| LegalTransactionSource | LegalTransactionSource | LegalTr Source | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| LglCntntMRtntnPerdStartDate | LglCntntMRtntnPerdStartDate | Start of Retention | ||
| LglCntntMContext | _Context | LglCntntMContext | Context ID | |
| LglCntntMContextVersion | _Context | LglCntntMContextVersion | Context Version | |
| LglCntntMContextTitle | _Context | LglCntntMContextTitle | Title | |
| LglCntntMEntity | _LegalTransactionEntityMain | LglCntntMEntity | Entity ID | |
| LglCntntMEntityType | _LegalTransactionEntityMain | LglCntntMEntityType | Entity Type | |
| LglCntntMLongTextUUID | LglCntntMLongTextUUID | Description UUID | ||
| LglCntntMLongText | LglCntntMLongText | Trusted Site Content | ||
| LglCntntMLongTextMimeType | LglCntntMLongTextMimeType | MIMETYPE | ||
| LglCntntMGovLaw | LglCntntMGovLaw | Governing Law | ||
| LglTransAccessLvl | LglTransAccessLvl | Acs. Level | ||
| LglCntntMMainOrgType | LglCntntMMainOrgType | Main Organisation Ty | ||
| LglCntntMMainOrgCoCode | LglCntntMMainOrgCoCode | Entity ID | ||
| LglCntntMMainOrgSalesOrg | LglCntntMMainOrgSalesOrg | Entity ID | ||
| LglCntntMMainOrgPurOrg | LglCntntMMainOrgPurOrg | Entity ID | ||
| LglCntntMIntegrationType | LglCntntMIntegrationType | Integration Variant | ||
| LglCntntMSgntrIsDisabled | ||||
| LglCntntMCrtedFrmLglTransUUID | LglCntntMCrtedFrmLglTransUUID | Universal Unique ID | ||
| _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 |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_LegalTransactionTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ILEGALTRTP
CREATE VIEW I_LegalTransactionTP AS
SELECT
LegalTransactionUUID,
LegalTransaction,
LegalTransactionTitle,
LegalTransactionHealth,
LglCntntMLanguage,
LglCntntMContextUUID,
LglCntntMCreatedByUser,
LglTransWrkFlwModInstce,
LglCntntMCreatedUTCDateTime,
LglCntntMChangedByUser,
LglCntntMChangedUTCDateTime,
LglCntntMProfile,
LegalTransactionSource,
IsEndOfPurposeBlocked,
LglCntntMRtntnPerdStartDate,
_Context.LglCntntMContext AS LglCntntMContext,
_Context.LglCntntMContextVersion AS LglCntntMContextVersion,
_Context.LglCntntMContextTitle AS LglCntntMContextTitle,
_LegalTransactionEntityMain.LglCntntMEntity AS LglCntntMEntity,
_LegalTransactionEntityMain.LglCntntMEntityType AS LglCntntMEntityType,
LglCntntMLongTextUUID,
LglCntntMLongText,
LglCntntMLongTextMimeType,
LglCntntMGovLaw,
LglTransAccessLvl,
LglCntntMMainOrgType,
LglCntntMMainOrgCoCode,
LglCntntMMainOrgSalesOrg,
LglCntntMMainOrgPurOrg,
LglCntntMIntegrationType,
cast( '' as boole_d ) AS LglCntntMSgntrIsDisabled,
LglCntntMCrtedFrmLglTransUUID
FROM I_LegalTransaction
LEFT OUTER JOIN I_LegalTransactionEntityTP AS _LegalTransactionEntityTP ON LegalTransactionUUID = _LegalTransactionEntityTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTransactionEntityMain AS _LegalTransactionEntityMain ON LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID -- association [0..1]
LEFT OUTER JOIN I_LegalTransactionIntContactTP AS _LegalTransactionIntContactTP ON LegalTransactionUUID = _LegalTransactionIntContactTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTransactionExtContactTP AS _LegalTransactionExtContactTP ON LegalTransactionUUID = _LegalTransactionExtContactTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTransactionDateTP AS _LegalTransactionDateTP ON LegalTransactionUUID = _LegalTransactionDateTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTransactionReminderTP AS _LegalTransactionReminderTP ON LegalTransactionUUID = _LegalTransactionReminderTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTrRelationshipTP AS _LegalTrRelationshipTP ON LegalTransactionUUID = _LegalTrRelationshipTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTrLinkedObjectsTP AS _LegalTrLinkedObjectsTP ON LegalTransactionUUID = _LegalTrLinkedObjectsTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LCMContextTP AS _Context ON LglCntntMContextUUID = _Context.LglCntntMContextUUID -- association [0..1]
LEFT OUTER JOIN I_LegalTransactionDocLinkTP AS _LegalTransactionDocLinkTP ON LegalTransactionUUID = _LegalTransactionDocLinkTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTrCategoryGroupTP AS _LegalTrCategoryGroupTP ON LegalTransactionUUID = _LegalTrCategoryGroupTP.LegalTransactionUUID -- association [1..*]
LEFT OUTER JOIN I_LglCntntMTaskGroupTP AS _LglCntntMTaskGroupTP ON LegalTransactionUUID = _LglCntntMTaskGroupTP.LegalTransactionUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTransRnwlAndTermnTP AS _LegalTransRnwlAndTermnTP ON LegalTransactionUUID = _LegalTransRnwlAndTermnTP.LegalTransactionUUID -- association [0..1]
LEFT OUTER JOIN E_LegalTransaction AS _Extenstion ON LegalTransactionUUID = _Extenstion.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN I_LglCntntMProfileText AS _LglCntntMProfileText ON LglCntntMProfile = _LglCntntMProfileText.LglCntntMProfile AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON LglCntntMLanguage = _LanguageText.LanguageCode AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LegalTransactionHealthText AS _LegalTransactionHealthText ON LegalTransactionHealth = _LegalTransactionHealthText.LegalTransactionHealth AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON LglCntntMMainOrgSalesOrg = _SalesOrganizationText.SalesOrganization AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMMainOrgTypeText AS _LglCntntMMainOrgTypeText ON LglCntntMMainOrgType = _LglCntntMMainOrgTypeText.LglCntntMMainOrgType AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LegalTrLinkedObjectTrigger AS _LglTrLinkedObjectTrigger ON LegalTransactionUUID = _LglTrLinkedObjectTrigger.LegalTransactionUUID -- association [0..1]
LEFT OUTER JOIN I_LCMEntityTypeText AS _LCMEntityTypeText ON lglcntntmentitytype = _LCMEntityTypeText.LglCntntMEntityType -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA