C_LegalTransactionIntegFacet
Legal Transaction Integration Facet
C_LegalTransactionIntegFacet is a Consumption CDS View that provides data about "Legal Transaction Integration Facet" in SAP S/4HANA. It reads from 2 data sources (I_LegalTransaction, I_LglCntntMIntegLinkdObj) and exposes 34 fields with key field LegalTransactionLinkdObjUUID. It has 9 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransaction | LegalTransaction | from |
| I_LglCntntMIntegLinkdObj | LinkedObject | inner |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LegalTransactionAggr | _LegalTransactionAggrgn | $projection.LegalTransactionUUID = _LegalTransactionAggrgn.LegalTransactionUUID |
| [0..1] | I_LCMUserContactCard | _ChangedByContactCard | _ChangedByContactCard.ContactCardType = 'User' and _ChangedByContactCard.ContactCardID = $projection.LglCntntMChangedByUser and _ChangedByContactCard.ContactCardRole = 'Creator' |
| [0..*] | I_LegalTransactionHealthText | _LegalTransactionHealthText | $projection.LegalTransactionHealth = _LegalTransactionHealthText.LegalTransactionHealth |
| [0..1] | C_LegalTransactionEntityMain | _LegalTransactionEntityMain | $projection.LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID |
| [0..*] | I_LCMEntityTypeText | _EntityTypeText | $projection.lglcntntmentitytype = _EntityTypeText.LglCntntMEntityType |
| [0..1] | I_Language | _Language | $projection.LglCntntMLanguage = _Language.Language |
| [0..1] | C_LglCntntMGovLawVH | _LCMGovLawVH | $projection.LglCntntMGovLaw = _LCMGovLawVH.LglCntntMGovLaw |
| [1..1] | I_LglTransToBeUpdated | _LglTransToBeUpdated | $projection.LegalTransaction = _LglTransToBeUpdated.LegalTransaction and $projection.LglCntntMLinkdObj = _LglTransToBeUpdated.LglCntntMLinkdObj |
| [1..1] | E_LegalTransaction | _LegalTransactionExtension | $projection.LegalTransactionUUID = _LegalTransactionExtension.LegalTransactionUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CLGLTRANSINTEGF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Legal Transaction Integration Facet | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | LegalTransactionLinkdObjUUID | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionLinkdObjUUID | I_LglCntntMIntegLinkdObj | LegalTransactionLinkdObjUUID | Universal Unique ID |
| LegalTransactionUUID | I_LglCntntMIntegLinkdObj | LegalTransactionUUID | Universal Unique ID | |
| LegalTransaction | I_LegalTransaction | LegalTransaction | Legal Transaction | |
| LglCntntMEntityType | _LegalTransactionEntityMain | LglCntntMEntityType | Entity Type | |
| LglCntntMEntity | _LegalTransactionEntityMain | LglCntntMEntity | Main Entity | |
| LglCntntMEntityName | _LegalTransactionEntityMain | LglCntntMEntityName | ||
| LglCntntMChangedByUser | I_LegalTransaction | LglCntntMChangedByUser | Changed By | |
| LglCntntMChangedUTCDateTime | I_LegalTransaction | LglCntntMChangedUTCDateTime | Last Changed On | |
| LegalTransactionTitle | I_LegalTransaction | LegalTransactionTitle | Title | |
| LglCntntMLinkdObj | I_LglCntntMIntegLinkdObj | LglCntntMLinkdObj | Unique ID | |
| LglCntntMIntegrationLink | I_LglCntntMIntegLinkdObj | LglCntntMIntegrationLink | Integration Link | |
| LegalTransactionHealth | I_LegalTransaction | LegalTransactionHealth | Status | |
| LglTransHealthCriticality | _LegalTransactionAggrgn | LglTransHealthCriticality | ||
| _ChangedByContactCard | _ChangedByContactCard | |||
| LglCntntMLanguage | I_LegalTransaction | LglCntntMLanguage | Language | |
| LglCntntMGovLaw | I_LegalTransaction | LglCntntMGovLaw | Governing Law | |
| LglCntntMGovLawText | _LCMGovLawVH | LglCntntMGovLawText | Governing Law | |
| LglCntntMMainOrgType | I_LegalTransaction | LglCntntMMainOrgType | Main Organization Type | |
| LglCntntMMainOrg | _LegalTransactionAggrgn | LglCntntMMainOrg | Main Organization | |
| LglCntntMMainOrgName | ||||
| LglCntntMFromDate | Start Date | |||
| LglCntntMToDate | End Date | |||
| LegalTransactionIsTriggerObj | I_LglCntntMIntegLinkdObj | LegalTransactionIsTriggerObj | Trigger Object | |
| LglCntntMLglTransUpdtIsRqd | _LglTransToBeUpdated | LglCntntMLglTransUpdtIsRqd | Update Required | |
| _LegalTransactionHealthText | _LegalTransactionHealthText | |||
| _EntityTypeText | _EntityTypeText | |||
| IsEndOfPurposeBlocked | I_LegalTransaction | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |
| LglCntntMProfile | I_LegalTransaction | LglCntntMProfile | Profile | |
| LglTransAccessLvl | I_LegalTransaction | LglTransAccessLvl | Acs. Level | |
| LglCntntMMainOrgCoCode | I_LegalTransaction | LglCntntMMainOrgCoCode | Entity ID | |
| LglCntntMMainOrgSalesOrg | I_LegalTransaction | LglCntntMMainOrgSalesOrg | Entity ID | |
| LglCntntMMainOrgPurOrg | I_LegalTransaction | LglCntntMMainOrgPurOrg | Entity ID | |
| _Language | _Language | |||
| _LglCntntMMainOrgTypeText | I_LegalTransaction | _LglCntntMMainOrgTypeText |
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 C_LegalTransactionIntegFacet.
-- 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: CLGLTRANSINTEGF
CREATE VIEW C_LegalTransactionIntegFacet AS
SELECT
LinkedObject.LegalTransactionLinkdObjUUID AS LegalTransactionLinkdObjUUID,
LinkedObject.LegalTransactionUUID AS LegalTransactionUUID,
LegalTransaction.LegalTransaction AS LegalTransaction,
_LegalTransactionEntityMain.LglCntntMEntityType AS LglCntntMEntityType,
_LegalTransactionEntityMain.LglCntntMEntity AS LglCntntMEntity,
_LegalTransactionEntityMain.LglCntntMEntityName AS LglCntntMEntityName,
LegalTransaction.LglCntntMChangedByUser AS LglCntntMChangedByUser,
LegalTransaction.LglCntntMChangedUTCDateTime AS LglCntntMChangedUTCDateTime,
LegalTransaction.LegalTransactionTitle AS LegalTransactionTitle,
LinkedObject.LglCntntMLinkdObj AS LglCntntMLinkdObj,
LinkedObject.LglCntntMIntegrationLink AS LglCntntMIntegrationLink,
LegalTransaction.LegalTransactionHealth AS LegalTransactionHealth,
_LegalTransactionAggrgn.LglTransHealthCriticality AS LglTransHealthCriticality,
LegalTransaction.LglCntntMLanguage AS LglCntntMLanguage,
LegalTransaction.LglCntntMGovLaw AS LglCntntMGovLaw,
_LCMGovLawVH.LglCntntMGovLawText AS LglCntntMGovLawText,
LegalTransaction.LglCntntMMainOrgType AS LglCntntMMainOrgType,
_LegalTransactionAggrgn.LglCntntMMainOrg AS LglCntntMMainOrg,
cast( '' as abap.char(25)) AS LglCntntMMainOrgName,
cast( '' as lcm_valid_from ) AS LglCntntMFromDate,
cast( '' as lcm_valid_to ) AS LglCntntMToDate,
LinkedObject.LegalTransactionIsTriggerObj AS LegalTransactionIsTriggerObj,
_LglTransToBeUpdated.LglCntntMLglTransUpdtIsRqd AS LglCntntMLglTransUpdtIsRqd,
LegalTransaction.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
LegalTransaction.LglCntntMProfile AS LglCntntMProfile,
LegalTransaction.LglTransAccessLvl AS LglTransAccessLvl,
LegalTransaction.LglCntntMMainOrgCoCode AS LglCntntMMainOrgCoCode,
LegalTransaction.LglCntntMMainOrgSalesOrg AS LglCntntMMainOrgSalesOrg,
LegalTransaction.LglCntntMMainOrgPurOrg AS LglCntntMMainOrgPurOrg,
LegalTransaction._LglCntntMMainOrgTypeText AS _LglCntntMMainOrgTypeText
FROM I_LegalTransaction AS LegalTransaction
INNER JOIN I_LglCntntMIntegLinkdObj AS LinkedObject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LegalTransactionAggr AS _LegalTransactionAggrgn ON LegalTransactionUUID = _LegalTransactionAggrgn.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _ChangedByContactCard ON _ChangedByContactCard.ContactCardType = 'User' AND _ChangedByContactCard.ContactCardID = LglCntntMChangedByUser AND _ChangedByContactCard.ContactCardRole = 'Creator' -- association [0..1]
LEFT OUTER JOIN I_LegalTransactionHealthText AS _LegalTransactionHealthText ON LegalTransactionHealth = _LegalTransactionHealthText.LegalTransactionHealth -- association [0..*]
LEFT OUTER JOIN C_LegalTransactionEntityMain AS _LegalTransactionEntityMain ON LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID -- association [0..1]
LEFT OUTER JOIN I_LCMEntityTypeText AS _EntityTypeText ON lglcntntmentitytype = _EntityTypeText.LglCntntMEntityType -- association [0..*]
LEFT OUTER JOIN I_Language AS _Language ON LglCntntMLanguage = _Language.Language -- association [0..1]
LEFT OUTER JOIN C_LglCntntMGovLawVH AS _LCMGovLawVH ON LglCntntMGovLaw = _LCMGovLawVH.LglCntntMGovLaw -- association [0..1]
LEFT OUTER JOIN I_LglTransToBeUpdated AS _LglTransToBeUpdated ON LegalTransaction = _LglTransToBeUpdated.LegalTransaction AND LglCntntMLinkdObj = _LglTransToBeUpdated.LglCntntMLinkdObj -- association [1..1]
LEFT OUTER JOIN E_LegalTransaction AS _LegalTransactionExtension ON LegalTransactionUUID = _LegalTransactionExtension.LegalTransactionUUID -- association [1..1]
;
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