C_LegalTransactionExtContactTP
Legal Transaction External Contact
C_LegalTransactionExtContactTP is a Consumption CDS View that provides data about "Legal Transaction External Contact" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionExtContactTP) and exposes 20 fields with key field LegalTransactionExtCntctUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransactionExtContactTP | I_LegalTransactionExtContactTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_LegalTransactionTP | _LegalTransactionTP | $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID |
| [0..1] | C_LCMExtContactTypeValueHelp | _LCMExtContactTypeValueHelp | $projection.LglCntntMExtCntctType = _LCMExtContactTypeValueHelp.LglCntntMExtCntctType |
| [0..1] | C_LCMExtContactDetailsVH | _LCMExtContactDetailsVH | $projection.LglCntntMExtCntctBP = _LCMExtContactDetailsVH.BusinessPartner |
| [0..1] | I_LglCntntMBusinessPartnerEml | _LglCntntMBusinessPartnerEml | $projection.LglCntntMExtCntctBP = _LglCntntMBusinessPartnerEml.BusinessPartner |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLGLTREXTCONTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Legal Transaction External Contact | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.semanticKey | LegalTransactionExtCntctUUID | view | |
| ObjectModel.representativeKey | LegalTransactionExtCntctUUID | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| UI.headerInfo.typeName | External Contact | view | |
| UI.headerInfo.typeNamePlural | External Contacts | view | |
| UI.headerInfo.title.value | LglCntntMExtCntctBPName | view | |
| UI.headerInfo.description.value | _LCMExtContactTypeText.LglCntntMExtCntctTypeName | view | |
| Search.searchable | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionExtCntctUUID | LegalTransactionExtCntctUUID | Universal Unique ID | |
| LglCntntMRank | LglCntntMRank | Rank | ||
| LglCntntMExtCntctType | LglCntntMExtCntctType | Contact Type | ||
| LglCntntMExtCntctTypeName | _LCMExtContactTypeValueHelp | LglCntntMExtCntctTypeName | Long Text | |
| LglCntntMExtCntctBP | LglCntntMExtCntctBP | Name | ||
| LglCntntMExtCntctBPName | LglCntntMExtCntctBPName | Broker Name | ||
| FirstName | _BusinessPartner | FirstName | First Name | |
| LastName | _BusinessPartner | LastName | Last Name | |
| EmailAddress | ||||
| LglCntntMIsMandatory | Required | |||
| LegalTransactionMandatoryFlag | LegalTransactionMandatoryFlag | Mandatory | ||
| LegalTransactionUUID | LegalTransactionUUID | Universal Unique ID | ||
| LglCntntMIsIntegRelevant | LglCntntMIsIntegRelevant | Integrated | ||
| _LegalTransactionTP | _LegalTransactionTP | |||
| _LegalTransaction | _LegalTransaction | |||
| _LCMExtContactTypeText | _LCMExtContactTypeText | |||
| _LCMExtContactTypeValueHelp | _LCMExtContactTypeValueHelp | |||
| _LCMExtContactDetailsVH | _LCMExtContactDetailsVH | |||
| _LglCntntMBusinessPartnerEml | _LglCntntMBusinessPartnerEml | |||
| _BusinessPartner | _BusinessPartner |
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_LegalTransactionExtContactTP.
-- 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: CLGLTREXTCONTTP
CREATE VIEW C_LegalTransactionExtContactTP AS
SELECT
LegalTransactionExtCntctUUID,
LglCntntMRank,
LglCntntMExtCntctType,
_LCMExtContactTypeValueHelp.LglCntntMExtCntctTypeName AS LglCntntMExtCntctTypeName,
LglCntntMExtCntctBP,
LglCntntMExtCntctBPName,
_BusinessPartner.FirstName AS FirstName,
_BusinessPartner.LastName AS LastName,
cast(' ' as ad_smtpadr ) AS EmailAddress,
'' AS LglCntntMIsMandatory,
LegalTransactionMandatoryFlag,
LegalTransactionUUID,
LglCntntMIsIntegRelevant
FROM I_LegalTransactionExtContactTP
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionTP ON LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN C_LCMExtContactTypeValueHelp AS _LCMExtContactTypeValueHelp ON LglCntntMExtCntctType = _LCMExtContactTypeValueHelp.LglCntntMExtCntctType -- association [0..1]
LEFT OUTER JOIN C_LCMExtContactDetailsVH AS _LCMExtContactDetailsVH ON LglCntntMExtCntctBP = _LCMExtContactDetailsVH.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_LglCntntMBusinessPartnerEml AS _LglCntntMBusinessPartnerEml ON LglCntntMExtCntctBP = _LglCntntMBusinessPartnerEml.BusinessPartner -- association [0..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