I_GteeMBudgetEntryDocument

DDL: I_GTEEMBUDGETENTRYDOCUMENT SQL: IGMBDGTDOC Type: view BASIC

Budget Entry Doc in Grantee Management

I_GteeMBudgetEntryDocument is a Basic CDS View that provides data about "Budget Entry Doc in Grantee Management" in SAP S/4HANA. It reads from 1 data source (gmbdgtheader) and exposes 38 fields with key field GranteeMgmtBudgetEntryDocument. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
gmbdgtheader gmbdgtheader from

Associations (11)

CardinalityTargetAliasCondition
[0..1] I_GteeMBudgetEntryDocType _BudgetDocType $projection.GteeMBudgetEntryDocumentType = _BudgetDocType.GteeMBudgetEntryDocumentType
[0..1] I_GranteeMgmtBudgetingProcess _BudgetingProcess $projection.GranteeMgmtBudgetingProcess = _BudgetingProcess.GranteeMgmtBudgetingProcess
[0..1] I_Currency _GrantCurrency $projection.GrantCurrency = _GrantCurrency.Currency
[0..1] I_ControllingVersion _BudgetVersion $projection.GranteeMgmtBudgetVersion = _BudgetVersion.ControllingVersion
[0..1] I_GranteeMgmtBudgetReason _BudgetReason $projection.GranteeMgmtBudgetReason = _BudgetReason.GranteeMgmtBudgetReason
[0..1] I_ControllingVersion _BudgetVersionOrigin $projection.GranteeMgmtBudgetVersionOrigin = _BudgetVersionOrigin.ControllingVersion
[0..1] I_Grant _Grant $projection.GrantID = _Grant.GrantID
[0..1] I_GranteeMgmtBudgetStatus _BudgetStatus $projection.GranteeMgmtBudgetStatus = _BudgetStatus.GranteeMgmtBudgetStatus
[0..1] I_GteeMBdgtEntryDocStatus _BudgetEntryDocumentStatus $projection.GteeMBudgetEntryDocStatus = _BudgetEntryDocumentStatus.GteeMBudgetEntryDocStatus
[0..1] I_GteeMBdgtEntrDocRvslSts _BdgtEntryDocRvslStatus $projection.GteeMBdgtEntryDocRvslStatus = _BdgtEntryDocRvslStatus.GteeMBdgtEntryDocRvslStatus
[0..*] I_GteeMBudgetEntryDocumentItem _Item $projection.GranteeMgmtBudgetEntryDocument = _Item.GranteeMgmtBudgetEntryDocument

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.sqlViewName IGMBDGTDOC view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Budget Entry Doc in Grantee Management view
ObjectModel.representativeKey GranteeMgmtBudgetEntryDocument view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY GranteeMgmtBudgetEntryDocument bdgt_doc_nbr Document Number
GteeMBudgetEntryDocumentType doc_type VAT Document Type
GranteeMgmtBudgetingProcess process Trans.
GrantCurrency waers Transaction Currency
GranteeMgmtBudgetVersion bdgt_version Budget Version
GranteeMgmtBudgetReason bdgt_reason_code Reason Code
CreationDate entry_date Entry date
CreationTime entry_time Time of entry in table
CreatedByUser entry_user Created by
GranteeMgmtApprovalDate approval_date Approval Date
GranteeMgmtApprovalTime approval_time Approval Time
GteeMBudgetEntryDocOrigin bdgt_origin Document Origin
GranteeMgmtBudgetVersionOrigin bdgt_ver_origin Origin Version
PostingDate posting_date Posting Date
GranteeMgmtWorkflowStatus status Workflow Status
GteeMBudgetEntryDocumentDesc text User Group
GrantID grant_nbr Receiver Grant
GranteeMgmtBudgetStatus bdgt_status Budget Status
DocumentDate doc_date Document Date
GteeMBudgetEntryDocStatus Document Status
GteeMBdgtEntryDocRvslStatus rev_status Revision Status
GteeMRvslRefBudgetEntryDoc rev_refnr Reversal Ref. Nr.
LogicalSystem logsys Source system
ReferenceDocumentType awtyp Reference Document Type
ReferenceDocumentLogicalSystem awsys Logical System
ReferenceDocumentContext aworg Refer. Org.Unit
ReferenceDocument awref Reference Doc.
_BudgetDocType _BudgetDocType
_BudgetingProcess _BudgetingProcess
_GrantCurrency _GrantCurrency
_BudgetVersion _BudgetVersion
_BudgetReason _BudgetReason
_BudgetVersionOrigin _BudgetVersionOrigin
_Grant _Grant
_BudgetStatus _BudgetStatus
_BudgetEntryDocumentStatus _BudgetEntryDocumentStatus
_BdgtEntryDocRvslStatus _BdgtEntryDocRvslStatus
_Item _Item

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_GteeMBudgetEntryDocument.
-- 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: IGMBDGTDOC

