A_SalesContractItemPartner_2

DDL: A_SALESCONTRACTITEMPARTNER_2 Type: view_entity CONSUMPTION Package: P_SLSCONTR_INTEGRATION_ODATA

Item Partners

A_SalesContractItemPartner_2 is a Consumption CDS View that provides data about "Item Partners" in SAP S/4HANA. It reads from 1 data source (R_SalesContractItemPartnerTP) and exposes 12 fields with key fields SalesContract, SalesContractItem, PartnerFunction. It is exposed through 1 OData service (API_SALESCONTRACT). Part of development package P_SLSCONTR_INTEGRATION_ODATA.

Data Sources (1)

SourceAliasJoin Type
R_SalesContractItemPartnerTP R_SalesContractItemPartnerTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Item Partners view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
OData.entityType.name SalesContractItemPartner_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_SALESCONTRACT API_SALESCONTRACT V4 C2 C1

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SalesContract SalesContractItemPartner SalesContract Sales Document
KEY SalesContractItem SalesContractItemPartner SalesContractItem Item
KEY PartnerFunction
Customer SalesContractItemPartner Customer Sold-to Party
Supplier SalesContractItemPartner Supplier Supplier
Personnel SalesContractItemPartner Personnel Personnel No.
ContactPerson SalesContractItemPartner ContactPerson Contact Person Key
PartnerIsSpecificForSDDocItem SalesContractItemPartner PartnerIsSpecificForSDDocItem
SalesContractType SalesContractItemPartner SalesContractType
SalesOrganization SalesContractItemPartner SalesOrganization Sales Organization
DistributionChannel SalesContractItemPartner DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision SalesContractItemPartner OrganizationDivision Org. Division

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 A_SalesContractItemPartner_2.
-- 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 A_SalesContractItemPartner_2 AS
SELECT
  SalesContractItemPartner.SalesContract AS SalesContract,
  SalesContractItemPartner.SalesContractItem AS SalesContractItem,
  cast(SalesContractItemPartner.PartnerFunction as parvw_unv preserving type ) AS PartnerFunction,
  SalesContractItemPartner.Customer AS Customer,
  SalesContractItemPartner.Supplier AS Supplier,
  SalesContractItemPartner.Personnel AS Personnel,
  SalesContractItemPartner.ContactPerson AS ContactPerson,
  SalesContractItemPartner.PartnerIsSpecificForSDDocItem AS PartnerIsSpecificForSDDocItem,
  SalesContractItemPartner.SalesContractType AS SalesContractType,
  SalesContractItemPartner.SalesOrganization AS SalesOrganization,
  SalesContractItemPartner.DistributionChannel AS DistributionChannel,
  SalesContractItemPartner.OrganizationDivision AS OrganizationDivision
FROM R_SalesContractItemPartnerTP
;