C_PurReqnTypeForWorkflow
Purchasing Document Type
C_PurReqnTypeForWorkflow is a Consumption CDS View that provides data about "Purchasing Document Type" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 3 fields with key field PurchasingDocumentType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentType | I_PurchasingDocumentType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PurchasingDocumentTypeText | _Text | $projection.PurchasingDocumentType = _Text.PurchasingDocumentType and $projection.PurchasingDocumentCategory = _Text.PurchasingDocumentCategory and _Text.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | CMMPURGDOCTYP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| EndUserText.label | Purchasing Document Type | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| ObjectModel.semanticKey | PurchasingDocumentType | view | |
| ObjectModel.representativeKey | PurchasingDocumentType | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocumentType | PurchasingDocumentType | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | |||
| _Text | _Text |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'CMMPURGDOCTYP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #D
@EndUserText.label: 'Purchasing Document Type'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@ObjectModel.semanticKey: 'PurchasingDocumentType'
@ObjectModel.representativeKey: 'PurchasingDocumentType'
define view C_PurReqnTypeForWorkflow as select from I_PurchasingDocumentType
association [0..1] to I_PurchasingDocumentTypeText as _Text on $projection.PurchasingDocumentType = _Text.PurchasingDocumentType
and $projection.PurchasingDocumentCategory = _Text.PurchasingDocumentCategory
and _Text.Language = $session.system_language
{
@Search.defaultSearchElement : true
@ObjectModel.text.association: '_Text'
key PurchasingDocumentType,
@Consumption.hidden: true
PurchasingDocumentCategory,
_Text
}
where PurchasingDocumentCategory = 'B'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASINGDOCUMENTTYPE"
],
"ASSOCIATED":
[
"I_PURCHASINGDOCUMENTTYPETEXT"
],
"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