Skip to Content
Technical Articles

New Installation of S/4HANA 1709FPS2 – Part 2 – Installation

This blog includes installation of S/4HANA 1709 FPS2 and will focus on creating Sandbox type instance with co-deployed (embedded) gateway.

Please find other blogs as follows at S/4HANA SQUARE ONE


NEW INSTALLATION     PART1 – MP PART2 –  Installation
PART3 –  BP Activation
PART4 – Fiori Activation PART5 – DATA MIGRATION
S/4HANA 2020 fps1 fps0 fps1 fps0 fps1 fps0 fps1 fps0 fps0
S/4HANA 1909 fps2 fps1  fps0  fps2 fps1  fps0 fps2 fps1  fps0 fps2 fps1  fps0 fps0
S/4HANA 1809 fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0
S/4HANA 1709
fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0
UPGRADE   t2 – MP t3 – SIC
t4 – CCM t5 – SUM
S/4HANA 1809+ link link link link
t5 – CCM t6 – SUM 
S/4HANA 1909+ rc2
link link link prepare
S/4HANA 1809
rc2 link link link EHP7/hdb
S/4HANA 1909+ link custom link standard link
S/4HANA Certification Exams through SAP Certification Hub link

Here is the video for installation of previous version S/4HANA 1610 FPS0 for reference:


It is recommended to install SuSE Linux version 12 ,
TIP: Please refer SAP Note 2380257 – SAP HANA Platform 2.0 SPS 00 Release Note. You can check your operating system version as below:

sid-hdb-s4h:~ # cat /etc/SuSE-release
  SuSE-release SUSE Linux Enterprise Server 12 (x86_64)
  VERSION = 12


The minimum required is HANA 2.0 SPS01 rev12.04 or SPS02 rev23 but it is recommended to go to a newer revision.

If you already have a database, please patch the database to HANA 2 and you can create container using command:


It takes about 2 minutes to create database with this command.


To install database you can use hdblcmgui. I used hdblcm as below.

First unpack the archive to folder 51053061_HANA2_30

====================================================LINUX SCREEN START
sid-hdb:/sapmedia/ #unrar x 51053061_part1.exe
sid-hdb:/sapmedia/ #mv 51053061 51053061_HANA2_30
sid-hdb:/sapmedia/51053061_HANA2_30/DATA_UNITS/HDB_SERVER_LINUX_X86_64 # ./hdblcm

Importing delivery unit HANA_HDBLCM
 Importing delivery unit HANA_SEC_BASE
 Importing delivery unit HANA_SYS_ADMIN
 Importing delivery unit HANA_ADMIN
 Importing delivery unit HANA_WKLD_ANLZ
Installing Resident hdblcm...
Updating SAP HANA Database Instance Integration on Local Host...
 Regenerating SSL certificates...
 Deploying SAP Host Agent configurations...
Creating Component List...
SAP HANA Database System installed
You can send feedback to SAP with this form: https://vhcalhdbdb:1129/lmsl/HDBLCM/HDB/feedback/feedback.html
Log file written to '/var/tmp/hdb_HDB_hdblcm_install_2018-05-19_13.35.17/hdblcm.log' on host 'vhcals4hci'.
After installation of HANA database in case you would like to install integrated livecache, please add the 
plugin as below,unpack HANA DATABASE LCAPPS archive:
sid-hdb:/sapmedia/HANA2_30_LCAPPS # SAPCAR –xvf IMDB_LCAPPS_2030_0-20010426.SAR
sid-hdb:/sapmedia/HANA2_30_LCAPPS/SAP_HANA_LCAPPS # ./hdbinst
SAP HANA Lifecycle Management - SAP LCAPPS Installation

Enter SAP HANA System ID: HDB

