I_BR_SINFPosted
List Posted Shipment NF
I_BR_SINFPosted is a Composite CDS View that provides data about "List Posted Shipment NF" in SAP S/4HANA. It reads from 1 data source (I_BR_NFDocument) and exposes 13 fields with key fields BR_NotaFiscal, BR_NFReferenceDocument. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BR_NFDocument | Document | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BR_SINFDocument | _BR_SINFDocument | $projection.BR_NFReferenceDocument = _BR_SINFDocument.BR_NotaFiscal |
| [1..1] | I_BR_NFeActive | _BR_NFeActive | $projection.BR_NotaFiscal = _BR_NFeActive.BR_NotaFiscal |
| [0..1] | I_BR_BusinessPlace_C | _BR_BusinessPlace | _BR_BusinessPlace.Branch = $projection.BusinessPlace and _BR_BusinessPlace.CompanyCode = Document.CompanyCode |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | List Posted Shipment NF | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.status | #DECOMMISSIONED | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BR_NotaFiscal | I_BR_NFDocument | BR_NotaFiscal | Nota Fiscal |
| KEY | BR_NFReferenceDocument | |||
| BR_NFReceiverID | ||||
| BusinessPlaceName | _BR_BusinessPlace | BusinessPlaceName | ||
| BusinessPlace | I_BR_NFDocument | BusinessPlace | Business place | |
| SalesDocumentCurrency | I_BR_NFDocument | SalesDocumentCurrency | Currency | |
| BR_NFTotalAmount | ||||
| CompanyCode | I_BR_NFDocument | CompanyCode | Receiver Company Code | |
| CompanyCodeName | I_BR_NFDocument | CompanyCodeName | Company Name | |
| CompanyCodeDescription | ||||
| IsBusinessPurposeCompleted | I_BR_NFDocument | IsBusinessPurposeCompleted | Purpose Completed | |
| _BR_SINFPostedHeader | _BR_SINFPostedHeader | |||
| _BR_SINFDocument | _BR_SINFDocument |
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_SINFPosted.
-- 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_SINFPosted AS
SELECT
Document.BR_NotaFiscal AS BR_NotaFiscal,
cast( lpad( Document.BR_NFReferenceDocument, 10, '0' ) as logbr_docnum ) AS BR_NFReferenceDocument,
cast( Document.BusinessPlace as logbr_nfreceivercode) AS BR_NFReceiverID,
_BR_BusinessPlace.BusinessPlaceName AS BusinessPlaceName,
Document.BusinessPlace AS BusinessPlace,
Document.SalesDocumentCurrency AS SalesDocumentCurrency,
cast(Document.BR_NFTotalAmount as logbr_nftotalamount preserving type) AS BR_NFTotalAmount,
Document.CompanyCode AS CompanyCode,
Document.CompanyCodeName AS CompanyCodeName,
cast(concat_with_space(Document.CompanyCodeName, concat( concat('(', Document.CompanyCode), ')') , 1) as logbr_companycode ) AS CompanyCodeDescription,
Document.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM I_BR_NFDocument AS Document
LEFT OUTER JOIN I_BR_SINFDocument AS _BR_SINFDocument ON BR_NFReferenceDocument = _BR_SINFDocument.BR_NotaFiscal -- association [1..1]
LEFT OUTER JOIN I_BR_NFeActive AS _BR_NFeActive ON BR_NotaFiscal = _BR_NFeActive.BR_NotaFiscal -- association [1..1]
LEFT OUTER JOIN I_BR_BusinessPlace_C AS _BR_BusinessPlace ON _BR_BusinessPlace.Branch = BusinessPlace AND _BR_BusinessPlace.CompanyCode = Document.CompanyCode -- 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