I_CAInvcgDocReversalRequest
Stornoauftrag für Fakt.belege
I_CAInvcgDocReversalRequest is a Basic CDS View that provides data about "Stornoauftrag für Fakt.belege" in SAP S/4HANA. It reads from 1 data source (dfkkinvdoc_rev) and exposes 33 fields with key fields CAInvoicingDocument, CARvslTsk. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkinvdoc_rev | invdoc_rev | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CAApplicationArea | _CAApplicationArea | $projection.CAApplicationArea = _CAApplicationArea.CAApplicationArea |
| [0..1] | I_CAInvcgDocReversalReason | _CAInvcgDocReversalReason | $projection.CAInvcgDocumentReversalReason = _CAInvcgDocReversalReason.CAInvcgDocumentReversalReason |
| [0..1] | I_CAReversalRequestStatus | _CAReversalRequestStatus | $projection.CAReversalRequestStatus = _CAReversalRequestStatus.CAReversalRequestStatus |
| [0..1] | I_CAInvcgProcess | _CAInvcgProcess | $projection.CAInvcgProcess = _CAInvcgProcess.CAInvcgProcess and $projection.CAApplicationArea = _CAInvcgProcess.CAApplicationArea |
| [0..1] | I_CAInvcgType | _CAInvcgType | $projection.CAInvcgType = _CAInvcgType.CAInvcgType and $projection.CAApplicationArea = _CAInvcgType.CAApplicationArea |
| [0..1] | I_CAInvcgCategory | _CAInvcgCategory | $projection.CAInvcgCategory = _CAInvcgCategory.CAInvcgCategory |
| [0..1] | I_CAInvcgMasterDataType | _CAInvcgMasterDataType | $projection.CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType |
| [0..1] | I_CAInvcgPeriodCat | _CAInvcgPeriodCat | $projection.CAInvcgDocPeriodCategory = _CAInvcgPeriodCat.CAInvcgPeriodCategory |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICAINVDOCREV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Stornoauftrag für Fakt.belege | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAInvoicingDocument | invdocno | Invoic. Doc. | |
| KEY | CARvslTsk | revtask | Reversal Task | |
| CAReversalRequestStatus | status | Workflow Status | ||
| CAInvcgDocumentReversalReason | revreason | Reversal Reason | ||
| CAReversalRequestDate | stodt | Reversal Date | ||
| CAInvcgType | inv_type | SAF-T Inv. Type | ||
| CAInvcgProcess | inv_process | Invoicing Proc. | ||
| CAInvcgCategory | inv_category | Invoicing Cat. | ||
| BusinessPartner | gpart | Tech. BPartner | ||
| CABusinessPartnerDocRlvt | gpart_sel | Bus.Part.Sel. | ||
| ContractAccount | vkont | Tech. CtrAcct | ||
| CAContractAccountDocRlvt | vkont_sel | CtrAcct for Sel | ||
| CAInvcgMasterDataType | mdcat | MasterData Type | ||
| CAInvcgCreationDate | invdoc_crdate | Invoiced On | ||
| CAInvcgCreationTime | invdoc_crtime | Invoiced At | ||
| CAInvcgDocPeriodCategory | invpercat | Period Category | ||
| CAInvcgDocPeriodDate | invperiod | Invoicing Per. | ||
| CANetDueDate | faedn | Net Due Date | ||
| TransactionCurrency | total_curr | Currency | ||
| CAAmountInTransactionCurrency | total_amt | Payment Total Amount | ||
| CreatedByUser | crname | Last Changed By | ||
| CreationDate | crdate | Sizing Date | ||
| CreationTime | crtime | Time Created | ||
| CADeletionDate | loedt | Deletion date | ||
| CAApplicationArea | _CAApplicationArea | CAApplicationArea | ApplicationArea | |
| _CAApplicationArea | _CAApplicationArea | |||
| _CAInvcgDocReversalReason | _CAInvcgDocReversalReason | |||
| _CAReversalRequestStatus | _CAReversalRequestStatus | |||
| _CAInvcgProcess | _CAInvcgProcess | |||
| _CAInvcgType | _CAInvcgType | |||
| _CAInvcgCategory | _CAInvcgCategory | |||
| _CAInvcgMasterDataType | _CAInvcgMasterDataType | |||
| _CAInvcgPeriodCat | _CAInvcgPeriodCat |
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_CAInvcgDocReversalRequest.
-- 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: ICAINVDOCREV
CREATE VIEW I_CAInvcgDocReversalRequest AS
SELECT
invdocno AS CAInvoicingDocument,
revtask AS CARvslTsk,
status AS CAReversalRequestStatus,
revreason AS CAInvcgDocumentReversalReason,
stodt AS CAReversalRequestDate,
inv_type AS CAInvcgType,
inv_process AS CAInvcgProcess,
inv_category AS CAInvcgCategory,
gpart AS BusinessPartner,
gpart_sel AS CABusinessPartnerDocRlvt,
vkont AS ContractAccount,
vkont_sel AS CAContractAccountDocRlvt,
mdcat AS CAInvcgMasterDataType,
invdoc_crdate AS CAInvcgCreationDate,
invdoc_crtime AS CAInvcgCreationTime,
invpercat AS CAInvcgDocPeriodCategory,
invperiod AS CAInvcgDocPeriodDate,
faedn AS CANetDueDate,
total_curr AS TransactionCurrency,
total_amt AS CAAmountInTransactionCurrency,
crname AS CreatedByUser,
crdate AS CreationDate,
crtime AS CreationTime,
loedt AS CADeletionDate,
_CAApplicationArea.CAApplicationArea AS CAApplicationArea
FROM dfkkinvdoc_rev AS invdoc_rev
LEFT OUTER JOIN I_CAApplicationArea AS _CAApplicationArea ON CAApplicationArea = _CAApplicationArea.CAApplicationArea -- association [1..1]
LEFT OUTER JOIN I_CAInvcgDocReversalReason AS _CAInvcgDocReversalReason ON CAInvcgDocumentReversalReason = _CAInvcgDocReversalReason.CAInvcgDocumentReversalReason -- association [0..1]
LEFT OUTER JOIN I_CAReversalRequestStatus AS _CAReversalRequestStatus ON CAReversalRequestStatus = _CAReversalRequestStatus.CAReversalRequestStatus -- association [0..1]
LEFT OUTER JOIN I_CAInvcgProcess AS _CAInvcgProcess ON CAInvcgProcess = _CAInvcgProcess.CAInvcgProcess AND CAApplicationArea = _CAInvcgProcess.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_CAInvcgType AS _CAInvcgType ON CAInvcgType = _CAInvcgType.CAInvcgType AND CAApplicationArea = _CAInvcgType.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCategory AS _CAInvcgCategory ON CAInvcgCategory = _CAInvcgCategory.CAInvcgCategory -- association [0..1]
LEFT OUTER JOIN I_CAInvcgMasterDataType AS _CAInvcgMasterDataType ON CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType -- association [0..1]
LEFT OUTER JOIN I_CAInvcgPeriodCat AS _CAInvcgPeriodCat ON CAInvcgDocPeriodCategory = _CAInvcgPeriodCat.CAInvcgPeriodCategory -- association [0..1]
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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