I_RU_ImprtCstmsDeclnHdrBasic

DDL: I_RU_IMPRTCSTMSDECLNHDRBASIC SQL: IRUIMPCSTDECLHB Type: view BASIC Package: GLO_FIN_IS_RU_FOREIGN_TRADE

Import Customs Declaration Header basic

I_RU_ImprtCstmsDeclnHdrBasic is a Basic CDS View that provides data about "Import Customs Declaration Header basic" in SAP S/4HANA. It reads from 1 data source (j_3rfgtd_header) and exposes 9 fields with key field ImportCustomsDecln. Part of development package GLO_FIN_IS_RU_FOREIGN_TRADE.

Data Sources (1)

SourceAliasJoin Type
j_3rfgtd_header j_3rfgtd_header from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IRUIMPCSTDECLHB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
EndUserText.label Import Customs Declaration Header basic view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ImportCustomsDecln gtd_id Int. CustDecl No
CompanyCode bukrs Value
RU_EntryCustomsOffice customs Customs Status
CustomsDeclarationDate gtddate Cust. Decl. Date
RU_CustomsDeclaration gtdnumber Cust. Decl. No.
Supplier lifnr Vendor no.
RU_CustomsDeclarationOrigin gtdtype CDec Origin
RU_CustomsDeclarationType type Worklist Type
Currency waers Transaction 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 I_RU_ImprtCstmsDeclnHdrBasic.
-- 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: IRUIMPCSTDECLHB

CREATE VIEW I_RU_ImprtCstmsDeclnHdrBasic AS
SELECT
  gtd_id AS ImportCustomsDecln,
  bukrs AS CompanyCode,
  customs AS RU_EntryCustomsOffice,
  gtddate AS CustomsDeclarationDate,
  gtdnumber AS RU_CustomsDeclaration,
  lifnr AS Supplier,
  gtdtype AS RU_CustomsDeclarationOrigin,
  type AS RU_CustomsDeclarationType,
  waers AS Currency
FROM j_3rfgtd_header
;