Application Development 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: 

Regarding abap Macros

Former Member
0 Kudos

Hi Experts,

I am wring the programming in Abap-Hr usnig Macros.

But my clients requirement is, don't use macros when using LDB's. Is it possible for payroll results.

By using the macro

RP_PROVIDE_FROM_LAST P0002 SPACE LOW-DATE HIGH-DATE

what is the alternative of this macro by retrieving the data from infotype based on PERNR.

thanks in advance.

Sai

Edited by: Sai Babu on Nov 21, 2008 8:19 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

You can use HR_READ_INFOTYPE function module to read latest record of an employee.

pass system date (sy-datum) in importing parameters validbegin and validend.

Thanks

Vishal Kapoor

3 REPLIES 3

Former Member
0 Kudos

Have you checked any relevant FM or Subroutine?

Regards

Karthik D

Former Member
0 Kudos

Hi

You can use HR_READ_INFOTYPE function module to read latest record of an employee.

pass system date (sy-datum) in importing parameters validbegin and validend.

Thanks

Vishal Kapoor

Former Member
0 Kudos

yes solved