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

Validation Rule Set Up for Header Document

Hi All,

Good Day!

May I ask for your inputs on how do I set a prerequisite so that it will give an error message if the document date is greater than 2 months from the posting date? I am doing some validation rule set up for header document.

Your response will be greatly appreciated. Thank you and have a nice day ahead.


Tina Delima

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 09:08 PM

    Hi Tina,

    I tried myself and talked to a few tech friends. It is not possible to write the pre-requisite directly as SAP doesnt ready "Posting Date + 60". You need to calculate this value before comparing the fields. Coding wise it seems to be fairly simple and people suggested we should look for standard function modules to perform that calculation of Posting Date + 60 with some simple coding to achieve what you are looking for.

    Unfortunately, I couldnt find a better answer. Hope this helps!



    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.