Skip to Content
Former Member
Apr 17, 2008 at 12:34 PM

How can i fetch in a provide-endprovide the entries with the highest SEQNR?


Hi people,

My problem is that I need to select over an infotype of SAP HR. But I just want the last information valid, meaning the entries which have the last SEQNR (000, 001, 002 and so on). Usually there is only SEQNR = 000, but sometimes you can find bigger numbers here. This is an automatic field. I just want to fetch the last one.

But I am using a logical database (PNP) and a provide-endprovide statement.

What can I do for making it in an optimal way? Any hint?

Points will be rewarded for sure.

Regards. Elena