@AbapCatalog.sqlViewName : 'CPURORG_VH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@ObjectModel.semanticKey : 'PurchasingOrganization'
@ObjectModel.representativeKey : 'PurchasingOrganization'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.dataCategory:#VALUE_HELP
//@EndUserText.label : 'Purchasing Organization Value Help'
@EndUserText.label : 'Purchasing Organization'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
define view C_PurchasingOrgValueHelp
as select from I_PurchasingOrganization as PurchasingOrganization
//association [0..*] to I_SupplierPurchasingOrg as _SupplierPurchasingOrg
// on $projection.PurchasingOrganization = _SupplierPurchasingOrg.PurchasingOrganization
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
{
@ObjectModel.text.element: [ 'PurchasingOrganizationName' ]
@Search: { defaultSearchElement:true , ranking: #HIGH, fuzzinessThreshold: 0.8 }
@EndUserText.quickInfo : 'Purchasing Organization'
key PurchasingOrganization.PurchasingOrganization as PurchasingOrganization,
// Purchasing Organization is denormalized by supplier
// @Search: { defaultSearchElement: true , ranking: #MEDIUM }
// key _SupplierPurchasingOrg.Supplier as Supplier,
@Semantics.text: true
@EndUserText.label : 'Purchasing Organization Name'
@Search: { defaultSearchElement: true , ranking: #LOW, fuzzinessThreshold: 0.7 }
@EndUserText.quickInfo : 'Purchasing Organization Name'
PurchasingOrganization.PurchasingOrganizationName as PurchasingOrganizationName,
@ObjectModel.foreignKey.association : '_CompanyCode'
@ObjectModel.text.element: [ 'CompanyCodeName' ]
@Search: { defaultSearchElement:true , ranking: #LOW, fuzzinessThreshold: 0.7 }
@EndUserText.quickInfo : 'Company Code'
PurchasingOrganization.CompanyCode as CompanyCode,
_CompanyCode,
@Semantics.text: true
@Search: { defaultSearchElement: true , ranking: #LOW, fuzzinessThreshold: 0.7 }
_CompanyCode.CompanyCodeName as CompanyCodeName,
PurchasingOrganization.ConfigDeprecationCode as ConfigDeprecationCode
} where
ConfigDeprecationCode <> 'E'
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_COMPANYCODE",
"I_PURCHASINGORGANIZATION"
],
"ASSOCIATED":
[
"I_COMPANYCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_PurchasingOrgValueHelp view