C_GrantWorkflowTaskCard
Grant Workflow Task Card
C_GrantWorkflowTaskCard is a Consumption CDS View that provides data about "Grant Workflow Task Card" in SAP S/4HANA. It reads from 1 data source (I_Grant) and exposes 19 fields with key field GrantID. It has 2 associations to related views. Part of development package PSM_S4CO_ODATA_GM_WF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Grant | iGrant | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GrantTypeText | _GrantTypeText | $projection.GrantType = _GrantTypeText.GrantType and _GrantTypeText.Language = $session.system_language |
| [0..1] | I_PublicSectorGrantStatusText | _PublicSectorGrantStatusText | $projection.GrantStatus = _PublicSectorGrantStatusText.GrantStatus and _PublicSectorGrantStatusText.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Grant Workflow Task Card | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GrantID | GrantID | Sender Grant | |
| GrantName | ||||
| GrantType | I_Grant | GrantType | Grant Type | |
| GrantTypeDescription | _GrantTypeText | GrantTypeDescription | ||
| GrantStatus | I_Grant | GrantStatus | Workflow Status | |
| GrantStatusName | _PublicSectorGrantStatusText | GrantStatusName | ||
| GranteeMgmtSponsor | I_Grant | GranteeMgmtSponsor | With Partner | |
| BusinessPartnerName | _Sponsor | BusinessPartnerName | Extracted Customer Name | |
| GrantTotalAmountInGrantCrcy | I_Grant | GrantTotalAmountInGrantCrcy | Grant Value | |
| GrantCurrency | I_Grant | GrantCurrency | Grant Currency | |
| GrantExternalReference | I_Grant | GrantExternalReference | External Reference | |
| GrantIsNotRelevantGrant | I_Grant | GrantIsNotRelevantGrant | ||
| GrantAuthznGrp | I_Grant | GrantAuthznGrp | Authorization Group | |
| GrantLifecycleStatus | I_Grant | GrantLifecycleStatus | Status | |
| _GrantType | _GrantType | |||
| _GrantStatus | _GrantStatus | |||
| _Sponsor | _Sponsor | |||
| _GrantLifecycleStatus | _GrantLifecycleStatus | |||
| _GrantAuthznGrp | _GrantAuthznGrp |
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_GrantWorkflowTaskCard.
-- 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.
CREATE VIEW C_GrantWorkflowTaskCard AS
SELECT
GrantID,
iGrant._Text[1:Language = $session.system_language].GrantName AS GrantName,
iGrant.GrantType AS GrantType,
_GrantTypeText.GrantTypeDescription AS GrantTypeDescription,
iGrant.GrantStatus AS GrantStatus,
_PublicSectorGrantStatusText.GrantStatusName AS GrantStatusName,
iGrant.GranteeMgmtSponsor AS GranteeMgmtSponsor,
_Sponsor.BusinessPartnerName AS BusinessPartnerName,
iGrant.GrantTotalAmountInGrantCrcy AS GrantTotalAmountInGrantCrcy,
iGrant.GrantCurrency AS GrantCurrency,
iGrant.GrantExternalReference AS GrantExternalReference,
iGrant.GrantIsNotRelevantGrant AS GrantIsNotRelevantGrant,
iGrant.GrantAuthznGrp AS GrantAuthznGrp,
iGrant.GrantLifecycleStatus AS GrantLifecycleStatus
FROM I_Grant AS iGrant
LEFT OUTER JOIN I_GrantTypeText AS _GrantTypeText ON GrantType = _GrantTypeText.GrantType AND _GrantTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PublicSectorGrantStatusText AS _PublicSectorGrantStatusText ON GrantStatus = _PublicSectorGrantStatusText.GrantStatus AND _PublicSectorGrantStatusText.Language = $session.system_language -- 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