I_CNTRLPURCONTRCLASSIFICATION
Central Purchase Contract Classification
I_CNTRLPURCONTRCLASSIFICATION is a CDS View in S/4HANA. Central Purchase Contract Classification. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_CntrlContrRelDocnValues | view | left_outer | CONSUMPTION |
@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":""
}
}*/