C_SetLeafForGrantObjP
Set Leaf for Grant
C_SetLeafForGrantObjP is a Consumption CDS View that provides data about "Set Leaf for Grant" in SAP S/4HANA. It reads from 1 data source (I_Setleaf) and exposes 15 fields with key fields SetClass, SetSubClass, GrantGroup, SetLineNumber, GrantID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Setleaf | I_Setleaf | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SetHeader | _SetHeader | $projection.SetClass = _SetHeader.SetClass and $projection.SetSubClass = _SetHeader.SetSubClass and $projection.GrantGroup = _SetHeader.SetID |
| [0..*] | C_Grant_Objp | _Grant | ( _Grant.GrantID between $projection.SetRangeFromValue and $projection.SetRangeToValue ) |
| [0..1] | C_GrantGroup_Objp | _GrantGroup | $projection.GrantGroup = _GrantGroup.GrantGroup and _GrantGroup.SetClass = '0113' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AbapCatalog.sqlViewName | CSLEAFGRANTOBJP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Set Leaf for Grant | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SetClass | SetClass | Set Class | |
| KEY | SetSubClass | SetSubClass | Subclass | |
| KEY | GrantGroup | SetID | Grant Group | |
| KEY | SetLineNumber | SetLineNumber | Set Line | |
| KEY | GrantID | _Grant | GrantID | Sender Grant |
| SetRangeSign | SetRangeSign | SIGN | ||
| SetRangeOption | SetRangeOption | Option | ||
| SetRangeFromValue | SetRangeFromValue | Valid-From Date | ||
| SetRangeToValue | SetRangeToValue | Valid To | ||
| GrantAuthznGrp | _Grant | GrantAuthznGrp | ||
| GrantLfcycStatusForAuthzn | _Grant | GrantLfcycStatusForAuthzn | ||
| CreatedByUser | _GrantGroup | CreatedByUser | Created By | |
| CreationDate | _GrantGroup | CreationDate | Creation Date | |
| SetDescription | _GrantGroup | SetDescription | Group Description | |
| FundsMgmtExtendedSetDesc |
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_SetLeafForGrantObjP.
-- 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: CSLEAFGRANTOBJP
CREATE VIEW C_SetLeafForGrantObjP AS
SELECT
SetClass,
SetSubClass,
SetID AS GrantGroup,
SetLineNumber,
_Grant.GrantID AS GrantID,
SetRangeSign,
SetRangeOption,
SetRangeFromValue,
SetRangeToValue,
_Grant.GrantAuthznGrp AS GrantAuthznGrp,
_Grant.GrantLfcycStatusForAuthzn AS GrantLfcycStatusForAuthzn,
_GrantGroup.CreatedByUser AS CreatedByUser,
_GrantGroup.CreationDate AS CreationDate,
_GrantGroup.SetDescription AS SetDescription,
cast( concat_with_space(SetID, _SetHeader._SetHeaderText[1:Language=$session.system_language].SetDescription, 1 ) as fmis_fundsmgmtextendedsetname ) AS FundsMgmtExtendedSetDesc
FROM I_Setleaf
LEFT OUTER JOIN I_SetHeader AS _SetHeader ON SetClass = _SetHeader.SetClass AND SetSubClass = _SetHeader.SetSubClass AND GrantGroup = _SetHeader.SetID -- association [0..1]
LEFT OUTER JOIN C_Grant_Objp AS _Grant ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN C_GrantGroup_Objp AS _GrantGroup ON GrantGroup = _GrantGroup.GrantGroup AND _GrantGroup.SetClass = '0113' -- 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