I_SchedgAgrmtPartnerFunctionVH

DDL: I_SCHEDGAGRMTPARTNERFUNCTIONVH SQL: ISAPARTNFUNCTVH Type: view BASIC

Scheduling Agreement Partner Function VH

I_SchedgAgrmtPartnerFunctionVH is a Basic CDS View that provides data about "Scheduling Agreement Partner Function VH" in SAP S/4HANA. It reads from 3 data sources (t161, I_PartnerFunction, I_PartFuncByPartDetnProced) and exposes 6 fields with key fields PurchasingDocumentType, PartnerSchema, PartnerFunction. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
t161 doctype from
I_PartnerFunction function inner
I_PartFuncByPartDetnProced procedure inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_PartnerFunctionText _PartnerFunctionText _PartnerFunctionText.PartnerFunction = $projection.PartnerFunction and _PartnerFunctionText.Language = $session.system_language
[0..1] I_PartnerFunctionLangDepdnt _PartnerFunctionLangDepdnt _PartnerFunctionLangDepdnt.PartnerFunction = $projection.PartnerFunction and _PartnerFunctionLangDepdnt.Language = $session.system_language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISAPARTNFUNCTVH view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Scheduling Agreement Partner Function VH view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType t161 bsart Stnd purch.ord.
KEY PartnerSchema t161 pargr Partner Determination Procedure
KEY PartnerFunction I_PartnerFunction PartnerFunction Partner Functn
PurchasingDocumentPartnerType I_PartnerFunction SDDocumentPartnerType Partner Type
PartnerFunctionName _PartnerFunctionText PartnerFunctionName Name
PartnerFunctionLanguageDepdnt

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_SchedgAgrmtPartnerFunctionVH.
-- 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: ISAPARTNFUNCTVH

CREATE VIEW I_SchedgAgrmtPartnerFunctionVH AS
SELECT
  doctype.bsart AS PurchasingDocumentType,
  doctype.pargr AS PartnerSchema,
  function.PartnerFunction AS PartnerFunction,
  function.SDDocumentPartnerType AS PurchasingDocumentPartnerType,
  _PartnerFunctionText.PartnerFunctionName AS PartnerFunctionName,
  coalesce( _PartnerFunctionLangDepdnt.PartnerFunctionLanguageDepdnt , function.PartnerFunction) AS PartnerFunctionLanguageDepdnt
FROM t161 AS doctype
INNER JOIN I_PartFuncByPartDetnProced AS procedure ON /* join condition not captured in parsed metadata */
INNER JOIN I_PartnerFunction AS function 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_PartnerFunctionLangDepdnt AS _PartnerFunctionLangDepdnt ON _PartnerFunctionLangDepdnt.PartnerFunction = PartnerFunction AND _PartnerFunctionLangDepdnt.Language = $session.system_language  -- association [0..1]
;