Skip to Content
author's profile photo Former Member
Former Member

less than one day

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:44 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:44 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.