<?xml version="1.0"?>

<!--
Title:   XML template for a SLD kernel registration in the 7.10 release

History
29.03.2006 J.Specht    File created
10.04.2006 J.Specht    Fixes afters tests
12.04.2006 J.Specht    Changes after meeting
03.05.2006 J.Specht    Changes after AP5 tests
15.05.2006 J.Specht    Changes requested by Thomas Marz
13.10.2006 J.Schoen    Rework syntax, introduce conditionals
18.10.2006 J.Specht    Added SAPJVM registration
25.10.2006 J.Specht    Fixes after tests
01.01.2007 J.Schoen    Fixes for SAP JVM
30.01.2007 J.Schoen    Fix OS names and MaxDB
23.06.2008 J.Schoen    Add IGS support
08.07.2008 J.Schoen    Fix recognition of IGS
20.01.2009 J.Schoen    Fix recognition of J2EE without SAP_JVM
09.02.2009 J.Schoen    Adapt for different releases.
 ___________________________________________________________________________________________________
|                                                                                                   |
| Make sure to keep the ElementTypeID of the SAP_SoftwareComponent instances in sync with the PPMS! |
|___________________________________________________________________________________________________|

Currently, there are 3 instances using an installed kernel:

| SAP Class Name                | Property Name | Property Name     | Supplier Name
|_______________________________|_______________|___________________|_______________________________|
| SAP_BCApplicationServer       | HostName      | Number            | ABAPInstanceKernel            |
| SAP_J2EEEngineInstance        | SystemHome    | InstanceID        | J2EEInstanceKernel            |
| SAP_BCCentralServiceInstance  | SystemHome    | ServiceInstanceID | CentralServiceInstanceKernel  |

One of these must be used as the rootclass for the registration.
The first property is the instance hostname, the second one is the instance number.
The only "real" difference are the class, property and supplier names.

Macro List:

SAPSYSTEMNAME  - system id (e.g. C11)
SAPLOCALHOST   - instance hostname (lower-case, no domaine, e.g. ld0202)
SAPSYSTEM      - instance number (e.g. 00)

COMPNAME       - component name of the installed kernel (e.g. KRNL32NUC)
COMPVERS       - numeric component version of the installed kernel (same as in PPMS; e.g. 710)
COMPVERS2      - component version of the installed kernel (same as in PPMS; e.g. 7.10)
KRN_OS         - compiled operating system of the installed kernel (internal name, e. g. linuxintel)
KRN_DB         - compiled database system of the installed kernel (PPMS-flavour, e.g. ORA)
KRN_BITS       - compiled bits-attribute of the installed kernel (32 or 64)
KRN_UNICODE    - compiled unicode-attribute of the installed kernel (true or false)
DIR_EXECUTABLE - local path where the installed kernel files are located (e.g /usr/sap/<SID>/SYS/exe/run)
DIR_CT_RUN     - local path of the replication directory on the instance host

SPNAME         - name of the kernel support package (same as in PPMS, e.g. SP011)
SPVERS         - level of the kernel support package (e.g. 11)

IS_REPLICATED  - a boolean (0/1) set to 1, when there are any sapcpe entries in the instance profile

-->

$DEFINEMACRO(SUPPLIER,$CONDEVAL($(TYPE) == ABAP,ABAPInstanceKernel,
                                $(TYPE) == J2EE,J2EEInstanceKernel,
                                $(TYPE) == SCS,CentralServiceInstanceKernel))

$DEFINEMACRO(PPMS_OSNAME,$CONDEVAL("$(KRN_OS)" == sun_64,SOLARIS_64,
                                   "$(KRN_OS)" == sunx86_64,SOLARISX64,
                                   "$(KRN_OS)" == rs6000_64,AIX_64,
                                   "$(KRN_OS)" == hpia64,HPIA_64,
                                   "$(KRN_OS)" == hp_64,HPUX_64,
                                   "$(KRN_OS)" == os390,OS390_32,
                                   "$(KRN_OS)" == linuxintel,LINUX_32,
                                   "$(KRN_OS)" == linuxia64,LINUX_64,
                                   "$(KRN_OS)" == linuxs390x,S390X_64,
                                   "$(KRN_OS)" == linuxx86_64,LINUX_X64,
                                   "$(KRN_OS)" == linuxppc64,LINUXPPC64,
                                   "$(KRN_OS)" == as400_pase_64,OS400,
                                   "$(KRN_OS)" == ntintel,NT_I386,
                                   "$(KRN_OS)" == ntia64,NT_IA64,
                                   "$(KRN_OS)" == ntamd64,NT_X64))

