Self-appraising issue in WebDynpro application configuration HAP_START_PG_POW_ESS_AC
In 360 Appraisal there are several part-appraisal roles: Manager, Collegue, Subordinate and self-appraiser. All work fine except self-appraiser.
There is no editing capability if self-appraiser starts application. In old BSP hap_document_page it works correct. The reason is that application can’t manage multi-role: appraiser and part-appraiser and delete second record for part-appraiser.
Correction done in Z version of POWL feeder class .
Field-SYMBOLS: <doc> like ls_documents.
DATA: ls_p_apper type hrhap_p_apper .
LOOP at lt_documents ASSIGNING <doc>.
SELECT SINGLE * into ls_p_apper
WHERE plan_version = ’01’
AND appraisal_id = <doc>–appraisal_id
AND role_id = ‘ME’
AND part_ap_date_set = ‘00000000’.
IF sy–subrc = 0.
<doc>–PART_AP_ID = ls_p_apper–PART_AP_ID.
e_results = lt_documents.