on 02-24-2014 6:15 AM
Dear All,
If one location creating new service call, it should not open or edit other location, but currently able to access or edit. . Can you please provide any query or stored procedure to stop accessing to other location...
Regards
Mohamed Yousuf Ali M I
Hi Nagarajan,
Can you please help me..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yousuf,
For you requirement you have 2 solution,
1. Create Numbering series Branch wise and assign different Group then control it through Authorization.
2. You can control through Stored Procedure. Try this below stored procedure.
if @object_type ='191' and (@transaction_type ='A' or @transaction_type ='U')
begin
if exists(Select distinct 'Error' from OSCL C1 inner join OUSR C2 on c1.userSign2 = c2.userid
inner join OUSR C3 on c3.Branch <> c2.Branch and c1.userSign = c3.USERID
where C1.callid = @list_of_cols_val_tab_del)
begin
SET @error = 19100
SET @error_message = 'You are not linked to this service call Branch...'
end
end
Hi,
It may not be possible in standard SAP.
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mohamed,
Using SP_TN may block user editing service call. However, I don't think you can prevent user to open the call if they are authorized user to create a service call.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
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.