C_SrcgProjQtnLegalTransaction

DDL: C_SRCGPROJQTNLEGALTRANSACTION SQL: CSRCGPROJQTNLT Type: view CONSUMPTION

Legal Transaction in Srcg Proj Qtn

C_SrcgProjQtnLegalTransaction is a Consumption CDS View that provides data about "Legal Transaction in Srcg Proj Qtn" in SAP S/4HANA. It reads from 1 data source (C_LegalTransactionIntegFacet) and exposes 27 fields with key fields LegalTransactionUUID, LegalTransactionLinkdObjUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
C_LegalTransactionIntegFacet C_LegalTransactionIntegFacet from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LegalTransaction _LegalTransaction $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
[0..*] C_LegalDocumentIntegFacet _LegalDocumentIntegFacet $projection.LegalTransactionUUID = _LegalDocumentIntegFacet.LegalTransactionUUID and $projection.LglCntntMIntegrationLink = _LegalDocumentIntegFacet.LglCntntMIntegrationLink and $projection.LglCntntMLinkdObj = _LegalDocumentIntegFacet.LglCntntMLinkdObj

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CSRCGPROJQTNLT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Metadata.allowExtensions true view
EndUserText.label Legal Transaction in Srcg Proj Qtn view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey LegalTransactionLinkdObjUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionUUID LegalTransactionUUID Universal Unique ID
KEY LegalTransactionLinkdObjUUID LegalTransactionLinkdObjUUID Universal Unique ID
LglCntntMLinkdObj LglCntntMLinkdObj Unique ID
LglCntntMIntegrationLink LglCntntMIntegrationLink Integration Link
LegalTransaction LegalTransaction Legal Transaction ID
LegalTransactionTitle LegalTransactionTitle Title
LegalTransactionHealth LegalTransactionHealth LT Status
LglTransHealthCriticality LglTransHealthCriticality
LglCntntMLanguage LglCntntMLanguage Language
LanguageName
LglCntntMMainOrgType LglCntntMMainOrgType Main Organisation Ty
LglCntntMMainOrg LglCntntMMainOrg
LglCntntMMainOrgCoCode LglCntntMMainOrgCoCode Entity ID
LglCntntMMainOrgSalesOrg LglCntntMMainOrgSalesOrg Entity ID
LglCntntMMainOrgPurOrg LglCntntMMainOrgPurOrg Entity ID
LegalTransactionIsTriggerObj LegalTransactionIsTriggerObj Trigger Object
LglCntntMLglTransUpdtIsRqd LglCntntMLglTransUpdtIsRqd
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
LglCntntMProfile LglCntntMProfile Profile
LglTransAccessLvl LglTransAccessLvl Acs. Level
LegalDocument
NumberOfDocuments
DocumentDescription
_LegalTransactionHealthText _LegalTransactionHealthText
_Language _Language
_LglCntntMMainOrgTypeText _LglCntntMMainOrgTypeText
_LegalDocumentIntegFacet _LegalDocumentIntegFacet

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_SrcgProjQtnLegalTransaction.
-- 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: CSRCGPROJQTNLT

CREATE VIEW C_SrcgProjQtnLegalTransaction AS
SELECT
  LegalTransactionUUID,
  LegalTransactionLinkdObjUUID,
  LglCntntMLinkdObj,
  LglCntntMIntegrationLink,
  LegalTransaction,
  LegalTransactionTitle,
  LegalTransactionHealth,
  LglTransHealthCriticality,
  LglCntntMLanguage,
  _Language._Text[1:Language = $session.system_language ].LanguageName AS LanguageName,
  LglCntntMMainOrgType,
  LglCntntMMainOrg,
  LglCntntMMainOrgCoCode,
  LglCntntMMainOrgSalesOrg,
  LglCntntMMainOrgPurOrg,
  LegalTransactionIsTriggerObj,
  LglCntntMLglTransUpdtIsRqd,
  IsEndOfPurposeBlocked,
  LglCntntMProfile,
  LglTransAccessLvl,
  cast( '' as lcm_document_id ) AS LegalDocument,
  cast( 0 as abap.int1 ) AS NumberOfDocuments,
  cast( 0 as lcm_description ) AS DocumentDescription
FROM C_LegalTransactionIntegFacet
LEFT OUTER JOIN I_LegalTransaction AS _LegalTransaction ON LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN C_LegalDocumentIntegFacet AS _LegalDocumentIntegFacet ON LegalTransactionUUID = _LegalDocumentIntegFacet.LegalTransactionUUID AND LglCntntMIntegrationLink = _LegalDocumentIntegFacet.LglCntntMIntegrationLink AND LglCntntMLinkdObj = _LegalDocumentIntegFacet.LglCntntMLinkdObj  -- association [0..*]
;