Generate SAP Application templates for automation

The SAP on Azure Deployment Automation Framework uses a Bill of Materials (BOM) to define the SAP Application. Before you can deploy a system using a custom BOM, you need to also create the templates for the ini-files used in the unattended SAP installation. This guide covers how to create the application templates for an SAP/S4 deployment. The process is the same for the other SAP applications.

Prerequisites

Check media and tools

Before you generate an SAP Application template, make sure you have all required installation media and tools.

  1. Sign in to your target VM as the root user.

  2. Change the root user password to a known value. You'll use this password later to connect to the SAP Software Provisioning Manager (SWPM).

  3. Make and change to a temporary directory.

    mkdir /tmp/workdir; cd $_
    
  4. Make sure there's a temporary directory for the SAP Application template.

    mkdir /tmp/app_template/
    
  5. Change the permissions for the SAPCAR utility to make this file executable. Replace <SAPCAR>.EXE with the name of the file you downloaded. For example, SAPCAR_1311-80000935.EXE.

    chmod +x /usr/sap/install/download_basket/<SAPCAR>.EXE
    
  6. Make sure the installation folder for SWPM exists.

    mkdir -p /usr/sap/install/SWPM
    
  7. Extract the SWPM installation file using the SAPCAR utility.

/usr/sap/install/download_basket/SAPCAR_1311-80000935.EXE -xf /usr/sap/install/SWPM20SP07_0-80003424.SAR -R /usr/sap/install/SWPM/

You can do an unattended SAP installations with parameter files. These files pass all required parameters to the SWPM installer.

Note

To generate the parameter file, you need to partially perform a manual installation. For more information about why, see SAP NOTE 2230669.

Generate ASCS parameter file

