Showing posts with label Installation. Show all posts
Showing posts with label Installation. Show all posts

Thursday, 11 December 2014

SAP GUI connection to SAP system in cloud without using SAPRouter

Scenario:
Alternative solution to access SAP system that install in the Cloud VM without using SAPRouter.

Error:
1) Getting connection error while trying to connect to the SAP system located in the cloud.

Solution:
Example of Microsoft Azure Cloud: 

1) Enable the port:3200 on the endpoint page.

2) Add the outbound and inbound rules in VM firewall.

3) Retry the SAP GUI login, it should be fine by now.

Additional Info on ports used:


(Refer from: SDN page)









Sunday, 7 December 2014

Resolve Oracle SQLPlus Login Error

Scenario:
When trying login to Oracle database encounter error: ORA-12560.


Solution:
Method 1: Ensure Environment Variables: "ORACLE_SID" been set correctly.

Method 2: Ensure Oracle Service and Listener are running.
(OracleServiceSID and OracleSID11203TNSListener)
If the services already started, restart the services and retry the login again.


Saturday, 21 December 2013

Introduction and how to configure SAP Web GUI

To eliminate the extensive support of SAP GUI maintenance and upgrade on user PCs, the SAP Web GUI would provide an alternative solution to avoid all the support hassle and attractive benefit of zero installation.

A) Introduction on the SAP GUI family:

1) Web / HTML GUI: 
Pro: 
- Suitable for users who work with SAP transactions but don't require the performance of a native GUI
- Runs within standard browsers on Windows, Linux, MacOSX, iPad or Android browsers.
Cons: 
- Not getting the performance of an natively running software
- User may encounter usability limitations that caused by the browser framework
- Requires ITS in your SAP landscape to render pages

2) Windows / Java GUI: 
Pro: 
- native high performance
Cons:
- Requires local installation of the solution.
- Requires Java Plug-In on the client side (Java GUI)
- Have to worry about the software installations, upgrades, etc

B) Steps to setup the SAP WEB GUI

1) Verify the ICM configuration parameters. Execute TCODE: SMICM

2) Click "Goto" -> "Parameters" -> "Display"

3) Ensure the parameter: icm/server_port_0 = HTTP,PORT=<Desired port ex:8000>, ........

4)  Ensure the parameter: icm/host_name_full = <Full Qualified Domain Name/FQN>

4) Execute TCODE: SICF, click the "execute" button

5) Select the following node and active the services:
- /default_host/sap/bc/gui/sap/its/webgui
- /default_host/sap/public/bc/ur
- /default_host/sap/public/bc/its/mimes

Right click the selected node and click "Activate Service"

6) Click "Yes"

7) Execute TCODE: SIAC_PUBLISH_ALL_INTERNAL (wait few minutes to activate the publishing services)

 8) The progress will be shown in the status bar

9) Once the progress complete, a information screen will be shown.

10) Login with one of the following URL from the web browser
- http://<IP>:8000/sap/bc/gui/sap/its/webgui
- http://<FQN>:8000/sap/bc/gui/sap/its/webgui


 11) The login splash screen
 12) The SAP Web GUI main menu

13) Sample login screen with iPad



C) Troubleshoot:

1) Problem: The required icm parameters not found
    Solution: Execute TCODE: RZ10 to add the parameter to the profile 



2) Problem: How to check the FQN 
    Solution: View the "C:\Windows\System32\Drivers\etc\hosts" file 
                  (depends on windows configuration, some might not be available and could be added manually)



3) Problem: Error "Session not found" when executing TCODE in SAP Web GUI after login


Solution: Execute TCODE: SICF_SESSIONS and select the client to be access by Web GUI

Double click the state to activate it and retry the login again.

4) Problem: How to ensure the Web login connection details
    Solution: By using the sapmmc (windows), select the connections icon under the ICM for more details


D) Conclusion 
That all for the configuration and in the end, it's all depends on the environment and on the type of users whether to use pure native GUI or Web GUI or even mixture of it.

Tuesday, 24 September 2013

Troubleshoot: Common issues or errors on accessing "SOLMAN_WORKCENTER" in SAP Solution Manager

Some of the common issues that might appear after the newly installation of SAP Solution Manager while executing TCODE: "SOLMAN_WORKCENTER" and how to troubleshoot: 



A) Unable to display the page

1) Execute TCODE: SOLMAN_WORKCENTER

2) Error displaying the page

3) Ensure the host file been updated correctly. ex: <IP> <Computer Name.Domain> <Computer Name>

4) Add the "icm/host_name_full" = FQDN into the profile file (/usr/sap/<SID>/sys/profile/default.pfl) or with     TCODE: RZ10 and restart the server and SAP services since the "host" file been modified

5) Once SAP system is up and running, execute TCODE: SMICM -> Goto -> Parameters -> display to verify the FQDN configure correctly

6) Ensure the icm/host_name_full is correct

7) The page should be able to display by now


