Skip to Content

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

date GDATU qustion

Hi,

i do this select and i wont to ask if gdatu is sequential,

i.e. if i have date

e.g.

date gdatu

1.1.2008 7000001

2.1.2008 7000002

3.1.2008 7000003

4.1.2008 7000004

Regards

Tags:
Former Member
Former Member replied

data : tcurr type TCURR.

SELECT *

FROM tcurr

INTO tcurr

WHERE kurst = '1002' AND

fcurr = wa_dp-currency AND

tcurr = 'USD0' AND

gdatu ge datecur

order by tcurr.

if sy-subrc eq 0.

exit.

endif.

endselect.

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