You are on page 1of 8

5/26/22, 11:38 AM Information on how the OPS$ Users Work

 
Information on how the OPS$
Users Wor

A Safety Ring
A symbol of your promise to protect children in India

UNICEF India Learn

Content Author: Sachin D. J.

Does anyone have information or a good understandin


how the OPS$ users work and operate under an Oracl
SAP environment.
I would greatly appreciate some assistance as I have
problems with my Brconnect and Brbackup within DB
due to the OPS$ users.

A Safety Ring
A symbol of your promise to protect children in India

UNICEF India Learn

I need info on how to permanently delete the OPS$ us


and then recreate it, due to the fact that I have incorre
https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 1/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

OPS$ users
in some of the tables affected by the OPS$
users.
Below is the document I have prepared on recreating the
OPS$ machanism. It helped me solve all my problem on
DB13 and also on Schema
owner connecting to database.
Hope this could help you.
Also refer to the following sapnotes: 

1. 400241 : Problem withe ops$ or sapr3 connect to oracl


2. 134592  : Importing the SAPDBA role (sapdba_role.sq
3. 361641  : Creating OPS$ users on UNIX

4. 50088   : Creating OPS$ users on Windows


NT/Oracle
5. 437648  : DB13: External program terminated with
exi
code 1/2
----------
select owner from dba_tables where table_name='SAPUS
## If owner is not the sid you require, then drop the
table
SAPUSER

https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 2/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

A Safety Ring
A symbol of your promise to protect children in India

UNICEF India Learn

Drop table "?owner>".SAPUSER;

#or#

Drop table "domain\OPS$SIDadm".SAPUSER;


## IF THE ANSWER IS 0 ROWS SELECTED THEN
CREATE THE TABLE
SAPUSER
# Check whether OPS$?SID>adm user exist, if no then cr
it
create user OPS$SIDadm default tablespace psapuser1d
temporary
tablespace psaptemp identified 
externally;
# if exist then drop it;
DROP USER OPS$SIDADM;

# Grant connect ? resource roll to OPS$?SID>ADM;


grant connect, resource to OPS$SIDADM;
https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 3/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

# Creat table SAPUSER


create table "OPS$SIDADM".SAPUSER ( USERID
VARCHAR2(256),
PASSWD VARCHAR2 (256));
# update "OPS$?SID>ADM.SAPUSER with the follwoin
command

A Safety Ring
A symbol of your promise to protect children in India

UNICEF India Learn

insert into "OPS$SIDADM".SAPUSER  values ('SAPR3'


'sap'); #sap = ?password>
# Under NT it is required that user sapservice?sid> can
al
access the SAPUSER table. In order 
to avoid problems with the data consistency, it does not
m
sense to create an additional 
SAPUSER table having the same contents. You should ra
define a synonym. Check if a suitable 
synonym exists by using the following call:

https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 4/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

SELECT OWNER, TABLE_OWNER, TABLE_NAME


FROM DBA_SYNONYMS
WHERE SYNONYM_NAM
'SAPUSER';
# IF NOT THEN CREAT IT 
create public synonym sapuser for
OPS$SIDADM.SAPSUER;
# if synonym already exists drop the existing synonym
by
following command
drop public synonym sapuser;
#If another name ?name> is returned as first value:
DROP SYNONYM "?name>".SAPUSER;
# AND CREAT it again with above command
# To allow access to the synonym (or the associated table
grant

           
needs to be executed. The authorization for this ha
only the

           
ops$ user who is the owner of the actual table - th
           
ops$?sid>adm. Therefore, you need to log on with
           
corresponding operating system user (?sid>adm) a

https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 5/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

execute the

           
following commands:
           
CONNECT /

           
GRANT SELECT, UPDATE ON SAPUSER TO
"OPS$SAPSERVICE?sid>";
# Now you can recreate the synonym (not PUBLIC, if
possible):
 CREATE SYNONYM "OPS$SAPSERVICESID".SAPU
FOR "OPS$SIDADM".SAPUSER;
 CREATE SYNONYM OPS$SAPSERVICESID.SAPUSE
for OPS$SIDADM.SAPUSER;

# COMMIT AFTER COMPLETION of the activity ? res


the
DB

A Safety Ring
A symbol of your promise to protect children in India

UNICEF India Learn M

https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 6/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

Lifetime Free ERP System - For Unleash your healthy routine Fotos de boda memorables Get the Power To Ac
SME Manufacturers

Ad letstranzact.com Ad VCare Andhra Ad Consejos y Trucos Ad TaskOPad

See Also

Learn NFT's from Scratch Headset with legendary comfortFind Best Colleges in Canada Online ERP Courses
Security
Audit Logs - Intentionally Blocked User
Ad Nas Academy Ad HyperX Ad LeapScholar Ad Coursary
Get help for your Basis problems

Do you have a SAP Basis


Question?

SAP Basis Admin Books

SAP System Administration,


Security, Authorization, ALE, Performa
Tuning Reference Books

SAP Basis Tips

SAP BC Tips and Basis Components


Discussion Forum

Administration In SAP - Sapgui,


Unix, SAP ITS, Router, Client Copy
IDES 

Main Index

SAP Basis, ABAP Programming and Other IMG Stuff

http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com


and the content aut
All rights reserved.

All product names are trademarks of their respective


companies.  The si
https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 7/8
5/26/22, 11:38 AM Information on how the OPS$ Users Work

www.erpgreat.com is in no way affiliated with


SAP AG. 

Every effort is made to ensure the content integrity. 


Information used on this
at your own risk. 

 The content on this site may not be reproduced


or redistributed without the e
written permission of 

www.erpgreat.com or the content authors.

https://www.erpgreat.com/basis/information-on-how-the-ops-users-work.htm 8/8

You might also like