$DEFINEMACRO(PPMS_JVM_OSNAME,$CONDEVAL("$(JVM_OS)" == sun_64,SOLARIS_64,
                                       "$(JVM_OS)" == sunx86_64,SOLARISX64,
                                       "$(JVM_OS)" == rs6000_64,AIX_64,
                                       "$(JVM_OS)" == hpia64,HPIA_64,
                                       "$(JVM_OS)" == hp_64,HPUX_64,
                                       "$(JVM_OS)" == os390,OS390_32,
                                       "$(JVM_OS)" == linuxintel,LINUX_32,
                                       "$(JVM_OS)" == linuxia64,LINUX_64,
                                       "$(JVM_OS)" == linuxs390x,S390X_64,
                                       "$(JVM_OS)" == linuxx86_64,LINUX_X64,
                                       "$(JVM_OS)" == linuxppc64,LINUXPPC64,
                                       "$(JVM_OS)" == as400_pase_64,OS400,
                                       "$(JVM_OS)" == ntintel,NT_I386,
                                       "$(JVM_OS)" == ntia64,NT_IA64,
                                       "$(JVM_OS)" == ntamd64,NT_X64))

$DEFINEMACRO(PPMS_DBNAME,$CONDEVAL("$(KRN_DB)" == ora,ORA,
                                   "$(KRN_DB)" == ada || "$(KRN_DB)" == sap || "$(KRN_DB)" == max,MAXDB,
                                   "$(KRN_DB)" == mss,MSS,
                                   "$(KRN_DB)" == db2,DB2,
                                   "$(KRN_DB)" == db4,DB4,
                                   "$(KRN_DB)" == db6,DB6,
                                   DBINDEP))

$DEFINEMACRO(PPMS_KRNLID,$CONDEVAL($(COMPVERS) == 700,$CONDEVAL("$(COMPNAME)" == KRNL32NUC,01200314690200004059,
                                                                "$(COMPNAME)" == KRNL32UC,01200314690200004835,
                                                                "$(COMPNAME)" == KRNL64NUC,01200314690200004836,
                                                                "$(COMPNAME)" == KRNL64UC,01200314690200004837),
                                   $(COMPVERS) == 701,$CONDEVAL("$(COMPNAME)" == KRNL32NUC,01200615320200011145,
                                                                "$(COMPNAME)" == KRNL32UC,01200615320200011146,
                                                                "$(COMPNAME)" == KRNL64NUC,01200615320200011147,
                                                                "$(COMPNAME)" == KRNL64UC,01200615320200011148),
                                   $(COMPVERS) == 702,$CONDEVAL("$(COMPNAME)" == KRNL32NUC,01200615320200012509,
                                                                "$(COMPNAME)" == KRNL32UC,01200615320200012510,
                                                                "$(COMPNAME)" == KRNL64NUC,01200615320200012511,
                                                                "$(COMPNAME)" == KRNL64UC,01200615320200012512),
                                   $(COMPVERS) == 710,$CONDEVAL("$(COMPNAME)" == KRNL32NUC,01200314690200004834,
                                                                "$(COMPNAME)" == KRNL32UC,01200314690200004840,
                                                                "$(COMPNAME)" == KRNL64NUC,01200314690200004839,
                                                                "$(COMPNAME)" == KRNL64UC,01200314690200004838),
                                   $(COMPVERS) == 711,$CONDEVAL("$(COMPNAME)" == KRNL32NUC,01200615320200011149,
                                                                "$(COMPNAME)" == KRNL32UC,01200615320200011150,
                                                                "$(COMPNAME)" == KRNL64NUC,01200615320200011151,
                                                                "$(COMPNAME)" == KRNL64UC,01200615320200011152),
                                   $(COMPVERS) == 720,$CONDEVAL("$(COMPNAME)" == KRNL32NUC,01200615320200013053,
                                                                "$(COMPNAME)" == KRNL32UC,01200615320200013054,
                                                                "$(COMPNAME)" == KRNL64NUC,01200615320200013055,
                                                                "$(COMPNAME)" == KRNL64UC,01200615320200013056)))

