P_CollabnApplCarrierInvoice
Carrier Invoices
P_CollabnApplCarrierInvoice is a Consumption CDS View that provides data about "Carrier Invoices" in SAP S/4HANA. It reads from 2 data sources (P_CollabnApplCarrierUser, P_CollabnApplFrtOrdParty) and exposes 20 fields with key field SuplrFrtInvcReqUUID. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_CollabnApplCarrierUser | CarrierUser | inner |
| P_CollabnApplFrtOrdParty | CollabnApplAddlAgrmtPty | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _PurchasingCompanyCode | $projection.PurgOrgCompanyCode = _PurchasingCompanyCode.CompanyCode |
| [0..1] | I_TranspChargeObject | _TranspChargeObject | $projection.SuplrFrtInvcReqUUID = _TranspChargeObject.TranspChargeHostDocumentUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCOLLCARRINVC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| EndUserText.label | Carrier Invoices | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SuplrFrtInvcReqUUID | SupplierFreightInvoice | SuplrFrtInvcReqUUID | |
| SupplierFreightInvoiceRequest | ||||
| SuplrFrtInvcReqType | SupplierFreightInvoice | SuplrFrtInvcReqType | ||
| SuplrFrtInvcReqCategory | SupplierFreightInvoice | SuplrFrtInvcReqCategory | ||
| PurchasingOrgExternalID | SupplierFreightInvoice | PurchasingOrgExternalID | ||
| PurchasingGroupExternalID | SupplierFreightInvoice | PurchasingGroupExternalID | ||
| CarrierBusPurposeIsCompleted | SupplierFreightInvoice | CarrierBusPurposeIsCompleted | ||
| BillFromPtyBusPrpsIsCompleted | SupplierFreightInvoice | BillFromPtyBusPrpsIsCompleted | ||
| PayeeBusPurposeIsCompleted | SupplierFreightInvoice | PayeeBusPurposeIsCompleted | ||
| InvoiceDate | SupplierFreightInvoice | InvoiceDate | Run On | |
| FrtCarrInvcID | SupplierFreightInvoice | FrtCarrInvcID | ||
| CarrierUUID | SupplierFreightInvoice | CarrierUUID | ||
| Coll_Carrier | P_CollabnApplFrtOrdParty | Coll_Carrier | ||
| BusinessPartnerUUID | P_CollabnApplFrtOrdParty | BusinessPartnerUUID | UUID | |
| BusinessPartnerCompany | P_CollabnApplCarrierUser | BusinessPartnerCompany | Busn. Partner | |
| PaymentTerms | SupplierFreightInvoice | PaymentTerms | Pyt Terms | |
| TranspChrgNetAmtInDocCrcy | _TranspChargeObject | TranspChrgNetAmtInDocCrcy | ||
| TranspChargeDocumentCurrency | _TranspChargeObject | TranspChargeDocumentCurrency | ||
| PurgOrgCompanyCode | SupplierFreightInvoice | PurgOrgCompanyCode | ||
| _PurchasingCompanyCode | _PurchasingCompanyCode |
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 P_CollabnApplCarrierInvoice.
-- 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: PCOLLCARRINVC
CREATE VIEW P_CollabnApplCarrierInvoice AS
SELECT
SupplierFreightInvoice.SuplrFrtInvcReqUUID AS SuplrFrtInvcReqUUID,
ltrim(SupplierFreightInvoice.SupplierFreightInvoiceRequest, '0' ) AS SupplierFreightInvoiceRequest,
SupplierFreightInvoice.SuplrFrtInvcReqType AS SuplrFrtInvcReqType,
SupplierFreightInvoice.SuplrFrtInvcReqCategory AS SuplrFrtInvcReqCategory,
SupplierFreightInvoice.PurchasingOrgExternalID AS PurchasingOrgExternalID,
SupplierFreightInvoice.PurchasingGroupExternalID AS PurchasingGroupExternalID,
SupplierFreightInvoice.CarrierBusPurposeIsCompleted AS CarrierBusPurposeIsCompleted,
SupplierFreightInvoice.BillFromPtyBusPrpsIsCompleted AS BillFromPtyBusPrpsIsCompleted,
SupplierFreightInvoice.PayeeBusPurposeIsCompleted AS PayeeBusPurposeIsCompleted,
SupplierFreightInvoice.InvoiceDate AS InvoiceDate,
SupplierFreightInvoice.FrtCarrInvcID AS FrtCarrInvcID,
SupplierFreightInvoice.CarrierUUID AS CarrierUUID,
CollabnApplAddlAgrmtPty.Coll_Carrier AS Coll_Carrier,
CollabnApplAddlAgrmtPty.BusinessPartnerUUID AS BusinessPartnerUUID,
CarrierUser.BusinessPartnerCompany AS BusinessPartnerCompany,
SupplierFreightInvoice.PaymentTerms AS PaymentTerms,
_TranspChargeObject.TranspChrgNetAmtInDocCrcy AS TranspChrgNetAmtInDocCrcy,
_TranspChargeObject.TranspChargeDocumentCurrency AS TranspChargeDocumentCurrency,
SupplierFreightInvoice.PurgOrgCompanyCode AS PurgOrgCompanyCode
INNER JOIN P_CollabnApplFrtOrdParty AS CollabnApplAddlAgrmtPty ON /* join condition not captured in parsed metadata */
INNER JOIN P_CollabnApplCarrierUser AS CarrierUser ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _PurchasingCompanyCode ON PurgOrgCompanyCode = _PurchasingCompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_TranspChargeObject AS _TranspChargeObject ON SuplrFrtInvcReqUUID = _TranspChargeObject.TranspChargeHostDocumentUUID -- 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