SAP Basis/Netweaver Tutorials, Monitoring, Administration(Certification) and FAQs Headline Animator

SAP Basis/Netweaver Tutorials, Monitoring, Administration(Certification) and FAQs


Thursday, 2 May 2013

How to restart any java application in SAP netweaver AS Java?


This article answers the following queries:

§      How to restart any application in SAP netweaver AS Java?
§      Which tools can be used to restart any java application in SAP netweaver AS Java?

----------------------------------------------------------------------------------------

There will be many applications in SAP Netweaver As java. These java applications can be stopped, started or restarted using NWA tool and Visual administrator tools.

In this article, am covering the process to be followed to restart java application through NWA


Login  to SAP NWA tool through java link similar to below one providing hostname, port following by nwa quick link



i)              System prompts you to enter user id and password as shown below





















Authenticate yourself by providing administrator/j2ee_admin user id and password

ii)              Once logged in, you will see screen similar to below



















iii)              Navigate to System Management -> Administration -> Applications as shown in below figure.









iv)              In the above screen, from the dropdown box of show, select “ALL applications” and in the Get dropdown box, select Application name as shown in below screen which displays all the applications and their status. 















v)  Select the application on which you want to perform start/stop. 

Once you select the service respective operation is highlighted. i.e. if application is currently stopped, it provides option for you to start it and viceversa.

If you would like to restart a service, first of all stop it and then start it.













How to view SAP support pack schedule?

This article answers following queries in sap

§      How to view SAP support pack schedule?
§      Where can we get SAP support pack schedule information?
---------------------------------------------------------------------------------------

In real time, you may wish to perform support pack upgrade for an application like ECC. In those cases, you may be interested to know, when is the next support pack stack release for specific application, so that you can plan upgrade accordingly.

You can get SAP support pack schedule from Service Market Place(SMP).

To view the SAP support pack schedule, please navigate as follows:
In SMP, Go to “Software Downloads” tab  -> “SAP Software Download Center” -> “SAP Support package stacks” -> SP Stacks maintenance schedule


Please refer below screenshot which shows the navigation







On the right side of the above screen, you can view the release week of every application. The week number on which support package stack will be released for each application will be given. The week number starts at 1 (indicating 1st week of Jan) and it goes on.
You can have complete view of the schedule by collapsing the left side window.

































In the above screenshot, you can view that SAP ERP 6.0 ,  support pack level 23 will be released in 16th week of 2013 in Quarter 2.


Similarly SAP Netweaver 7.0, support pack level 28 will be released on 4th week of 2013 in Quarter1







Tuesday, 30 April 2013

How to access SDM tool in sap?



This article answers the following queries:

§      How to access SDM tool in sap?
§      How to invoke SDM remote GUI client tool in SAP?
§      Explain the steps you follow to deploy software using SDM tool in sap ?
§      How to change SDM password?
§      What is the default port used by SDM?
§      What are SDUs in SAP?
§      Is it possible to undeploy java components from SDM?
§      How to undeploy java components from SDM?
§      Is it possible to undeploy a component that is dependent on other 
     components in java of SAP?
§      How to undeploy a component that is dependent on other components in 
     SDM?
§      At which location SDM log s are written?
§      Name different logs files related to SDM and their content in SAP

----------------------------------------------------------------------------------------


Software Deployment Manager(SDM) is the standard tool to install or deploy java components on the AS java of sap.

SDM will be present in the Java Central Instance server. To access the same you have to navigate to the following path at Os level and run RemoteGui.sh( if it is in Unix Os) or RemoteGui.bat file (if it is windows Os)

In windows :

<Drive>:\usr\sap\<SID>\JC<inst no>\SDM\program

Eg: Navigate to  D:\usr\sap\RJ1\JC00\SDM\program and run RemoteGui.bat file

In Unix :

/usr/sap/<SID>/JC<inst no>/SDM/program

Eg: Navigate to /usr/sap/<SID>/JC00/SDM/program and run RemoteGui.sh file

I f you perform any of the above steps based on your operating system, SDM GUI will open as shown below:

                     
                          Figure 1:




Click on Connect button (highlighted in above picture). Then System prompts you to provide SDM password to connect to the tool as shown below.







Figure 2:

As shown in the above figure, please note SDM connects to port 18.
i.e  If instance number is 00, then the SDM port will be 50018.

Please provide SDM password and click on Login button to connect to SDM tool. Once you are successfully connected, a screen similar to below will appear.





 Figure 3:

Please note that there are 4 following tabs here


  • SDM Repository
  • Deployment
  • Undeployment
  • Log Viewer
and each one of them have significance as described below.

i)              SDM Repository: This stores information about the registered SDAs (Software Deployment Archives) and SCAs (Software Component Archives).
SDAs and SCAs are called as SDUs (Software Deployment Units)