<sldinfo supplier_name="$(SUPPLIER)" supplier_version="1.0" model_version="1.5">

<!-- Associate the installed kernel component to the application server -->
  <group name="SAP_InstalledKernelComponentGroup" group_type="GENERIC">
    <choose>
      <when test="$(TYPE) == ABAP">
	<rootclass name="SAP_BCApplicationServer" sync="TRUE" merge_properties="TRUE" merge_roots="FALSE" clean="NONE">
	  <instance>
	    <!-- key properties -->
	    <property name="Name">
	      <value>$(SAPSYSTEMNAME).Number.$(SAPSYSTEM).HostName.$LOWER($(SAPLOCALHOST))</value>
	    </property>
	    <property name="CreationClassName">
	      <value>SAP_BCApplicationServer</value>
	    </property>
            <!-- other properties -->
	    <property name="Caption">
	      <value>$LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
	    </property>
	  </instance>
	</rootclass>
      </when>

      <when test="$(TYPE) == J2EE">
	<rootclass name="SAP_J2EEEngineInstance" sync="TRUE" merge_properties="TRUE" merge_roots="FALSE" clean="NONE">
	  <instance>
	    <!-- key properties -->
	    <property name="Name">
	      <value>$(SAPSYSTEMNAME).InstanceID.$(SAPSYSTEM).SystemHome.$LOWER($(SAPLOCALHOST))</value>
	    </property>
	    <property name="CreationClassName">
	      <value>SAP_J2EEEngineInstance</value>
	    </property>
            <!-- other properties -->
	    <property name="Caption">
	      <value>$LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
	    </property>
	  </instance>
	</rootclass>
      </when>

      <when test="$(TYPE) == SCS">
	<rootclass name="SAP_BCCentralServiceInstance" sync="TRUE" merge_properties="TRUE" merge_roots="FALSE" clean="NONE">
	  <instance>
	    <!-- key properties -->
	    <property name="Name">
	      <value>$(SAPSYSTEMNAME).SystemHome.$LOWER($(SAPLOCALHOST)).ServiceInstanceID.$(SAPSYSTEM)</value>
	    </property>
	    <property name="CreationClassName">
	      <value>SAP_BCCentralServiceInstance</value>
	    </property>
            <!-- other properties -->
	    <property name="Caption">
	      <value>$LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
	    </property>
	  </instance>
	</rootclass>
      </when>

    </choose>
    <memberclass 
      name="SAP_InstalledKernelComponent" 
      association_name="SAP_InstalledSWComponentOnApplicationSystem" 
      root_role="System" 
      member_role="Software" 
      sync="TRUE" 
      merge_properties="TRUE" 
      merge_members="FALSE" 
      clean="ALL">
<!-- The installed kernel component -->
      <instance>
        <!-- key properties -->
        <property name="Name">
          <value>$(COMPNAME)</value>
        </property>
        <property name="Version">
          <value>$(COMPVERS2)</value>
        </property>
        <property name="SoftwareElementState">
          <value>3</value>
        </property>
        <property name="TargetOperatingSystem">
          <value>0</value>
        </property>
        <!-- SoftwareElementID is calculated in SLD -->

        <!-- other properties -->
        <property name="Caption">
          <value>$(COMPNAME) $(COMPVERS2) on $LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
        </property>
        <property name="CompilationOpSys">
          <value>$(PPMS_OSNAME)</value>
        </property>
        <property name="CompilationDbSys">
          <value>$(PPMS_DBNAME)</value>
        </property>
        <property name="CompilationBits">
          <value>$(KRN_BITS)</value>
        </property>
        <property name="CompilationUnicode">
          <value>$(KRN_UNICODE)</value>
        </property>
        <property name="LocalPath">
          <value>$(DIR_EXECUTABLE)</value>
        </property>
        <property name="ReplicationPath">
          <choose>
            <when test="$(IS_REPLICATED)">
              <value>$(DIR_CT_RUN)</value>
            </when>
            <otherwise>
              <value></value>
            </otherwise>
          </choose>
        </property>
      </instance>
