cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SRM authorization object for manual create PO vs processing SC in SOCO

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

oliver_wurm
Active Participant
0 Kudos

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

Former Member
0 Kudos

Thanks Oliver

Answers (0)