Saturday, October 11, 2014

How to reset user SAP*

How to reset user SAP * (Super Admin).


Best way to reset SAP * user password (for ABAP stack) on client 000, use this following method:

We need to delete user ID SAP* in Client '000' at SQL level.
For MS-SQL, you will use the SQL Management Studio and run a Query.
Delete from <Schema>.USR02 where MANDT='000' and BNAME='SAP*'
commit;
For DB2:
logon as db2<adm>
db2 "select bname ,mandt from <schema>.usr02 where bname='SAP*'";
db2 "update <schema>.usr02 set bname="SAPSTAR" where bname='SAP*' and mandt='###'"; 
For Oracle:
sqlplus "/ as sysdba"
To find the schema owner:
select OWNER from DBA_TABLES where TABLE_NAME='T000';
Then instead of deleting the SAP* user, you may rename the user.
update <SCHEMA>.USR02 set BNAME='SAP*<SOMETHING>' where BNAME='SAP*' and MANDT=<some client>;
commit;
commit;
<Schema> is one of these entries:
if system was originally installed with SAP Basis 4.x or below: SAPR3
if originally installed with SAP Basis 6.x (That is ERP 5): SAP[SID]
If originally installed with SAP Basis 7.x (That is ERP 6): SAPSR3

You then need to change the instance parameter:
'login/no_automatic_user_sapstar = 0' (Zero) and restart the system. You can then logon to client '000' with User SAP* and password 'PASS'.
IMPORTANT: You must create your user ID in client '000' and Recreate SAP* then change the instance parameter 'login/no_automatic_user_sapstar = 1' and restart the system.

If you want to change SAP* in clients other than 000, simply use the same procedure and adapt client number accordingly.


Use the following SQL:

Delete from <Schema>.USR02 where MANDT='000' and BNAME='SAP*';


Saturday, October 4, 2014

Explain SAP Basis and it's operation?

Explain SAP Basis and it's operation?

Basis is a foundation part of SAP systems. Answer to the question of what exactly SAP Basis is very difficult because of its many different components. Let's look at the some. 

This definition of SAP BASIS lays out the basics. Basis consists of the following components:
Client/server architecture and configuration: This is the technical foundation of both SAP and Basis.
A relational database management system (RDBMS): Basis overlaps with many aspects of traditional database administration.
A graphical user interface (GUI): The GUI is the interface through which the Basis administrator interacts with SAP systems.
A development environment: This is where Basis development takes place.
A data dictionary: Data dictionaries are an indispensable part of the development process.
User and system administration and monitoring tools: These allow the Basis administrator to maintain the integrity and performance of SAP systems and address user concerns along the way.
Understanding what these components are, and how they function together, is key to being able to answer the question what is SAP Basis?

SAP Learning - Roles

Role creation Tx…… PFCG:




                                                                  












CLICK ON     ROLE















CLICK ON   MENU
CLICK ON    TRANSACTION

client copy - import/export in sap with 'screen-prints'

In SAP, we have Three types of client copy:

  1. Local client copy Through SCCL
  2. Remote client copy  Through  SCC9
  3. Client Export and Import procedure  Through  SCC7, SCC8 
  4. (SCC8  for Client Export & SCC7 for client import)

In below case the Client export and import procedure with screen shots is presented. we have two scopes to do the work done. First is export all the client data & Second is only user master data export & import .
Now we can see  User master data copy from one client to another client.
User Master Export client before client refreshment:

Step 1: Use Tx Code SCC8 and select parameter.







Step2.Click on Start immediately (or Schedule as Background job) and continue












Step3: Click 'OK'













Remember:
1.  "DR1KO02438" for transporting cross-client data, if you have selected this
2.  "DR1KT02438" for transporting client-specific data
3.  "DR1KX02438" for transporting client-specific texts, provided texts are available in this client
Step4: Go to SE01 and click on transports. If you get this message means it still going on, click on refresh to get latest information. 







Step5:Then go to Target client Check request in SE01 Transport and check the request number









Step6:Go to STMS  select request and click on Import Request  (if request in not in list then add it manually)





Step7:Select target client and click on Import 











Step8: System will ask for password and enter











Step9:Import will be done in few minutes.




Step10:Now call  Tcode  to SCC7 and click on OK










Step11:Click on Schedule as Background Job, choose background server (using F4), select Immediately







Step12:Click on Schedule Job and then on Continue 

















step13:Click on OK. Check the log in SCC3

















Step14:Go to SCC3 







Step15: Double click log and check details