<!-- The installed SAPJVM component -->
      <if test="$(TYPE) == J2EE &amp;&amp; $DEFINED(JVM_VERSION)">
          <instance>
            <!-- key properties -->
            <property name="Name">
              <value>SAPJVM</value>
            </property>
            <property name="Version">
              <value>$(JVM_VERSION)</value>
            </property>
            <property name="SoftwareElementState">
              <value>3</value>
            </property>
            <property name="TargetOperatingSystem">
              <value>0</value>
            </property>
            <!-- SoftwareElementID is calculated in SLD -->

            <!-- other properties -->
            <property name="Caption">
              <value>SAP JVM $(JVM_VERSION) on $LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
            </property>
            <property name="CompilationOpSys">
              <value>$(PPMS_JVM_OSNAME)</value>
            </property>
            <property name="CompilationBits">
              <value>$(JVM_BITS)</value>
            </property>
            <property name="LocalPath">
              <value>$(DIR_SAPJVM)</value>
            </property>
            <property name="ReplicationPath">
              <choose>
                <when test="$(IS_REPLICATED)">
                  <value>$(DIR_CT_SAPJVM)</value>
                </when>
                <otherwise>
                  <value></value>
                </otherwise>
              </choose>
            </property>
          </instance>
      </if>
      <if test="$(IGS_INSTALLED)">
        <instance>
          <!-- key properties -->
          <property name="Name">
            <value>$(IGS_KEYNAME)</value>
          </property>
          <property name="Version">
            <value>$(IGS_VERS)</value>
          </property>
          <property name="SoftwareElementState">
            <value>3</value>
          </property>
          <property name="TargetOperatingSystem">
            <value>0</value>
          </property>
          <!-- SoftwareElementID is calculated in SLD -->
  
          <!-- other properties -->
          <property name="Caption">
            <value>$(IGS_KEYNAME) $(IGS_VERS) on $LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
          </property>
          <property name="CompilationOpSys">
            <value>$(PPMS_OSNAME)</value>
          </property>
          <!-- IGS is not DB dependent
          <property name="CompilationDbSys">
            <value>$(PPMS_DBNAME)</value>
          </property>
          -->
          <property name="CompilationBits">
            <value>$(IGS_BITS)</value>
          </property>
          <property name="CompilationUnicode">
            <value>$(IGS_UNICODE)</value>
          </property>
          <property name="LocalPath">
            <value>$(DIR_EXECUTABLE)</value>
          </property>
          <property name="ReplicationPath">
            <choose>
              <when test="$(IS_REPLICATED)">
                <value>$(DIR_CT_RUN)</value>
              </when>
              <otherwise>
                <value></value>
              </otherwise>
            </choose>
          </property>
        </instance>
      </if>
    </memberclass>
  </group>

