I_BR_CINFImportDeclaration
Import Declaration for Create Import NF
I_BR_CINFImportDeclaration is a Basic CDS View that provides data about "Import Declaration for Create Import NF" in SAP S/4HANA. It reads from 1 data source (logbr_impnf_attr) and exposes 23 fields with key field CustomsDeclarationUUID. It has 5 associations to related views. Part of development package GLO_LOG_BR_FT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| logbr_impnf_attr | logbr_impnf_attr | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
| [0..*] | I_BR_CINFPreview | _NFImportPreview | |
| [0..*] | I_BR_CINFImportDeclnTotalCost | _ImportDeclnTotalCost | |
| [0..*] | I_BR_CINFImportDeclarationItem | _ImportDeclarationItem | |
| [0..1] | I_BR_CINFPostedHeader | _NFPostedHeader | |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Import Declaration for Create Import NF | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.status | #DECOMMISSIONED | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomsDeclarationUUID | |||
| CustomsDeclaration | ||||
| CustomsDeclarationYear | ||||
| BR_NFImportDocument | ||||
| ForeignTradeOrganization | ||||
| ForeignTradeOrganizationName | ||||
| LegalUnit | ||||
| LegalUnitName | ||||
| BR_NFImportDocRegistrationDate | ||||
| BR_NFIssuerNameFrmtdDesc | ||||
| Currency | ||||
| CustomsDutyAmount | ||||
| BR_NFCustomsClearanceDesc | ||||
| BR_NFCstmsClearanceTaxRegDesc | ||||
| DepartureCountry | ||||
| DepartureCountryName | ||||
| CompanyCode | ||||
| BusinessPlace | ||||
| _NFImportPreview | _NFImportPreview | |||
| _ImportDeclnTotalCost | _ImportDeclnTotalCost | |||
| _ImportDeclarationItem | _ImportDeclarationItem | |||
| _NFPostedHeader | _NFPostedHeader | |||
| _Currency | _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_BR_CINFImportDeclaration.
-- 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.
CREATE VIEW I_BR_CINFImportDeclaration AS
SELECT
cast( hextobin( '00000000000000000000000000000000' ) as logbr_guid_cuhd ) AS CustomsDeclarationUUID,
cast( '' as logbr_cuorno ) AS CustomsDeclaration,
cast( '' as logbr_nryear ) AS CustomsDeclarationYear,
cast( '' as logbr_import_decln_number ) AS BR_NFImportDocument,
cast( '' as logbr_ftorg ) AS ForeignTradeOrganization,
cast( '' as logbr_ftorgname ) AS ForeignTradeOrganizationName,
cast( '' as logbr_ftvbs ) AS LegalUnit,
cast( '' as logbr_ftvbsname) AS LegalUnitName,
cast( '' as logbr_nfregistrationdate ) AS BR_NFImportDocRegistrationDate,
cast( '' as logbr_ftissuername ) AS BR_NFIssuerNameFrmtdDesc,
cast( '' as waers_curc ) AS Currency,
cast( 0 as logbr_amnt_cus_total ) AS CustomsDutyAmount,
cast( '' as logbr_customsclearance ) AS BR_NFCustomsClearanceDesc,
cast( '' as logbr_imp_dec_clear_reg_w_desc ) AS BR_NFCstmsClearanceTaxRegDesc,
cast( '' as logbr_ctydp ) AS DepartureCountry,
cast( '' as logbr_ctydp_desc ) AS DepartureCountryName,
cast( '' as bukrs ) AS CompanyCode,
cast( '' as logbr_branc_ ) AS BusinessPlace
FROM logbr_impnf_attr
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency -- association [1..1]
LEFT OUTER JOIN I_BR_CINFPreview AS _NFImportPreview ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN I_BR_CINFImportDeclnTotalCost AS _ImportDeclnTotalCost ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN I_BR_CINFImportDeclarationItem AS _ImportDeclarationItem ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN I_BR_CINFPostedHeader AS _NFPostedHeader ON /* condition not available in parsed metadata */ -- association [0..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