I_BR_CINFPreviewImportDecln
Imp Decln Preview from Create Import NF
I_BR_CINFPreviewImportDecln is a Basic CDS View that provides data about "Imp Decln Preview from Create Import NF" in SAP S/4HANA. It reads from 1 data source (logbr_impnf_attr) and exposes 21 fields with key fields CustomsDeclarationUUID, BR_NotaFiscal. It has 2 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 (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BR_CINFImportDeclaration | _ImportDeclaration | $projection.CustomsDeclarationUUID = _ImportDeclaration.CustomsDeclarationUUID |
| [1..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Imp Decln Preview from Create Import NF | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.status | #DECOMMISSIONED | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomsDeclarationUUID | |||
| KEY | BR_NotaFiscal | |||
| BR_NFImportDocument | ||||
| BR_NFImportDocRegistrationDate | ||||
| BR_NFCustomsClearanceDate | ||||
| BR_NFCustomsClearanceDesc | ||||
| BR_NFCstmsClearanceTaxRegDesc | ||||
| BR_NFExporter | ||||
| BR_NFImportDeclarationType | ||||
| BR_NFImportDeclarationTypeDesc | ||||
| BR_NFImpDocMeansOfTransport | ||||
| BR_NFImpDocMnsOfTransptDesc | ||||
| Currency | ||||
| BR_NFMaritimeFreightAmount | ||||
| BR_NFIntermediateMode | ||||
| BR_NFIntermediateModeDesc | ||||
| NFPartnerRegistrationFrmtd | ||||
| BR_NFThirdPartyRegion | ||||
| _NFImportPreview | _NFImportPreview | |||
| _ImportDeclaration | _ImportDeclaration | |||
| _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_CINFPreviewImportDecln.
-- 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_CINFPreviewImportDecln AS
SELECT
cast( hextobin( '00000000000000000000000000000000' ) as logbr_guid_cuhd ) AS CustomsDeclarationUUID,
cast( '' as logbr_docnum ) AS BR_NotaFiscal,
cast( '' as logbr_import_decln_number ) AS BR_NFImportDocument,
cast( '' as logbr_nfregistrationdate ) AS BR_NFImportDocRegistrationDate,
cast( '' as logbr_impdoc_clearance_date ) AS BR_NFCustomsClearanceDate,
cast( '' as logbr_customsclearance ) AS BR_NFCustomsClearanceDesc,
cast( '' as logbr_imp_dec_clear_reg_w_desc ) AS BR_NFCstmsClearanceTaxRegDesc,
cast( '' as logbr_nfe_exporter_code ) AS BR_NFExporter,
cast( '' as logbr_declarationtype ) AS BR_NFImportDeclarationType,
cast( '' as logbr_imp_decl_type_desc ) AS BR_NFImportDeclarationTypeDesc,
cast( '' as j_1bnfe_imp_transport_mode ) AS BR_NFImpDocMeansOfTransport,
cast( '' as logbr_imp_transport_mode_desc ) AS BR_NFImpDocMnsOfTransptDesc,
cast( '' as waerk ) AS Currency,
cast( 0 as j_1bnfe_imp_maritime_freight ) AS BR_NFMaritimeFreightAmount,
cast( '' as j_1bnfe_imp_intermediate_mode ) AS BR_NFIntermediateMode,
cast( '' as logbr_imp_interm_mode_desc ) AS BR_NFIntermediateModeDesc,
cast( '' as logbr_formatted_cnpj ) AS NFPartnerRegistrationFrmtd,
cast( '' as j_1bnfe_imp_region ) AS BR_NFThirdPartyRegion
FROM logbr_impnf_attr
LEFT OUTER JOIN I_BR_CINFImportDeclaration AS _ImportDeclaration ON CustomsDeclarationUUID = _ImportDeclaration.CustomsDeclarationUUID -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency -- 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