on 2016 Feb 23 10:29 AM
Hi Experts
Is it possible via role authorization objects for a purchaser to create PO only through processing shopping carts in SOCO and but not able to manually create PO directly?
Appreciate any insight how to do this.
Thanks!
Dex
Request clarification before answering.
Hi Dex,
I just assume you're on SRM 7 ...
You can use BADI BBP_AUTHORITY_CHECK for this. I would implement this BADI so that whenever the current context is not "SOCO" and the ACTVT field is passed as "Create" (= 01) it should return 4. That means wherever SRM checks if the current user is allowed to create a PO it gets the answer "not allowed", only in Sourcing the real authorization is used.
You can read the current context using:
lo_transaction_context = /sapsrm/cl_transaction_context=>/sapsrm/if_transaction_context~get_instance( ) .
if lo_transaction_context->get_transaction_group( ) eq lo_transaction_context->gc_ta_group_soco.
That should work.
Regards
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.