Date Range Selection
How to select the record from BSEG table between Date range. Please give me the solution . Am also try to find the solution in SDN also.
select-options post_dt for bkpf-budat obligatory default sy-datum NO-EXTENSION.
select belnr budat from bkpf into corresponding fields of table it_head
where bukrs eq compcode
and gjahr eq year
and blart eq doctype
and budat in post_dt
order by belnr budat.
For this select query is working in perfect for single date only. But i want to select the date date range wise.
Remove NO-EXTENSION from select query beacuse it will suppress the upper limit and it work just as parameter.
select-options post_dt for bkpf-budat obligatory default sy-datum.
Provide the upper and the lower value data from BSEG table will be fetched according to range.