Installation done
Installation done
Log file written to '/var/tmp/hdb_lcapps_2018-05-19_13.52.08_5644/hdbinst_lcapps.log' on host 'vhcals4hci'.
We will require HANA Client to match the database patch level, so please extract HANA Client as below in folder HANA2_CLIENT20_001_75
sid-hdb:/sapmedia/HANA2_CLIENT20_001_75 # SAPCAR –xvf IMDB_CLIENT20_001_75-80002082.SAR
======================================================LINUX SCREEN ENDS

After installation, logon to HANA Database using HANA Studio and add system
Host Name : <your hostname or ip>
Instance Number: 02
Click Next and in the following screen enter User Name SYSTEM and Password
Click on Finish to exit.

TIP: Please change the log mode if you don’t want to be spend time on log maintenance:
 In HANA studio –> Configuration –> global.ini –> persistence and set the parameter log_mode to overwrite. 
 When you change the log mode, you must restart the database system to activate the changes. 
 It is also recommended that you perform a full data backup. You can also set the log_mode to ‘overwrite’ using 
 the following SQL-Statement:

ALTER SYSTEM ALTER CONFIGURATION ('global.ini', 'SYSTEM') SET ('persistence', 'log_mode') = 'overwrite' WITH RECONFIGURE;


Please extract media files in folders as mentioned in previous blog New Installation of S/4HANA 1709 – Part 1 – media download using Maintenance Planner in folders:
51052189_LANG       (Optional)
51052271_SCM          (Optional)
I have extracted all above under folder /sapmedia.

Extract the SWPM SAR file as below
 sid-hdb:/ # cd /install
 sid-hdb:/install # /sapmedia/SAPCAR -xvf /sapmedia/download/SWPM10SP23_0-20009701.SAR

You should get message at the end of this that
 SAPCAR: 1660 files(s) extracted
TIP: Please do not use SWPM less than SWPM10SP23_0-20009701.SAR

Start x-Windows software such as Exceed or X-ming and set the DISPLAY variable needed to confirm x-Windows is working.

Execute combined installation of SWPM + SUM in single command line as below:

sid-hdb:/install#./sapinst SAPINST_USE_HOSTNAME=vhcals4hci SAPINST_STACK_XML=/sapmedia/download/MP_Stack_1000464385_20180518_.xml

At this point if you get the screen below:

Please refer Note 2510478 Data unit /xx/xx/xx/SWPM is not signed with an official SAP signature. 
I started with command:
./sapinst SAPINST_USE_HOSTNAME=vhcals4hci SAPINST_ACCEPT_INTERNAL_SIGNATURE=true SAPINST_SLP_MODE=false SAPINST_STACK_XML=/sapmedia/download/MP_Stack_1000464385_20180518_.xml

I am showing only the important screens as most screens are self explanatory. Select Standard System from path below (same screens for SP 23):

TIP: In the above screen if you see all choices to install other software then there is some issue with your stack.xml file and you should investigate.
Click on Next

At the screen Parameter Settings select Custom and click on Next

At the screen General SAP System Parameters enter
SAP Mount Directory /sapmnt

At the screen DNS Domain Name set FQDN for SAP system checked
DNS Domain Name for SAP System dummy.nodomain click on Next

At the screen Master Password specify Master password and confirm password Xxxxxxxn click on Next

At the screen Operating System Users enter details for user s4hadm Xxxxxxxn

At the screen Information regarding enabling R3load massloader, Click on OK

TIP: at this point you must ensure database is up and running.

At the screen Database for SAP System enter details
Database ID (DBSID) HDB
Database Host   vhcalhdbdb
Instance Number   02
Password of DBA  Xxxxxxxn  click on Next

At the screen SAP HANA Multitenant Database Containers enter password for HANA Database superuser Xxxxxxxn click on Next

At the screen Software Package Browser enter path for the downloaded media from Maintenance Planner. Package Path: /sapmedia/download click Next
The status will change from “still missing” to “Available”. Click on Next

At the screen Upgrade SAP Host Agent checkmark Upgrade SAP Host Agent with provided version and click on Next , after it is shown as “Available”. Click on Next

