P_PurContrVersionType
Purchase Contract Version Type
P_PurContrVersionType is a Basic CDS View that provides data about "Purchase Contract Version Type" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key field PurgDocChangeRequestStatus. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPURCTRVERSTYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | PurgDocChangeRequestStatus | view | |
| EndUserText.label | Purchase Contract Version Type | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurgDocChangeRequestStatus | |||
| Language | ddlanguage | |||
| ChangeRequestNote | ddtext | Version Type | ||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'PPURCTRVERSTYPE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'PurgDocChangeRequestStatus'
@EndUserText.label: 'Purchase Contract Version Type'
@ObjectModel.resultSet.sizeCategory: #XS
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_PurContrVersionType
as select from dd07t
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.text.element: [ 'ChangeRequestNote' ]
key cast( domvalue_l as cr_stat ) as PurgDocChangeRequestStatus,
@Semantics.language: true
ddlanguage as Language,
@Semantics.text: true
@EndUserText.label: 'Version Type'
ddtext as ChangeRequestNote,
_Language
}
where
domname = 'MMPUR_VERS_TYPE'
and as4local = 'A'
and ddlanguage = $session.system_language
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