I_UtilsBillgDiscCode

DDL: I_UTILSBILLGDISCCODE SQL: IEBILLGDISCCODE Type: view BASIC

Billing Discount Code

I_UtilsBillgDiscCode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

UtilsBillingDiscountCode · Utilities

I_UtilsBillgDiscCode is a Basic CDS View (Dimension) that provides data about "Billing Discount Code" in SAP S/4HANA. It reads from 1 data source (edsc) and exposes 13 fields with key field UtilsBillingDiscountCode. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-DM-MR
CapabilitiesData Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction
PackageUtilities for SAP S/4HANA
Description <p>This CDS view retrieves data for the billing discount code. </p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
edsc edsc from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_UtilsBillgDiscCodeText _Text $projection.UtilsBillingDiscountCode = _Text.UtilsBillingDiscountCode
[1..1] I_Division _Division $projection.Division = _Division.Division
[1..1] I_UtilsBillingClass _UtilsBillingClass $projection.UtilitiesBillingClass = _UtilsBillingClass.UtilitiesBillingClass

Annotations (17)

NameValueLevelField
EndUserText.label Billing Discount Code view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IEBILLGDISCCODE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey UtilsBillingDiscountCode view
ObjectModel.sapObjectNodeType.name UtilsBillingDiscountCode view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY UtilsBillingDiscountCode edsc rabzus Discount key
Division edsc sparte Insurance LOB
UtilsDiscountCategory edsc rabtyp Discount category
UtilsReferenceBase bzgbasis Discount Reference Base
UtilsDiscountType rabart Discount type
UtilsRegistersArePermitted use_regist Permissibility for registers
UtilsMeasurementUnit mass Unit of Measurement
UtilitiesBillingClass aklasse Billing Class
UtilsTimeBasis timbasis Time basis
UtilsTimeCategory timtyp Time category (days or months)
_Text _Text
_Division _Division
_UtilsBillingClass _UtilsBillingClass

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_UtilsBillgDiscCode.
-- 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: IEBILLGDISCCODE

CREATE VIEW I_UtilsBillgDiscCode AS
SELECT
  edsc.rabzus AS UtilsBillingDiscountCode,
  edsc.sparte AS Division,
  edsc.rabtyp AS UtilsDiscountCategory,
  bzgbasis AS UtilsReferenceBase,
  rabart AS UtilsDiscountType,
  use_regist AS UtilsRegistersArePermitted,
  mass AS UtilsMeasurementUnit,
  aklasse AS UtilitiesBillingClass,
  timbasis AS UtilsTimeBasis,
  timtyp AS UtilsTimeCategory
FROM edsc
LEFT OUTER JOIN I_UtilsBillgDiscCodeText AS _Text ON UtilsBillingDiscountCode = _Text.UtilsBillingDiscountCode  -- association [0..*]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division  -- association [1..1]
LEFT OUTER JOIN I_UtilsBillingClass AS _UtilsBillingClass ON UtilitiesBillingClass = _UtilsBillingClass.UtilitiesBillingClass  -- association [1..1]
;