I_GrantorProgramAttributes
Grantor Program Attributes
I_GrantorProgramAttributes (Basic)
Package: Explore, extend and adapt the SAP S/4HANA with built-in and side-by-side extension capabilities.
Public Sector
I_GrantorProgramAttributes is a Basic CDS View (Dimension) that provides data about "Grantor Program Attributes" in SAP S/4HANA. It reads from 1 data source (crmd_gpm_att) and exposes 29 fields with key field GrantorProgramUUID.
SAP Help Documentation
| Category | Grantor Program |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view serves as a basic view for grantor program attributes and only retrieves data from the associated database table. It contains associations to all relevant data in the object model. 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
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: CRM_GMP (Authorization Object CRM Grantor Program object)
Structure
Important Fields Important fields in this view include the following: Field Name Description GrantorProgramUUID UUID of the grantor program GrantorProgramType Type for the grantor program
This CDS view serves as a basic view for grantor program attributes and only retrieves data from the associated database table. It contains associations to all relevant data in the object model. 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
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: CRM_GMP (Authorization Object CRM Grantor Program object)
Structure
Important Fields Important fields in this view include the following: Field Name Description GrantorProgramUUID UUID of the grantor program GrantorProgramType Type for the grantor program
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Public Sector |
| Application Component | PSM-GM-GTR-GEN |
| Capabilities | Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension, Data Source in SQL Select |
| Package | Public Sector for SAP S/4HANA |
| Description | <p>This CDS view serves as a basic view for grantor program attributes and only retrieves data from the associated database table. It contains associations to all relevant data in the object model.</p> <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
- Analytics with CDS Views — Build Analytics for S/4HANA ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crmd_gpm_att | crmd_gpm_att | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Grantor Program Attributes | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | GrantorProgramUUID | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GrantorProgramUUID | Grantor program GUID | ||
| GrantorProgramType | prog_type | Grantor Program Type | ||
| ContractAccountCategory | Contract Account Category | |||
| GrntoProgramAuthorizationGroup | auth_group | Grantor Program Authorization Group | ||
| ServiceOrganization | serv_org | Service Organization | ||
| GrantorSalesArea | sales_area | Sales Area | ||
| SalesOrganizationOrgUnitID | Sales Organization ID | |||
| TimeZoneID | time_zone | Time Zone | ||
| GrantorProgramCurrency | currency | Grantor Program Currency | ||
| GrantorProgramProfile | profile_id | Grantor Program Profile ID | ||
| GrantorClearingStrategy | Cearing Strategy | |||
| GrntoPgmTransferIsRequired | Transfer to Funds Management | |||
| GrntoAvailyControlProfile | avc_prof_id | Availabilty Control Profile Name | ||
| SalesOrganization | sales_org_sd | Sales Organization | ||
| DistributionChannel | dis_channel | Distribution Channel | ||
| Division | division | Internal Division ID | ||
| _GrantorProgramProfile | _GrantorProgramProfile | |||
| _GrantorProgramType | _GrantorProgramType | |||
| _GrntoPgmAuthznGroup | _GrntoPgmAuthznGroup | |||
| _ContractAccountCategory | _ContractAccountCategory | |||
| _ServiceOrganization | _ServiceOrganization | |||
| _SalesOrganizationOrgUnit | _SalesOrganizationOrgUnit | |||
| _GrantorProgramCurrency | _GrantorProgramCurrency | |||
| _GrantorClearingStrategy | _GrantorClearingStrategy | |||
| _GrntoPgmTransferIsRequired | _GrntoPgmTransferIsRequired | |||
| _GrntoAvailyCtrlProfile | _GrntoAvailyCtrlProfile | |||
| _SalesOrganization | _SalesOrganization | |||
| _Division | _Division | |||
| _DistributionChannel | _DistributionChannel |
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_GrantorProgramAttributes.
-- 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 I_GrantorProgramAttributes AS
SELECT
cast(guid as crmt_gpm_program_guid preserving type) AS GrantorProgramUUID,
prog_type AS GrantorProgramType,
cast(vktyp as vktyp_gfn_kk preserving type ) AS ContractAccountCategory,
auth_group AS GrntoProgramAuthorizationGroup,
serv_org AS ServiceOrganization,
sales_area AS GrantorSalesArea,
cast(left(sales_area, 14) as crmt_sales_org preserving type ) AS SalesOrganizationOrgUnitID,
time_zone AS TimeZoneID,
currency AS GrantorProgramCurrency,
profile_id AS GrantorProgramProfile,
cast(clearence as crms4_grm_clearing_strategy preserving type ) AS GrantorClearingStrategy,
cast(transfer as crms4_grm_transfer_to_fm preserving type ) AS GrntoPgmTransferIsRequired,
avc_prof_id AS GrntoAvailyControlProfile,
sales_org_sd AS SalesOrganization,
dis_channel AS DistributionChannel,
Division
FROM crmd_gpm_att
;
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