Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

SAP NW AS ABAP and BW 7

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 29
At a glance
Powered by AI
The document discusses how to set up and use a virtual machine containing SAP ABAP and BW systems. It provides instructions on downloading, installing, and configuring the virtual machine as well as starting and accessing SAP systems within it.

To renew the license, you first obtain the hardware key by running a command. Then you request a new license file using that key on the SAP support site. The new license file needs to be added using transaction SLICENSE in SAPGUI.

You need to configure port forwarding in the virtual machine network settings. Then create a new connection in your Windows SAPGUI using the virtual machine IP address. The SAPGUI connection can then be tested.

SAP NW AS ABAP and BW

7.50 SP02 : Virtual


Machine
Raul Caraballo / January 13, 2017
Recently was released the SAP NetWeaver AS ABAP and SAP BW 7.50 SP02 on Sybase ASE
16.0 [Developer Edition], and this edition include:

 SAP NetWeaver 7.5 SPS2.


 SAP GUI for the Java Environment 7.40.
 SAP Sybase ASE 16.0.1
The real good news is that is possible to work with SAP ABAP/BW HANA in computers with
8GBRAM.
For that reason I have created a Linux openSUSE virtual machine with all the systems and
software required to practice our SAP ABAP/BW for HANA skills and more. Enjoy It !!!

Prerequisites:
 Download and install Virtual box
 Download SAP NW AS ABAP and BW 7.50 SP02 – Virtual Machine (HANASAPCCLAR)
 p1: https://drive.google.com/open?id=0B8UA-fNUFbzzaGZvMjJhWndmVTA
 p2: https://drive.google.com/open?id=0B0xur3RYAyecUjVnUGg2a2Y1Vjg
 p3: https://drive.google.com/open?id=0B0xur3RYAyecamgtM3ZMZHhKd1U
 p4: https://drive.google.com/open?id=0B0xur3RYAyecME5Pb0pIQkVzSTg
Hardware requirements:
 x64 Processor based hardware.
 At least 8 GB RAM.
 About 80 GB free disk space.
 About 20 GB as Virtual Memory (tutorial)
Step-by-Step:
Open HANASAPCCLAR with virtual box (Maquina / agregar).

Select HANASAPCCLAR.vbox from your system where the virtual machine was extracted.


Start the virtual machine.

Select Boot from hard Disk.


Select openSUSE Leap 42.1. The system should get in without insert user and password.
The default user is SAPCCLAR and the password is sap.cc.lar (just in case that is required).

Click on Activities and find xTerm.

We need to validate that uuidd service is runing. To see that use the command:


sudo service -status-all | grep uuidd
pwd: sap.cc.lar
If the service is no running you need to use the command:
sudo service uuidd start
Change the user to npladm (SAP system administrator)
pwd: sap.cc.lar

Start the SAP Server. Use the command: startsap ALL (to stop the SAP Server use the
command: stopsap).

If the server is running you should see the message: Instance on host vhcalnplci
started.

To start the SAPGUI get in the folder: cd /opt/SAPClients/SASPGUI7.40rev8/bin and


execute the  command: ./guilogon
Connect to NPL system.

If you get the Connection failed Error, close the SAPGUI and stop the SAP
Server (command: stopsap). After that, Start the SAP Server again and the SAPGUI too. Try
to connect to NPL again.
Connect to NPL
client: 001
user: DEVELOPER
pwd: Appl1ance
The system is working fine.
To open eclipse IDE go to Activities and click on Files.
Open the folder / Home / Desktop / eclipse / and Execute eclipse.  Use the
workspace: /home/sapcclar/Desktop/eclipse_workspace.
If the system show the message Eclipse is not responding, select Wait.

If the eclipse is running open the ABAP perspective.


To connect to NPL system. From Project Explorer view double click
on NPL_001_developer_en project and set the parameters:
Cliente:001
User: DEVELOPER
pwd: Appl1ance

To execute a program open: Favorite / ZTEST package / Source Code / Programs


Double click on: ZHELLOHANA and press F8 to run. (other option is, right click in source
windows / Run As / ABAP Application).
The program is working fine. Your SAP NW AS ABAP and BW 7.50 SP02 – Virtual
Machine is ready.

