I_PPS_PurContrDocType
PPS Relevant Purchase Contract Types
I_PPS_PurContrDocType is a Basic CDS View that provides data about "PPS Relevant Purchase Contract Types" in SAP S/4HANA. It reads from 1 data source (t161) and exposes 4 fields with key fields PurchasingDocumentCategory, PurchaseContractType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t161 | t161 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | t161t | _Text | $projection.PurchaseContractType = _Text.bsart and $projection.PurchasingDocumentCategory = _Text.bstyp and _Text.spras = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | PPS Relevant Purchase Contract Types | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocumentCategory | bstyp | ||
| KEY | PurchaseContractType | bsart | ||
| IsDefaultDocument | default_doc_ty | |||
| PurchasingDocumentTypeName | _Text | batxt |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'PPS Relevant Purchase Contract Types'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.viewType: #BASIC
// @JIRA-KEY<S4PPS-10691>
define view entity I_PPS_PurContrDocType as select from t161
association [1..1] to t161t as _Text on $projection.PurchaseContractType = _Text.bsart
and $projection.PurchasingDocumentCategory = _Text.bstyp
and _Text.spras = $session.system_language
{
key bstyp as PurchasingDocumentCategory,
key bsart as PurchaseContractType ,
default_doc_ty as IsDefaultDocument,
@Semantics.text: true
_Text.batxt as PurchasingDocumentTypeName
}
where pps_relevant = 'X' and
bstyp = 'K'
;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T161",
"T161T"
],
"ASSOCIATED":
[],
"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