on 05-18-2015 6:19 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
This would not be possible in standard SBO.
Thanks,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try using SP_TransactionNotification
Thanks
Alvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.