I_CABillPrntInvcgDocChargeDisc

DDL: I_CABILLPRNTINVCGDOCCHARGEDISC SQL: ICABIPRINVDOC_C Type: view COMPOSITE

Zu- und Abschläge für Rechnungsausgabe

I_CABillPrntInvcgDocChargeDisc is a Composite CDS View that provides data about "Zu- und Abschläge für Rechnungsausgabe" in SAP S/4HANA. It reads from 1 data source (I_CAInvcgDocDiscount) and exposes 13 fields with key fields CAInvoicingDocument, CADocumentNumber, CABPItemNumber. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CAInvcgDocDiscount _CAInvcgDocDiscount from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_CAInvcgDocHeader _CAInvcgHeader $projection.CAInvoicingDocument = _CAInvcgHeader.CAInvoicingDocument

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICABIPRINVDOC_C view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Zu- und Abschläge für Rechnungsausgabe view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CAInvoicingDocument CAInvoicingDocument Invoic. Doc.
KEY CADocumentNumber CADocumentNumber Document Number
KEY CABPItemNumber CABPItemNumber Item
CAInvcgChargeAndDiscountKey CAInvcgChargeAndDiscountKey Chrge/Disc. Key
CAInvcgIsChargeOrDiscount CAInvcgIsChargeOrDiscount Chrge/Disc. Ind
CACreditWorthiness CACreditWorthiness FI-CA Creditwth
CAItemPeriodStartDate CAItemPeriodStartDate Start Item Per.
CAItemPeriodEndDate CAItemPeriodEndDate End of Item Per
TransactionCurrency TransactionCurrency Transaction Currency
CAInvcgChrgAndDiscBaseAmount CAInvcgChrgAndDiscBaseAmount Base Amount
CAInvcgChrgAndDiscAmount CAInvcgChrgAndDiscAmount Charge/Discount
CAInvcgChrgAndDiscIsExisting CAInvcgChrgAndDiscIsExisting Individ.History
_CAInvcgHeader _CAInvcgHeader

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_CABillPrntInvcgDocChargeDisc.
-- 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: ICABIPRINVDOC_C

CREATE VIEW I_CABillPrntInvcgDocChargeDisc AS
SELECT
  CAInvoicingDocument,
  CADocumentNumber,
  CABPItemNumber,
  CAInvcgChargeAndDiscountKey,
  CAInvcgIsChargeOrDiscount,
  CACreditWorthiness,
  CAItemPeriodStartDate,
  CAItemPeriodEndDate,
  TransactionCurrency,
  CAInvcgChrgAndDiscBaseAmount,
  CAInvcgChrgAndDiscAmount,
  CAInvcgChrgAndDiscIsExisting
FROM I_CAInvcgDocDiscount AS _CAInvcgDocDiscount
LEFT OUTER JOIN C_CAInvcgDocHeader AS _CAInvcgHeader ON CAInvoicingDocument = _CAInvcgHeader.CAInvoicingDocument  -- association [1..1]
;