C_ZA_SuplrCharcsAndTaxItemCube

DDL: C_ZA_SUPLRCHARCSANDTAXITEMCUBE SQL: CZASUPCHARTXITMC Type: view CONSUMPTION

South Africa Supplier Characteristics and Tax Item details

C_ZA_SuplrCharcsAndTaxItemCube is a Consumption CDS View (Cube) that provides data about "South Africa Supplier Characteristics and Tax Item details" in SAP S/4HANA. It reads from 2 data sources (P_ZA_CharacteristicsValue, I_StRpTaxItem) and exposes 25 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, TaxCode.

Data Sources (2)

SourceAliasJoin Type
P_ZA_CharacteristicsValue P_ZA_CharacteristicsValue left_outer
I_StRpTaxItem TaxItem from

Parameters (9)

NameTypeDefault
P_KeyDate sydate
P_SupplierRecognitionLevel fiza_bee_level
P_ZA_OrgIsEligibleToBBBEE050 fiza_bee_charc_blackowned
P_ZA_OrgIsEligibleToBBBEE030 fiza_bee_charc_blackwomenowned
P_SupplierTurnoverLevel fiza_bee_turnover_level
P_SupplierIsEmpowering fiza_bee_charc_empowering_sup
P_HasSupplierRole fiza_bee_charc_entdev_sup
P_ConversionFactor fiza_bee_mulfactor
P_ContractExpiryPredictedDate fiza_bee_sup_expirydate

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CZASUPCHARTXITMC 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 Supplier Characteristics and Tax Item details view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #CUBE view
Metadata.allowExtensions true view
AccessControl.blocking #BLOCKED_DATA_INCLUDED view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_StRpTaxItem CompanyCode Receiver Company Code
KEY AccountingDocument I_StRpTaxItem AccountingDocument Journal Entry
KEY FiscalYear I_StRpTaxItem FiscalYear G/L Fiscal Year
KEY TaxItem I_StRpTaxItem TaxItem Tax Item
KEY TaxCode I_StRpTaxItem TaxCode Tax Code
KEY TransactionTypeDetermination I_StRpTaxItem TransactionTypeDetermination Transaction Key
KEY Supplier I_StRpTaxItem Supplier Supplier
KEY ClfnObjectID CharValue ClfnObjectID
KEY StatryRptCategory
KEY StatryRptgEntity
KEY StatryRptRunID
ConversionFactor
ReportingDate I_StRpTaxItem ReportingDate
BPSupplierName
SupplierRecognitionLevel CharValue SupplierRecognitionLevel
ZA_OrgIsEligibleToBBBEE050 CharValue ZA_OrgIsEligibleToBBBEE050
ZA_OrgIsEligibleToBBBEE030 CharValue ZA_OrgIsEligibleToBBBEE030
SupplierTurnoverLevel CharValue SupplierTurnoverLevel
SupplierIsEmpowering CharValue SupplierIsEmpowering
SupplierIsEnterpriseDeveloped CharValue SupplierIsEnterpriseDeveloped
ContractExpiryPredictedDate
TaxBaseAmountInCoCodeCrcy I_StRpTaxItem TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy I_StRpTaxItem TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
RevenueAdjustmentAmount
CompanyCodeCurrency I_StRpTaxItem CompanyCodeCurrency Local Currency

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_ZA_SuplrCharcsAndTaxItemCube.
-- 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: CZASUPCHARTXITMC
-- Parameters: P_KeyDate : sydate, P_SupplierRecognitionLevel : fiza_bee_level, P_ZA_OrgIsEligibleToBBBEE050 : fiza_bee_charc_blackowned, P_ZA_OrgIsEligibleToBBBEE030 : fiza_bee_charc_blackwomenowned, P_SupplierTurnoverLevel : fiza_bee_turnover_level, P_SupplierIsEmpowering : fiza_bee_charc_empowering_sup, P_HasSupplierRole : fiza_bee_charc_entdev_sup, P_ConversionFactor : fiza_bee_mulfactor, P_ContractExpiryPredictedDate : fiza_bee_sup_expirydate

CREATE VIEW C_ZA_SuplrCharcsAndTaxItemCube AS
SELECT
  TaxItem.CompanyCode AS CompanyCode,
  TaxItem.AccountingDocument AS AccountingDocument,
  TaxItem.FiscalYear AS FiscalYear,
  TaxItem.TaxItem AS TaxItem,
  TaxItem.TaxCode AS TaxCode,
  TaxItem.TransactionTypeDetermination AS TransactionTypeDetermination,
  TaxItem.Supplier AS Supplier,
  CharValue.ClfnObjectID AS ClfnObjectID,
  TaxItem._ReportedItemsLog.StatryRptCategory AS StatryRptCategory,
  TaxItem._ReportedItemsLog.StatryRptgEntity AS StatryRptgEntity,
  TaxItem._ReportedItemsLog.StatryRptRunID AS StatryRptRunID,
  division (CharValue.ConversionFactor,100,2) AS ConversionFactor,
  TaxItem.ReportingDate AS ReportingDate,
  TaxItem._Supplier.BPSupplierName AS BPSupplierName,
  CharValue.SupplierRecognitionLevel AS SupplierRecognitionLevel,
  CharValue.ZA_OrgIsEligibleToBBBEE050 AS ZA_OrgIsEligibleToBBBEE050,
  CharValue.ZA_OrgIsEligibleToBBBEE030 AS ZA_OrgIsEligibleToBBBEE030,
  CharValue.SupplierTurnoverLevel AS SupplierTurnoverLevel,
  CharValue.SupplierIsEmpowering AS SupplierIsEmpowering,
  CharValue.SupplierIsEnterpriseDeveloped AS SupplierIsEnterpriseDeveloped,
  cast (CharValue.ContractExpiryPredictedDate as fiza_expirydate) AS ContractExpiryPredictedDate,
  TaxItem.TaxBaseAmountInCoCodeCrcy AS TaxBaseAmountInCoCodeCrcy,
  TaxItem.TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
  TaxItem.TaxBaseAmountInCoCodeCrcy * division (CharValue.ConversionFactor,100,2) AS RevenueAdjustmentAmount,
  TaxItem.CompanyCodeCurrency AS CompanyCodeCurrency
FROM I_StRpTaxItem AS TaxItem
LEFT OUTER JOIN P_ZA_CharacteristicsValue ON /* join condition not captured in parsed metadata */
;