I_CntrlPurContrPartnerFuncVH
Central Contract Partner Function details
I_CntrlPurContrPartnerFuncVH is a Basic CDS View that provides data about "Central Contract Partner Function details" in SAP S/4HANA. It reads from 3 data sources (t161, I_PartnerFunction, I_PartFuncByPartDetnProced) and exposes 6 fields with key fields PurchasingDocumentType, PartnerSchema, PurchasingDocumentCategory, PartnerFunction. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| t161 | doctype | from |
| I_PartnerFunction | function | inner |
| I_PartFuncByPartDetnProced | procedure | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCTRPARTFUNCVH | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Central Contract Partner Function details | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | PurchasingDocumentCategory | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocumentType | t161 | bsart | |
| KEY | PartnerSchema | t161 | pargr | Partner Determination Procedure |
| KEY | PurchasingDocumentCategory | t161 | bstyp | |
| KEY | PartnerFunction | I_PartnerFunction | PartnerFunction | |
| PartnerFunctionName | _PartnerFunctionText | PartnerFunctionName | ||
| PartnerFunctionLanguageDepdnt |
@AbapCatalog.sqlViewName: 'ICCTRPARTFUNCVH'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Central Contract Partner Function details'
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.dataCategory:#VALUE_HELP
@ObjectModel.representativeKey: 'PurchasingDocumentCategory'
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@Search.searchable: true
define view I_CntrlPurContrPartnerFuncVH
as select from t161 as doctype
inner join I_PartFuncByPartDetnProced as procedure on doctype.pargr = procedure.PartnerDeterminationProcedure
inner join I_PartnerFunction as function on procedure.PartnerFunction = function.PartnerFunction
association [0..1] to I_PartnerFunctionText as _PartnerFunctionText on _PartnerFunctionText.PartnerFunction = $projection.PartnerFunction
and _PartnerFunctionText.Language = $session.system_language
association [0..1] to I_PartnerFunctionLangDepdnt as _PartnerFunctionLangDepdnt on _PartnerFunctionLangDepdnt.PartnerFunction = $projection.PartnerFunction
and _PartnerFunctionLangDepdnt.Language = $session.system_language
{
key doctype.bsart as PurchasingDocumentType,
@EndUserText.label: 'Partner Determination Procedure'
key doctype.pargr as PartnerSchema,
key doctype.bstyp as PurchasingDocumentCategory,
@Search.ranking: #HIGH
@Search: { defaultSearchElement: true }
key function.PartnerFunction as PartnerFunction,
// function.SDDocumentPartnerType as PurchasingDocumentPartnerType,
@Semantics.text:true
_PartnerFunctionText.PartnerFunctionName as PartnerFunctionName,
// Adding below field to get the external representation of partner function code (from TPAUM if it exists)
// This field will be shown in the value help for partner functions
coalesce( _PartnerFunctionLangDepdnt.PartnerFunctionLanguageDepdnt , function.PartnerFunction) as PartnerFunctionLanguageDepdnt
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PARTFUNCBYPARTDETNPROCED",
"I_PARTNERFUNCTION",
"I_PARTNERFUNCTIONLANGDEPDNT",
"I_PARTNERFUNCTIONTEXT",
"T161"
],
"ASSOCIATED":
[
"I_PARTNERFUNCTIONLANGDEPDNT",
"I_PARTNERFUNCTIONTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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