I_ZA_StRpRevenueExpenseLineC
South Africa Revenue Expense Lines
I_ZA_StRpRevenueExpenseLineC is a Composite CDS View (Cube) that provides data about "South Africa Revenue Expense Lines" in SAP S/4HANA. It reads from 4 data sources (I_ReceivablesPayablesItem, I_StRpTaxItemBoxCube, P_T007B_GLO, P_TimeDepdntVersAssgmtNext) and exposes 32 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, TaxCode. It has 2 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_ReceivablesPayablesItem | I_ReceivablesPayablesItem | left_outer |
| I_StRpTaxItemBoxCube | I_StRpTaxItemBoxCube | from |
| P_T007B_GLO | P_T007B_GLO | left_outer |
| P_TimeDepdntVersAssgmtNext | Taxgroupingversion | left_outer |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material |
| [0..1] | I_Currency | _ReportingCurrency | $projection.ReportingCurrency = _ReportingCurrency.Currency |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRZARVEXLINENC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | South Africa Revenue Expense Lines | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.allowExtensions | true | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| AccessControl.blocking | #BLOCKED_DATA_INCLUDED | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_StRpTaxItemBoxCube | CompanyCode | Receiver Company Code |
| KEY | AccountingDocument | I_StRpTaxItemBoxCube | AccountingDocument | Journal Entry |
| KEY | FiscalYear | I_StRpTaxItemBoxCube | FiscalYear | G/L Fiscal Year |
| KEY | TaxItem | I_StRpTaxItemBoxCube | TaxItem | Tax Item |
| KEY | TaxCode | I_StRpTaxItemBoxCube | TaxCode | Tax Code |
| KEY | TransactionTypeDetermination | I_StRpTaxItemBoxCube | TransactionTypeDetermination | Transaction Key |
| KEY | TaxBox | I_StRpTaxItemBoxCube | TaxBox | Tax.Bs.Gp.No. |
| KEY | TaxDeclnAmountType | I_StRpTaxItemBoxCube | TaxDeclnAmountType | |
| KEY | TaxItemGroupingVersion | P_TimeDepdntVersAssgmtNext | verstax | Tax Grping Ver. |
| KEY | DebitCreditCode | I_StRpTaxItemBoxCube | DebitCreditCode | Single-Character Flag |
| TaxRate | I_StRpTaxItemBoxCube | TaxRate | Tax Rate | |
| TaxType | I_StRpTaxItemBoxCube | TaxType | Tax Type | |
| PostingDate | I_StRpTaxItemBoxCube | PostingDate | Posting Date for GR | |
| ReportingDate | I_StRpTaxItemBoxCube | ReportingDate | ||
| TaxCalculationProcedure | I_StRpTaxItemBoxCube | TaxCalculationProcedure | Tax Procedure | |
| CompanyCodeCurrency | I_StRpTaxItemBoxCube | CompanyCodeCurrency | Local Currency | |
| MaterialName | _MaterialText | MaterialName | Material Description | |
| VATRegistration | ||||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| Material | I_ReceivablesPayablesItem | Material | Vehicle Model | |
| CashDiscountIsDeductible | stazf | Not deductible | ||
| CashDiscountAmtInCoCodeCrcy | CashDiscountAmtInCoCodeCrcy | Discount Amt | ||
| ReportingCountry | ReportingCountry | |||
| MaterialNameendendasDocumentItemText | ||||
| ReportingCurrency | ReportingCurrency | Currency | ||
| Customer | _Customer | Customer | Sold-to Party | |
| Supplier | _Supplier | Supplier | Supplier | |
| AuthorizationGroup | _Customer | AuthorizationGroup | AuthorizGroup | |
| _TaxCodeText | _TaxCodeText | |||
| _TaxTypeText | _TaxTypeText | |||
| _ReportingCurrency | _ReportingCurrency | |||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name |
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_ZA_StRpRevenueExpenseLineC.
-- 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: ISRZARVEXLINENC
CREATE VIEW I_ZA_StRpRevenueExpenseLineC AS
SELECT
I_StRpTaxItemBoxCube.CompanyCode AS CompanyCode,
I_StRpTaxItemBoxCube.AccountingDocument AS AccountingDocument,
I_StRpTaxItemBoxCube.FiscalYear AS FiscalYear,
I_StRpTaxItemBoxCube.TaxItem AS TaxItem,
I_StRpTaxItemBoxCube.TaxCode AS TaxCode,
I_StRpTaxItemBoxCube.TransactionTypeDetermination AS TransactionTypeDetermination,
I_StRpTaxItemBoxCube.TaxBox AS TaxBox,
I_StRpTaxItemBoxCube.TaxDeclnAmountType AS TaxDeclnAmountType,
Taxgroupingversion.verstax AS TaxItemGroupingVersion,
I_StRpTaxItemBoxCube.DebitCreditCode AS DebitCreditCode,
I_StRpTaxItemBoxCube.TaxRate AS TaxRate,
I_StRpTaxItemBoxCube.TaxType AS TaxType,
I_StRpTaxItemBoxCube.PostingDate AS PostingDate,
I_StRpTaxItemBoxCube.ReportingDate AS ReportingDate,
I_StRpTaxItemBoxCube.TaxCalculationProcedure AS TaxCalculationProcedure,
I_StRpTaxItemBoxCube.CompanyCodeCurrency AS CompanyCodeCurrency,
_MaterialText.MaterialName AS MaterialName,
_AccountingDocument._CompanyCode.VATRegistration AS VATRegistration,
FinancialAccountType,
I_ReceivablesPayablesItem.Material AS Material,
stazf AS CashDiscountIsDeductible,
CashDiscountAmtInCoCodeCrcy,
ReportingCountry,
case when DocumentItemText <> '' then DocumentItemText else case when AccountingDocumentHeaderText <> '' then AccountingDocumentHeaderText else _MaterialText.MaterialName end end as DocumentItemText AS MaterialNameendendasDocumentItemText,
ReportingCurrency,
_Customer.Customer AS Customer,
_Supplier.Supplier AS Supplier,
_Customer.AuthorizationGroup AS AuthorizationGroup,
BusinessPartnerName
FROM I_StRpTaxItemBoxCube
LEFT OUTER JOIN I_ReceivablesPayablesItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_T007B_GLO ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_TimeDepdntVersAssgmtNext AS Taxgroupingversion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material -- association [1..*]
LEFT OUTER JOIN I_Currency AS _ReportingCurrency ON ReportingCurrency = _ReportingCurrency.Currency -- association [0..1]
;
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