cancel
Showing results for 
Search instead for 
Did you mean: 

PO deletion to be allowed if PO date is in past

Former Member
0 Kudos

Hi,

We have set the message 06028-Purchase order date is in the past as error message.

This is restricting users to create PO in past.

But,if the user has created PO and put it on HOLD. After some days if he goes and change this PO, error 06028 is appearing.

No further processing of this PO is allowed.

Everytime i have to change this message to warning message and revert the changes.

Is it possible to allow user to delete the PO if this message apperas?

Please suggest.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

    To resolve your issue better to use screen variant through transaction SHD0 and select filed as display, so no one can change the date at the time of po creation also you will not get any error message at the time of working on hold purchase order.

Regards,

Ashish Panchal

Former Member
0 Kudos

Hi Sampada,

If an error message is issued, no further changes can be made to the PO until the cause for the error is corrected. In your case, with message 06028 set to 'Error', this is not possible.

Maybe you could try to use the BAdI ME_PROCESS_PO_CUST to restrict users from creating POs with a past date. This way, the PO is still available for change via ME22N.

There is no other way in the standard (other than the workaround you are using) that I know of.

Regards,

Purnima