I_RU_ImprtCstmsDeclnHdrTP

DDL: I_RU_IMPRTCSTMSDECLNHDRTP SQL: IRUIMPCSTDECLHTP Type: view TRANSACTIONAL

ImCD header transactional - TP

I_RU_ImprtCstmsDeclnHdrTP is a Transactional CDS View that provides data about "ImCD header transactional - TP" in SAP S/4HANA. It reads from 1 data source (I_RU_ImprtCstmsDeclnHdr) and exposes 12 fields with key field ImportCustomsDecln. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RU_ImprtCstmsDeclnHdr Header from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_RU_ImprtCstmsDeclnItemTP _Item $projection.ImportCustomsDecln = _Item.ImportCustomsDecln

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IRUIMPCSTDECLHTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label ImCD header transactional - TP view
AbapCatalog.preserveKey true view
VDM.viewType #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ImportCustomsDecln ImportCustomsDecln
CompanyCode CompanyCode Receiver Company Code
RU_EntryCustomsOffice RU_EntryCustomsOffice
CustomsDeclarationDate CustomsDeclarationDate
RU_CustomsDeclaration RU_CustomsDeclaration
Supplier Supplier Supplier
RU_CustomsDeclarationOrigin RU_CustomsDeclarationOrigin
RU_CustomsDeclarationType RU_CustomsDeclarationType
Currency Currency Valuation Crcy
SupplierAuthznGrp SupplierAuthznGrp Authorization
SupplierCompanyAuthznGroup SupplierCompanyAuthznGroup AuthorizGroup
_Item _Item

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_ImprtCstmsDeclnHdrTP.
-- 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: IRUIMPCSTDECLHTP

CREATE VIEW I_RU_ImprtCstmsDeclnHdrTP AS
SELECT
  ImportCustomsDecln,
  CompanyCode,
  RU_EntryCustomsOffice,
  CustomsDeclarationDate,
  RU_CustomsDeclaration,
  Supplier,
  RU_CustomsDeclarationOrigin,
  RU_CustomsDeclarationType,
  Currency,
  SupplierAuthznGrp,
  SupplierCompanyAuthznGroup
FROM I_RU_ImprtCstmsDeclnHdr AS Header
LEFT OUTER JOIN I_RU_ImprtCstmsDeclnItemTP AS _Item ON ImportCustomsDecln = _Item.ImportCustomsDecln  -- association [0..*]
;