Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Boris_Rubarth
Product and Topic Expert
Product and Topic Expert

Scenario


You want to repeat a Software Update Manager (SUM) ABAP run on a system with identical parameters, and do not want to have to re-enter the values again.

   Note: for SUM Java, check the guide, section "Performing an Automated Update".

Feature


SUM 1.0 SP 20 offers the possibility to provide processing parameters by means of a file, so that it is no longer necessary to display the dialogs for entering these parameters.
Note that transitions to the following roadmap steps cannot be automated and have to be confirmed manually. In addition, important dialogs are still displayed (like the decision to enter the downtime - makes sense?)

  • Note: this procedure is not a batch procedure, it does not make the SUM process run "silent"!

  • Note: this procedure is described in the SUM guide, section
    "Running the Software Update Manager Again Using a Configuration File"


Approach


Sequence



  1. Execute the standard SUM run on the respective system as usual

  2. Generate the configuration file after the first SUM run

  3. Start the subsequent SUM run with the configuration file located in the SUM/abap/control directory


Details



  1. Execute the Standard SUM run on the respective system as usual
    If you have finished the complete SUM run, the configuration file will contain all respective variables.
    You can as well generate the configuration file for a run that has not reached 100 %, but the file will then not contain all possible variables.

  2. Generate the configuration file after the first SUM run
    Use the following command to generate the configuration file:
    SUM\abap\bin\SAPup genconfiginput
    The SAPup generates the configuration file ConfigInput.xml in the current directory.
    Note: For passwords, the generated XML-file contains the respective tags, but no content. You may enter the password into the file manually.
    The password has to be provided in clear text, so please use this tag only for uncritical test systems.

  3. Start the subsequent SUM run with the configuration file located in the SUM/abap/control Directory
    For the subsequent SUM, copy or move the configuration file to the SUM\abap\control directory on the same (or identical) system.
    [Edit 2019 12 11: directory must be control, not bin]
    Afterwards start the SUM run as usual from a browser window, using the URL.

  4. You may adapt the parameters in the configuration file with an editor of your choice.

  5. With a new SUM SP-version, in general the parameter names will be kept, but you should check this, as this cannot be guaranteed.


 

Note:
If you fill the ConfigInput.xml with wrong data, the SUM will show the respective dialog. Don't forget then to adapt the value in the ConfigInput.xml as well! Otherwise in case that the SAPup is stopped, it will read the wrong value from the file when starting up!
15 Comments