cancel
Showing results for 
Search instead for 
Did you mean: 

Get ALL Leave Requests for an Approver

Former Member
0 Kudos

Hi,

I am currently trying out this ESS Applications, specifically the Leave Request:

http://help.sap.com/saphelp_rc10/helpdata/en/89/47b140bee2972ae10000000a155106/frameset.htm

Basically, what I want is to get ALL the leave requests for a certain approver/manager.

Looking at this document from help.sap.com:

http://help.sap.com/saphelp_rc10/helpdata/en/73/8eaf40a90c952ae10000000a155106/content.htm

But each of these FMs require an IM_PERNR, indicating that it gets data only for that specific employee ID.

Is there any FM/BAPI I could use to get ALL the leave requets for a certain approver/manager?

Thanks!

John

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184635
Participant
0 Kudos

use FM PT_ARQ_REQLIST_GET , give modus parameter as 'A'. It will list all the request which are avilabel for the supplied employee no., in the approver mode.

hope this will help.

cheers,

Dadarao.

Former Member
0 Kudos

Hi Dadarao,

Thanks for replying. Yes, we are currently using that FM to get the leave requests of a certain employee.

But what if I need to get the leave request of ALL the employees for an approver (Perhaps without the need of an employee number as an input parameter), what FM can I use for that?

Again thanks,

John

former_member184635
Participant
0 Kudos

Hi John,

The Defination of approver is very subjective. Different clients  will have different approver depends on secenerios. Some cases approver is also depends on the Leave types.

Hence a standard FM will not be avialabel. You need to collect all the employee for your inputted approver & use the above FM mentioned for each employee to get the leave details.

Cheers,

Dadarao.

former_member184635
Participant
0 Kudos

Hi John,

Try the FM PT_ARQ_REQLIST_GET, with im_pernr as approver no. ,im_command as  'SHOW_WORKLIST' and im_modus as 'A'. The ex_requestlist will have all the request for the approver.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

have you checked the report rptarqapp, we pull in all requests for an approver without pernr parameter and we make use above FM