P_WorkforceKeyMapping

DDL: P_WORKFORCEKEYMAPPING SQL: PWRKFRCKEYMAPPG Type: view BASIC

P_WorkforceKeyMapping is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (wfd_d_keymap) and exposes 11 fields with key field WorkforceAssignmentID.

Data Sources (1)

SourceAliasJoin Type
wfd_d_keymap wfd_d_keymap from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PWRKFRCKEYMAPPG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignmentID workforce_assgmt_id
CountryISOCode country
WorkerId worker_id
BusinessPartner business_partner_id
CentralPerson central_person
UserID user_id
PersonID person_id
PersonExternalID person_id_external
PersonUUID person_guid
EmploymentID employment_id
WorkAssignmentExternalID work_assignment_ext_id
@AbapCatalog.sqlViewName: 'PWRKFRCKEYMAPPG'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
//@EndUserText.label: 'Private view for key mapping details'

@VDM.viewType: #BASIC
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking:#BLOCKED_DATA_EXCLUDED

@ObjectModel.usageType.sizeCategory         : #M
@ObjectModel.usageType.serviceQuality       : #B

define view P_WorkforceKeyMapping as select from wfd_d_keymap {

//wfd_d_keymap 

key workforce_assgmt_id      as WorkforceAssignmentID, 
    country                  as CountryISOCode, 
    worker_id                as WorkerId, 
    business_partner_id      as BusinessPartner, 
    central_person           as CentralPerson, 
    user_id                  as UserID, 
    person_id                as PersonID,  
    person_id_external       as PersonExternalID, 
    person_guid              as PersonUUID, 
    employment_id            as EmploymentID, 
    work_assignment_ext_id   as WorkAssignmentExternalID   
    
}
where  block_ind = ' '
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"WFD_D_KEYMAP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/