When deploying SDUs, the Software Deployment Manager stores the data in the SDM repository, where it then manages the installed archives.

On the SDM repository tab, we can

§      Browse the deployed components by target systems
§      Browse all deployed components (i.e. list of SDAs and SCAs)
§      Manage the public substitution variables
§      View the SDM repository information
§      Change the SDM password

In the above screenshot, if you select the icon highlighted in red color, you will be able to display public substitution variables and maintain them.

Please refer below screenshot for reference:

You can add or remove substitution variables by clicking on plus and minus icons present in the below screen.


Figure 4:

By clicking on the icon highlighted in blue colour in the figure3, we can display SDM repository related configuration information as shown below.


























Figure 5:

How to change SDM password?

Please refer below screenshot. By clicking on the highlighted icon in SDM repository tab, we can change the SDM password



























Figure 6

ii)              Deployment:  We use the deployment tab in SDM for actually deploying new Software Deployment Units (SDUs). The SDM takes you through selecting the components and actually deploying software in the target directory.

Under deployment tab, you can view screen as shown below:
























Figure 7


iii)  Undeployment: It is possible to undeploy java components that are deployed earlier. Use the Undeployment tab to do the same. Select all the components that were deployed earlier and no longer needed and click on “Start Undeployment” tab to undeploy the same. A screen similar to below will be available to you.




















Figure 8:


SDM automatically checks for dependencies while undeploying any component. If you are undeploying any component, please make sure you undeploy all other dependant components beforehand.



iv)              Log viewer: This tab page will be used to view SDM work related log. Once you select this tab, you can view screen similar to below one which displays all the logs related to SDM tool.

We can locate this SDM log at Operating system level also at following path:
/usr/sap/SID/<Instance_name>/SDM/program/log























              Figure 9:

 If you wish, you can also check other logs related to SDM by clicking on highlighted “Choose other logs” icon in the above figure. This will result in following screen, where you can select the desired log file to view the content.



 

Figure 10:

Please find below table which provides the log file names and their content












Monday, 29 April 2013

SDM Modes and start/stop process


This article answers following queries :

§      What is full form of SDM?
§      Which tool is responsible for deploying software in AS java of SAP?
§      What is meant by software deployment?
§      How to remove the link between SDM and Java control framework in sap?
§      What are the different modes of SDM?
§      How to change mode of SDM?
§      How to start or stop SDM independent of the java engine?

-----------------------------------------------------------------------------------------

SDM stands for Software Deployment Manager.

SDM tool is responsible for deploying software in AS Java of SAP.

SDM is used by a large number of tools like JSPM, NWDI etc in the AS Java environment for deploying software. Also, SDM is the tool used to deploy special software packages that are received from SAP and other providers.
Software Deployment is the last step in the delivery process of software. That is the transfer of supplied software packages (SDAs, SCAs or other j2ee archives) into the runtime environment of the SAP system.

How to start or stop SDM independent of the java engine?

Usually SDM starts/stops with Java engine. However, it is also possible to start or stop SDM independent of the java engine. Please find below process to do the same.

i)              Open command prompt and navigate to the usr/sap/<SID>/<Instance_name>/SDM/program directory of your J2EE engine

ii)            Execute stopserver.bat file in windows to stop SDM. Incase if Os is UNIX related, execute stopserver.sh file. This stops SDM. To verify, whether SDM is stopped or not, it can be checked in MMC or SAP Management Console or JCMon or JSMon

iii)           Execute startserver.bat file in windows to start SDM. Incase if Os is UNIX related, execute startserver.sh file. This starts SDM. To verify, whether SDM is started or not, it can be checked in MMC or SAP Management Console or JCMon or JSMon

Modes of SDM:

There are 2 modes in SDM. They are

   Standalone
   Integrated

These modes determine whether SDM will have link to Java control framework or not.
In standalone mode, SDM will not have link to Java control framework. Please note that in standalone mode, SDM will no longer start or stop automatically with J2EE engine.
In Integrated mode, SDM does have a link to the Java control framework.

Changing SDM Modes:

i)              Open command prompt and navigate to the usr/sap/<SID>/<Instance_name>/SDM/program directory of your J2EE engine.

ii)            Execute stopserver.bat file in windows to stop SDM. Incase if Os is Unix related, execute stopserver.sh file

iii)           To remove the link between SDM and the java control framework, execute the following command in the command line in respective operating systems.
sdm jstartup “mode=standalone”         à        (In windows Os)
sdm.sh jstartup mode=standalone        à          ( In Unix os)

iv)           To integrate the SDM in the java control framework, execute the following command in the command line in respective operating systems.
sdm jstartup “mode=integrated”             à   (In windows os)
sdm.sh jstartup mode=integrated            à   (In Unix os)

v)             Execute startsterver.bat file in windows to start SDM. Incase, if Os is Unix related, execute startserver.sh file