cancel
Showing results for 
Search instead for 
Did you mean: 

Validation Rule Set Up for Header Document

Former Member
0 Kudos

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.

Regards,

Tina Delima

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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!

Regards

Ram

Former Member
0 Kudos

Hi Ram,

Good Day!

Thank you very much for your inputs. We've tried to play some validation rule prerequisites as well and it seems that simple program may resolve our problem.

Again, thank you very much for the response.

Regards,

Tina Delima

Former Member
0 Kudos

Sure mam, pleasure is mine! and yayy, your points are my first @ SCN 🙂 do feel free to reach me out if you need any help!!!

Answers (0)