I_BusPartIdentificationType is a Composite CDS View (Fact) that provides data about "Business Partner identification Type View" in SAP S/4HANA. It reads from 3 data sources (tb039a, tb039a, tb039a) and exposes 8 fields with key fields BPIdentificationType, BusinessPartnerCategory, BusinessPartnerCategory, BusinessPartnerCategory. It has 2 associations to related views.
@AbapCatalog.sqlViewName: 'IBPIDTYPE'
@Analytics.dataCategory: #FACT@VDM.viewType: #COMPOSITE@AbapCatalog.compiler.compareFilter: true@AbapCatalog.preserveKey: true@AccessControl.authorizationCheck: #NOT_REQUIRED@ObjectModel.usageType.serviceQuality: #A@ObjectModel.usageType.sizeCategory: #M@ObjectModel.usageType.dataClass: #MASTER@ClientHandling.algorithm : #SESSION_VARIABLE@Search.searchable: true@Metadata.ignorePropagatedAnnotations: true@EndUserText.label: 'Business Partner identification Type View'
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */defineview I_BusPartIdentificationType
asselectfrom tb039a
association [1..*] to I_BusPartIdentificationTypeT_2 as _Text on $projection.BPIdentificationType = _Text.BPIdentificationType
association [1..1] to I_BusPartCategory as _BusinessPartnerCategory on $projection.BusinessPartnerCategory = _BusinessPartnerCategory.BusinessPartnerCategory
{
@ObjectModel.text.association: '_Text'
@Search.defaultSearchElement: true@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGHkey type as BPIdentificationType,
keycast('1' as bu_type) as BusinessPartnerCategory,
_Text,
_BusinessPartnerCategory
} where xperson = 'X'
unionselectfrom tb039a
association [1..*] to I_BusPartIdentificationTypeT_2 as _Text on $projection.BPIdentificationType = _Text.BPIdentificationType
association [1..1] to I_BusPartCategory as _BusinessPartnerCategory on $projection.BusinessPartnerCategory = _BusinessPartnerCategory.BusinessPartnerCategory
{
@ObjectModel.text.association: '_Text'
@Search.defaultSearchElement: true@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGHkey type as BPIdentificationType,
keycast('2' as bu_type) as BusinessPartnerCategory,
_Text,
_BusinessPartnerCategory
} where xorganisation = 'X'
unionselectfrom tb039a
association [1..*] to I_BusPartIdentificationTypeT_2 as _Text on $projection.BPIdentificationType = _Text.BPIdentificationType
association [1..1] to I_BusPartCategory as _BusinessPartnerCategory on $projection.BusinessPartnerCategory = _BusinessPartnerCategory.BusinessPartnerCategory
{
@ObjectModel.text.association: '_Text'
@Search.defaultSearchElement: true@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGHkey type as BPIdentificationType,
keycast('3' as bu_type) as BusinessPartnerCategory,
_Text,
_BusinessPartnerCategory
} where xgroup = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TB039A"
],
"ASSOCIATED":
[
"I_BUSPARTCATEGORY",
"I_BUSPARTIDENTIFICATIONTYPET_2"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/