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

Formula error in Validation

Hi Gurus,

I want to have a validation on FB60 Document Date (BLDAT) which should not be more than 60 days in past compared to Posting Date.

But am unable to write a validation check for this as system is throwing syntax error in all the ways I wrote the formula.

I tried writing check like this

BKPF-BLDAT > ( BKPF-BUDAT - 30 )

Please help me...

Thanks in advance,

Mallik

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 10:26 AM

    Hi

    You said it should not be more than 60 days from posting date.

    x = doc date

    y = postig date

    so your conditions could be :

    x = y-60

    x> y-60

    so (x = y-60) .or. (x > y-60).

    Is it correct ?

    Regards

    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.