I_CAInvcgDocDiscount
Fakturierungsbeleg Zu- und Abschläge
I_CAInvcgDocDiscount is a Basic CDS View that provides data about "Fakturierungsbeleg Zu- und Abschläge" in SAP S/4HANA. It reads from 1 data source (dfkkinvdoc_c) and exposes 12 fields with key fields CAInvoicingDocument, CADocumentNumber, CABPItemNumber.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkinvdoc_c | dfkkinvdoc_c | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Fakturierungsbeleg Zu- und Abschläge | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_CAInvcgDocChargeAndDiscount | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAInvoicingDocument | invdocno | Invoic. Doc. | |
| KEY | CADocumentNumber | opbel | Reopen | |
| KEY | CABPItemNumber | opupk | Item | |
| CAInvcgChargeAndDiscountKey | chgkey | Chrge/Disc. Key | ||
| CAInvcgIsChargeOrDiscount | chgdisc | Chrge/Disc. Ind | ||
| CACreditWorthiness | bonit | FI-CA Creditwth | ||
| CAItemPeriodStartDate | date_from | Validity Start Date | ||
| CAItemPeriodEndDate | date_to | Validity End Date | ||
| TransactionCurrency | waers | Transaction Currency | ||
| CAInvcgChrgAndDiscBaseAmount | basamt | Base Amount | ||
| CAInvcgChrgAndDiscAmount | chgamt | Charge/Discount | ||
| CAInvcgChrgAndDiscIsExisting | chghist | Individ.History |
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_CAInvcgDocDiscount.
-- 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_CAInvcgDocDiscount AS
SELECT
invdocno AS CAInvoicingDocument,
opbel AS CADocumentNumber,
opupk AS CABPItemNumber,
chgkey AS CAInvcgChargeAndDiscountKey,
chgdisc AS CAInvcgIsChargeOrDiscount,
bonit AS CACreditWorthiness,
date_from AS CAItemPeriodStartDate,
date_to AS CAItemPeriodEndDate,
waers AS TransactionCurrency,
basamt AS CAInvcgChrgAndDiscBaseAmount,
chgamt AS CAInvcgChrgAndDiscAmount,
chghist AS CAInvcgChrgAndDiscIsExisting
FROM dfkkinvdoc_c
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA