I_SuplrFrtInvcReqEnrcd

DDL: I_SUPLRFRTINVCREQENRCD Type: view BASIC

Supplier Freight Invoice Request Enriched

I_SuplrFrtInvcReqEnrcd is a Basic CDS View (Dimension) that provides data about "Supplier Freight Invoice Request Enriched" in SAP S/4HANA. It reads from 1 data source (I_SupplierFreightInvoiceReq) and exposes 40 fields with key field SuplrFrtInvcReqUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupplierFreightInvoiceReq I_SupplierFreightInvoiceReq from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_TranspChargeObjectEnrcd _TranspChargeObjectEnrcd $projection.SuplrFrtInvcReqUUID = _TranspChargeObjectEnrcd.TranspChargeHostDocumentUUID
[0..1] I_BusinessPartner _BillFromParty $projection.BillFromParty = _BillFromParty.BusinessPartner
[0..1] I_BusinessPartner _Carrier $projection.Carrier = _Carrier.BusinessPartner

Annotations (14)

NameValueLevelField
EndUserText.label Supplier Freight Invoice Request Enriched view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey SuplrFrtInvcReqUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName ISFIRENRCD view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY SuplrFrtInvcReqUUID SuplrFrtInvcReqUUID
SupplierFreightInvoiceRequest SupplierFreightInvoiceRequest Freight Sett. Doc.
SuplrFrtInvcReqType SuplrFrtInvcReqType FSD Type
SuplrFrtInvcReqCategory SuplrFrtInvcReqCategory FSD Category
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingOrgExternalID PurchasingOrgExternalID
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupExternalID PurchasingGroupExternalID
SuplrFrtInvcReqBlockReason SuplrFrtInvcReqBlockReason Block Reason
SuplrFrtInvcReqLifeCycSts SuplrFrtInvcReqLifeCycSts Step Life Cycle Sts
SuplrFrtInvcReqBlockStatus SuplrFrtInvcReqBlockStatus Bulk Storage
SuplrFrtInvcReqConstcySts SuplrFrtInvcReqConstcySts Consistency Status
SuplrFrtInvcReqArchStatus SuplrFrtInvcReqArchStatus Archiving Status
SuplrFrtInvcReqConfStatus SuplrFrtInvcReqConfStatus FSD Conf Status
InvoiceDate InvoiceDate Run On
InvoicingStatusIsInfluenced InvoicingStatusIsInfluenced Influence Inv. Sts
BillFromPartyUUID BillFromPartyUUID
BillFromParty
BillFromPtyAuthorizationGroup
BillFromPtyBusPrpsIsCompleted
CarrierUUID CarrierUUID
Carrier
CarrierAuthorizationGroup
CarrierBusPurposeIsCompleted
_SuplrFrtInvcReqArchStatus _SuplrFrtInvcReqArchStatus
_BillFromPartyByInternalKey _BillFromPartyByInternalKey
_BillFromParty _BillFromParty
_SuplrFrtInvcReqBlockReason _SuplrFrtInvcReqBlockReason
_SuplrFrtInvcReqBlockStatus _SuplrFrtInvcReqBlockStatus
_CarrierByInternalKey _CarrierByInternalKey
_Carrier _Carrier
_InvoiceDate _InvoiceDate
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_SuplrFrtInvcReqCategory _SuplrFrtInvcReqCategory
_SuplrFrtInvcReqConfStatus _SuplrFrtInvcReqConfStatus
_SuplrFrtInvcReqConstcySts _SuplrFrtInvcReqConstcySts
_SuplrFrtInvcReqLifeCycSts _SuplrFrtInvcReqLifeCycSts
_SuplrFrtInvcReqType _SuplrFrtInvcReqType
_TranspChargeObjectEnrcd _TranspChargeObjectEnrcd

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_SuplrFrtInvcReqEnrcd.
-- 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_SuplrFrtInvcReqEnrcd AS
SELECT
  SuplrFrtInvcReqUUID,
  SupplierFreightInvoiceRequest,
  SuplrFrtInvcReqType,
  SuplrFrtInvcReqCategory,
  PurchasingOrganization,
  PurchasingOrgExternalID,
  PurchasingGroup,
  PurchasingGroupExternalID,
  SuplrFrtInvcReqBlockReason,
  SuplrFrtInvcReqLifeCycSts,
  SuplrFrtInvcReqBlockStatus,
  SuplrFrtInvcReqConstcySts,
  SuplrFrtInvcReqArchStatus,
  SuplrFrtInvcReqConfStatus,
  InvoiceDate,
  InvoicingStatusIsInfluenced,
  BillFromPartyUUID,
  cast(_BillFromPartyByInternalKey.BusinessPartner as /scmtms/sfir_inv_billfromparty preserving type) AS BillFromParty,
  cast(_BillFromPartyByInternalKey.AuthorizationGroup as /scmtms/vdm_billfrpty_auth_grp preserving type) AS BillFromPtyAuthorizationGroup,
  cast(_BillFromPartyByInternalKey.IsBusinessPurposeCompleted as /scmtms/vdm_billfrpty_xpcpt preserving type) AS BillFromPtyBusPrpsIsCompleted,
  CarrierUUID,
  cast(_CarrierByInternalKey.BusinessPartner as /scmtms/pty_carrier preserving type) AS Carrier,
  cast(_CarrierByInternalKey.AuthorizationGroup as /scmtms/vdm_carrier_auth_grp preserving type) AS CarrierAuthorizationGroup,
  cast(_CarrierByInternalKey.IsBusinessPurposeCompleted as /scmtms/vdm_carrier_xpcpt preserving type) AS CarrierBusPurposeIsCompleted
FROM I_SupplierFreightInvoiceReq
LEFT OUTER JOIN I_TranspChargeObjectEnrcd AS _TranspChargeObjectEnrcd ON SuplrFrtInvcReqUUID = _TranspChargeObjectEnrcd.TranspChargeHostDocumentUUID  -- association [0..*]
LEFT OUTER JOIN I_BusinessPartner AS _BillFromParty ON BillFromParty = _BillFromParty.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _Carrier ON Carrier = _Carrier.BusinessPartner  -- association [0..1]
;