At the screen Configuration of SAP liveCache with SAP HANA select checkmark for Install liveCache for SAP System. Select destination as Use SAP livecache integrated in SAP HANA click on Next

TIP: If you want the livecache to be installed please make sure that HANA database LCAPPS plugin is installed before starting sapinst, otherwise you will get error below:

At the screen SAP HANA Client Software Installation Path choose radio button Local Client Directory click on Next

At the screen Media Browser enter path for RDBMS HANA Client. /sapmedia/HANA2_CLIENT20_001_75/SAP_HANA_CLIENT click on Next

At the screen Media Browser enter path for Installation Export 1 S/4HANA 1709 as  /sapmedia/51052190_EXP click on Next

At the screen SAP HANA Multitenant Database Containers accept HANA DB Instance Number 02 and Password Xxxxxxxn click on Next

At the screen Database Schema accept DBACOCKPIT password and confirm Schema password Xxxxxxxn click on Next

At the screen SAP HANA Import Parameters accept values and click on Next

At the screen Declustering/Depooling Option select radio button Enable declustering / depooling of all ABAP tables click on Next

At the screen SAP HANA Table Placement Parameters select Do not use a parameter file and click on Next

At the screen SAP System Database Import accept SAP Code Page and Number of parallel  jobs at default to 48 click on Next

At the screen Primary Application Server Instance and ABAP Central Services Instance accept values PAS Instance Number 00, PAS Instance Host vhcals4hci
ASCS Instance Number 01, ASCS Instance Host Name vhcals4hci click on Next

At the screen ABAP Message Server Ports accept values for Ports click on Next

At the screen ICM User Management for the SAP Web Dispatcher accept password for webadm and click on Next

At the screen SLD Destination for the SAP System OS Level leave default radio button at No SLD destination click on Next

At the screen Message Server Access Control List leave default radio button at Do not create Message Server Access Control List click on Next

At the screen Additional Components to be Included in the ASCS Instance enable checkmarks at Install integrated web dispatcher and Install Gateway integrated in ASCS instance and click on Next

At the screen SAP Web Dispatcher Parameters leave default dispatcher parameters HTTPS Port 44300, Encryption Always. click on Next

At the screen Configuring Transport Management for Single System select Run TMS config and enter password for TMSADM in Client 000 click on Next

At the screen Import SPAM/SAINT Update for Import SPAM/SAINT Update select radio button Yes
Specify the location of SPAM/SAINT Update Archive as /sapmedia/download/KD75268.SAR click on Next
This will save time later having to do it at the time of SUM installation. Click on Next

At the screen Additional ABAP Transports leave radio button at default No for Import ABAP Transports click on Next

At the screen Preparing for the Software Update Manager checkmark Extract SUM, Start Sum Automatically, enter values of SUM as /sapmedia/download/SUM20SP02_1-80002456.SAR Click on Next

At the screen Additional SAP System Languages click on Next

At the screen Secure Storage Key Generation accept radio button – Individual Key (Recommended for Productive Systems) On the Next

At next screen Warning click OK

At next screen Cleanup of Operating System Users checkmark on Yes cleanup os users and
click on Next

Here is the summary of all options (in the screenshot below SAPHOSTAGENT is 36 and SPAM/SAINT archive is KD75269.SAR, SUM is SUM20SP02_1)

Click on Next to confirm and begin the installation.

The ABAP Import takes around 3hrs and job RUTDDLCREATE takes around 5 Hrs

TIP: The high hitter phases for time duration were Import ABAP (5hrs) and Create DDL Views (RUTDDLSCREATE) (5hrs) . The system and used memory for database was high. So for MDC and MCOD scenario, free up memory by unloading tables in other tenants/databases. In MCOS scenario please shutdown other databases. The video shown at the beginning has clock showing the time in fast forward as the installation progresses.


As we executed combined SWPM+SUM you should have filesystem /usr/sap/S4H/SUM. If not, don’t worry, please extract it as below 2 commands:

