I_CntrlPurContrClassification
Central Purchase Contract Classification
I_CntrlPurContrClassification is a Basic CDS View that provides data about "Central Purchase Contract Classification" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 2 fields with key field PurchasingDocumentType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentType | _PurchasingDocumentType | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCTRCLASSFCTN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Central Purchase Contract Classification | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocumentType | PurchasingDocumentType | ||
| PurgDocFieldSelControlKey | PurgDocFieldSelControlKey |
@AbapCatalog.sqlViewName: 'ICCTRCLASSFCTN'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Central Purchase Contract Classification'
@VDM.viewType: #BASIC
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
define view I_CntrlPurContrClassification as select from I_PurchasingDocumentType as _PurchasingDocumentType
left outer to one join t162
on _PurchasingDocumentType.PurgDocFieldSelControlKey = t162.flref
{
/* keys */
key PurchasingDocumentType,
PurgDocFieldSelControlKey,
cast(case substring(faus1,15,1) //Amount Type(WK)
when '+' then '0'
else case substring(faus1,51,1) //Quantity Type(MK)
when '+' then '1'
else '2'
end
end as contracttype_d ) as PurchaseContractClassification
}
where PurchasingDocumentCategory = 'C'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASINGDOCUMENTTYPE",
"T162"
],
"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