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 | |
| KEY | PartnerSchema | t161 | pargr | |
| KEY | PartnerFunction | I_PartFuncByPartDetnProced | PartnerFunction | |
| PartnerFunctionLanguageDepdnt | Partner Function | |||
| PartnerFunctionName | _PartnerFunctionText | PartnerFunctionName | ||
| PartnerFunctionIsUnique | tpar | stein | ||
| PurchasingDocumentPartnerType | tpar | nrart | ||
| PurgDocumentPartnerTypeName | _PartnerTypeText | PurgDocumentPartnerTypeName | ||
| _PurchasingDocumentType | _PurchasingDocumentType |
@AbapCatalog.sqlViewName: 'IPCPARTNFUNCTVH'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Pur. Contr. Partner Function Value Help'
//@ObjectModel.representativeKey: 'PartnerFunction'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #MIXED
@Search.searchable: true
define view I_PurContractPartnerFunctionVH
as select from t161 as schema
inner join I_PartFuncByPartDetnProced as function on schema.pargr = function.PartnerDeterminationProcedure
// left outer join tpaum as partnerfunction on partnerfunction.parvw = function.parvw
// and partnerfunction.spras = $session.system_language
inner join tpar as functiondetail on function.PartnerFunction = functiondetail.parvw
association [0..1] to I_PartnerFunctionText as _PartnerFunctionText on _PartnerFunctionText.PartnerFunction = $projection.PartnerFunction //function.parvw to be tried by new field exposure
and _PartnerFunctionText.Language = $session.system_language
association [0..1] to I_PartnerTypeText as _PartnerTypeText on _PartnerTypeText.PurchasingDocumentPartnerType = $projection.PurchasingDocumentPartnerType
and _PartnerTypeText.Language = $session.system_language
association [0..1] to I_PurchasingDocumentType as _PurchasingDocumentType on _PurchasingDocumentType.PurchasingDocumentType = $projection.PurchasingDocumentType
and _PurchasingDocumentType.PurchasingDocumentCategory = 'K'
{
// key schema.bstyp as PurchasingDocumentCategory,
@ObjectModel.foreignKey.association: '_PurchasingDocumentType'
@Search: { defaultSearchElement: true, ranking: #HIGH }
key schema.bsart as PurchasingDocumentType,
@UI.hidden: true
key schema.pargr as PartnerSchema,
@ObjectModel.text.element: ['PartnerFunctionName']
@Search: { defaultSearchElement: true, ranking: #HIGH }
@UI.hidden: true
key function.PartnerFunction as PartnerFunction,
//key coalesce(partnerfunction.parvw , function.parvw) as PartnerFunction,
// partnerfunction.pabez as PartnerFunction1,
@EndUserText.label: 'Partner Function'
function._PartnerFunction._PartnerFunctionLangDepdnt[Language=$session.system_language].PartnerFunctionLanguageDepdnt,
@Semantics.text: true
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
_PartnerFunctionText.PartnerFunctionName,
@UI.hidden: true
functiondetail.stein as PartnerFunctionIsUnique,
@ObjectModel.text.element: ['PurgDocumentPartnerTypeName']
@Search: { defaultSearchElement: true, ranking: #HIGH }
functiondetail.nrart as PurchasingDocumentPartnerType,
@Semantics.text: true
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
_PartnerTypeText.PurgDocumentPartnerTypeName,
_PurchasingDocumentType
}
where
schema.bstyp = 'K'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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