I_BillingPlanItemUsage

DDL: I_BILLINGPLANITEMUSAGE Type: view BASIC

Billing Plan Item Usage

I_BillingPlanItemUsage is a Basic CDS View (Dimension) that provides data about "Billing Plan Item Usage" in SAP S/4HANA. It reads from 1 data source (sdbp_itm_usage) and exposes 4 fields with key fields BillingPlanUsageCategory, BillingPlanItemUsage. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
sdbp_itm_usage sdbp_itm_usage from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_BillingPlanItemUsageText _Text $projection.BillingPlanUsageCategory = _Text.BillingPlanUsageCategory and $projection.BillingPlanItemUsage = _Text.BillingPlanItemUsage
[0..1] I_BillgPlnUsgeCat_2 _BillingPlanUsageCategory $projection.BillingPlanUsageCategory = _BillingPlanUsageCategory.BillingPlanUsageCategory

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey BillingPlanItemUsage view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
AbapCatalog.sqlViewName ISDBPITMUSAGE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AbapCatalog.preserveKey true view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Billing Plan Item Usage view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY BillingPlanUsageCategory bpcat Plan category
KEY BillingPlanItemUsage item_usage Usage
_BillingPlanUsageCategory _BillingPlanUsageCategory
_Text _Text

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_BillingPlanItemUsage.
-- 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 I_BillingPlanItemUsage AS
SELECT
  bpcat AS BillingPlanUsageCategory,
  item_usage AS BillingPlanItemUsage
FROM sdbp_itm_usage
LEFT OUTER JOIN I_BillingPlanItemUsageText AS _Text ON BillingPlanUsageCategory = _Text.BillingPlanUsageCategory AND BillingPlanItemUsage = _Text.BillingPlanItemUsage  -- association [0..*]
LEFT OUTER JOIN I_BillgPlnUsgeCat_2 AS _BillingPlanUsageCategory ON BillingPlanUsageCategory = _BillingPlanUsageCategory.BillingPlanUsageCategory  -- association [0..1]
;