P_CollabnApplCarrInvcReqItem

DDL: P_COLLABNAPPLCARRINVCREQITEM Type: view_entity CONSUMPTION

Carrier Invoice Items

P_CollabnApplCarrInvcReqItem is a Consumption CDS View that provides data about "Carrier Invoice Items" in SAP S/4HANA. It reads from 8 data sources and exposes 7 fields with key field TransportationOrderUUID.

Data Sources (8)

SourceAliasJoin Type
I_TMBusinessPartnerByIntKey Carrier inner
P_CollabnApplCarrierUser CarrierUser inner
P_CollabnApplFrtOrdParty CollabnApplAddlAgrmtPty inner
I_SuplrFrtInvcRequestItem InvoiceRequestItem from
I_SupplierFreightInvoiceReq SupplierFreightInvoiceReq inner
I_TranspChargeItemElement TranspChargeElement inner
I_TranspChargeItem TranspChargeItem inner
I_TranspChargeObject TranspChargeObject inner

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Carrier Invoice Items view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TransportationOrderUUID I_SuplrFrtInvcRequestItem TransportationOrderUUID NodeID
SuplrFrtInvcReqUUID I_SuplrFrtInvcRequestItem SuplrFrtInvcReqUUID UUID
InvoicedAmount
InvoicedAmountCurrency I_TranspChargeItemElement InvoicedAmountCurrency
CreditAmount
CreditAmountCurrency I_TranspChargeItemElement CreditAmountCurrency
SuplrFrtInvcReqCategory I_SupplierFreightInvoiceReq SuplrFrtInvcReqCategory FSD Category

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_CollabnApplCarrInvcReqItem.
-- 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 P_CollabnApplCarrInvcReqItem AS
SELECT
  InvoiceRequestItem.TransportationOrderUUID AS TransportationOrderUUID,
  InvoiceRequestItem.SuplrFrtInvcReqUUID AS SuplrFrtInvcReqUUID,
  sum( TranspChargeElement.InvoicedAmount ) AS InvoicedAmount,
  TranspChargeElement.InvoicedAmountCurrency AS InvoicedAmountCurrency,
  sum( TranspChargeElement.CreditAmount ) AS CreditAmount,
  TranspChargeElement.CreditAmountCurrency AS CreditAmountCurrency,
  SupplierFreightInvoiceReq.SuplrFrtInvcReqCategory AS SuplrFrtInvcReqCategory
FROM I_SuplrFrtInvcRequestItem AS InvoiceRequestItem
INNER JOIN I_SupplierFreightInvoiceReq AS SupplierFreightInvoiceReq ON /* join condition not captured in parsed metadata */
INNER JOIN P_CollabnApplFrtOrdParty AS CollabnApplAddlAgrmtPty ON /* join condition not captured in parsed metadata */
INNER JOIN I_TranspChargeObject AS TranspChargeObject ON /* join condition not captured in parsed metadata */
INNER JOIN I_TranspChargeItem AS TranspChargeItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_TranspChargeItemElement AS TranspChargeElement ON /* join condition not captured in parsed metadata */
INNER JOIN I_TMBusinessPartnerByIntKey AS Carrier ON /* join condition not captured in parsed metadata */
INNER JOIN P_CollabnApplCarrierUser AS CarrierUser ON /* join condition not captured in parsed metadata */
;