I_LegalTransactionAPI01
Legal Transaction
I_LegalTransactionAPI01 is a Basic CDS View that provides data about "Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LegalTransaction) and exposes 27 fields with key field LegalTransactionUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransaction | I_LegalTransaction | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LegalContextAPI01 | _LegalContextAPI01 | $projection.LglCntntMContextUUID = _LegalContextAPI01.LglCntntMContextUUID |
| [1..1] | E_LegalTransaction | _Extension | $projection.LegalTransactionUUID = _Extension.LegalTransactionUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ILEGALTRAPI01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | LegalTransactionUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| EndUserText.label | Legal Transaction | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionUUID | LegalTransactionUUID | ||
| LegalTransaction | LegalTransaction | |||
| LegalTransactionTitle | LegalTransactionTitle | |||
| LglCntntMContextUUID | LglCntntMContextUUID | |||
| LegalTransactionHealth | LegalTransactionHealth | |||
| LglCntntMLanguage | LglCntntMLanguage | |||
| LglTransWrkFlwModInstce | LglTransWrkFlwModInstce | |||
| LegalTransactionSource | LegalTransactionSource | |||
| LglCntntMAgingTemperature | LglCntntMAgingTemperature | |||
| LglCntntMRtntnPerdStartDate | LglCntntMRtntnPerdStartDate | |||
| LglCntntMGovLaw | LglCntntMGovLaw | |||
| LglCntntMMainOrgType | LglCntntMMainOrgType | |||
| LglCntntMLongTextUUID | LglCntntMLongTextUUID | |||
| CopiedFromLegalTransactionUUID | LglCntntMCrtedFrmLglTransUUID | |||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | |||
| LglCntntMLongText | LglCntntMLongText | |||
| LglCntntMLongTextMimeType | LglCntntMLongTextMimeType | |||
| LglCntntMProfile | LglCntntMProfile | |||
| LglTransAccessLvl | LglTransAccessLvl | |||
| LglCntntMMainOrgCoCode | LglCntntMMainOrgCoCode | |||
| LglCntntMMainOrgSalesOrg | LglCntntMMainOrgSalesOrg | |||
| LglCntntMMainOrgPurOrg | LglCntntMMainOrgPurOrg | |||
| LglCntntMCreatedByUser | LglCntntMCreatedByUser | |||
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | |||
| LglCntntMChangedByUser | LglCntntMChangedByUser | |||
| LglCntntMChangedUTCDateTime | LglCntntMChangedUTCDateTime | |||
| _LegalContextAPI01 | _LegalContextAPI01 |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'ILEGALTRAPI01'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType : #BASIC
@ObjectModel: {
semanticKey: ['LegalTransaction'],
representativeKey: 'LegalTransactionUUID',
usageType.serviceQuality: #B,
usageType.sizeCategory: #XL,
usageType.dataClass: #TRANSACTIONAL
}
@Metadata.ignorePropagatedAnnotations:true
@AccessControl.personalData.blocking: #REQUIRED
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel.supportedCapabilities:[ #SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET ]
@EndUserText.label: 'Legal Transaction'
define view I_LegalTransactionAPI01
as select from I_LegalTransaction
//Context
association [0..1] to I_LegalContextAPI01 as _LegalContextAPI01 on $projection.LglCntntMContextUUID = _LegalContextAPI01.LglCntntMContextUUID
//Extension
association [1..1] to E_LegalTransaction as _Extension on $projection.LegalTransactionUUID = _Extension.LegalTransactionUUID
{
key LegalTransactionUUID,
LegalTransaction,
LegalTransactionTitle,
LglCntntMContextUUID,
LegalTransactionHealth,
LglCntntMLanguage,
LglTransWrkFlwModInstce,
LegalTransactionSource,
LglCntntMAgingTemperature,
LglCntntMRtntnPerdStartDate,
LglCntntMGovLaw,
LglCntntMMainOrgType,
LglCntntMLongTextUUID,
LglCntntMCrtedFrmLglTransUUID as CopiedFromLegalTransactionUUID,
@Semantics.booleanIndicator: true
IsEndOfPurposeBlocked,
// Notes
LglCntntMLongText,
LglCntntMLongTextMimeType,
// Fields used in DCL
LglCntntMProfile,
LglTransAccessLvl,
LglCntntMMainOrgCoCode,
LglCntntMMainOrgSalesOrg,
LglCntntMMainOrgPurOrg,
// Administrative data
LglCntntMCreatedByUser,
LglCntntMCreatedUTCDateTime,
LglCntntMChangedByUser,
LglCntntMChangedUTCDateTime,
//Assotiations
_LegalContextAPI01
}
where
IsEndOfPurposeBlocked = ''
or IsEndOfPurposeBlocked is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LEGALTRANSACTION"
],
"ASSOCIATED":
[
"E_LEGALTRANSACTION",
"I_LEGALCONTEXTAPI01"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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