R_StockTransportOrderPartner

DDL: R_STOCKTRANSPORTORDERPARTNER Type: view_entity BASIC Package: VDM_MM_STO

Partner for Stock Transport Order

R_StockTransportOrderPartner is a Basic CDS View that provides data about "Partner for Stock Transport Order" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocumentPartner, R_StockTransportOrder) and exposes 22 fields with key fields StockTransportOrder, PartnerFunction. Part of development package VDM_MM_STO.

Data Sources (2)

SourceAliasJoin Type
I_PurchasingDocumentPartner Partner from
R_StockTransportOrder StockTransportOrder inner

Annotations (9)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey PartnerFunction view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Partner for Stock Transport Order view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY StockTransportOrder
KEY PartnerFunction
SupplierSubrange I_PurchasingDocumentPartner SupplierSubrange Suppl. Subrange
Plant I_PurchasingDocumentPartner Plant Valuation Area
PurchasingOrganization I_PurchasingDocumentPartner PurchasingOrganization Purchasing Organization
PartnerCounter I_PurchasingDocumentPartner PartnerCounter Partner counter
CreatedByUser I_PurchasingDocumentPartner CreatedByUser User Name
CreationDate I_PurchasingDocumentPartner CreationDate Time Stamp
PurchasingDocumentPartnerType I_PurchasingDocumentPartner PurchasingDocumentPartnerType Partner Type
Supplier I_PurchasingDocumentPartner Supplier Supplier
SupplierHierarchyCategory I_PurchasingDocumentPartner SupplierHierarchyCategory Hierarchy Cat.
SupplierContact I_PurchasingDocumentPartner SupplierContact Contact Person
PersonWorkAgreement I_PurchasingDocumentPartner PersonWorkAgreement Personnel No.
DefaultPartner I_PurchasingDocumentPartner DefaultPartner Default Partner
_StockTransportOrder _StockTransportOrder
_PurchasingOrganization I_PurchasingDocumentPartner _PurchasingOrganization
_Plant I_PurchasingDocumentPartner _Plant
_PartnerFunction I_PurchasingDocumentPartner _PartnerFunction
_PartnerFunctionText I_PurchasingDocumentPartner _PartnerFunctionText
_Supplier I_PurchasingDocumentPartner _Supplier
_SupplierContact I_PurchasingDocumentPartner _SupplierContact
_PersonWorkAgreement I_PurchasingDocumentPartner _PersonWorkAgreement

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 R_StockTransportOrderPartner.
-- 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 R_StockTransportOrderPartner AS
SELECT
  cast(Partner.PurchasingDocument as vdm_stocktransportorder preserving type) AS StockTransportOrder,
  cast(Partner.PartnerFunction as parvw_unv preserving type) AS PartnerFunction,
  Partner.SupplierSubrange AS SupplierSubrange,
  Partner.Plant AS Plant,
  Partner.PurchasingOrganization AS PurchasingOrganization,
  Partner.PartnerCounter AS PartnerCounter,
  Partner.CreatedByUser AS CreatedByUser,
  Partner.CreationDate AS CreationDate,
  Partner.PurchasingDocumentPartnerType AS PurchasingDocumentPartnerType,
  Partner.Supplier AS Supplier,
  Partner.SupplierHierarchyCategory AS SupplierHierarchyCategory,
  Partner.SupplierContact AS SupplierContact,
  Partner.PersonWorkAgreement AS PersonWorkAgreement,
  Partner.DefaultPartner AS DefaultPartner,
  Partner._PurchasingOrganization AS _PurchasingOrganization,
  Partner._Plant AS _Plant,
  Partner._PartnerFunction AS _PartnerFunction,
  Partner._PartnerFunctionText AS _PartnerFunctionText,
  Partner._Supplier AS _Supplier,
  Partner._SupplierContact AS _SupplierContact,
  Partner._PersonWorkAgreement AS _PersonWorkAgreement
FROM I_PurchasingDocumentPartner AS Partner
INNER JOIN R_StockTransportOrder AS StockTransportOrder ON /* join condition not captured in parsed metadata */
;