<!-- Associate the installed kernel component to the software component -->
  <group name="SAP_InstalledSoftwareComponentTypeGroup" group_type="GENERIC">
    <rootclass 
      name="SAP_InstalledKernelComponent" 
      sync="FALSE"
      merge_properties="TRUE" 
      merge_roots="TRUE"
      clean="NONE">
      <instance>
        <!-- key properties -->
        <property name="Name">
          <value>$(COMPNAME)</value>
        </property>
        <property name="Version">
          <value>$(COMPVERS2)</value>
        </property>
        <property name="SoftwareElementState">
          <value>3</value>
        </property>
        <property name="TargetOperatingSystem">
          <value>0</value>
        </property>
      </instance>
    </rootclass>
    <memberclass 
      name="SAP_SoftwareComponent" 
      association_name="SAP_SoftwareComponentType" 
      root_role="Dependent" 
      member_role="Antecedent" 
      sync="FALSE" 
      merge_properties="TRUE" 
      merge_members="FALSE" 
      clean="NONE">
      <instance>
        <!-- key properties -->
        <property name="Name">
          <value>$(COMPNAME)</value>
        </property>
        <property name="Vendor">
          <value>sap.com</value>
        </property>
        <property name="Version">
          <value>$(COMPVERS2)</value>
        </property>
        <property name="ElementTypeID">
	  <value>$(PPMS_KRNLID)</value>
        </property>
      </instance>
    </memberclass>
  </group>
  
  <!-- Associate the installed kernel component to the installed support package -->
  <group 
    name="SAP_InstalledSupportPackageGroup1" 
    group_type="GENERIC">
    <rootclass 
      name="SAP_InstalledKernelComponent" 
      sync="FALSE"
      merge_properties="TRUE" 
      merge_roots="FALSE"
      clean="NONE">
      <instance>
        <!-- key properties -->
        <property name="Name">
          <value>$(COMPNAME)</value>
        </property>
        <property name="Version">
          <value>$(COMPVERS2)</value>
        </property>
        <property name="SoftwareElementState">
          <value>3</value>
        </property>
        <property name="TargetOperatingSystem">
          <value>0</value>
        </property>
      </instance>
    </rootclass>
    <memberclass 
      name="SAP_InstalledSupportPackage" 
      association_name="SAP_InstalledSupportPackageSoftwareComponent" 
      root_role="Antecedent" 
      member_role="Dependent" 
      sync="TRUE" 
      merge_properties="TRUE" 
      merge_members="FALSE" 
      clean="ALL">
      <instance>
        <property 
          name="Name">
          <value>$(COMPNAME)</value>
        </property>
        <property 
          name="Version">
          <value>$(SPVERS)</value>
        </property>
        <property 
          name="SoftwareElementState">
          <value>3</value>
        </property>
        <property 
          name="TargetOperatingSystem">
          <value>0</value>
        </property>
        <!-- SoftwareElementID is calculated in SLD -->
        <property 
          name="Caption">
          <value>$(SPNAME) $(SPVERS) on $LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
        </property>
        <!-- PatchLevel is equal to SP number -->
        <property 
          name="PatchLevel">
          <value>$(SPVERS)</value>
        </property>
      </instance>
    </memberclass>
  </group>

