2015 Apr 27 1:07 PM
Hi,
Please suggest me that how to get list of all employees travel requests assigned to that manager. Is there any standard BAPI's available?
Appreciate your help.
Thanks.
2015 Apr 28 11:17 AM
Hi Ruchi,
Check this fm HRWPC_RFC_OADP_GET_OBJECTS.
Thanks & Regards,
Shakeel
2015 Apr 28 11:17 AM
Hi Ruchi,
Check this fm HRWPC_RFC_OADP_GET_OBJECTS.
Thanks & Regards,
Shakeel
2015 Apr 28 11:23 AM
Hi,
Can you please suggest me more about parameters what we need to pass and how to use that fm to get all employee list assign to that manager.
Thanks.
2015 Apr 28 11:39 AM
Hi Ruchi,
Pass values in Import parameters as shown below
You will get all Employee's list under that organization unit in T_OBJECTS.
CALL FUNCTION 'HRWPC_RFC_OADP_GET_OBJECTS' "
EXPORTING
objsel = 'MSS_TMV_EE_ALL' or "'MSS_TMV_EE_DIR' " hrwpc_objsel
begda = start date " begda
endda = end date " endda
user = Manager User Name "SY-UNAME
cachemaxage = '0' " hrwpc_to_struc-cachevalid
IMPORTING
readdate = " sy-datum
readtime = " sy-uzeit
TABLES
* t_paramvalues = " hrwpc_s_oadp_paramvalue
t_objects = T_OBJECTS " hrwpc_s_keyobjec
* t_objectstructure = " hrwpc_s_keystruc
EXCEPTIONS
OBJSEL_NOT_FOUND = 1 "
OBJECTSELECTION_INVALID = 2 "
Best Regards,
Shakeel
2015 Apr 29 6:18 AM