I_PurContractPartnerFunctionVH
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PartFuncByPartDetnProced | function | inner |
| tpar | functiondetail | inner |
| t161 | schema | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_PPS_PURCHASE_CONTRACT | UI_PPS_PURCHASE_CONTRACT_2 | V2 | C1 | NOT_RELEASED |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA