I_LglTransDocLinkAPI01

DDL: I_LGLTRANSDOCLINKAPI01 SQL: ILTDOCLNKAPI01 Type: view BASIC

Linked Documents of Legal Transaction

I_LglTransDocLinkAPI01 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

I_LglTransDocLinkAPI01 is a Basic CDS View that provides data about "Linked Documents of Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LegalTransDocLinkBase) and exposes 5 fields with key field LegalTransactionDocLinkUUID. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Enterprise Contract Management
Purpose
This CDS view provides the details about the document links of a legal transaction. This CDS view provides the data to answer the following business questions: What are the document link IDs maintained for a legal transaction? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
You can create reports for Manage Legal Transaction application using this CDS view. Users who want to run these reports must have a role based on the SAP_BR_ADMINISTRATOR_LCM , SAP_BR_LEGAL_COUNSEL , and SAP_BR_EMPLOYEE_LEGAL_CONTENT business role templates. In this role, the user must have authorization to the following: Certain Profiles Access Level Organisation Company code Sales Organisation Purchase Organisation

Structure
Fields Important fields in this view include the following: LglCntntMDocument used to display document ID.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentCM-LT
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the details about the document links of a legal transaction.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What are the document link IDs maintained for a legal transaction? </p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_LegalTransDocLinkBase I_LegalTransDocLinkBase from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LegalTransactionAPI01 _LegalTransaction $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
[1..1] I_LegalDocumentAPI01 _LegalDocument $projection.LglCntntMDocument = _LegalDocument.LglCntntMDocument and _LegalDocument.LglCntntMDocumentIsTopVersion = 'X'

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ILTDOCLNKAPI01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey LegalTransactionDocLinkUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Linked Documents of Legal Transaction view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionDocLinkUUID LegalTransactionDocLinkUUID Universal Unique Identifier
LegalTransactionUUID LegalTransactionUUID Universal Unique Identifier
LglCntntMDocument LglCntntMDocument Document ID
_LegalTransaction _LegalTransaction
_LegalDocument _LegalDocument

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_LglTransDocLinkAPI01.
-- 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: ILTDOCLNKAPI01

CREATE VIEW I_LglTransDocLinkAPI01 AS
SELECT
  LegalTransactionDocLinkUUID,
  LegalTransactionUUID,
  LglCntntMDocument
FROM I_LegalTransDocLinkBase
LEFT OUTER JOIN I_LegalTransactionAPI01 AS _LegalTransaction ON LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN I_LegalDocumentAPI01 AS _LegalDocument ON LglCntntMDocument = _LegalDocument.LglCntntMDocument AND _LegalDocument.LglCntntMDocumentIsTopVersion = 'X'  -- association [1..1]
;