SAP - MS SQL Users ?

Hi,
On each server SAP, instance DB (MS SQL Server 2005 or 2008) in the SAP database users (eg. PRD),iI see a DB user with the same name as the SID of the system, or PRD.
Is it necessary, not sufficient <SID>ADM and SAPService<SID>? something will happen if i block this DB user ?
regards,
T.

Hi Tomasz,
the <sid> user in the <SID> database is the owner of all objects used by SAP, therefore you cannot block/lock/remove it if you want your system to work.
Please also see:
SAP Note 592514   - MSSQL: internal database users, permissions and security
SAP KBA 1645041 - Changing the password of a MS SQL Server Login in SAP environment
These clarify in more detail which users and logins are used and what you can / should not do with them.
Regards,
Beate

Similar Messages

  • Does SAP use SQL server's snapshot and transactional replication?

    Gurus:
    Could you help with this?
    Does SAP use SQL server's snapshot and transactional replication?
    Thanks!

    Hi Christy,
    no, SAP does not directly leverage these functions.
    But none the less, it is up to you to use these on your system. I regulary use the snapshot functionality when applying Support Packages. In case somehing goes wrong a snapshot is the easiest way to roll back the import process (not exactly the best choice when talking about production and users keep on working while importing).
    Have a look at this [document |http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/SAP_SQL2005_Best Practices.doc]. It deals with Best Practices and also covers snapshot, replication and mirroring.
    Sven

  • How to create "SQL user"?

    I'm trying to use MaxDB Database Studio (7.7, db 7.7) to manage tables on the system. However, the existing DB accounts are only SUPERDBA and CONTROL, and with both MaxDB Database Studio only tells me that DBM sessions are possible. For SUPERDBA I don't have password so I used the CONTROL user to copy the account to a new one.
    What I get is the following:
    SERVERRIGHTS=DBInfoRead,SystemCmd,ExecLoad,UserMgm,DBFileRead,Backup,InstallMgm,LoadSysTab,ParamCheckWrite,ParamFull,ParamRead,DBStart,DBStop,Recovery,AccessSQL,AccessUtility,SharedMemoryMgm,SchedulerMgm,Scheduling,EvtDispMgm,EvtDisp
    GUIRIGHTS=
    SECONDPASSWORD=NO
    DISABLED=NO
    COMMENT=
    USERTYPE=
    I know I probably need USERTYPE=SAP or USERTYPE=DBA but after spending many hours search documentation its nowhere to find
    Pls help
    Sanjay

    Hi Sanjay,
    in DBA Studio there is no GUI to create and manage SQL users.
    Instead you've to use the SQL command window to write and execute the appropriate SQL command e.g.
    create user TEST password TESTPWD not exclusive dba
    Be aware that you have to know the SYSDBA (SUPERDBA) logon to be able to create new SQL users, since the SYSDBA 'owns' the other SQL users.
    'CONTROL' on the other hand is a special user that is basically just there for the NON-SQL part - the DBM (=DATABASE MANAGEMENT) part.
    Check the documentation [here|http://maxdb.sap.com/doc/7_7/4a/948d32c2b641c5bf324d1e801c9341/content.htm] for that.
    Maybe this older [blog entry|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417500%29ID1133211750DB01786059640752317934End?blog=/pub/wlg/7595] of mine is also useful to you.
    regards,
    Lars

  • Send email from SAP to External User ..........

    hiii
    <b>Is it possible to send mail from SAP to External user??????if possible does BASIS people had to do something???</b>
    I want to send the email from sap to external user([email protected]).My mail will consist of some changes made in production order(CO03). for which i had created the BADI. That part is over now i want to send the mail.
    <b>I got many sample programs in sdn but when i enter the email address it execute but mail is not sent.....I want to know by just executing Zprogram mail will be sent or there is some role for BASIS also..............</b>
    Thanking you.
    Regards.

    There is a transaction called SCOT that needs to be configured
    http://www.sap-basis-abap.com/sapbs035.htm
    http://www.sap-img.com/basis/basis-faq.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm

  • How to access Sap portal login user in ejb web service

    Hi,
    I wnt to access SAP Portal login user in my ejb application which resides on the same server.
    I am using following code
    try {
         IUser user =null;                         IWDClientUser wdUser = WDClientUser.getCurrentUser();
                                  user = wdUser.getSAPUser();
                             } catch (WDUMException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
    Some additional jar files are required for this?
    The same code works fine with webDynpro but not with ejb.
    Thanks in advance     
    Best regards,
    Nilesh

    Thanks for reply.
    I have already added com.sap.security.api in my EJB module project classpath. How to add the same in EJB application Project (application-j2ee-engine.xml)?
    Best regards,
    Nilesh

  • How do we reset password for SAP* and DDIC user in SAP R/3 ECC 6.0?

    Hi,
    How do we reset password for SAP* and DDIC user in SAP R/3 ECC 6.0?
    I tried with acual method as below from client '000':
    DELETE FROM USR02 CLIENT SPECIIED WHERE BNAME = 'SAP*' AND MANDT = '001'.
    After this when I tried to logon '001' using SAP* with password PASS it is giving  the message that Incorrect logon and password.
    (Also when I checked for 'SAP*' in 001 it looks like it is not got created as I queried as below:
    SELECT SINGLE * FROM USR02 CLIENT SPECIFIED WHERE BNAME = 'SAP*' AND MANDT = '001'.)
    Can anybody throw some light on this? RewardS is guranteed for solutions!
    -B S B

    Hi again:
    I forget to tell.
    You must restart the system. So, that a new user with the name "sap*" gets generated with password "pass"
    Hope this wil help,
    Eric

  • How can I use Seeburger java functions on SAP XI's user defined functions?

    Hi All,
    As my title implies; how can I use Seeburger java functions on SAP XI's user defined functions?  I've tried searching over the net in tutorials regarding this topic but I failed to find one; can someone provide me information regarding my question? thanks very much.
    best regards,
    Mike

    Hi Mike !
    You should check your documentation about which java classes you need to reference in the "import" section of your UDF. And also deploy the java classes into the java stack or include them as a imported archive in integration repository...it should be stated in the seeburger documentation.
    What kind of functions are you trying to use?
    Regards,
    Matias.

  • How to use SAP RDE CRM Users products

    Dear Experts
    Am facing a issue when use SAP RDE CRM Users product as belows:
    At this time, my customer running with ERP ERP 6.0 EHP4 in three
    landscapce (server DEV, server TEST and server PROD)
    And now, my customer want to use SAP RDE CRM Users product and they
    bought SAP RDE CRM Users product & License from SAP
    I have several question as follows:
    Conditions necessary and sufficient to be able to install and run SAP
    RDE CRM Users product ?
    With a three landscape of my customer at this time -> Need more
    hardware for the installation of SAP RDE CRM Users ?
    SAP RDE CRM Users product is a Integration of ERP ?
    SAP RDE CRM Users product can be installed as a component of ERP
    system ? or SAP RDE CRM Users product is a standalone system ?
    If a component of ERP -> how to install and use it
    If a standalone system -> how to install and use it
    Please guide me to know this issue
    Thanks and best regards

    Hi,
    Can you give me information about crm rde if you got them??
    Thanks in advance,
    Frank

  • XI User map SAP R/3 User

    Hi experts,
    Its possible, with the same sender agreement and the same bussines service, one xi user to one sap r/3 user in xi?
    Example:
    Bussines Service: BS_SendSomething
    Bussines Service: BS_SAPR3Receive
    Comunication: BS_SendSomething -> BS_SAPR3Receive
    With userA and userB in BS_SendSomething
    With userR3A and userR3B in SAP R/3 (configurated in diferents receiver agreements)
    I want (without change any xml) this map in XI:
    usera - userR3A
    userB - userR3B
    Thanks in advance.

    Hi Prateek Srivastava,
    I have a sender agreement with the label "Assigned Users"  with the users: userA and UserB. For example i want that userA  go to determinate receiver agreement and UserB go to other receiver agreement.
    Thanks.
    Note: It's possible to convert this post to a question?
    Message was edited by:
            Iñaki Vila
    Message was edited by:
            Iñaki Vila

  • Use of active directory userid/password authentication instead of SAP R/3 User/Password for digital signature?

    Dear all,
    I am looking to setup the use of active directory userid/password authentication instead of SAP R/3 User/Password for digital signature. We SSO to the backened ABAP AS via an SAP NW Portal to which SPNEgo kerberos authentication is setup. Today we specify R3 user id/password to digitally approvae a lot release. The idea is to have users maintain one AD password and don't have to remember the R/3 password anymore and also our Security team to avoid password maintenance.
    I know there are 3 options for digital signature and
    System signature with authorization by user ID and password (We use this currently)
    Digital User signature with verification - (We would like to use this with AD userid/password, so the system still ask the users their AD userid/password for the authentication when they try to "sign" a document.)
    User signature without verification
    Do you think there is a way to configure the system in order to ask and check the active directory userid/password instead of SAP R/3 password? Where can I found documentation about it ?
    I have several different versions of AS ABAP starting from NW 7.02 to NW 7.31.
    My active directory is based on Windows 2008.
    Thanks in advance!!
    Dhee

    Actually enabling Kerberos for SSO purposes and enabling Kerberos for digital signatures are two different topics although the latter is because of the former. I'm interested in the topic as well and I'm currently looking at different options. SAP provides a BAdI for the digital signature API which can be used for external authentication but they do not provide the solution to invoke Kerberos authentication based on username and password. SAP provides a semi solution with NWSSO 2.0 SP2 which works only on Windows with classic dynpros meaning SAP GUI for Windows is assumed. The solution is based on an ActiveX component which does the actual Kerberos authentication using the Secure Login Client which is part of the NWSSO suite. Extending that implementation to non-Windows and non-GUI applications would require some sort of web enabled service that could be used to authenticate the user with username and password. In case authentication is successful, a Kerberos token would be returned to SAP which would then be validated. All the required pieces are there since SAP has Kerberos support now in both stacks of the NetWeaver Application Server, some bits are still missing though which leaves customers looking at 3rd party or custom solutions.

  • ABAP-Programming for SAP BW u0096 User-Exits und BAdIs

    Hi experts,
    i am a novice und looking for informations about Badi and User-exits for BW .
    i want to learn how to programm extractors.
    Can you you help me by giving me some informations or documents or sap links where i can find informations?
    Cheers

    Dear Mr Herzog,
    Congratulations for the book: Abap Developement for SAP Netweaver BI: User exits and BadIs.
    We're trying to implement the suggestions on the chapter 5.1.1 Interface of function module EXIT_SAPLRSR0_001 (page 136), however, we're having problens with the abap sintax CALL_FUNCTION  l_d_name IF FOUND.
    The command IF FOUND is not accepted.
    It'll be very helpful to avoid issues on tranporting include zxrsru01.
    I appreciate any additional help on how to implement it.
    Best Rgs
    Eliseo Bouzan

  • Calling PL/SQL user defined functions from ODI Constraints

    Hi All,
    We are trying to call user defined PL/SQL functions from ODI. We are able to call them from ODI's User functions. But when we are trying to call them from ODI Constraints under Models, it is throwing an error 'ORA-00920 invalid relational operator'. Kindly let me know if anyone has faced the same issue and got the resolution for the same. Thanks in Advance.
    Regards,
    Abhishek Sharma

    Hi Ace,
    Thanks for the response, the same error was coming in operator also.
    I am able to call PL?SQL user defined functions from ODI Constraints. We have to first call ODI User functions from the ODI constraints as we cant call PL/SQL function (compiled in database) directly.
    From the ODI User functions, we can then call the PL/SQL functions.
    Please reach out to me if you need further details reg this.

  • Pull data to SAP to SQL databse

    Hello Friends,
    I have to pull data from SAP to SQL data base ,what would be the best practice RFC or IDOCS
    and how should i use them ????
    Pls explain me the process from scratch .
    its urgent......... pls
    thank you
    Kanishka

    It is better you go for ALE/IDOCS.
    ALE/ IDOC/EDI
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    Rgds
    Abhishek

  • Sql user id and password

    Hi Expert,
    How to get sql user id an password  by useing DI and APi object,

    You cannot get sql user password through UI, DI and even not from sql db. Its really not possible. You may get only sql user as
    SELECT SYSTEM_USER
    - simply call it from DI recordset. If you are using windows authentication, youll get domain and user, otherwise the sql user.

  • SQL User Defined Functions for performing statistical calculations

    Hi!
       I hope you can help.  I just wasn’t sure where to go with this question, so I’m hoping you can at least point me in the right direction.
       I’m writing a SQL Server stored procedure that returns information for a facility-wide scorecard-type report.  The row and columns are going to be displayed in a SQL Server Reporting Services report. 
       Each row of information contains “Current Month” and “Previous Month” numbers and a variance column.  Some rows may compare percentages, others whole numbers, others ratios, depending on the metric they’re measuring.  For each row/metric the company has specified whether they want to see a t-test or a chi-squared statistical test to determine whether or not there was a statistically significant difference between the current month and the previous month. 
       My question is this:  Do you know where I can find a set of already-written user defined functions to perform statistical calculations beyond the basic ones provided in SQL Server 2005?  I’m not using Analysis Services, so what I’m looking for are real SQL User Defined Functions where I can just pass my data to the function and have it return the result within a stored procedure. 
       I’m aware that there may be some third-party statistical packages out there we could purchase, but that’s not what I’m looking for.   And I’m not able to do anything like call Excel’s analysis pack functions from within my stored procedure.   I’ve asked.   They won’t let me do that.   I just need to perform the calculation within the stored procedure and return the result.
       Any suggestions?  Is there a site where people are posting their SQL Server UDF’s to perform statistical functions?  Or are you perhaps aware of something like a free add-in for SQL that will add statistical functions to those available in SQL?   I just don’t want to have to write my own t-test function or my own chi-squared function if someone has already done it.
     Thanks for your help in advance!  Oh, and please let me know if this should have been posted in the TSQL forum instead.  I wasn't entirely sure.
    Karen Grube

    STATS_T_TEST_
    docs.oracle.com/cd/B19306_01/server.102/b14200/functions157.htm 
    STATS_T_TEST_ONE: A one-sample t-test
    STATS_T_TEST_PAIRED: A two-sample, paired t-test (also known as a crossed t-test)
    STATS_T_TEST_INDEP: A t-test of two independent groups with the same variance (pooled variances)
    STATS_T_TEST_INDEPU: A t-test of two independent groups with unequal variance (unpooled variances)

Maybe you are looking for

  • NUMERO DE NOTA FISCAL "0"

    Bom dia pessoal, Tudo bem? Estou com um problema, o seguinte, tenho um processo normal de vendas, crio a ordem, remessa, e documento de faturamento, por ultimo gero a nota fiscal e impressão, mas não esta gerando o numero da nota fiscal, o campo nume

  • I had to reset my phone and now when I text my contacts are not showing up

    I had to reset my phone and now when I send and receive text messages it is not showing the contact name only the phone number.  Help.

  • Ipad & VGA Connection

    Help! My client works in social marketing and wants to connect his ipad to our vga screen using the vga addapter to show his tweeting/facebooking - without an ipad of my own to test this im not sure whether it will work or not? Has anyone tried to do

  • I backed up my iphone and now cannot find pictures and contacts from backup

    I backed up my iphone and now the pictures and contacts are gone and will not reload back onto phone.

  • For those that need help.

    Hi all. I've been using GB for a few years now. I love this program. In my projects I felt like I needed a little more power so I upgraded to Logic Pro about a year ago. This program is so huge that I got my hands on a DVD video tutorial set by MacPr