I_GranteeMgmtEntryItemBasic
Grantee Management Entry Items
I_GranteeMgmtEntryItemBasic is a Basic CDS View that provides data about "Grantee Management Entry Items" in SAP S/4HANA. It reads from 2 data sources (gmia, t882) and exposes 70 fields with key field GranteeMgmtLongSequenceNumber. It has 23 associations to related views.
Associations (23)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_FinancialManagementArea | _FinMgmtArea | $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea |
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYearForCompanyCode | $projection.FiscalYear = _FiscalYearForCompanyCode.FiscalYear and $projection.CompanyCode = _FiscalYearForCompanyCode.CompanyCode |
| [0..1] | I_Grant | _Grant | $projection.GrantID = _Grant.GrantID |
| [0..1] | I_SponsoredProgram | _SponsoredProgram | $projection.SponsoredProgram = _SponsoredProgram.SponsoredProgram |
| [0..1] | I_SponsoredClass | _SponsoredClass | $projection.SponsoredClass = _SponsoredClass.SponsoredClass |
| [1..1] | I_ReferenceDocumentType | _ReferenceDocumentType | $projection.ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType |
| [0..1] | I_LogicalSystem | _LogicalSystem | $projection.LogicalSystem = _LogicalSystem.LogicalSystem |
| [0..1] | I_LogicalSystem | _ReferenceDocLogicalSystem | $projection.ReferenceDocumentLogicalSystem = _ReferenceDocLogicalSystem.LogicalSystem |
| [1..1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [0..1] | I_Fund | _Fund | $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund |
| [0..1] | I_GranteeMgmtValueType | _ValueType | $projection.GranteeMgmtValueType = _ValueType.GranteeMgmtValueType |
| [0..1] | I_BusinessTransactionType | _BusinessTransactionType | $projection.BusinessTransactionType = _BusinessTransactionType.BusinessTransactionType |
| [1..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [1..1] | I_Currency | _OriginalCurrency | $projection.OriginalCurrency = _OriginalCurrency.Currency |
| [0..1] | I_GLAccount | _GLAccount | $projection.GLAccount = _GLAccount.GLAccount and $projection.CompanyCode = _GLAccount.CompanyCode |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..*] | I_CostCenter | _CostCenter | $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter |
| [0..1] | I_FundedProgram | _FundedProgram | $projection.FinancialManagementArea = _FundedProgram.FinancialManagementArea and $projection.FundedProgram = _FundedProgram.FundedProgram |
| [0..1] | I_FundsMgmtFunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..1] | I_FiscalCalendarDate | _FiscalCalendarDate | $projection.FinMgmtAreaFiscalYearVariant = _FiscalCalendarDate.FiscalYearVariant and $projection.PostingDate = _FiscalCalendarDate.CalendarDate |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AbapCatalog.sqlViewName | IGMIAB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Grantee Management Entry Items | view | |
| lifecycle.releaseStatus | #DEPRECIATED | view | |
| lifecycle.successor | I_GTEEMCMTMTACTLDOCITEMBASIC | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GranteeMgmtLongSequenceNumber | gmia | gl_sirid | Record number |
| Ledger | gmia | rldnr | Ledger (Compat.) | |
| FiscalYear | gmia | ryear | Ref. Year1 | |
| FinMgmtAreaFiscalYearVariant | _FinMgmtArea | FinMgmtAreaFiscalYearVariant | ||
| TransactionCurrency | gmia | rtcur | Currency | |
| FiscalYearPeriod | gmia | poper | Posting periods | |
| CompanyCode | ||||
| GrantID | gmia | rgrant_nbr | Grant | |
| SponsoredProgram | gmia | rsponsored_prog | Sponsored Program | |
| SponsoredClass | gmia | rsponsored_class | Sponsored Class | |
| GteeMBudgetValidityNumber | gmia | rbdgt_vldty_nbr | Bdgt Validty No. | |
| Fund | gmia | rfund | Fund | |
| GranteeMgmtValueType | gmia | rvaluetype_9 | GM Value Type | |
| BusinessTransactionType | ||||
| IsStatisticalItem | gmia | rstats_ind | Stat. Indicator | |
| GranteeFiscalYear | ||||
| LogicalSystem | gmia | logsys | Source system | |
| CompanyCodeCurrency | ||||
| AmountInTransactionCurrency | gmia | tsl | Trans. Currency | |
| PostingDate | gmia | budat | Posting Date | |
| ReferenceDocument | ||||
| ReferenceDocumentItem | ||||
| RefDocAccountAssignment | ||||
| ReferenceDocumentScheduleLine | ||||
| CreationDate | gmia | cpudt | Imported On | |
| CreationTime | gmia | cputm | Time | |
| CreatedByUser | gmia | usnam | User Name | |
| ReferenceDocumentType | gmia | awtyp | Reference Document Type | |
| ReferenceDocumentContext | gmia | aworg | Refer. Org.Unit | |
| GLAccount | G/L Acct | |||
| ControllingArea | Controlling Area | |||
| CostCenter | Cost Center | |||
| FinancialManagementArea | gmia | fm_area | FM Area | |
| BusinessArea | ||||
| FundsCenter | ||||
| CommitmentItem | gmia | cmmt_item | Commitment item | |
| FunctionalArea | gmia | farea | Functional Area | |
| FundedProgram | gmia | measure | obsolete | |
| PredecessorReferenceDocCntxt | gmia | obj_org_p | Refer. Org.Unit | |
| PredecessorReferenceDocType | gmia | obj_typ_p | Ref. Procedure | |
| PredecessorReferenceDocument | gmia | obj_key_p | Prev: Ref.key | |
| PredecessorReferenceDocItem | gmia | obj_pos_p | Reference item | |
| OriginalCurrency | gmia | rwcur | Transaction Currency | |
| AmountInOriginalCurrency | gmia | wsl | OrigTrnsCrcyAmt | |
| GranteeMgmtItemIsCompleted | gmia | erlkz | Status | |
| GranteeMgmtItemIsDeleted | gmia | loekz | Status | |
| ReferenceDocumentLogicalSystem | gmia | awsys | Logical System | |
| _Ledger | _Ledger | |||
| _FiscalYearForCompanyCode | _FiscalYearForCompanyCode | |||
| _CompanyCode | _CompanyCode | |||
| _Grant | _Grant | |||
| _SponsoredProgram | _SponsoredProgram | |||
| _SponsoredClass | _SponsoredClass | |||
| _Fund | _Fund | |||
| _ValueType | _ValueType | |||
| _BusinessTransactionType | _BusinessTransactionType | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _OriginalCurrency | _OriginalCurrency | |||
| _FinMgmtArea | _FinMgmtArea | |||
| _FunctionalArea | _FunctionalArea | |||
| _FundedProgram | _FundedProgram | |||
| _GLAccount | _GLAccount | |||
| _BusinessArea | _BusinessArea | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenter | _CostCenter | |||
| _LogicalSystem | _LogicalSystem | |||
| _ReferenceDocLogicalSystem | _ReferenceDocLogicalSystem | |||
| _ReferenceDocumentType | _ReferenceDocumentType | |||
| _FiscalCalendarDate | _FiscalCalendarDate |
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_GranteeMgmtEntryItemBasic.
-- 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: IGMIAB
CREATE VIEW I_GranteeMgmtEntryItemBasic AS
SELECT
gmia.gl_sirid AS GranteeMgmtLongSequenceNumber,
gmia.rldnr AS Ledger,
gmia.ryear AS FiscalYear,
_FinMgmtArea.FinMgmtAreaFiscalYearVariant AS FinMgmtAreaFiscalYearVariant,
gmia.rtcur AS TransactionCurrency,
gmia.poper AS FiscalYearPeriod,
cast( gmia.rbukrs as fis_bukrs preserving type ) AS CompanyCode,
gmia.rgrant_nbr AS GrantID,
gmia.rsponsored_prog AS SponsoredProgram,
gmia.rsponsored_class AS SponsoredClass,
gmia.rbdgt_vldty_nbr AS GteeMBudgetValidityNumber,
gmia.rfund AS Fund,
gmia.rvaluetype_9 AS GranteeMgmtValueType,
cast( gmia.rtrans as fins_bttype preserving type ) AS BusinessTransactionType,
gmia.rstats_ind AS IsStatisticalItem,
cast( gmia.rgrantee_fy_9 as gm_grantee_fy preserving type ) AS GranteeFiscalYear,
gmia.logsys AS LogicalSystem,
cast(t882.curr1 as gm_comp_code_currency preserving type ) AS CompanyCodeCurrency,
gmia.tsl AS AmountInTransactionCurrency,
gmia.budat AS PostingDate,
cast( gmia.refdocnr as awref preserving type ) AS ReferenceDocument,
cast( gmia.refdocln as fins_awitem preserving type ) AS ReferenceDocumentItem,
cast ( left (gmia.refdoc_detail,2) as cc_rfknt) AS RefDocAccountAssignment,
cast ( substring (gmia.refdoc_detail, 3, 4) as cc_rftrm) AS ReferenceDocumentScheduleLine,
gmia.cpudt AS CreationDate,
gmia.cputm AS CreationTime,
gmia.usnam AS CreatedByUser,
gmia.awtyp AS ReferenceDocumentType,
gmia.aworg AS ReferenceDocumentContext,
cast( gl_account as fis_racct preserving type ) AS GLAccount,
cast( co_area as fis_kokrs preserving type ) AS ControllingArea,
cast( costcenter as fis_kostl preserving type ) AS CostCenter,
gmia.fm_area AS FinancialManagementArea,
cast( gmia.bus_area as fis_rbusa preserving type ) AS BusinessArea,
cast( gmia.funds_ctr as fm_fictr preserving type ) AS FundsCenter,
gmia.cmmt_item AS CommitmentItem,
gmia.farea AS FunctionalArea,
gmia.measure AS FundedProgram,
gmia.obj_org_p AS PredecessorReferenceDocCntxt,
gmia.obj_typ_p AS PredecessorReferenceDocType,
gmia.obj_key_p AS PredecessorReferenceDocument,
gmia.obj_pos_p AS PredecessorReferenceDocItem,
gmia.rwcur AS OriginalCurrency,
gmia.wsl AS AmountInOriginalCurrency,
gmia.erlkz AS GranteeMgmtItemIsCompleted,
gmia.loekz AS GranteeMgmtItemIsDeleted,
gmia.awsys AS ReferenceDocumentLogicalSystem
FROM gmia
INNER JOIN t882 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON FinancialManagementArea = _FinMgmtArea.FinancialManagementArea -- association [1..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYearForCompanyCode ON FiscalYear = _FiscalYearForCompanyCode.FiscalYear AND CompanyCode = _FiscalYearForCompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID -- association [0..1]
LEFT OUTER JOIN I_SponsoredProgram AS _SponsoredProgram ON SponsoredProgram = _SponsoredProgram.SponsoredProgram -- association [0..1]
LEFT OUTER JOIN I_SponsoredClass AS _SponsoredClass ON SponsoredClass = _SponsoredClass.SponsoredClass -- association [0..1]
LEFT OUTER JOIN I_ReferenceDocumentType AS _ReferenceDocumentType ON ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType -- association [1..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON LogicalSystem = _LogicalSystem.LogicalSystem -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _ReferenceDocLogicalSystem ON ReferenceDocumentLogicalSystem = _ReferenceDocLogicalSystem.LogicalSystem -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_Fund AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund -- association [0..1]
LEFT OUTER JOIN I_GranteeMgmtValueType AS _ValueType ON GranteeMgmtValueType = _ValueType.GranteeMgmtValueType -- association [0..1]
LEFT OUTER JOIN I_BusinessTransactionType AS _BusinessTransactionType ON BusinessTransactionType = _BusinessTransactionType.BusinessTransactionType -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _OriginalCurrency ON OriginalCurrency = _OriginalCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount AND CompanyCode = _GLAccount.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter -- association [0..*]
LEFT OUTER JOIN I_FundedProgram AS _FundedProgram ON FinancialManagementArea = _FundedProgram.FinancialManagementArea AND FundedProgram = _FundedProgram.FundedProgram -- association [0..1]
LEFT OUTER JOIN I_FundsMgmtFunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_FiscalCalendarDate AS _FiscalCalendarDate ON FinMgmtAreaFiscalYearVariant = _FiscalCalendarDate.FiscalYearVariant AND PostingDate = _FiscalCalendarDate.CalendarDate -- 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