I_PurContractPartnerFunctionVH

DDL: I_PURCONTRACTPARTNERFUNCTIONVH SQL: IPCPARTNFUNCTVH Type: view BASIC

Pur. Contr. Partner Function Value Help

I_PurContractPartnerFunctionVH is a Basic CDS View that provides data about "Pur. Contr. Partner Function Value Help" in SAP S/4HANA. It reads from 3 data sources (I_PartFuncByPartDetnProced, tpar, t161) and exposes 9 fields with key fields PurchasingDocumentType, PartnerSchema, PartnerFunction. It has 3 associations to related views. It is exposed through 1 OData service (UI_PPS_PURCHASE_CONTRACT).

Data Sources (3)

SourceAliasJoin Type
I_PartFuncByPartDetnProced function inner
tpar functiondetail inner
t161 schema from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_PartnerFunctionText _PartnerFunctionText _PartnerFunctionText.PartnerFunction = $projection.PartnerFunction and _PartnerFunctionText.Language = $session.system_language
[0..1] I_PartnerTypeText _PartnerTypeText _PartnerTypeText.PurchasingDocumentPartnerType = $projection.PurchasingDocumentPartnerType and _PartnerTypeText.Language = $session.system_language
[0..1] I_PurchasingDocumentType _PurchasingDocumentType _PurchasingDocumentType.PurchasingDocumentType = $projection.PurchasingDocumentType and _PurchasingDocumentType.PurchasingDocumentCategory = 'K'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPCPARTNFUNCTVH view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Pur. Contr. Partner Function Value Help view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PPS_PURCHASE_CONTRACT UI_PPS_PURCHASE_CONTRACT_2 V2 C1 NOT_RELEASED

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType t161 bsart Stnd purch.ord.
KEY PartnerSchema t161 pargr Partner Det.Prc
KEY PartnerFunction I_PartFuncByPartDetnProced PartnerFunction Partner Functn
PartnerFunctionLanguageDepdnt Partner Function
PartnerFunctionName _PartnerFunctionText PartnerFunctionName Name
PartnerFunctionIsUnique tpar stein Unique
PurchasingDocumentPartnerType tpar nrart Partner Type
PurgDocumentPartnerTypeName _PartnerTypeText PurgDocumentPartnerTypeName
_PurchasingDocumentType _PurchasingDocumentType

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_PurContractPartnerFunctionVH.
-- 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: IPCPARTNFUNCTVH

CREATE VIEW I_PurContractPartnerFunctionVH AS
SELECT
  schema.bsart AS PurchasingDocumentType,
  schema.pargr AS PartnerSchema,
  function.PartnerFunction AS PartnerFunction,
  function._PartnerFunction._PartnerFunctionLangDepdnt[Language=$session.system_language].PartnerFunctionLanguageDepdnt AS PartnerFunctionLanguageDepdnt,
  _PartnerFunctionText.PartnerFunctionName AS PartnerFunctionName,
  functiondetail.stein AS PartnerFunctionIsUnique,
  functiondetail.nrart AS PurchasingDocumentPartnerType,
  _PartnerTypeText.PurgDocumentPartnerTypeName AS PurgDocumentPartnerTypeName
FROM t161 AS schema
INNER JOIN I_PartFuncByPartDetnProced AS function ON /* join condition not captured in parsed metadata */
INNER JOIN tpar AS functiondetail ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PartnerFunctionText AS _PartnerFunctionText ON _PartnerFunctionText.PartnerFunction = PartnerFunction AND _PartnerFunctionText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PartnerTypeText AS _PartnerTypeText ON _PartnerTypeText.PurchasingDocumentPartnerType = PurchasingDocumentPartnerType AND _PartnerTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON _PurchasingDocumentType.PurchasingDocumentType = PurchasingDocumentType AND _PurchasingDocumentType.PurchasingDocumentCategory = 'K'  -- association [0..1]
;