I_RU_ImprtCstmsDeclnItemTP
ImCD items transactional - TP
I_RU_ImprtCstmsDeclnItemTP is a Transactional CDS View that provides data about "ImCD items transactional - TP" in SAP S/4HANA. It reads from 1 data source (I_RU_ImprtCstmsDeclnItem) and exposes 40 fields with key fields ImportCustomsDecln, ImportCustomsDeclnItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RU_ImprtCstmsDeclnItem | Item | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_RU_ImprtCstmsDeclnHdrTP | _Header | $projection.ImportCustomsDecln = _Header.ImportCustomsDecln |
Annotations (25)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRUIMPCSTDECLITP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | ImCD items transactional - TP | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | ImportCustomsDecln | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeActivePersistence | FIRUV_IMCD_ITEM | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.writeDraftPersistence | FIRUD_IMCD_ITM_D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.lifecycle.enqueue.expiryBehavior | #RELATIVE_TO_LAST_CHANGE | view | |
| ObjectModel.lifecycle.enqueue.expiryInterval | PT15M | view | |
| ObjectModel.lifecycle.processing.expiryBehavior | #RELATIVE_TO_LAST_CHANGE | view | |
| ObjectModel.lifecycle.processing.expiryInterval | PT15M | view | |
| ObjectModel.entityChangeStateId | CustomsDeclnChangedDateTime | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ImportCustomsDecln | ImportCustomsDecln | Int. CustDecl No | |
| KEY | ImportCustomsDeclnItem | ImportCustomsDeclnItem | WBS Element | |
| ImportCustomsDeclnPrintItem | ImportCustomsDeclnPrintItem | Customs Dec. Item No | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| MaterialDocument | MaterialDocument | Material Doc. | ||
| MaterialDocumentYear | MaterialDocumentYear | Material Document Year | ||
| MaterialDocumentItem | MaterialDocumentItem | Material Document Item | ||
| InboundDelivery | InboundDelivery | LE Delivery | ||
| InboundDeliveryItem | InboundDeliveryItem | Item | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| OriginCountry | OriginCountry | C/R of Origin | ||
| Quantity | Quantity | Value | ||
| BaseUnitofMeasure | BaseUnitofMeasure | Base Unit | ||
| Material | Material | Vehicle Model | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CustomsDeclnCreatedDateTime | CustomsDeclnCreatedDateTime | Cust. Decl. Creation | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CustomsDeclnChangedDateTime | CustomsDeclnChangedDateTime | Time Stamp | ||
| CompanyCode | _Header | CompanyCode | Receiver Company Code | |
| RU_EntryCustomsOffice | _Header | RU_EntryCustomsOffice | ||
| CustomsDeclarationDate | _Header | CustomsDeclarationDate | ||
| RU_CustomsDeclaration | _Header | RU_CustomsDeclaration | ||
| Supplier | _Header | Supplier | Supplier | |
| RU_CustomsDeclarationOrigin | _Header | RU_CustomsDeclarationOrigin | ||
| RU_CustomsDeclarationType | _Header | RU_CustomsDeclarationType | ||
| Currency | _Header | Currency | Valuation Crcy | |
| SupplierAuthznGrp | _Header | SupplierAuthznGrp | Authorization | |
| SupplierCompanyAuthznGroup | _Header | SupplierCompanyAuthznGroup | ||
| CompanyCodeForEdit | _Header | CompanyCode | Receiver Company Code | |
| RU_EntryCustomsOfficeForEdit | _Header | RU_EntryCustomsOffice | ||
| ForEditCustomsDeclarationDate | _Header | CustomsDeclarationDate | ||
| RU_CustomsDeclarationForEdit | _Header | RU_CustomsDeclaration | ||
| SupplierForEdit | _Header | Supplier | Supplier | |
| RU_CustomsDeclnOriginForEdit | _Header | RU_CustomsDeclarationOrigin | ||
| RU_CustomsDeclnTypeForEdit | _Header | RU_CustomsDeclarationType | ||
| IsBlocked | ||||
| SupplierName | ||||
| MaterialName |
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_ImprtCstmsDeclnItemTP.
-- 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: IRUIMPCSTDECLITP
CREATE VIEW I_RU_ImprtCstmsDeclnItemTP AS
SELECT
ImportCustomsDecln,
ImportCustomsDeclnItem,
ImportCustomsDeclnPrintItem,
PurchaseOrder,
PurchaseOrderItem,
MaterialDocument,
MaterialDocumentYear,
MaterialDocumentItem,
InboundDelivery,
InboundDeliveryItem,
PurchasingDocument,
PurchasingDocumentItem,
OriginCountry,
Quantity,
BaseUnitofMeasure,
Material,
CreatedByUser,
CustomsDeclnCreatedDateTime,
LastChangedByUser,
CustomsDeclnChangedDateTime,
_Header.CompanyCode AS CompanyCode,
_Header.RU_EntryCustomsOffice AS RU_EntryCustomsOffice,
_Header.CustomsDeclarationDate AS CustomsDeclarationDate,
_Header.RU_CustomsDeclaration AS RU_CustomsDeclaration,
_Header.Supplier AS Supplier,
_Header.RU_CustomsDeclarationOrigin AS RU_CustomsDeclarationOrigin,
_Header.RU_CustomsDeclarationType AS RU_CustomsDeclarationType,
_Header.Currency AS Currency,
_Header.SupplierAuthznGrp AS SupplierAuthznGrp,
_Header.SupplierCompanyAuthznGroup AS SupplierCompanyAuthznGroup,
_Header.CompanyCode AS CompanyCodeForEdit,
_Header.RU_EntryCustomsOffice AS RU_EntryCustomsOfficeForEdit,
_Header.CustomsDeclarationDate AS ForEditCustomsDeclarationDate,
_Header.RU_CustomsDeclaration AS RU_CustomsDeclarationForEdit,
_Header.Supplier AS SupplierForEdit,
_Header.RU_CustomsDeclarationOrigin AS RU_CustomsDeclnOriginForEdit,
_Header.RU_CustomsDeclarationType AS RU_CustomsDeclnTypeForEdit,
cast('0' as char1) AS IsBlocked,
cast('' as suppliername ) AS SupplierName,
cast('' as maktx ) AS MaterialName
FROM I_RU_ImprtCstmsDeclnItem AS Item
LEFT OUTER JOIN I_RU_ImprtCstmsDeclnHdrTP AS _Header ON ImportCustomsDecln = _Header.ImportCustomsDecln -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA