P_SupFrtInReqTrnChgItElmPurItm

DDL: P_SUPFRTINREQTRNCHGITELMPURITM SQL: PSFTCELPOITM Type: view BASIC Package: VDM_TM_STLMNT_MIGR

SFIR TrChrgEle with SFIR Root and PO item attr

P_SupFrtInReqTrnChgItElmPurItm is a Basic CDS View that provides data about "SFIR TrChrgEle with SFIR Root and PO item attr" in SAP S/4HANA. It reads from 2 data sources (mmdoc_ext_links, P_SupFrtInReqTrnChgItElmEnrcd) and exposes 13 fields with key field TranspChargeItemElementUUID. Part of development package VDM_TM_STLMNT_MIGR.

Data Sources (2)

SourceAliasJoin Type
mmdoc_ext_links mmdoc_ext_links inner
P_SupFrtInReqTrnChgItElmEnrcd P_SupFrtInReqTrnChgItElmEnrcd from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSFTCELPOITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #BASIC view
VDM.private true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY TranspChargeItemElementUUID P_SupFrtInReqTrnChgItElmEnrcd TranspChargeItemElementUUID
mandt P_SupFrtInReqTrnChgItElmEnrcd mandt Editing Client
TransportationChargesObjUUID P_SupFrtInReqTrnChgItElmEnrcd TransportationChargesObjUUID
SuplrFrtInvcReqUUID P_SupFrtInReqTrnChgItElmEnrcd SuplrFrtInvcReqUUID
TranspChargeCalcReslnBase P_SupFrtInReqTrnChgItElmEnrcd TranspChargeCalcReslnBase
TranspChrgItmElmntResBaseKey P_SupFrtInReqTrnChgItElmEnrcd TranspChrgItmElmntResBaseKey
PurgDocExternalReference P_SupFrtInReqTrnChgItElmEnrcd PurgDocExternalReference Ext. Reference ID
SupplierFreightInvoiceRequest P_SupFrtInReqTrnChgItElmEnrcd SupplierFreightInvoiceRequest Freight Sett. Doc.
Carrier P_SupFrtInReqTrnChgItElmEnrcd Carrier Service Agent
TranspOrdLogicalSystem P_SupFrtInReqTrnChgItElmEnrcd TranspOrdLogicalSystem Source system
TranspOrdInvoicingParty P_SupFrtInReqTrnChgItElmEnrcd TranspOrdInvoicingParty Business Partner
PurchaseOrder
PurchaseOrderItem

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_SupFrtInReqTrnChgItElmPurItm.
-- 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: PSFTCELPOITM

CREATE VIEW P_SupFrtInReqTrnChgItElmPurItm AS
SELECT
  P_SupFrtInReqTrnChgItElmEnrcd.TranspChargeItemElementUUID AS TranspChargeItemElementUUID,
  P_SupFrtInReqTrnChgItElmEnrcd.mandt AS mandt,
  P_SupFrtInReqTrnChgItElmEnrcd.TransportationChargesObjUUID AS TransportationChargesObjUUID,
  P_SupFrtInReqTrnChgItElmEnrcd.SuplrFrtInvcReqUUID AS SuplrFrtInvcReqUUID,
  P_SupFrtInReqTrnChgItElmEnrcd.TranspChargeCalcReslnBase AS TranspChargeCalcReslnBase,
  P_SupFrtInReqTrnChgItElmEnrcd.TranspChrgItmElmntResBaseKey AS TranspChrgItmElmntResBaseKey,
  P_SupFrtInReqTrnChgItElmEnrcd.PurgDocExternalReference AS PurgDocExternalReference,
  P_SupFrtInReqTrnChgItElmEnrcd.SupplierFreightInvoiceRequest AS SupplierFreightInvoiceRequest,
  P_SupFrtInReqTrnChgItElmEnrcd.Carrier AS Carrier,
  P_SupFrtInReqTrnChgItElmEnrcd.TranspOrdLogicalSystem AS TranspOrdLogicalSystem,
  P_SupFrtInReqTrnChgItElmEnrcd.TranspOrdInvoicingParty AS TranspOrdInvoicingParty,
  substring(mmdoc_ext_links.businessdocumentuniqueid, 1, 10) AS PurchaseOrder,
  substring(mmdoc_ext_links.businessdocumentuniqueid, 11, 5) AS PurchaseOrderItem
FROM P_SupFrtInReqTrnChgItElmEnrcd
INNER JOIN mmdoc_ext_links ON /* join condition not captured in parsed metadata */
;