C_RU_ExprtConfRegCstmsDeclnC

DDL: C_RU_EXPRTCONFREGCSTMSDECLNC SQL: CRURCDCUBE Type: view CONSUMPTION

Cube for RCD

C_RU_ExprtConfRegCstmsDeclnC is a Consumption CDS View (Cube) that provides data about "Cube for RCD" in SAP S/4HANA. It reads from 1 data source (P_RU_ExprtConfRegItem1) and exposes 26 fields.

Data Sources (1)

SourceAliasJoin Type
P_RU_ExprtConfRegItem1 P_RU_ExprtConfRegItem1 from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CRURCDCUBE view
AbapCatalog.compiler.compareFilter true view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
EndUserText.label Cube for RCD view
Metadata.allowExtensions true view
Analytics.internalName #LOCAL view

Fields (26)

KeyFieldSource TableSource FieldDescription
VATReturnOperation VATReturnOperation Operation Code
CompanyCode P_RU_ExprtConfRegItem1 CompanyCode Receiver Company Code
TaxTransferDocument TaxTransferDocument Document Number
FiscalYear FiscalYear G/L Fiscal Year
TaxCode TaxCode Tax Code
CustomsDeclaration CustomsDeclaration Cus. Decl. No.
CustomsDeclarationItem CustomsDeclarationItem
CustomsDeclarationSubitem CustomsDeclarationSubitem Subitem Number
CustomsDeclarationExtNmbr
Customer P_RU_ExprtConfRegItem1 Customer Sold-to Party
CustomerName CustomerName Name of Customer
CommodityCode CommodityCode Commodity Code
Material Material Vehicle Model
MaterialDesc MaterialDesc Description
Quantity Quantity Value
SalesUnit SalesUnit Unit
ExportConfirmationDate ExportConfirmationDate
BillingDocument BillingDocument SD Document
RU_ForeignTradeContractExt RU_ForeignTradeContractExt
RU_ForeignTradeContrCrtedOnDte RU_ForeignTradeContrCrtedOnDte
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax
TransactionCurrency TransactionCurrency Transaction Currency
AuthorizationGroup P_RU_ExprtConfRegItem1 AuthorizationGroup AuthorizGroup
CustomerCompanyAuthznGroup CustomerCompany AuthorizationGroup AuthorizGroup

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_RU_ExprtConfRegCstmsDeclnC.
-- 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: CRURCDCUBE
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW C_RU_ExprtConfRegCstmsDeclnC AS
SELECT
  VATReturnOperation,
  P_RU_ExprtConfRegItem1.CompanyCode AS CompanyCode,
  TaxTransferDocument,
  FiscalYear,
  TaxCode,
  CustomsDeclaration,
  CustomsDeclarationItem,
  CustomsDeclarationSubitem,
  concat(CustomsOffice, concat('/',concat(RU_RegistrationInvoiceDate, concat('/',CustomsDeclarationExtNmbr)))) AS CustomsDeclarationExtNmbr,
  P_RU_ExprtConfRegItem1.Customer AS Customer,
  CustomerName,
  CommodityCode,
  Material,
  MaterialDesc,
  Quantity,
  SalesUnit,
  ExportConfirmationDate,
  BillingDocument,
  RU_ForeignTradeContractExt,
  RU_ForeignTradeContrCrtedOnDte,
  TaxBaseAmountInCoCodeCrcy,
  CompanyCodeCurrency,
  TaxBaseAmountInTransCrcy,
  TransactionCurrency,
  P_RU_ExprtConfRegItem1.AuthorizationGroup AS AuthorizationGroup,
  CustomerCompany.AuthorizationGroup AS CustomerCompanyAuthznGroup
FROM P_RU_ExprtConfRegItem1
;