Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR : leave request

Former Member
0 Likes
649

Hi All,

I need some help in HR module. My requirement is to assign a flag to employee's leave request as per its present status like whether it's pending,approved or rejected. I don't want to create a z table.I want to know is there any such type of field in infotype 0005 that can cater my requirement.

In PA0005 i found fields FLAG1, FLAG2..FLAG4 and its descriptions say these are RESERVED FIELD/UNUSED FIELD. Can I use these fields for my purpose but also in future upgradation it may cause inconsistencies if SAP will use these flags.

And also if you can provide me FMs and BAPIs to update leave status please do so.

I promise to return and reward the answers.

Thanks,

Amit

Hi All,

I need some help in HR module. My requirement is to assign a flag to employee's leave request as per its present status like whether it's pending,approved or rejected. I don't want to create a z table.I want to know is there any such type of field in infotype 0005 that can cater my requirement.

In PA0005 i found fields FLAG1, FLAG2..FLAG4 and its descriptions say these are RESERVED FIELD/UNUSED FIELD. Can I use these fields for my purpose but also in future upgradation it may cause inconsistencies if SAP will use these flags.

And also if you can provide me FMs and BAPIs to update leave status please do so.

I promise to return and reward the answers.

Thanks,

Amit

2 REPLIES 2
Read only

Former Member
0 Likes
602

For the BAPIs: Have you tried searching with search term BAPIEMP?

Sudha

Read only

Former Member
0 Likes
602

Hi Amit can you tell me where can we find the status of leave is it approved or rejected or pending?