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

Fetching record just before current record for ALV reporting using LDB

Former Member
0 Likes
444

Hi,

I have a requirement to fetch two data for a client. The new data and the old data

I am able to fetch the new (current) data using macro rp-provide-from-last.

The main problem is to fetch the record just before the current data.

I know whenever a data for an employee is changed, the date gets delimited.

So the endda for last record is the begda for current record.

But I am not able to put that logically on the code.

Can someone please help me on this...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
421

No problem. I solved it myself

Hi,

I have a requirement to fetch two data for a client. The new data and the old data

I am able to fetch the new (current) data using macro rp-provide-from-last.

The main problem is to fetch the record just before the current data.

I know whenever a data for an employee is changed, the date gets delimited.

So the endda for last record is the begda for current record.

But I am not able to put that logically on the code.

Can someone please help me on this...

1 REPLY 1
Read only

Former Member
0 Likes
422

No problem. I solved it myself