cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Requestor to Delete the Manual PO created in SRM

SAPSupport
Employee
Employee
0 Kudos

Dear Team,

Our requirement is to restrict the Requestor from deleting the manual PO.

We have a Custom role which we are giving the Requestor to delete the AUTO PO in case of any problem in PO. But when are giving the same role to Requestor, then Requestor is also able to delete manual POs which is not supposed to happen.

As the manual POs are getting created via Buyers. In our system it AUTO PO are created with Requester USERID so has created the Shopping cart , but in our system the the Shopping carts are getting created via different ways and from different system according to the Company code . In that case by coding it will be sometime not feasible to the Check the Creator of the PO ( User ID , WF-BATCH etc.) in that case to code wise check is little problematic. Even there one option we checked to we can restrict the deletion role from the PROCESS type, but that won't be possible as it is little impossible that the Process type is only for the Manual PO or Auto PO.

Would you please let us know , if we can use particular Role to restrict the Requestor who is crating the Shopping cart . Only he/she should have the authority to delete the Auto created with his USERID , he/she should not have the access to delete the manual POs.


Thanks.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

Dear Customer,

We are not aware of any role which could be used in particular to a given type of PO.

As your system has custom roles and as per your process which is - as you said - problematic, the solution could be rather to restrict the PO-metadata (the Delete button itself) in a given process.

For example, you could make an enhancement to the class /SAPSRM/CL_PDO_DYN_MDA_IT_PO method Check_delete based on your requirements.

Hope my answer helps you to take a step forth.

Best regards,

SAP Support

Answers (0)