Hi Friends -
Am new to Apprisal data,
In my requirement i have to take emp number and Template ID from selection screen and
display his Appriser and Appraisee details with that employee at last ..
As there is no pop up so am using this F4 help for template id field,
but once user select any one it is coming as just 8 digit objid then how i can compair this objid with tables like HRHAP ,
HRHAP_APPER
HRHAP_APPEE in these all three its come as long string... pls help me to resolve this..
pchplvar TYPE plvar ,
lt_templates TYPE hap_t_templates,
lw_template TYPE objec.
PARAMETERS: template TYPE hap_template_id.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR template.
CALL FUNCTION 'HRHAP_POPUP_F4_TEMPLATE'
EXPORTING
add_on_application = 'PA'
plan_version = pchplvar
IMPORTING
t_templates = lt_templates.
READ TABLE lt_templates INTO lw_template
INDEX 1.
IF sy-subrc EQ 0.
template = lw_template-objid.
ENDIF.
Regards
Meeta