B) How to activate HTTP services for SOLMAN_WORKCENTER

In cases where after executing the TCODE: solman_workcenter nothing been shown, verify whether the services been activated / started.

1) Execute TCODE: SICF and click the "Execute" button

2) Select the relevant services and activate it by clicking "Select/Host" -> "Activate"

3) The services required to be activate to execute SOLMAN_WORKCENTER

/sap/bc/ags_workcenter/ags_work_appln
/sap/bc/ags_workcenter/ags_work_webgui
/sap/bc/bsp/sap/wba_start_smdia
/sap/bc/dal/demoA
/sap/bc/webdynpro/sap/ags_work_incident_man
/sap/bc/webdynpro/sap/ags_workcenter
/sap/bc/webdynpro/sap/ags_work_trans_print
/sap/bc/webdynpro/sap/ags_work_incident_create_app
/sap/bc/webdynpro/sap/ags_work_change_man
/sap/bc/webdynpro/sap/ags_work_setup
/sap/bc/webdynpro/sap/ags_work_job_sch_man
/sap/bc/webdynpro/sap/ags_work_implementation
/sap/bc/webdynpro/sap/ags_work_bp_iterf_mon
/sap/bc/webdynpro/sap/ags_rbe
/sap/bc/webdynpro/sap/ags_work_gui_selection
/sap/bc/webdynpro/sap/wdc_wba_rfc_monitoring
/sap/bc/webdynpro/sap/ags_work_gui_default_set
/sap/bc/solman/nwbc/solmanwork
/sap/public/bc/dashboard
/sap/public/bc/icons
/sap/public/bc/icons_rtl
/sap/public/bc/its
/sap/public/bc/pictograms
/sap/public/bc/ur
/sap/public/bc/webdynpro
/sap/public/bc/webicons

4) The SOLMAN_WORKCENTER should be able to access by now


C)  SOLMAN_WORKCENTER showing "You are not assigned to a Work Center"

1) After the TCODE executed, error that cause by authorization issue.

2) Ensure the correct roles been assigned:
    - SAP_SMWORK_BASIC*
    - SAP_SMWORK_ADMINISTRATOR_COMP

3) Try login the portal again:

4) Logging in


5) The page will be shown according to the authorization assigned


6) Some others options depend on roles assigned that can be mix-and -match

SAP_J2EE_ADMIN
SAP_SM_SOLUTION_ALL
SAP_SMWORK_BASIC
SAP_SMWORK_BASIC_BPO
SAP_SMWORK_BASIC_CHANGE_MAN
SAP_SMWORK_BASIC_CONFIG
SAP_SMWORK_BASIC_DIAG
SAP_SMWORK_BASIC_DVM
SAP_SMWORK_BASIC_IMP
SAP_SMWORK_BASIC_INCIDENT
SAP_SMWORK_BASIC_JSCHED
SAP_SMWORK_BASIC_MYHOME
SAP_SMWORK_BASIC_SDA
SAP_SMWORK_BASIC_SERVICES
SAP_SMWORK_BASIC_SMADMIN
SAP_SMWORK_BASIC_SYSMON
SAP_SMWORK_BASIC_TECHADMIN
SAP_SMWORK_BASIC_TECHMON
SAP_SMWORK_BASIC_TEST_MAN
SAP_SMWORK_BPM
SAP_SMWORK_CHANGE_MAN
SAP_SMWORK_CHANGE_MAN_SPC
SAP_SMWORK_CONFIG
SAP_SMWORK_DIAG
SAP_SMWORK_DVM
SAP_SMWORK_IMPL
SAP_SMWORK_INCIDENT_MAN
SAP_SMWORK_INCIDENT_MAN_SPC
SAP_SMWORK_ITEST
SAP_SMWORK_JOB_MAN
SAP_SMWORK_MYHOME
SAP_SMWORK_SDA
SAP_SMWORK_SERVICE_DEV
SAP_SMWORK_SM_ADMIN
SAP_SMWORK_SYS_ADMIN
SAP_SMWORK_SYS_MON
SAP_SMWORK_SYS_MON_SPC
SAP_SMWORK_TECH_MON

Installation of SAP Solution Manager in Windows platform compatible with Amazon / Azure Cloud / Hyper-V / Standalone server

The SAP Solution Manager 7.1 installation steps below suitable on all Windows server environment including Amazon Web Services (AWS), Microsoft Azure, Microsoft Hyper-V or standalone server installation.

These configurations including:
A) Prerequisite
B) Oracle Database Installation
C) SAP Solution Manager 7.1 Installation with SWPM
D) SAP GUI Installation and login the SAP Solution Manager for the first time
E) Others


A) Prerequisite:
1) Windows server 2008 be ready