as s4hadm
cd /usr/sap/S4H
SAPCAR -xvf /sapmedia/download/SUM20SP02_1-80002456.SAR
as root
ps –ef | grep –i sapup
/usr/sap/S4H/SUM/abap/SUMSTART confighostagent
TIP: Please check that your /windows/drivers/etc/host file contains entry with IP address mapped to hostname vhcals4hci.
c:\users\mahesh>type c:\windows\system32\drivers\etc\hosts  vhcals4hci vhcals4hci.dummy.nodomain vhcals4hcs vhcals4hcs.dummy.nodomain vhcalhdbdb vhcalhdbdb.dummy.nodomain

Open Google Chrome browser (latest version recommended) Enter URL:

In case you get screen below please click on Advanced and then “Proceed to vhcals4hci(unsafe)

Enter s4hadm/(password you used before) in the screen below

TIP: If you get message that Page is Unresponsive just click on Wait.

Provide details of the stack.xml and it is good to download the file crlbag.p7s for archive verification so you know in advance if any file is corrupted.

Click on Next to start the SUM tool if it is down.

Click on Next to advance to next phase


NOTE: Some of the screens may be skipped depending on SUM version used. They are provided here for reference.

Click on Next and enter the Instance Number 00

Click on Next and you may be prompted for SPAM update if this was not included in SWPM in previous step. Please download if mentioned in New Installation of S/4HANA 1710FPS2 – Part 1 – media download using Maintenance Planner and extract SPAM as shown below

sid-hdb-s4h:s4hadm> SAPCAR -xvf /sapmedia/download/KD75269.SAR

Click on Next and select radio button Import SPAM version 69

Click on Next and enter DDIC password, SAPABAP1 schema password and SYSTEM password Xxxxxxxn

Click on Next

Click on X to close window

Click on Next to advance to next phase


Select Next at  (6%) Current Phase PREP_CONFIGURATIN/INITSUBST

Click on Next and enter details

Click on Next and you will get this error message for missing SAP Note
Logon to the S4H instance and Apply SAP Notes using SNOTE and release transport

Accept values for release level and Click on Next

At (10%) Current Phase PREP_EXTENSION/BIND_PATCH Click on Next

At (11%) Current Phase PREP_INTEGRATION/ADJUSTPRP Click on Next

Click on Next to advance to next phase


Click on Next to advance to next phase


At (18%) Current Phase MAIN_INIT/REPACHK_EHPI select Lock Now and click on Next

At (24%) Phase MAIN_DTTRANSSHD/DOWNCONF_DTTRANS accept selection as Actions Completed and click on Next

At (24%) Current Phase MAIN_DTTRANSSHD/DOWNCONF_DTTRANS_BCK accept selected radio button Backup completed click on Next

Click on Next to advance to next phase


At (85%) Current Phase: MAIN_TRANSEXEC/ACT_TRANS click on Next

Execution process takes about 5 hours.

At (89%) Current Phase: MAIN_UPTRANS/STARTSAP_PUPG click Next

At (89%) Current Phase: MAIN_UPTRANS/UPCONF click Next

At (89%) Current Phase: MAIN_POSTPROC/SETUPGPAR_UPG_POST click Next


At (91%) Current Phase: MAIN_POSTPROC/REQUPFINAL click Next

SUM is completed. Please login to the system and check the Installed product version as:Please find Installed Software Component version:

TIP: Schedule complete SGEN if it is not completed so far. This will help reduce time needed for one activation stop for Best Practices Content Activation and the activation process will be speeded up a little bit.


Please apply the 4 notes below to the installed instance as per SAP Note 2621258 – SAP S/4HANA 1709 Feature Package Stack 02: Additional Release Information these notes are only for 1709 FPS2

2611321 Transaction BP dumps No
2606478 REGENERATE_SAP_NEW | bridging authorizations for input helps No
2618103 ALV layout: Layouts cannot be saved from the ‘Change Layout’ dialog after an err msg No
2624170 Conversion routine for DATUM data element in BC Set No

