hi experts ,
As i am having credit limit for customers in business partner master data i required users not to update BP except super users here is the validation which i was using but it is blocking for all users including manager
IF (@transaction_type in('U') AND (@Object_type = '2'))
begin
if exists (select a.CardCode from OCRD a inner join OUSR b on a.UserSign=b.INTERNAL_K
where a.cardcode=@list_of_cols_val_tab_del and b.UserSign <> 'manager' )
begin
set @Error = 20004
set @error_message = '"You dont have permission to update the business partner"'
End
End
can any one suggest