@AbapCatalog.sqlViewName: 'PPERSONID'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.preserveKey:true
define view P_WFPersonIdentification
as select distinct from I_BuPaIdentification as BPIdentifier
{
key BPIdentifier.BusinessPartner,
// key BPIdentifier.BPIdentificationType,
key BPIdentifier.BPIdentificationNumber
}
where
BPIdentifier.BPIdentificationType = 'HCM001' // HCM001 - Employee ID
or BPIdentifier.BPIdentificationType = 'HCM030' // HCM030 - Service Agent
or BPIdentifier.BPIdentificationType = 'HCM031' // HCM031 - Freelancer
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUPAIDENTIFICATION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/