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

[MSS On Employee Behalf of] Get PERNR of Employee from a custom feeder class

$
0
0

Hi Experts,

 

Recently someone here assisted me on suggesting to use the MSS On Employee Behalf of functionality to perform certain actions for your employee so thanks for that.

 

However I have some future developments that will require my custom Webdynpro Application and custom Feeder Class to be used for this feature.


Question is how can I get the PERNR of the Employee the manager is processing? Example if the managers PERNR = 50 and the Employee = 100, the Feeder Class should pick up the PERNR = 100 (which belongs to the employee).

 

Currently in the IF_FPM_GUIBB_FORM~GET_DATA method of the feeder class I am using the line of Code

 

g_pernr = cl_hress_employee_services=>get_instance( )->get_pernr( ).

 

however this only gets the PERNR of the manager. Is there a way to get the PERNR of the employee?

 

Hope to hear from you all soon.


Regards


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>