2) Minimum SAP Solution Manager 7.1 installation files
Download ObjectTitle
50118243_6NW 7.0 Presentation - 7.30 Compilation 2 Present. ½
51041940ORACLE Client 11.2.0.3
51042334_1 – 6ORACLE RDBMS 11.2.0.3 Windows x64
51042607_1 - 12SAP SOLMAN 7.1 SR1 Inst. Export (2)
51042609_1 – 5SAP SOLMAN 7.1 SR1 Java Comp
51042616_9SL CONTROLLER 700
51046511_6 720 UC Kernel for SWPM SP03 - Windows Server on x64 64bit
70SWPM10SP02_4-20009707.sarSoftware Provisioning Manager 1.0 SP2 for NW 7.0x

3) Recommended server specifications:
TypeDescriptions
OSWindows Server 2012 Data Center
RAM12GB
Hard disk400GB (c:\ 100GB d:\300GB)

4) Reference for OS environment setup on AWS Cloud and Microsoft Hyper-V
- AWS Cloud:  Section: AWS AMI Setup and Configurations (SAP IDES Installation)

5) Assumption:
     - The Windows OS will be configure as workgroup instead of joining a domain / active directory.
     - All the installation are mostly with default settings and further configurations or fine tune will be perform
        after the installation.
     - Windows OS been patched to latest update and some prerequisite steps as in SAP IDES Installation
     - The installation time estimation was based on a installation on Microsoft Hyper-V 2012 environment
        with the above mentioned hardware. In fact, the actual installation time might vary.


B) Oracle Database Installation

1) Run the Oracle setup batch file "sapserver,cmd" to begin the database installation

 2) Enter the installation drive and SID

 3) Installation splash screen

 4) Click "Next"

 5) Click "Next" ignore the warning

 6) Select "Skip the software updates"

 7) Select " Install database software only"

 8) Select "single instance database installation"

 9) Click "Next"

 10) Select "Enterprise Edition"

 11) Choose the installation drive

 12) Wait for the verification process

 13) The verification process

 14) Click "Install" to begin the installation

 15) Click "Details" button to shown the installation progress

 16) The additional installation progress screen

 17) Wait until the installation complete and the click "Close" button

 18) Confirm the database been installed



B) SAP Solution Manager 7.1 Installation with SWPM
The installation process estimate will take about ~5 hours to complete with the above mentioned hardware specifications

1) Double click the "sapinst" extracted from SWPM - Section E) Others below shown how to extract the installation file with sapcar program

 2) Select "SAP Solution Manager 7.1 Support Release 1"

 3) Select "typical"

 4) The installation splash screen

 5) Select the SWPM kernel

 6) Enter the SAPSID and installation drive

 7) Configure the FQDN or it can be configure after the installation

 8) Enter the master password

 9) Enter the Oracle database ID created during the database installation

 10) Select the installation export package

 11) Select the other installation export package

 12) Click  "Next" with all the default settings

 13) Select the Java component package

 14) Ensure the installation drive are correct

 15) Click "Next" to accept the default listener configuration or change the port according to existing firewall
        policy

 16) Select the kernel package

 17) Select the Oracle client package

 18) Select "Configure a local SLD" in this example

 19) Enter the computer name in "Object Server Name"

 20) Click the "Next" button

 21) Click "Yes" button

 22) Click "No SLD destination" in this example

 23) Verify the selected options and click "Next" to accept all the settings

 24) The installation begin

 25) Example of the installation process

 26) Example of the installation process

 27) Example of the installation process

 28) Around ~5 hours for the installation to complete

 29) SAP management console and listener status command showing the SAP services are up and running



D) SAP GUI Installation and login the SAP Solution Manager for the first time

1) Perform the SAP GUI installation from the media kit: 50118243_6

2) The settings for the SAP logon

3) Login with user: "sap*"

4) The information screen

5) The relevant SAP system information

6) Login to the portal (http: port: 5<SID>00, https: port: 5<SID>01)

7) Main Menu of the portal

8) Use the default login: "j2ee_admin" and master password entered during installation

9) Sample of information screen

10) Again using the "j2ee_admin" for access

11) Sample of information screen

12) That's all on the basic steps to perform a new SAP Solution Manager installation.

13) Please refer to the common troubleshooting on SOLMAN_WORKCENTER post for further configurations or common errors troubleshooting


E) Others

How to extract the SWPM installation file with SAPCAR

1) Download the "Software Provisioning Manager 1.0 SP2 for NW 7.0x" from SAP marketplace

 2) Extract the sar file with SAPCAR -xvf <swpm filename.sar>

 3) The "sapinst" program use for the SAP Solution Manager installation


How to clear SWPM cache or resolve the SAP Solution Manager 7.1 selection node was not available for installation

After running the "sapinst", the "SAP Solution Manager 7.1 Support Release 1" option was not available and it seem appearing with different option ex: SAP Solution Manager 7.1 for HANA.

This happen due to the other SWPM was executed before and the files were cache and causing the other SWPM relevant selection node not updated.

1) Locate to "c:\users\Administrator\AppData\Local\Temp\2", delete all the files and folders contains in it

 2) Re-run the correct SWPM "sapinst" and the correct node would appear