CREATE VIEW I_GteeMBudgetEntryDocument AS
SELECT
  bdgt_doc_nbr AS GranteeMgmtBudgetEntryDocument,
  doc_type AS GteeMBudgetEntryDocumentType,
  process AS GranteeMgmtBudgetingProcess,
  waers AS GrantCurrency,
  bdgt_version AS GranteeMgmtBudgetVersion,
  bdgt_reason_code AS GranteeMgmtBudgetReason,
  entry_date AS CreationDate,
  entry_time AS CreationTime,
  entry_user AS CreatedByUser,
  approval_date AS GranteeMgmtApprovalDate,
  approval_time AS GranteeMgmtApprovalTime,
  bdgt_origin AS GteeMBudgetEntryDocOrigin,
  bdgt_ver_origin AS GranteeMgmtBudgetVersionOrigin,
  posting_date AS PostingDate,
  status AS GranteeMgmtWorkflowStatus,
  text AS GteeMBudgetEntryDocumentDesc,
  grant_nbr AS GrantID,
  bdgt_status AS GranteeMgmtBudgetStatus,
  doc_date AS DocumentDate,
  cast ( docstate as gmis_bdgt_docstate preserving type ) AS GteeMBudgetEntryDocStatus,
  rev_status AS GteeMBdgtEntryDocRvslStatus,
  rev_refnr AS GteeMRvslRefBudgetEntryDoc,
  logsys AS LogicalSystem,
  awtyp AS ReferenceDocumentType,
  awsys AS ReferenceDocumentLogicalSystem,
  aworg AS ReferenceDocumentContext,
  awref AS ReferenceDocument
FROM gmbdgtheader
LEFT OUTER JOIN I_GteeMBudgetEntryDocType AS _BudgetDocType ON GteeMBudgetEntryDocumentType = _BudgetDocType.GteeMBudgetEntryDocumentType  -- association [0..1]
LEFT OUTER JOIN I_GranteeMgmtBudgetingProcess AS _BudgetingProcess ON GranteeMgmtBudgetingProcess = _BudgetingProcess.GranteeMgmtBudgetingProcess  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GrantCurrency ON GrantCurrency = _GrantCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_ControllingVersion AS _BudgetVersion ON GranteeMgmtBudgetVersion = _BudgetVersion.ControllingVersion  -- association [0..1]
LEFT OUTER JOIN I_GranteeMgmtBudgetReason AS _BudgetReason ON GranteeMgmtBudgetReason = _BudgetReason.GranteeMgmtBudgetReason  -- association [0..1]
LEFT OUTER JOIN I_ControllingVersion AS _BudgetVersionOrigin ON GranteeMgmtBudgetVersionOrigin = _BudgetVersionOrigin.ControllingVersion  -- association [0..1]
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID  -- association [0..1]
LEFT OUTER JOIN I_GranteeMgmtBudgetStatus AS _BudgetStatus ON GranteeMgmtBudgetStatus = _BudgetStatus.GranteeMgmtBudgetStatus  -- association [0..1]
LEFT OUTER JOIN I_GteeMBdgtEntryDocStatus AS _BudgetEntryDocumentStatus ON GteeMBudgetEntryDocStatus = _BudgetEntryDocumentStatus.GteeMBudgetEntryDocStatus  -- association [0..1]
LEFT OUTER JOIN I_GteeMBdgtEntrDocRvslSts AS _BdgtEntryDocRvslStatus ON GteeMBdgtEntryDocRvslStatus = _BdgtEntryDocRvslStatus.GteeMBdgtEntryDocRvslStatus  -- association [0..1]
LEFT OUTER JOIN I_GteeMBudgetEntryDocumentItem AS _Item ON GranteeMgmtBudgetEntryDocument = _Item.GranteeMgmtBudgetEntryDocument  -- association [0..*]
;