Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
In this blog it is explained how to do the very first steps with the tools of the MaxDB that are shipped with the ABAP Trial Version download.    In the download of the ABAP Trial Version there are two tools, one for database administration (Database Manager) and the other one for having a look at the tables and the execution of SQL statements (SQL Studio) on tables of interest. Both tools have a GUI as well as a CLI (Command Line Interface) - in this blog only the GUI is used. The database itself (MaxDB) is installed during the installation of the ABAP Trial Version, the tools however must be installed manually. You can find them in the directory 'maxdbtools' of the tree structure of the download. After installing the tools you will find two new icons on your desktop. Doubleclick on the Database Manager icon to start this tool.  The Database Manager comes up with its entry screen.  At first you have to select the database you'd like to administrate. Click on the 'Add' button. The system will give you an overview of the databases that are on the selected machine (your PC). In my case, there is only the NSP database from my ABAP Trial Version. Select the database of your choice and press the 'OK' button. Now the selected object will appear in the upper right window. Click on the Connection icon (red) to get connected to the database. You have to enter the name of the database manager user for this database and his password. The user is set by the ABAP Trial Version installation to 'control'. The password is the one you entered during the installation process for the database. Press OK. Since in my case the NSP database is not running, there are red balls at the database icons. Click on the online-icon (highlighted in red) in the menu bar to start the database. If the database is running, there will be a process 'kernel.exe' in the processes list of the task manager of your PC. In additon to that, a service 'MAXDB: NSP' will be started. Now it's done - the database is up and running and we are connected with the Database Manager tool to it. The entry screen gives you an overview about the database size and the sessions that currently running. Yet you can have a closer look at the different items. For example, click on the 'Information' button on the left menu, a submenu will appear, and then select 'Data Area'. Here you can see the physical locations where the data is stored. If more storage is needed you can add another volume (Configuration).  Since with the new ABAP Trial Version SP12 the online documentaion for the Database Manager is not available, you can get the information from here .  Click on the 'Tools' button in the menu bar and select 'SQL Studio' or just doubleclick on the 'SQL Studio' icon on your desktop. The SQL Studio will be started. Be sure that the database is running, if you come by way of the desktop item.   Click on the key button on the left side of the button bar. Enter the server name where your MaxDB is running, Database = 'NSP', User = 'SAPNSP', Password is the one you entered during the installation of the ABAP Trial Version for the database.  Press 'OK' button.  This is the entry screen of the SQL Studio.  If you like to see for example which tables are in the ABAP Trial Version, just click on 'Tables' and scroll down. For example, searching for the structure of the SFLIGHT table that is well known from our demos, enter 'SFLIGHT' into the field below button bar and open up the tree beyond 'Tables (SFLIGHT)'.  Here you can see all elements of table SFLIGHT. If you are eager to know what is inside the table, just go back to the dialog window and enter the open SQL statement 'select * from sflight'.    If you'd like to have more information on that, click here .    For more Information about MaxDB, click here .     
3 Comments