<!-- Associate the installed SAPJVM component to the software component -->
    <if test="$(TYPE) == J2EE &amp;&amp; $DEFINED(JVM_VERSION)">
        <group name="SAP_InstalledSoftwareComponentTypeGroup2" group_type="GENERIC">
          <rootclass 
            name="SAP_InstalledKernelComponent" 
            sync="FALSE"
            merge_properties="TRUE" 
            merge_roots="TRUE"
            clean="NONE">
            <instance>
              <!-- key properties -->
              <property name="Name">
                <value>SAPJVM</value>
              </property>
              <property name="Version">
                <value>$(JVM_VERSION)</value>
              </property>
              <property name="SoftwareElementState">
                <value>3</value>
              </property>
              <property name="TargetOperatingSystem">
                <value>0</value>
              </property>
            </instance>
          </rootclass>
          <memberclass 
            name="SAP_SoftwareComponent" 
            association_name="SAP_SoftwareComponentType" 
            root_role="Dependent" 
            member_role="Antecedent" 
            sync="FALSE" 
            merge_properties="TRUE" 
            merge_members="FALSE" 
            clean="NONE">
            <instance>
              <!-- key properties -->
              <property name="Name">
                <value>SAPJVM</value>
              </property>
              <property name="Vendor">
                <value>sap.com</value>
              </property>
              <property name="Version">
                <value>5.1</value>
              </property>
              <property name="ElementTypeID">
                <value>01200615320200009068</value>
              </property>
            </instance>
          </memberclass>
        </group>
        <!-- Associate the installed SAPJVM component to the installed support package -->
        <group 
          name="SAP_InstalledSupportPackageGroup2" 
          group_type="GENERIC">
          <rootclass 
            name="SAP_InstalledKernelComponent" 
            sync="FALSE"
            merge_properties="TRUE" 
            merge_roots="FALSE"
            clean="NONE">
            <instance>
              <!-- key properties -->
              <property name="Name">
                <value>SAPJVM</value>
              </property>
              <property name="Version">
                <value>$(JVM_VERSION)</value>
              </property>
              <property name="SoftwareElementState">
                <value>3</value>
              </property>
              <property name="TargetOperatingSystem">
                <value>0</value>
              </property>
            </instance>
          </rootclass>
          <memberclass 
            name="SAP_InstalledSupportPackage" 
            association_name="SAP_InstalledSupportPackageSoftwareComponent" 
            root_role="Antecedent" 
            member_role="Dependent" 
            sync="TRUE" 
            merge_properties="TRUE" 
            merge_members="FALSE" 
            clean="ALL">
            <instance>
              <property 
                name="Name">
                <value>$(JVM_KEYNAME)</value>
              </property>
              <property 
                name="Version">
                <value>$(JVM_SPVERS)</value>
              </property>
              <property 
                name="SoftwareElementState">
                <value>3</value>
              </property>
              <property 
                name="TargetOperatingSystem">
                <value>0</value>
              </property>
              <!-- SoftwareElementID is calculated in SLD -->
              <property 
                name="Caption">
                <value>$(JVM_KEYNAME) $(JVM_SPVERS) on $LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
              </property>
              <!-- PatchLevel is equal to SP number -->
              <property 
                name="PatchLevel">
                <value>$(JVM_SPVERS)</value>
              </property>
            </instance>
          </memberclass>
        </group>
    </if>

    <!-- If installed, register IGS software component -->
    <if test="$(IGS_INSTALLED)">
        <group name="SAP_InstalledSoftwareComponentTypeGroup3" group_type="GENERIC">
          <rootclass 
            name="SAP_InstalledKernelComponent" 
            sync="FALSE"
            merge_properties="TRUE" 
            merge_roots="TRUE"
            clean="NONE">
            <instance>
              <!-- key properties -->
              <property name="Name">
                <value>$(IGS_KEYNAME)</value>
              </property>
              <property name="Version">
                <value>$(IGS_VERS)</value>
              </property>
              <property name="SoftwareElementState">
                <value>3</value>
              </property>
              <property name="TargetOperatingSystem">
                <value>0</value>
              </property>
            </instance>
          </rootclass>
          <memberclass 
            name="SAP_SoftwareComponent" 
            association_name="SAP_SoftwareComponentType" 
            root_role="Dependent" 
            member_role="Antecedent" 
            sync="FALSE" 
            merge_properties="TRUE" 
            merge_members="FALSE" 
            clean="NONE">
            <instance>
              <!-- key properties -->
              <property name="Name">
                <value>$(IGS_KEYNAME)</value>
              </property>
              <property name="Vendor">
                <value>sap.com</value>
              </property>
              <property name="Version">
                <value>$(IGS_VERS2)</value>
              </property>
              <property name="ElementTypeID">
                <value>01200615320200008215</value>
              </property>
            </instance>
          </memberclass>
        </group>
        <!-- Associate the IGS component to the installed support package -->
        <group 
          name="SAP_InstalledSupportPackageGroup3" 
          group_type="GENERIC">
          <rootclass 
            name="SAP_InstalledKernelComponent" 
            sync="FALSE"
            merge_properties="TRUE" 
            merge_roots="FALSE"
            clean="NONE">
            <instance>
              <!-- key properties -->
              <property name="Name">
                <value>$(IGS_KEYNAME)</value>
              </property>
              <property name="Version">
                <value>$(IGS_VERS)</value>
              </property>
              <property name="SoftwareElementState">
                <value>3</value>
              </property>
              <property name="TargetOperatingSystem">
                <value>0</value>
              </property>
            </instance>
          </rootclass>
          <memberclass 
            name="SAP_InstalledSupportPackage" 
            association_name="SAP_InstalledSupportPackageSoftwareComponent" 
            root_role="Antecedent" 
            member_role="Dependent" 
            sync="TRUE" 
            merge_properties="TRUE" 
            merge_members="FALSE" 
            clean="ALL">
            <instance>
              <property 
                name="Name">
                <value>$(IGS_KEYNAME)</value>
              </property>
              <property 
                name="Version">
                <value>$(IGS_SPVERS)</value>
              </property>
              <property 
                name="SoftwareElementState">
                <value>3</value>
              </property>
              <property 
                name="TargetOperatingSystem">
                <value>0</value>
              </property>
              <!-- SoftwareElementID is calculated in SLD -->
              <property 
                name="Caption">
                <value>$(IGS_KEYNAME) $(IGS_SPVERS) on $LOWER($(SAPLOCALHOST)) $(SAPSYSTEMNAME) $(SAPSYSTEM)</value>
              </property>
              <!-- PatchLevel is equal to SP number -->
              <property 
                name="PatchLevel">
                <value>$(IGS_SPVERS)</value>
              </property>
            </instance>
          </memberclass>
        </group>
    </if>
</sldinfo>
