I_RU_ExprtCstmsDeclnNumberVH

DDL: I_RU_EXPRTCSTMSDECLNNUMBERVH SQL: IRUCCDNMRVH Type: view BASIC Package: GLO_FIN_IS_RU_EXPRT_CSTMS_DECL

Export Customs Declaration Number

I_RU_ExprtCstmsDeclnNumberVH is a Basic CDS View that provides data about "Export Customs Declaration Number" in SAP S/4HANA. It reads from 1 data source (I_RU_CustomsDeclarationHeader) and exposes 7 fields with key field CustomsDeclaration. Part of development package GLO_FIN_IS_RU_EXPRT_CSTMS_DECL.

Data Sources (1)

SourceAliasJoin Type
I_RU_CustomsDeclarationHeader Header from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IRUCCDNMRVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Export Customs Declaration Number view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
Consumption.ranked true view
ObjectModel.representativeKey CustomsDeclaration view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CustomsDeclaration
DomainText
RU_EntryCustomsOffice
RU_RegistrationInvoiceDate
CustomsDeclarationExtNmbr
CompanyCode I_RU_CustomsDeclarationHeader CompanyCode Receiver Company Code
CustomsDeclarationType I_RU_CustomsDeclarationHeader CustomsDeclarationType Worklist Type

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_RU_ExprtCstmsDeclnNumberVH.
-- 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: IRUCCDNMRVH

CREATE VIEW I_RU_ExprtCstmsDeclnNumberVH AS
SELECT
  cast(Header.CustomsDeclaration as glo_fin_cstms_decln_int_number) AS CustomsDeclaration,
  cast( _DomainText.DomainText as glo_fin_exprt_cd_type_long) AS DomainText,
  cast(Header.CustomsOffice as glo_fin_registr_cstms_office preserving type ) AS RU_EntryCustomsOffice,
  cast(Header.RU_RegistrationInvoiceDate as glo_fin_cstms_decln_regst_date preserving type ) AS RU_RegistrationInvoiceDate,
  cast(Header.CustomsDeclarationExtNmbr as glo_fin_cstms_decln_ext_number ) AS CustomsDeclarationExtNmbr,
  Header.CompanyCode AS CompanyCode,
  Header.CustomsDeclarationType AS CustomsDeclarationType
FROM I_RU_CustomsDeclarationHeader AS Header
;