I_GrantorProgramAttributes

DDL: I_GRANTORPROGRAMATTRIBUTES Type: view_entity BASIC

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

CategoryGrantor Program
Data CategoryDimension
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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessPublic Sector
Application ComponentPSM-GM-GTR-GEN
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension, Data Source in SQL Select
PackagePublic 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

Data Sources (1)

SourceAliasJoin Type
crmd_gpm_att crmd_gpm_att from

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;