Monday, October 22, 2012

SAP Portal 7.3 Part II - Configure NWDS with SAP EP Remote Server

Pre-requisite: Read basic of SAP Portal Development

This part discuss about how to configure your Neat Weaver Developer Studio 7.3 with SAP Enterprise Portal Remote server and making it ready for development.


Preparing NWDS for development

NWDS is based on eclipse platform and installation is pretty easy. 


  1. Unzip the package to your folder of choice
  2. Optional: If you wish to change JVM settings for the eclipse, take a look at SapNetweaverDeveloperStudio.ini file and change it.
  3. Click on the SapNetweaverDeveloperStudio.exe which can be found under < install folder>/eclipse
  4. The NWDS studio opens and you are ready to code.


Configuring Remote SAP Server in NWDS

NWDS can be configured to deploy and test code to remote SAP EP server from the studio. Follow below steps to configure a remote SAP Server.

  1. Open NWDS 
  2. From top menu, select Window --> Open Perspective --> Other
  3. Select "Management Console" from the options
  4. Click OK

This opens up the SAP Management console perspective in NWDS. You can locate the Management Console view from the top left side of the studio.
Follow the below steps to configure a server.

  1. Right click and select SAP System from context menu (alternatively you can click on the + icon from the tool bar of management console)
  2. This opens up "Add new SAP System" wizard
  3. Type your SAP server IP address of host name in the "Instance Host name" field
  4. Type your instance number for the SAP EP portal (default is 00) - check with your basis administrator if that is not the case
  5. Type the host name of the server to "Add to Domain" field. (This can be any domain name of your choice)
  6. Click Ok
  7. The wizard will then try to make a connection with the SAP EP server.
  8. If the connection parameters are correct, the wizard will prompt for OS username/password (SDM). Supply the necessary credentials
  9. If everything is right, the management console will show the SAP system details (wait for few minutes to refresh the server)
  10. You can drill down and view the SAP Server details from this view.
Now we are going to set up the deployment configuration for this server. Follow below steps to configure deployment view.

  1. From NWDS top menu, select Window --> Open Perspective --> Other
  2. Select "Deployment" from the options
  3. This will open up the Deployment view
  4. You will a repository explorer view in the left side of NWDS view
  5. You will be seeing the server you have configured in the SAP management console in the previous step.
  6. In this step you may be asked to provide the SAP Portal administrator/password. Be ready with that.
  7. If you are not seeing the server (somtimes this happens first time - may be bug in NWDS), exit the NWDS and open up again and check.
  8. Drill down the server to view the components already installed on the server. (Drill down may take sometime to refresh the items)
In the right side of the Deployment view you will also see option for deployment and un-deployment which you will be using later while developing code.


19 comments:

Nag said...

Requested Sir,
Good Evening.I had a doubt on NWDS.
I have 1 year experience on Java and frameworks(struts,Hibernate,Spring).
Now I am working with NWDS,NWDI,SAP WAS server with JAVA and J2EE.. Please give the steps to download,installation and configuration between NWDS and SAP WAS server.
I am struggling with server configurations.

Give the some suggestion and easy way to build this NWDS ,SAP WAS server related applications quickly.

How we have to connect database.

I have seen your blog while searching about this doubt in google.
I didn't get exact information about NWDS and SAP WAS server in google and youtube.
Here some technical names SAP AS Java,java stack and J2ee engine give differences.
Please give steps to this.


Sorry if any mistake words.

Thanks and regards,
Nageswar Gurram,
Junior java developer,
Mouri Tech Pvt Ltd,
+91-95331-60402.

Sajith said...

Hi Nag,
Thanks for your mail.

SAP WAS, Java Stack, J2EE engine all refers to same. It is the J2EE application server where SAP java based applications will be deployed.

SAP does not provide a free download of the software. If your company having a SAP licence to download then you may ask your BASIS admin to download the software.

You can get the free softwares from this link http://www.sdn.sap.com/irj/scn/nw-downloads

But this is mainly ABAP servers. The only NWDS and java distribution is available for Linux platform. If you have a linux platform, you can download the same and use it. This bundle contains both NWDS and Java Engine.

Regarding development.
It is same as normal Java development. You can develop a normal Java web application as .war file and then deploy to the server. You can use your favourite frameworks such as spring, struts etc.

For SAP EP development, you are required to download SAP EP distribution rather than just the SAP Java engine.

Let me know if you are looking for developing a portal application or web based application. I can give you more information

Thanks
Sajith



Nag said...

Hi Sajith Sir,


Thank you for your wonderful information.

Thanks and Regards,
Nag,

Nag said...

Hi Sajith,

Can ple
Can we install the SAP WAS server in NWDS separately?
If you don't mine I want to contact you ,please provide your number,just i want to clarify some more doubts urgently.



Thanks,
Nag.

























Sajith said...

NWDS is actually based on the eclipse studio. There is no installation required for that. It is a stand alone integrated development studio.

SAP WAS has to be installed separately and you can attach it within the NWDS.

give me your email, i will send my contact details.

Sajith

Nag said...

Hi Sajith,

Thank you




Thanks
Nag,
gurramnageswar@gmail.com,
+91-9533160402

Nag said...

Hi Sajith,

I am searching for SAP WAS server link to download the SAP WAS server for Java.But i am not getting the link.
Can please give that link to me.


Thanks,
Nag.

Nag said...

Hi Sajith,

Please give the download link of SAP WAS server for Java and give the installation steps and configuration steps.

Thanks,
Nag.

Sajith said...

Nag

SAP WAS is not a freeware. One trial version is available for evaluation. it is a sneak preview. you can download it from http://www.sdn.sap.com/irj/scn/nw-downloads

But this is a linux version on a 64 bit machine.

Sajith

Nag said...

Hi Sajith,

Ok, Thank you for your information.
I put my email address and mobile number in previous post as you asked before.


Thanks,
Nag.

Nag said...

Hi Sir,

Good afternoon. How are you!


Thanks,
Nag.

Sajith said...

I am good how about you.

Sajith

Nag said...

Hi Sir,

I am good sir. Right now i am working with NWDS,J2SE. After 3 or 4 months again i will work with J2ee and Frameworks(Struts,Hibernate and Spring) and SAP WAS server as per project requirement.

One point Sir, because of you i got appreciations from my team lead from United States. Your points regarding SAP portal and blog was
very helping me.

I am kindly thanking you Sir.


Thanks and Regards,
Nag

Sajith said...

I am very glad to hear that the blog helped you. I will add some more blogs about EP. enjoy

Nag said...

Ok Sir.

Thank you!!!


Thanks and Regards,
Nag

Nag said...

Hi Sir,
Can you please give me steps to create a blog which will be going to use to save all documents and other files.

Thanks and Regards,
Nag

Unknown said...

Hi Sajith - first of all great work stuff here.

I need your expert advise to understand "Exposing Portal Services as Web Services".

I need to use the AS
Java Web Service framework to expose an EJB as a web service.

I want expose an sum function and get deploy on portal.
But not sure how to proceed - could please help me in this regard ?? I am using NWDS7.1 Sp15.

See the
following link for more information on that:
http://help.sap.com/saphelp_nw70/helpdata/EN/43/cb213e578c0262e10000000a11466f/frameset.htm

Unknown said...

Thanks for sharing such a great blog..Keep posting..

JAVA Course in Chennai

Unknown said...

It was really a nice article and I was really impressed by reading this article. We are also giving all software Course Online Training. The SAP EP Online Training is one of the leading Online Training institute in the world.