Application Development 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: 

less than one day

Former Member
0 Kudos
115

Hi all,

I want date like posting date should be system date -1.

I am doifn like this.

select-options : s_budat for rbkp-budat.

loop at s_budat.

s_budat-sign = 'I'.

s_budat-option = 'Eq'.

s_budat-low = w_date - 1.

append s_budat.

endloop.

from above result I am not getting the less than one day of sys date.

But every time I want less than oneday of sys date.

I need to work with Range table only not parameters.

thanks for your help.

Ajay reddy

1 ACCEPTED SOLUTION

Former Member
0 Kudos
69

Hi

try like this...


tables : rbkp.
select-options : s_budat for rbkp-budat.

INITIALIZATION.   
*loop at s_budat. "No loop

s_budat-sign = 'I'.
s_budat-option = 'EQ'.
s_budat-low = sy-datum - 1.
append s_budat.

Message was edited by:

Perez C

3 REPLIES 3

Former Member
0 Kudos
70

Hi

try like this...


tables : rbkp.
select-options : s_budat for rbkp-budat.

INITIALIZATION.   
*loop at s_budat. "No loop

s_budat-sign = 'I'.
s_budat-option = 'EQ'.
s_budat-low = sy-datum - 1.
append s_budat.

Message was edited by:

Perez C

0 Kudos
69

thanks

Given valuable ppoints,

regards

Ajay

Former Member
0 Kudos
69

Hi Ajay,

Not sure of understanding...but take a look :

loop at s_budat.
s_budat-sign = 'I'.
s_budat-option = 'BT'.
s_budat-low = sy-datum - 1.
s_budat-high =sy-datum .
append s_budat.
endloop.

Hope this helps,

Erwan