Question:
Hi all,
My scope is restrict the access to PO and PR by Profit Centers.
I need to check Purchasing Order and Purchase Requisition (ME21N, ME22N, ME23N and ME51N, ME52N...) by authority check for Profit Center. I have a custom table where Society, Werks and Profit Center are linked.
I have no experience with BAdi but I found this, ME_process_po_cust, that seems to be ok. Which method is correct for my intention ?
Sorry for my English.
Thanks,
L.
Answer:
Security should never be based on a cross reference table, especially a custmer built one.
_________________
John A. Jarboe
Answer:
Thank you for your replay but I said about custom table to intoduce a link between Werks (presents in PR and PO) and Profit Center.
For the authorization check I assume to use a cutom authoriation object.
Any help about it?
Answer:
If Plant (Werks) is on the record then control on Plant and do not use the cross reference table. You may be further ahead than thrashing the machine arroud to retreive the extra data and then coding and supporting the exit to control on Profit center and since Profit center is in a hierarchy are you goint to support Responsibility area and code for that as well?
Or recognize that the SAP supplied control shoule be sufficient and use it.
_________________
John A. Jarboe
Answer:
The is a CO validation in the account assignment. You can add authorization checks to user exits in the validation. Be very careful here. What will you really accomplish by such an authorization check.
_________________
bwSecurity