Appendix:
References:
Linux for Newbies: Installing ABAP AS on Oracle VirtualBox:
https://blogs.sap.com/2016/11/03/linux-for-newbies-installing-opensuse-on-oracle-virtualbox/
SAP NW AS ABAP 7.50 SP2 – Developer Edition to Download: Concise Installation Guide:
https://blogs.sap.com/2016/11/03/sap-nw-as-abap-7.50-sp2-developer-edition-to-download-
consise-installation-guide/ https://blogs.sap.com/2016/11/03/sap-nw-as-abap-7.50-sp2-
developer-edition-to-download-consise-installation-guide/
Getting Started with SAP NetWeaver AS ABAP and SAP BW 7.50 SP02 on Sybase ASE 16.0:
http://www.sap.com/documents/2016/07/468b612a-807c-0010-82c7-eda71af511fa.html
SAP ASE Database License
Installation for SAP NW AS
ABAP and BW 7.50 SP02
Virtual Machine
Raul Caraballo / September 4, 2017
About the SAP NW AS ABAP and BW 7.50 SP02 Virtual Machine, the ASE database
license is temporary and should be renewed. If you have been working with the virtual
machine, you have seen this message:
Database is not available via R3trans
_____________________________________
starting database NPL …
Log file: /sybase/NPL/startdb. … please, someone can help to run correctly the
VM, when I try ti startsap ALL, the console say:
Database is not available via R3trans
_____________________________________
The solution is the installation of a new license, as Marcio Cupello shared with us in
a comment.  This tutorial has been created because some people has asked about the step
by step procedure into the virtual machine, so with this step by step you can fix your SAP
database system.
Prerequisites:
 SAP NW AS ABAP and BW 7_50 SP02 – Virtual Machine
Step-by-Step:
The procedure begin downloading the license file and you can follow this url to get
it: https://mdocs.sap.com/mcm/public/v1/open?
shr=dRhHsVYVLc5c1UDveogwtXBdL9m82JccRlvvBXO6K5Q
I’ve downloaded and extracted the content in /home/sapcclar/Downloads folder.

Open a new terminal and execute the follow sequence of commands:


1. using “su” and writing the password “sap.cc.lar“, you will change to root user.
2. copy the license file from Downloads to the SAP System folder  “cp
/home/sapcclar/Downloads/ASE_License/SYBASE_ASE_TestDrive.lic
/sybase/NPL/SYSAM-2_0/licenses/“
3. Go to the licenses folder using “cd /sybase/NPL/SYSAM-2_0/licenses/”
4. You can confirm that the license file was changed watching the date of the last
modification in the properties using “ls -l”

To modified the permissions over the license file, execute “chmod 750
SYBASE_ASE_TestDrive.lic”

Now to test it, change the user to SAP System administrator using “su npladm”

Start up the SAP system with the command “startsap ALL”


You can see the system running fine.
Renew License and Enable
External Access for HANA
Virtual Machine
Raul Caraballo / April 25, 2017
If you have downloaded the HANA virtual machine that I shared, the license has expired
because the license used during the installation was available until April/08/2017. For that
reason is necessary to renew the license and I’ll show you the process.

Additional and answering some questions, I’ll show you how to get access to the virtual
machine using the SAPGUI in Windows instead of the Linux SAPGUI.

Prerequisites:

 SAP NW AS ABAP and BW 7_50 SP02 – Virtual Machine


 

Step-by-Step:

Renew License
The first step is start up your SAP HANA virtual machine. If the SAP Server is working fine
then you can execute the command /usr/sap/NPL/SYS/exe/run/saplicense -get to know
the hardware key of your virtual machine as the image below shown. This key is required to
get the new License.
 
The license should be requested in this URL:
https://go.support.sap.com/minisap/#/minisap and should be selected the option NPL – SAP
NetWeaver 7.x (Sybase ASE). Is necessary set your personal information and the
hardware key to generate the license file. At the end you need to be Agree with the license
agreement and make click on Generate button.
A new file named NPL.txt will be downloaded and I suggest that you save it in your Desktop
folder (/home/sapcclar/Desktop). If the firefox browser in the virtual machine doesn’t do, you
can use another browser in your computer and move the file to the virtual machine.
Start up the SAPGUI and connect to the system with the user: SAP* and
password: Appl1ance. After that using the transaction SLICENSE we will add the new
license.
Please compare the system values and the license values, should be the same the hardware
key and the system number. If not, copy the value from the SAPGUI to the NPL.txt file and
save it.

Clic on Browser button and find your license file. Select it.
Your license was applied fine. Log of to the system and get in with DEVELOPER user to do
practices.
Enable External Access
Is required set some parameters in the network virtual machine setting to access from your
Windows SAPGUI.  Go to network setting / Advance options / Ports.

You need to set the values as the image below shown.


Now is necessary create a new connection in SAPGUI. Server: 127.0.0.1, Instance: 00,
System ID: NSP.
Open the connection created and use the parameters, Client: 001, User: developer,
Password: Appl1ance.
The connection is successful.
 

You might also like