C_CostRevnReassgmtAllocAcctVH

DDL: C_COSTREVNREASSGMTALLOCACCTVH SQL: CCRREASSACCT Type: view CONSUMPTION

Account for Allocation VH

C_CostRevnReassgmtAllocAcctVH is a Consumption CDS View that provides data about "Account for Allocation VH" in SAP S/4HANA. It reads from 1 data source (I_CostElement) and exposes 7 fields with key fields ControllingArea, GLAccount.

Data Sources (1)

SourceAliasJoin Type
I_CostElement I_CostElement from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCRREASSACCT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Consumption.ranked true view
EndUserText.label Account for Allocation VH view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY GLAccount G/L Account
CostElementName
GLAccountType _GLAccountInChartOfAccounts GLAccountType G/L Account Type
GLAccountTypeName
CostElementCategory CostElementCategory
CostElementCategoryName

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_CostRevnReassgmtAllocAcctVH.
-- 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: CCRREASSACCT

CREATE VIEW C_CostRevnReassgmtAllocAcctVH AS
SELECT
  ControllingArea,
  cast(CostElement as fco_allocation_account) AS GLAccount,
  _Text[1:Language=$session.system_language].CostElementName AS CostElementName,
  _GLAccountInChartOfAccounts.GLAccountType AS GLAccountType,
  _GLAccountInChartOfAccounts._GLAccountType._GLAccountTypeText[1:Language=$session.system_language].GLAccountTypeName AS GLAccountTypeName,
  CostElementCategory,
  _CostElementCategory._Text[1:Language=$session.system_language].CostElementCategoryName AS CostElementCategoryName
FROM I_CostElement
;