C_AuCWthMultipleWBSElement

DDL: C_AUCWTHMULTIPLEWBSELEMENT SQL: CGRCWBSAUC Type: view CONSUMPTION

Asset with multiple WBS Elements

C_AuCWthMultipleWBSElement is a Consumption CDS View that provides data about "Asset with multiple WBS Elements" in SAP S/4HANA. It reads from 1 data source (I_FixedAsset) and exposes 43 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset.

Data Sources (1)

SourceAliasJoin Type
I_FixedAsset I_FixedAsset from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CGRCWBSAUC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Asset with multiple WBS Elements view
VDM.viewType #CONSUMPTION view
OData.publish true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (43)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
AssetClass AssetClass Asset Class
NumberOfWBSElements Number Of WBS Elements
FixedAssetDescription FixedAssetDescription Description
AssetAdditionalDescription AssetAdditionalDescription
PartnerCompany PartnerCompany Trading Partner
CompanyName _PartnerCompany CompanyName Text
Supplier Supplier Supplier
SupplierFullName _Supplier SupplierFullName
AssetCountryOfOrigin AssetCountryOfOrigin
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
AssetAuthorizationContext AssetAuthorizationContext
Currency Currency Valuation Crcy
BaseUnit BaseUnit Unit of Measure
AssetAccountDetermination AssetAccountDetermination Account Determ.
InvestmentReason InvestmentReason Invest. Reason
EnvrnmtlInvestmentReason EnvrnmtlInvestmentReason
AssetLifecycleStatus AssetLifecycleStatus
AssetCompletenessStatus AssetCompletenessStatus
AssetUnderConstructionStatus AssetUnderConstructionStatus
_AssetValuationForLedger _AssetValuationForLedger
_FixedAssetForLedger _FixedAssetForLedger
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_AssetClass _AssetClass
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure
_PartnerCompany _PartnerCompany
_AssetAccountDetermination _AssetAccountDetermination
_Supplier _Supplier
_AssetCountryOfOrigin _AssetCountryOfOrigin
_InvestmentReason _InvestmentReason
_EnvrnmtlInvestmentReason _EnvrnmtlInvestmentReason
_AssetLifecycleStatus _AssetLifecycleStatus
_AssetCompletenessStatus _AssetCompletenessStatus
_AssetUnderConstructionStatus _AssetUnderConstructionStatus
_FixedAssetCountryData _FixedAssetCountryData
_GlobAssetAssignment _GlobAssetAssignment

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_AuCWthMultipleWBSElement.
-- 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: CGRCWBSAUC

CREATE VIEW C_AuCWthMultipleWBSElement AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  AssetClass,
  count (distinct InvestmentProjectWBSElement) AS NumberOfWBSElements,
  FixedAssetDescription,
  AssetAdditionalDescription,
  PartnerCompany,
  _PartnerCompany.CompanyName AS CompanyName,
  Supplier,
  _Supplier.SupplierFullName AS SupplierFullName,
  AssetCountryOfOrigin,
  LastChangeDate,
  LastChangedByUser,
  CreationDate,
  CreatedByUser,
  AssetAuthorizationContext,
  Currency,
  BaseUnit,
  AssetAccountDetermination,
  InvestmentReason,
  EnvrnmtlInvestmentReason,
  AssetLifecycleStatus,
  AssetCompletenessStatus,
  AssetUnderConstructionStatus
FROM I_FixedAsset
;