C_RU_ExprtConfRegCstmsDeclnQ

DDL: C_RU_EXPRTCONFREGCSTMSDECLNQ SQL: CRURCDQUERY Type: view CONSUMPTION

Query for RCD

C_RU_ExprtConfRegCstmsDeclnQ is a Consumption CDS View that provides data about "Query for RCD" in SAP S/4HANA. It reads from 1 data source (C_RU_ExprtConfRegCstmsDeclnC) and exposes 22 fields with key fields VATReturnOperation, CustomsDeclarationExtNmbr.

Data Sources (1)

SourceAliasJoin Type
C_RU_ExprtConfRegCstmsDeclnC C_RU_ExprtConfRegCstmsDeclnC from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CRURCDQUERY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Query for RCD view
VDM.viewType #CONSUMPTION view
Analytics.query true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
AbapCatalog.preserveKey true view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY VATReturnOperation VATReturnOperation Operation Code
KEY CustomsDeclarationExtNmbr
CompanyCode 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
Customer Customer Sold-to Party
CustomerName CustomerName Name of Customer
CommodityCode CommodityCode Commodity Code
Material Material Vehicle Model
MaterialDesc MaterialDesc
Quantity Quantity Value
SalesUnit SalesUnit Unit
ExportConfirmationDate ExportConfirmationDate
BillingDocument BillingDocument SD Document
RU_ForeignTradeContractExt RU_ForeignTradeContractExt
RU_ForeignTradeContrCrtedOnDte RU_ForeignTradeContrCrtedOnDte
TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
CompanyCodeCurrency 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_RU_ExprtConfRegCstmsDeclnQ.
-- 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: CRURCDQUERY
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW C_RU_ExprtConfRegCstmsDeclnQ AS
SELECT
  VATReturnOperation,
  cast(CustomsDeclarationExtNmbr as j_3rf_dixml_ccd_num) AS CustomsDeclarationExtNmbr,
  CompanyCode,
  TaxTransferDocument,
  FiscalYear,
  TaxCode,
  CustomsDeclaration,
  CustomsDeclarationItem,
  CustomsDeclarationSubitem,
  Customer,
  CustomerName,
  CommodityCode,
  Material,
  MaterialDesc,
  Quantity,
  SalesUnit,
  ExportConfirmationDate,
  BillingDocument,
  RU_ForeignTradeContractExt,
  RU_ForeignTradeContrCrtedOnDte,
  cast(TaxBaseAmountInCoCodeCrcy as firu_taxbaseamountcccrcy) AS TaxBaseAmountInCoCodeCrcy,
  CompanyCodeCurrency
FROM C_RU_ExprtConfRegCstmsDeclnC
;