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

ABAP Query(HR)

Former Member
0 Likes
436

I am using ABAP query using LDB. I want to fetch the record(current) within a particular dates for the corresponding pernr.

But when i gives validity dates it fetches all the record for the particular pernr.

Actually our requirement is to display only current status record for particular date periods.

Plz help.Its urgent.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
417

Hi

use the following code

GET PERNR.

<b>rp_provide_from_last p0001 space pnpbegda pnpendda.</b>

this will fetch the only last record for that PERNR.

use this and see

<b>Reward points for useful Answers</b>

Regards

Anji

I am using ABAP query using LDB. I want to fetch the record(current) within a particular dates for the corresponding pernr.

But when i gives validity dates it fetches all the record for the particular pernr.

Actually our requirement is to display only current status record for particular date periods.

Plz help.Its urgent.

2 REPLIES 2
Read only

Former Member
0 Likes
418

Hi

use the following code

GET PERNR.

<b>rp_provide_from_last p0001 space pnpbegda pnpendda.</b>

this will fetch the only last record for that PERNR.

use this and see

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
417

I have tried but still multiple records has been fetched.

I m using (SQ02 tcode)ABAP query not coding.