Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Latest value from the table

Hi All,

I am new to WDA development.I am trying to fetch the basic amount(bet01) from table PA0008 by using the following query.

select bet01 from pa0008 into table lt_lta where pernr =lv_pernr

How can I make sure that whether I am getting the latest value(basic amount) or not?the value will be different during different periods based on begda since it is a basic amount.Please help to get the latest value(basic amount) from the table and also please tell me how to get the older value.





You can first sort by begda or enda as you wish and then

read table etc.

which will bring the latest entry



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question