cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to limit access for user based on BP Groups

former_member327292
Participant
0 Kudos

I would like to restrict access of a user based on BP Group, meaning he/she can only access transactions of a certain BP Group only.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

First use this

SELECT T0.UserID, T0.U_NAME AS 'User Name' FROM  [dbo].[OUSR] T0

Try This for Delivery

IF @transaction_type = 'A' AND @object_type = '15'

BEGIN

IF EXISTS (SELECT T0.ItemCode FROM [dbo].[DLN1] T0 INNER JOIN [dbo].[ODLN] T1 ON T1.DocEntry = T0.DocEntry INNER JOIN [dbo].[OCRD] T2  ON T1.CardCode=T2.CardCode WHERE  T1.UserSign IN ('2','3') AND T2.GroupCode IN (100,101) and T0.DocEntry = @list_of_cols_val_tab_del)]

BEGIN

SELECT @Error = 1, @error_message = 'This user have no permission'

END

END

Regards

Bhanu

former_member327292
Participant
0 Kudos

I'm referring to per transaction but for the whole system. Once a user logon, he/she can only access transactions and generate reports of BP belonging to certain group assigned to them.

pardhreddyc
Active Contributor
0 Kudos

Dear,

I suggest instead of that you can choose "User Group" , as i hope BP is having different functionality an d can not be used to restrict normal SAP Module transactions.

But still you can check with below BP authorization objects:

B_BUPA_ATT

B_BUPA_FDG

B_BUPA_GRP

B_BUPA_RLT

But if you are going with BP authorization groups - B_BUPA_GRP , you may need to have ABAPER help in setting sup these controls in reporting structures and some Z- Transactions.

Regards,

Pardhu

Former Member
0 Kudos

Hello,

This would not be possible in standard SBO.

Thanks,

Joseph

former_member327292
Participant
0 Kudos

can you recommend a workaround for this.

daroy_alvin
Active Participant
0 Kudos

Hi,

Try using SP_TransactionNotification

Thanks

Alvin