cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable editing of PO by purchaser during approval

Former Member
0 Kudos

HI All,

I Have setup the PCW for PO and the approvers are being determined once the purchaser orders the PO.

When the PO is awaiting approval the purchaser is able to EDIT the PO. (i.e the approval is recalled and then system allows user to change the PO).

This is standard and works perfectly.

Requirement : The purchaser should not be able to edit the PO during the process of approval. The PO should not be called back for revision.

                      Only when the PO is rejected by the approver, the requester should be able to process and revise the PO.

Pls Help.

Thanks,

Sivaraj

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Please implement the BADI "/SAPSRM/BD_WF_PROCESS_RESTART" method "VALIDATE_RESTART"

With Regards,

Malay

Former Member
0 Kudos

Dear Malay,

Thanks for your reply. We had already tried implementing this BADI.

however this BADI is getting called after  the system promots to recall the existing workflow when the EDIT button is clicked.

Our requirement is not to allow the user to edit/recall the PO document in approval.

Please help.

Thank you,

Best Regards,

Sivaraj

Former Member
0 Kudos

Hi,

actually I'm not sure if I totally understood your problem. You don't want the PO to be changeable at all during the approval process? Not by the agent and not by the purchaser?

If so, all your WF steps should be marked as approval steps --> no completion steps.

The EDIT buttons have to be hidden in the POWL as well as in the PO Details screen.

For the POWL you would have to copy the feeder class and redefince the method SET_ACTIONS(not sure if it's this method, but it got ACTION in it...).

Fot the EDIT button on the detail screen you can use DOMODIFYVIEW BAdi.

Hope this helps but as mentioned, I'm not sure if I understood your requirement correctly.