Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

C_ID_BillgItmCndnPrice

DDL: C_ID_BILLGITMCNDNPRICE SQL: CIDSRITEMPRICE Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_ID

Item Pricing for ID Billing Documents

C_ID_BillgItmCndnPrice is a Consumption CDS View that provides data about "Item Pricing for ID Billing Documents" in SAP S/4HANA. It reads from 1 data source (I_ID_PricingElementsGrp) and exposes 14 fields with key fields CompanyCode, AccountingDocument, TaxItem, FiscalYear. Part of development package GLO_FIN_IS_VAT_ID.

Data Sources (1)

SourceAliasJoin Type
I_ID_PricingElementsGrp I_ID_PricingElementsGrp from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CIDSRITEMPRICE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Item Pricing for ID Billing Documents view
VDM.lifecycle.status #DEPRECATED view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY TaxItem TaxItem Tax Item
KEY FiscalYear FiscalYear G/L Fiscal Year
Material
BillingDocumentItemText
BillingQuantity
TaxRate
ItemPrice
TaxableAmount
TaxAmount
DiscountAmount
LuxuryTaxAmt
LuxuryTaxRate

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_ID_BillgItmCndnPrice.
-- 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: CIDSRITEMPRICE

CREATE VIEW C_ID_BillgItmCndnPrice AS
SELECT
  CompanyCode,
  AccountingDocument,
  TaxItem,
  FiscalYear,
  case when Material != '' then concat(concat('"', Material),'"') else '' end AS Material,
  case when BillingDocumentItemText != '' then concat(concat('"', BillingDocumentItemText),'"') else '' end AS BillingDocumentItemText,
  ceil(abs(BillingQuantity)) AS BillingQuantity,
  ceil(abs(TaxRate)) AS TaxRate,
  ceil(abs(ItemPrice)) AS ItemPrice,
  ceil(abs(100*TaxableAmount)) AS TaxableAmount,
  ceil(abs(100*TaxAmount)) AS TaxAmount,
  ceil(abs(100*DiscountAmount)) AS DiscountAmount,
  ceil(abs(100*LuxuryTaxAmt)) AS LuxuryTaxAmt,
  ceil(abs(LuxuryTaxRate)) AS LuxuryTaxRate
FROM I_ID_PricingElementsGrp
;