C_BudgetDocWorkflowGrantVH

DDL: C_BUDGETDOCWORKFLOWGRANTVH Type: view_entity CONSUMPTION Package: PSM_S4CO_ODATA_BDGT_GM_WF

Budget Document for Grant Val Assistance

C_BudgetDocWorkflowGrantVH is a Consumption CDS View that provides data about "Budget Document for Grant Val Assistance" in SAP S/4HANA. It reads from 1 data source (I_WorkflowFieldValueHelp) and exposes 30 fields with key field WorkflowFieldValueHelpValue. It has 14 associations to related views. It is exposed through 1 OData service (ASQL_F7321). Part of development package PSM_S4CO_ODATA_BDGT_GM_WF.

Data Sources (1)

SourceAliasJoin Type
I_WorkflowFieldValueHelp Document from

Associations (14)

CardinalityTargetAliasCondition
[0..1] C_BdgtDocWrkFlwRcpntGrantStdVH _BdgtDocWrkFlwRcpntGrantStdVH $projection.UserID = _BdgtDocWrkFlwRcpntGrantStdVH.UserID
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_PubSecBudgetAccountStdVH _PubSecBudgetAccount $projection.BudgetAccount = _PubSecBudgetAccount.PubSecBudgetAccount and $projection.BudgetAccount = _PubSecBudgetAccount.PubSecBudgetAccountCoCode
[0..1] I_BudgetProcessGroup _BudgetProcessGroup $projection.BudgetProcessGroup = _BudgetProcessGroup.BudgetProcessGroup
[0..1] I_BudgetingType _BudgetingType $projection.BudgetingType = _BudgetingType.BudgetingType
[1..1] C_BudgetDocumentTypeVH _BudgetDocumentType $projection.BudgetDocumentType = _BudgetDocumentType.BudgetDocumentType
[0..1] I_Fund _Fund $projection.Fund = _Fund.Fund and $projection.FinancialManagementArea = _Fund.FinancialManagementArea
[1..1] I_FundType _FundType $projection.FinancialManagementArea = _FundType.FinancialManagementArea and $projection.FundType = _FundType.FundType
[0..1] I_Grant _Grant $projection.GrantID = _Grant.GrantID
[0..1] I_GrantBusinessPartnerStdVH _SponsorVH $projection.GranteeMgmtSponsor = _SponsorVH.BusinessPartner
[0..1] I_GrantType _GrantType $projection.GrantType = _GrantType.GrantType
[0..1] I_WBSElementByExternalID _WBSElementByExternalID $projection.WBSElementExternalID = _WBSElementByExternalID.WBSElementExternalID
[0..1] I_SponsoredProgram _SponsoredProgram $projection.SponsoredProgram = _SponsoredProgram.SponsoredProgram
[0..1] I_SponsoredClass _SponsoredClass $projection.SponsoredClass = _SponsoredClass.SponsoredClass

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Budget Document for Grant Val Assistance view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.createEnabled true view
ObjectModel.representativeKey WorkflowFieldValueHelpValue view
OData.publish true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F7321 ASQL_F7321 C2 NOT_RELEASED

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY WorkflowFieldValueHelpValue
ControllingArea
BudgetAccount
BudgetDocumentType
BudgetProcessGroup
BudgetingType
FinancialManagementArea
Fund
FundType
UserID
GrantID
GranteeMgmtSponsor
GrantType
SponsoredProgram
SponsoredClass
WBSElementExternalID
_ControllingArea _ControllingArea
_BudgetProcessGroup _BudgetProcessGroup
_Fund _Fund
_BdgtDocWrkFlwRcpntGrantStdVH _BdgtDocWrkFlwRcpntGrantStdVH
_Grant _Grant
_FundType _FundType
_SponsorVH _SponsorVH
_GrantType _GrantType
_BudgetingType _BudgetingType
_BudgetDocumentType _BudgetDocumentType
_WBSElementByExternalID _WBSElementByExternalID
_PubSecBudgetAccount _PubSecBudgetAccount
_SponsoredProgram _SponsoredProgram
_SponsoredClass _SponsoredClass

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_BudgetDocWorkflowGrantVH.
-- 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_BudgetDocWorkflowGrantVH AS
SELECT
  '' AS WorkflowFieldValueHelpValue,
  cast( ' ' as kokrs preserving type ) AS ControllingArea,
  cast( ' ' as saknr preserving type ) AS BudgetAccount,
  cast( ' ' as bdgt_doctype preserving type ) AS BudgetDocumentType,
  cast( ' ' as bdgt_process_ui preserving type ) AS BudgetProcessGroup,
  cast( ' ' as budget_subcategory preserving type ) AS BudgetingType,
  cast( ' ' as fikrs preserving type ) AS FinancialManagementArea,
  cast( ' ' as bp_geber preserving type ) AS Fund,
  cast( ' ' as fm_fundtype preserving type ) AS FundType,
  cast( ' ' as vdm_userid preserving type ) AS UserID,
  cast( ' ' as gm_grant_nbr preserving type ) AS GrantID,
  cast( ' ' as bu_partner preserving type ) AS GranteeMgmtSponsor,
  cast( ' ' as gm_grant_type preserving type ) AS GrantType,
  cast (' ' as gm_sponsored_prog preserving type ) AS SponsoredProgram,
  cast (' ' as gm_sponsored_class preserving type ) AS SponsoredClass,
  cast( ' ' as ps_posid_edit preserving type ) AS WBSElementExternalID
FROM I_WorkflowFieldValueHelp AS Document
LEFT OUTER JOIN C_BdgtDocWrkFlwRcpntGrantStdVH AS _BdgtDocWrkFlwRcpntGrantStdVH ON UserID = _BdgtDocWrkFlwRcpntGrantStdVH.UserID  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_PubSecBudgetAccountStdVH AS _PubSecBudgetAccount ON BudgetAccount = _PubSecBudgetAccount.PubSecBudgetAccount AND BudgetAccount = _PubSecBudgetAccount.PubSecBudgetAccountCoCode  -- association [0..1]
LEFT OUTER JOIN I_BudgetProcessGroup AS _BudgetProcessGroup ON BudgetProcessGroup = _BudgetProcessGroup.BudgetProcessGroup  -- association [0..1]
LEFT OUTER JOIN I_BudgetingType AS _BudgetingType ON BudgetingType = _BudgetingType.BudgetingType  -- association [0..1]
LEFT OUTER JOIN C_BudgetDocumentTypeVH AS _BudgetDocumentType ON BudgetDocumentType = _BudgetDocumentType.BudgetDocumentType  -- association [1..1]
LEFT OUTER JOIN I_Fund AS _Fund ON Fund = _Fund.Fund AND FinancialManagementArea = _Fund.FinancialManagementArea  -- association [0..1]
LEFT OUTER JOIN I_FundType AS _FundType ON FinancialManagementArea = _FundType.FinancialManagementArea AND FundType = _FundType.FundType  -- association [1..1]
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID  -- association [0..1]
LEFT OUTER JOIN I_GrantBusinessPartnerStdVH AS _SponsorVH ON GranteeMgmtSponsor = _SponsorVH.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_GrantType AS _GrantType ON GrantType = _GrantType.GrantType  -- association [0..1]
LEFT OUTER JOIN I_WBSElementByExternalID AS _WBSElementByExternalID ON WBSElementExternalID = _WBSElementByExternalID.WBSElementExternalID  -- 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]
;