C_LegalTransactionExtContactTP

DDL: C_LEGALTRANSACTIONEXTCONTACTTP SQL: CLGLTREXTCONTTP Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_LegalTransactionExtContactTP I_LegalTransactionExtContactTP from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 Email
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]
;