To generate your unattended installation parameter file for ASCS:

  1. Sign in to your VM as the root user through your command-line interface (CLI).

  2. Run the command hostname to get the host name of the VM from which you're running the installation. Note both the unique hostname (where <example-vm-hostname> is in the example output), and the full URL for the GUI.

  3. Check that you have all necessary media and tools installed on your VM.

  4. Launch SWPM as follows.

    1. Replace <target-VM-hostname> with the hostname you previously obtained.

    2. Replace <XML-stack-file-path> with the XML stack file path that you created. For example, /usr/sap/install/config/MP_STACK_S4_2020_v001.xml.

    /usr/sap/install/SWPM/sapinst                      \
    SAPINST_XML_FILE=<XML-stack-file-path>.xml         \
    SAPINST_USE_HOSTNAME=<target-VM-hostname>
    SAPINST_START_GUISERVER=true \
    SAPINST_STOP_AFTER_DIALOG_PHASE=true 
    
    
    Connecting to the ASCS VM to launch
    ********************************************************************************
    Open your browser and paste the following URL address to access the GUI
    https://<example-VM-hostname>.internal.cloudapp.net:4237/sapinst/docs/index.html
    Logon users: [root]
    ********************************************************************************
    
  5. Open your browser and visit the URL for the GUI that you previously obtained.

    1. Accept the security risk warning.

    2. Authenticate with your system's root user credentials.

  6. In the drop-down menu, select SAP S/4HANA Server 2020 > SAP HANA Database > Installation > Application Server ABAP > Distributed System > ASCS Instance.

  7. For Parameter Mode, select Custom. Then, select Next.

  8. Configure the SAP system settings:

    1. Make sure the SAP system identifier is {SID}.

    2. Make sure the SAP mount directory value is /sapmnt.

    3. Select Next.

  9. Configure the fully qualified domain name (FQDN) settings:

    1. Make sure the FQDN value populates automatically.

    2. Make sure to enable Set FQDN for SAP system.

    3. Select Next.

  10. Set up a main password, which you only use during the creation of this ASCS instance. You can only use alphanumeric characters and the special characters #, $, @, and _ for your password. You also can't use a digit or underscore as the first character.

    1. Enter a main password.

    2. Confirm the main password.

    3. Select Next.

  11. Configure more administrator settings. Other password fields are pre-populated based on the main password you set.

    1. Set the identifier of the administrator OS user (<sid>adm where <sid> is your SID) to 2000.

    2. Set the identifier of the SAP system (sapsys) to 2000.

    3. Select Next.

  12. When prompted for the SAPEXE kernel file path, enter /usr/sap/install/download_basket, then select Next.

  13. Make sure the package status is Available, then select Next.

  14. Make sure the SAP Host Agent installation file status is Available, then select Next.

  15. Provide information for the SAP administrator OS user.

    1. Leave the password as inherited from the main password.

    2. Set the OS user identifier to 2100.

    3. Select Next.

  16. Check the installation settings.

    1. Make sure the instance number for the installation is correct.

    2. Make sure to set the virtual host name for the instance.

    3. Select Next.

  17. Keep the ABAP message server port settings. These default settings are 3600 and 3900. Then, `select Next.

  18. Don't select any other components to install, then select Next.

  19. Enable Skip setting of security parameters, then select Next.

  20. Enable Yes, clean up operating system users, then select Next.

  21. On Parameter Summary, don't do anything yet.

  22. In the CLI, find your installation configuration file in the temporary SAP installation directory. At this point, the file is called inifile.params.

    1. Run ls /tmp/sapinst_instdir/ to list the files in the SAP installation directory.

    2. If the file .lastInstallationLocation exists, view the file contents and note the directory listed.

    3. If a directory for the product that you're installing exists, such as S4HANA2020, go to the product folder. For example, run cd /tmp/sapinst_instdir/S4HANA2020/CORE/HDB/INSTALL/HA/ABAP/ASCS/.

  23. In your browser, in the SWPM GUI, select Cancel. Now, you have the ini files required to build the template that can do an unattended installation of ASCS.

  24. Copy and rename inifile.params to scs.inifile.params in /tmp/app_template. Replace <path-to-INI-file> with the path to your INI file as follows:

    cp <path-to-INI-file>/inifile.params /tmp/app_template/scs.inifile.params
    

Load database content

Make sure the following settings are in place on the VM before you begin:

  • Install and configure your HANA and SCS instances. These instances must be online before you complete the database content load.

  • The <sid>adm user you created when you generated the unattended installation file for ASCS must be a member of the sapinst group.

  • The user identifier for <sid>adm must match the value of hdblcm. This example uses 2000.

  • The SWPM needs access to /sapmnt/<SID>/global/. To configure permissions, run chown <sid>adm:sapsys /sapmnt/<SID>/global.

Generate database load template

To generate an unattended installation parameter file for the database content load:

  1. Make and change to a temporary directory. Replace <sid> with your SID.

    sudo install -d -m 0777 <sid>adm -g sapinst "/tmp/db_workdir"; cd $_
    
  2. Launch the SWPM and note the listed URL.

    /usr/sap/install/SWPM/sapinst   \
    SAPINST_XML_FILE=/usr/sap/install/config/MP_STACK_S4_2020_v001.xml
    
  3. In your browser, visit the URL you noted.

  4. Accept the security risk warning.

  5. Authenticate with your system's root user credentials.

  6. Create a distributed system with custom parameters.

    1. In the drop-down menu, go to SAP S4/HANA Server 2020 > SAP HANA Database > Installation > Application Server ABAP > Distributed System > Database Instance > Distributed System.

    2. Select the Custom parameter mode.

    3. Select Next.

  7. Note the path of the profile directory that the ASCS installation creates. For example, /usr/sap/<SID>/SYS/profile where <SID> is your SID. Then, select Next.

  8. Enter the ABAP message server port for your ASCS instance. The port number is 36<InstanceNumber>, where <InstanceNumber> is the HANA instance number. For example, if there are zero instances, 3600 is the port number. Then, select Next.

  9. Enter your main password to use during the installation of database content. Then, select Next.

  10. Make sure the details for the administrator user <SID>adm where SID is your SID) are correct. Then, select Next.

  11. Enter your information for the SAP HANA Database Tenant.

    1. For Database Host, enter the host name of the HANA database VM. To find this host name, go to the resource page in the Azure portal.

    2. For Instance Number, enter the HANA instance number. For example, 00.

    3. Enter an identifier for the new database tenant. For example, S4H.

    4. Keep the automatically generated password for the database system administrator.

    5. Select Next.

  12. Make sure your connection details are correct. Then, select OK.

  13. Enter your administrator password for the system database. Then, select Next.

  14. Enter the path to your SAPEXE kernel, /usr/sap/install/download_basket. Then, select Next.

  15. Review which files are available.

    1. Select Next.

    2. Make sure the SAPHOSTAGENT file is available.

    3. Select Next again.

  16. On the password confirmation page, select Next.

  17. Review that all core HANA database export files are available. Then, select Next.

  18. On Database Schema for SAPHANADB, select Next.

  19. On Secure Storage for Database Connection, select Next.

  20. On SAP HANA Import Parameters, select Next.

  21. Enter the password for the HANA database administrator (<SID>adm) for the database VM. Then, select Next.

  22. On SAP HANA Client Software Installation Path, select Next.

  23. Make sure the SAP HANA client file is available. Then, select Next.

  24. Make sure to enable Yes, clean up operating system users. Then, select Next.

  25. On Parameter Summary, don't select anything yet.

  26. Open your CLI and find your installation configuration file.

    1. List the files in your temporary directory, /tmp/sapinst_instdir/.

    2. Make sure the installation configuration file inifile.params is there.

    3. If the file lastInstallationLocation is there, open the file. Note the directory listed in the file contents.

    4. If there's already a directory for the product that you're installing, such as S4HANA2020, go to the matching folder. For example, /tmp/sapinst_instdir/S4HANA2020/CORE/HDB/INSTALL/HA/ABAP/DB/.

  27. Open SWPM again.

  28. Select Cancel. You can now use the unattended method for database content loading.

  29. Copy and rename your installation configuration file as follows. Replace <path_to_config_file> with the path to your configuration file.

    cp <path_to_config_file>/inifile.params /tmp/app_template/db.inifile.params
    
  30. Check the version of the sapinst tool in SWPM.

    /usr/sap/install/SWPM/sapinst -version
    
  31. If the version of sapinst is greater than 749.0.6, also copy the files keydb.xml and instkey.pkey to follow SAP Note 2393060. Replace <path_to_config_file> with the path to your configuration file.

    cp <path_to_config_file>/{keydb.xml,instkey.pkey} /tmp/app_template/
    

Generate PAS parameter file

Generate an unattended installation parameter file for use with PAS. These files all begin with inifile.

Important

You might not see some of these settings in 2020 versions of SAP products. In that case, skip the step.

  1. Connect to your VM through your CLI.

  2. Check that you have all necessary media and tools installed on your VM.

  3. Create and change to a temporary directory. Replace <SID> with your SID.

    sudo install -d -m 0777 <SID>adm -g sapinst "/tmp/pas_workdir"; cd $_
    
  4. Connect to the node as the root user.

  5. Sign in to the SWPM.

    1. Go to the URL for the SWPM GUI. You got this URL when you generated the unattended installation file for ASCS.

    2. Accept the security warning.

    3. Authenticate with your system's root user credentials.

  6. In the drop-down menu, go to SAP S/4HANA Server 2020 > SAP HANA Database > Installation > Application Server ABAP > Distributed System > Primary Application Server Instance.

  7. On Parameter Settings, select Custom. Then, select Next.

  8. Make sure the Profile Directory is set to /sapmnt/<SID>/profile/ or /usr/sap/<SID>/SYS/profile, where <SID> is your SID. Then, select Next.

  9. Set the Message Server Port to 36<instance-number>, where <instance-number> is the ASCS instance number. For example, 3600. Then, select Next.

  10. Set the main password for all users. Then, select Next.

  11. Wait for the list below-the-fold-list to populate. Then, select Next.

  12. Make sure to disable the setting Upgrade SAP Host Agent to the version of the provided SAPHOSTAGENT.SAR archive. Then, select Next.

  13. Enter the instance number for the SAP HANA database, and the database system administrator password. Then, select Next.

  14. On Configuration of SAP liveCache with SAP HANA, select Next.

  15. On Database Schema for DBACOCKPIT, select Next.

  16. On Database Schema for SAPHANADB, select Next.

  17. On Secure Storage for Database Connection, select Next.

  18. Make sure the PAS instance number and instance host are correct. Then, select Next.

  19. On ABAP Message Server Ports, select Next.

  20. On Configuration of Work Processes, select Next.

  21. On ICM User Management for the SAP Web Dispatcher, select Next.

  22. On SLD Destination for the SAP System OS Level, configure these settings:

    1. Enable No SLD destination. Then, select Next.

    2. Enable Do not create Message Server Access Control List. Then, select Next

    3. Enable Run TMS.

    4. Set user password for TMSADM int Client 000 to the main password. Then, select Next.

    5. Enable No for Import ABAP Transports. Then, select Next.

  23. On Additional SAP System Languages, select Next.

  24. On SAP System DDIC Users, select Next.

  25. On Secure Storage Key Generation, make sure to select Individual Key. Then, select Next.

  26. On the warning screen:

    1. Copy the key identifier and key value.

    2. Store the key identifier and key value securely.

    3. Select Next.

  27. For Clean up operating system users, select Yes. Then, select Next.

  28. In your CLI, open your temporary directory for the installation.

  29. Make sure there's a copy of the parameters file inifile.params. For example, /tmp/sapinst_instdir/S4HANA2020/CORE/HDB/INSTALL/DISTRIBUTED/ABAP/APP1/inifile.params.

  30. In SWPM, select Cancel. You can now install PAS through the unattended method.

  31. Copy and rename your PAS parameter file to pas.inifile.params in /tmp/app_template as follows. Replace <path_to_config_file> with the path to your parameter file.

    cp <path_to_config_file>/inifile.params /tmp/app_template/pas.inifile.params
    
  32. Create a copy of pas.inifile.params and download to your computer or VM.

Generate additional application servers parameter file

Generate an unattended installation parameter file for use with AAS. These files all begin with inifile.

Important

You might not see some of these settings in 2020 versions of SAP products. In that case, skip the step.

  1. Connect to your AAS VM through the CLI.

  2. Check that you have all necessary media and tools installed on your VM.

  3. Make sure the group sapinst exists.

    groupadd -g 2000 sapinst
    
  4. Create a temporary directory for your installation as follows. Replace <sid> with your SID.

    sudo install -d -m 0777 <sid>adm -g sapinst "/tmp/aas_workdir"; cd $_
    
  5. Sign in to the SWPM.

    1. Go to the URL for the SWPM GUI. You got this URL when you generated the unattended installation file for ASCS.

    2. Accept the security warning.

    3. Authenticate with your system's root user credentials.

  6. In the drop-down menu, SAP S/4HANA Server 2020 > SAP HANA Database > Installation > Application Server ABAP > High-Availability System > Additional Application Server Instance.

  7. On Parameter Settings, select Custom. Then, select Next.

  8. Make sure the Profile Directory is set to /sapmnt/<SID>/profile/ or /usr/sap/<SID>/SYS/profile, where <SID> is your SID. Then, select Next.

  9. Set Message Server Port to 36<instance-number> where <instance-number> is the ASCS instance number. Then, select Next.

  10. Set the main password for all users. Then, select Next.

  11. On Software Package Browser, set Search Directory to /usr/sap/install/download_basket. Then, select Next.

  12. Wait for the list below-the-fold-list to populate. Then, select Next.

  13. Make sure to enable Upgrade SAP Host Agent to the version of the provided SAPHOSTAGENT.SAR archive. Then, select Next.

  14. Enter the instance number of your SAP HANA database and the database system administrator password. Then, select Next.

  15. On Configuration of SAP liveCache with SAP HANA, select Next.

  16. On Database Schema for DBACOCKPIT, select Next.

  17. On Database Schema for SAPHANADB, select Next.

  18. On Secure Storage for Database Connection, select Next.

  19. Make sure the AAS instance number and instance host are correct. Then, select Next.

  20. On ABAP Message Server Ports, select Next.

  21. On Configuration of Work Processes, select Next.

  22. On ICM User Management for the SAP Web Dispatcher, select Next.

  23. On SLD Destination for the SAP System OS Level, make sure to enable No SLD destination. Then, select Next.

  24. Enable Do not create Message Server Access Control List. Then, select Next.

  25. Enable Run TMS.

  26. Set the password for the user TMSADM in Client 000 to the main password. Then, select Next.

  27. Set SPAM/SAINT Update Archive to /usr/sap/install/config/KD75371.SAR.

  28. Set Import ABAP Transports to No. Then, select Next.

  29. On Preparing for the Software Update Manager Screen, enable Extract the SUM.SAR Archive*. Then, select Next.

  30. On Software Package Browser, select the table Detected Packages. If the individual package location for SUM 2.0 is empty, set the package path to usr/sap/install/config. Then, select Next.

  31. Wait for the package location to populate. Then, select Next.

  32. On Additional SAP System Languages, select Next.

  33. Make sure to enable Yes, clean up operating system users. Then, select Next.

  34. Through the CLI, check that your temporary directory now has a copy of the parameter file. For example, /tmp/sapinst_instdir/S4HANA2020/CORE/HDB/INSTALL/AS/APPS/inifile.params.

  35. Copy and rename the file to aas.inifile.params in /tmp/app_template as follows. Replace <path_to_inifile> with the path to your parameter file.

    cp <path_to_inifile>/inifile.params /tmp/app_template/aas.inifile.params
    
  36. Create a copy of aas.inifile.params and download to your computer or VM.

  37. In SWPM, select Cancel. You can now do the AAS installation through the unattended method.

Combine parameter files

You can combine your parameter files, which all end with inifile.params, into one file for the installation process.

Create combination file

To create a file that combines all your parameters:

  1. If you haven't already, download each parameter file you created (ASCS, PAS, and AAS). You need these files on the computer or VM from which you're working.

  2. Make a backup of each parameter file.

  3. Create a new combination file. Name this file for the SAP product that you're using. For example, S4HANA_2020_ISS_v001.inifile.params.

  4. Open the ASCS parameter file (scs.inifile.params) in an editor.

  5. Copy the header of the ASCS parameter file into the combination file. For example:

    #########################################################################################################################
    #                                                                                                                       #
    # Installation service 'SAP S/4HANA Server 2020 > SAP HANA Database > Installation                                      #
    #   > Application Server ABAP > Distributed System > ASCS Instance', product id 'NW_ABAP_ASCS:S4HANA2020.CORE.HDB.ABAP' #
    #                                                                                                                       #
    #########################################################################################################################
    
  6. For each inifile.params file you have, copy the product identifier line from the header. Then, copy the product identifiers into the header of your combination file. For example:

    #############################################################################################################################################
    #                                                                                                                                           #
    # Installation service 'SAP S/4HANA Server 2020 > SAP HANA Database > Installation                                                          #
    #   > Application Server ABAP > Distributed System > ASCS Instance', product id 'NW_ABAP_ASCS:S4HANA2020.CORE.HDB.ABAP'                     #
    #   > Application Server ABAP > Distributed System > Database Instance', product id 'NW_ABAP_DB:S4HANA2020.CORE.HDB.ABAP'                   #
    #   > Application Server ABAP > Distributed System > Primary Application Server Instance', product id 'NW_ABAP_CI:S4HANA2020.CORE.HDB.ABAP' #
    #   > Additional SAP System Instances > Additional Application Server Instance', product id 'NW_DI:S4HANA2020.CORE.HDB.PD'                  #
    #                                                                                                                                           #
    #############################################################################################################################################
    
  7. Open your bom.yml file in an editor.

  8. Copy the sections for product_ids into your combination file.

  9. For each inifile.params file you have, copy the product identifier from the header into the appropriate part of product_ids. For example, copy your ASCS to scs:

    product_ids:
      scs: "NW_ABAP_ASCS:S4HANA2020.CORE.HDB.ABAP"
      db:  ""
      pas: ""
      aas: ""
      web: ""
    
  10. Remove any lines that you commented out or left blank.

  11. Save your combination file.

Improve readability

Next, improve the readability of your combination file:

  1. Open your combination file in an editor.

  2. Sort all lines not in the header.

  3. Remove any duplicated lines.

  4. Align all the equals signs. For example:

    archives.downloadBasket                             = /usr/sap/install/download_basket
    HDB_Schema_Check_Dialogs.schemaName                 = SAPHANADB
    HDB_Schema_Check_Dialogs.schemaPassword             = MyDefaultPassw0rd
    HDB_Userstore.doNotResolveHostnames                 = x00dx0000l09d4
    
  5. Separate the lines by prefixes. For example, NW_CI_Instance.* and NW_HDB_DB.*.

  6. Update the following lines to use Ansible variables:

    1. archives.downloadBasket = {{ download_basket_dir }}

    2. HDB_Schema_Check_Dialogs.schemaPassword = {{ main_password }}

    3. HDB_Userstore.doNotResolveHostnames = {{ hdb_hostname }}

    4. hostAgent.sapAdmPassword = {{ main_password }}

    5. NW_AS.instanceNumber = {{ aas_instance_number }}

    6. NW_checkMsgServer.abapMSPort = 36{{ scs_instance_number }}

    7. NW_CI_Instance.ascsVirtualHostname = {{ scs_hostname }}

    8. NW_CI_Instance.ciInstanceNumber = {{ pas_instance_number }}

    9. NW_CI_Instance.ciMSPort = 36{{ scs_instance_number }}

    10. NW_CI_Instance.ciVirtualHostname = {{ pas_hostname }}

    11. NW_CI_Instance.scsVirtualHostname = {{ scs_hostname }}

    12. NW_DI_Instance.virtualHostname = {{ aas_hostname }}

    13. NW_getFQDN.FQDN = {{ sap_fqdn }}

    14. NW_GetMasterPassword.masterPwd = {{ main_password }}

    15. NW_GetSidNoProfiles.sid = {{ app_sid | upper }}

    16. NW_HDB_DB.abapSchemaPassword = {{ main_password }}

    17. NW_HDB_getDBInfo.dbhost = {{ hdb_hostname }}

    18. NW_HDB_getDBInfo.dbsid = {{ hdb_sid | upper }}

    19. NW_HDB_getDBInfo.instanceNumber = {{ hdb_instance_number }}

    20. NW_HDB_getDBInfo.systemDbPassword = {{ main_password }}

    21. NW_HDB_getDBInfo.systemid = {{ hdb_sid | upper }}

    22. NW_HDB_getDBInfo.systemPassword = {{ main_password }}

    23. NW_readProfileDir.profileDir = /usr/sap/{{ app_sid | upper }}/SYS/profile

    24. NW_Recovery_Install_HDB.extractLocation = /usr/sap/{{ hdb_sid | upper }}/HDB{{ hdb_instance_number }}/backup/data/DB_{{ hdb_sid | upper }}

    25. NW_Recovery_Install_HDB.sidAdmName = {{ hdb_sid | lower }}adm

    26. NW_Recovery_Install_HDB.sidAdmPassword = {{ main_password }}

    27. NW_SAPCrypto.SAPCryptoFile = {{ download_basket_dir }}/SAPEXE_300-80004393.SAR

    28. NW_SCS_Instance.instanceNumber = {{ scs_instance_number }}

    29. NW_Unpack.igsExeSar = {{ download_basket_dir }}/igsexe_12-80003187.sar

    30. NW_Unpack.igsHelperSar = {{ download_basket_dir }}/igshelper_17-10010245.sar

    31. NW_Unpack.sapExeDbSar = {{ download_basket_dir }}/SAPEXEDB_300-80004392.SAR

    32. NW_Unpack.sapExeSar = {{ download_basket_dir }}/SAPEXE_300-80004393.SAR

    33. NW_SCS_Instance.scsVirtualHostname = {{ scs_hostname }}

    34. nwUsers.sapadmUID = {{ sapadm_uid }}

    35. nwUsers.sapsysGID = {{ sapsys_gid }}

    36. nwUsers.sidadmPassword = {{ main_password }}

    37. nwUsers.sidAdmUID = {{ sidadm_uid }}

    38. storageBasedCopy.hdb.instanceNumber = {{ hdb_instance_number }}

    39. storageBasedCopy.hdb.systemPassword = {{ main_password }}

Upload combination file

Finally, upload your combined template file to your SAP Library.

  1. Sign in to the Azure portal.

  2. Select or search for Storage accounts.

  3. Select the storage account for your SAP Library.

  4. In the storage account menu, under Data storage, select Containers.

  5. Select the sapbits container.

  6. Go to the product folder for your BOM in sapbits. For example, boms/S4HANA_2020_ISS_v001.

  7. If you don't already have a directory called templates, create this directory.

  8. Open the templates directory.

  9. Select Upload.

  10. In the pane, select Select a file.

  11. Select the combined template file. For example, S4HANA_2020_ISS_v001.inifile.params.

  12. Select Upload.

Update BOM with templates

After combining your parameter files, update your BOM with the new template files.

  1. Open bom.yml.

  2. In the section templates, add your new template file names. For example:

    templates:
      - name:     "S4HANA_2020_ISS_v001 ini file"
        file:     S4HANA_2020_ISS_v001.inifile.params
        override_target_location: "{{ target_media_location }}/config"
    
  3. If you're using the scripted application BOM preparation, remove the # before the template.

  4. Save your changes.

Then, upload the new BOM file to your SAP Library.

  1. Sign in to the Azure portal.

  2. Select or search for Storage accounts.

  3. Select the storage account for your SAP Library.

  4. In the storage account menu, under Data storage, select Containers.

  5. Select the sapbits container.

  6. Go to the product folder for your BOM in sapbits. For example, boms/S4HANA_2020_ISS_v001.

  7. Open the boms directory.

  8. Select Upload.

  9. In the pane, select Select a file.

  10. Select your BOM file, bom.yml, from your computer or VM.

  11. Make sure to enable Overwrite if files already exist.

  12. Select Upload.