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

Error for wrong date in date field

Hi Gurus,

If I enter a wrong date e.g. 0211/04/18 instead of 2011/04/18 in invoice date or posting date field system will only give a Warning message not an Error and we can still post the document, believe me I have tested this and SAP will allow to post this kind of document.

Is there any way we can make it as Error (a hard stop) instead of warning? Any note or some add-on pleases advice.

Thanks

Bushan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2011 at 07:08 PM

    Hi,

    0211/04/18 is also a possible date.

    Do you mean that system is posting in fiscal year 0211 (Please check document header)

    If yes, then that period 0211 should be open in OB52 also. Which you can controll

    A hard stop via validation in GGB0 (OB28) is possible on posting date, but it is not needed. You can just control is via period opening/ closing in OB52 customization for relevant fiscal year.

    Also check the date format in user master in transaction SU3 > Default tab.

    Regards,

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2011 at 07:19 PM

    Hi, you can write validation, eg which will check that Posting date(you can't post in closed period,so it'd be always right) will be from exact range. eg Posting date-1 moth <Invoice date< Posting date+1

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 19, 2011 at 04:02 AM

    Hi,

    The system is allowing you to post the document because the posting period for the particular date is open. Goto OB52 put the current period in the allowed posting period for all account types in your Company Code. Do this, I think your problem will be solved there is no need to control it through validation.

    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.