Quantcast
Channel: SCN : Blog List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 889

Self-appraising issue in WebDynpro application configuration HAP_START_PG_POW_ESS_AC

$
0
0

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 .

 

METHOD if_powl_feeder~get_objects.


*****


"Start addition

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
  
FROM hrhap_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.
 
ENDIF.
ENDLOOP.

"End addition


  e_results
= lt_documents.

 
ENDMETHOD.


Viewing all articles
Browse latest Browse all 889

Trending Articles