Your system installation is complete. Congratulations !!!

Mahesh Sardesai
Product Expert – S/4HANA

Brought to you by the SAP S/4HANA Regional Implementation Group

You must be Logged on to comment or reply to a post.
  • Thanks for this blog. I am following the same steps to install in test system, with the only difference in SWPM version. I am using the current SWPM version 1.0 SP23_2 and with this I am stuck at below step:

    At the screen Software Package Browser enter path for the downloaded media from Maintenance Planner. Package Path: /sapmedia/download click Next
    The status will change from “still missing” to “Available”. Click on Next

    There is no message on UI but if I check the logs then I get below messages:

    Requested Archives: IGSEXE, IGSHELPER, SAPEXE, SAPEXEDBHDB (checks are listed in reverse order)
    Checking archive 'IGSEXE.SAR' ('IGSEXE'): Not found
    -- '/sapmedia/download/igsexe_5-80003187.sar': Checking '/sapmedia/download/igsexe_5-80003187.sar' failed, archive not accepted. For more information, see sapinst_dev.log file.
    Manifest Content
    ok '/sapmedia/download/igsexe_5-80003187.sar': Content of manifest file '' matches requirement. Manifest: igs_os=linuxx86_64;; patch_number_sg;; Manifest-Version=1.0; patch_number_igspw_mt=0;; keylocation=SAP AG;; igs_patch_number=5; patch_number_igsm ux_mt=1; igs_release=753; patch_number_igswd_mt=0; keyname=BC-FES-IGS;; make_variant=753_REL;; downward-compatible_to=740 750 7 51 752 769.
    Manifest File
    ok '/sapmedia/download/igsexe_5-80003187.sar': Archive contains manifest file ''.

    Checking archive 'IGSHELPER.SAR' ('IGSHELPER'): Not found
    -- '/sapmedia/download/igshelper_17-10010245.sar': Checking '/sapmedia/download/igshelper_17-10010245.sar' failed, archive not accepted. For more information, see sapinst_dev.log fi le.
    Manifest Content
    ok '/sapmedia/download/igshelper_17-10010245.sar': Content of manifest file 'igs/' matches requirement. Manifest: igs_os=linuxx86_64; igs_patch_number=17; igs_re lease=720;; Manifest-Version=1.0; keyname=BC-FES-IGS; keylocation=SAP AG; make_variant=720_REL; downward-compatible_to=700 710 701 702 703 711 720 730 731 732 740.
    Manifest File
    ok '/sapmedia/download/igshelper_17-10010245.sar': Archive contains manifest file 'igs/'.

    Checking archive 'SAPEXE.SAR (any version supporting your release)' ('SAPEXE'): Not found
    -- '/sapmedia/download/SAPEXE_100-80002573.SAR': Checking '/sapmedia/download/SAPEXE_100-80002573.SAR' failed, archive not accepted. For more information, see sapinst_dev.log file.
    Manifest Content
    ok '/sapmedia/download/SAPEXE_100-80002573.SAR': Content of manifest file '' matches requirement. Manifest: compilation_mode=UNICODE;; Manifest-Versi on=1.0; kernel_os=linuxx86_64; keyname=SAP_KERNEL; kernel_release=753; kernel_patch_number=100; keylocation=SAP AG; kernel_dbslversion=753.02; make_variant=753_REL; compiled_for=64 BIT; d ownward-compatible_to=740 750 751 752 769.
    Manifest File
    ok '/sapmedia/download/SAPEXE_100-80002573.SAR': Archive contains manifest file ''.

    Checking archive 'SAPEXEDB.SAR (matching SAPEXE Version and Patch)' ('SAPEXEDBHDB'): Not found
    Dependency Check
    -- 'SAPEXE.SAR (any version supporting your release)' ('SAPEXE'): Dependency is missing.

    I checked sapinst_dev.log and noticed errors like below:

    INFO 2018-06-16 22:07:51.182 (root/sapinst) (startInstallation) id=modlib.jslib.childAppReturn
    Execution of the command "/tmp/sapinst_exe.6861.1529200738/SAPCAR -xvf /sapmedia/download/igsexe_5-80003187.sar, -L /tmp/sapinst_exe.6861.1529200738/ igs/ SUM/" finished with return code 40. Output:
    SAPCAR: processing archive /sapmedia/download/igsexe_5-80003187.sar (version 2.01)
    SAPCAR: not all files could be extracted
    SAPCAR: 1 file(s) extracted

    and below:

    Full SAPCAR output:
    SAPCAR: processing archive /sapmedia/download/igsexe_5-80003187.sar (version 2.01)
    SAPCAR: error during certificate revocation check (error 61). SSF-RC: SSF_API_CRL_OUTDATED
    Detail: CRL is outdated (CurrentTime>CRL.nextUpdate)
    CRL outdated. Download and use CRL from

    From above excerpt, it appears that my crlbag.p7s is outdated but I downloaded it right before I started this installation. I have a feeling that the problem is either with this file or the SWPM itself. Unfortunately, I don't have access the same SWPM release that you used to validate this so I can't be sure of it.

    Have you seen this error and would you know why am I getting above errors?



    • Hi Shrinivas,

      This issue has been solved in some  cases by downloading  fresh crlbag.p7s and also by selecting the SAR file in the window, so you will have to do this separately for all the remainder of the sars not picked up as available.

  • Hi Gadde,

    There is a SAP Note for this issue 2637790 - SAPCAR: error during certificate revocation check.

    Unfortunately yesterday morning it was saying just restart SWPM and today it says raise a message.

    I have been installing Web dispatchers all week using the same SAPWEBDISP archive and version of SWPM.  Since Saturday morning  I have been receiving this error as well.  Everything was fine prior to that.

    I have downloaded the latest version of SWPM and also SAPWEBDISP and it makes no difference.

    I would suggest raising a message to SAP Support.




  • Hi Mahesh,

    Thanks for such a nice blog.

    I am facing one issue after installation. After i have installed the based pack of S4Hana system was working fine and smooth. But after running SUM and installation other components and add-on system performance degraded to very poor. I cannot run a single transactions for simple transactions like sm59 it took 10 minutes to run.

    Any idea what went wrong after completing the SUM operation.


  • Mahesh,

    Thanks for great instructions ,

    I get stuck on STEP 4

    What ever I try I cannot pass the error

    Severe error(s) occurred in phase PREP_PRE_CHECK/SPAMCHK_INI!

    Last error code set:
    The import of the SPAM update has aborted at SPAM phase CHECK_REQUIREMENTS.
    (Error: 'Import of the queue canceled because of a problem')Repeat the phase to
    finish the import of the SPAM update. Otherwise logon to the ABAP system and
    finish the import via transaction SPAM

    Trouble Ticket Generation

    A trouble ticket and an archive with all relevant log files have been generated.
    Trouble ticket: "/usr/sap/S4H/SUM/abap/log/SAPup_troubleticket.log"
    Log archive: "/usr/sap/S4H/SUM/abap/log/SAPup_troubleticket_logs.sar"
    Repeat phase PREP_PRE_CHECK/SPAMCHK_INI to continue at the point it stopped

    spam in gui is stuck and queue is not clearing,

    Can you assist ?

    Thanks in advance

    • Hi,

      This issue can occur due to various reasons and this is the Basis ritual after fresh install.
      (1) check that Transport system STMS is setup properly and tests out ok
      (2) Licenses not installed - specially maintenance license
      (3) check permissions in transport directory

      After all reasons are attended to, try to import SPAM manually in the instead of SUM so you get a more interactive error resolution. Once issue is fixed, in the next run you can config accordingly and let SUM do it.