Interface AbapVariant


  • public interface AbapVariant
    A variant of an ABAP program Reading the variant values is available only if variant management functionality is licensed and either the SAP system provides XBP 3.0 or the latest Redwood transports are installed.
    • Method Detail

      • getAbapProgramName

        String getAbapProgramName()
        Get the name of the ABAP program
        Returns:
        ABAP program name
      • getVariantName

        String getVariantName()
        Get the name of the variant
        Returns:
        variant name
      • getClientNumber

        String getClientNumber()
        Get client number of the variant
        Returns:
        client number
      • getValue

        AbapVariantValue getValue​(String name)
        Get the variant value with the given name
        Parameters:
        name - name of the value
        Returns:
        variant value
      • isTemporary

        boolean isTemporary()
        Check whether this is a temporary variant Temporary variants are deleted with the job they have been used in
        Returns:
        true if this is a temporary variant, false otherwise
      • isSapSystem

        boolean isSapSystem()
        Check whether this is a SAP system variant System variants are created in client 000 but are visible in all clients. Moreover, these variants are transported with the ABAP program.
        Returns:
        true if this is a system variant, false otherwise
      • isCustomerSystem

        boolean isCustomerSystem()
        Check whether this is a customer system variant System variants are created in client 000 but are visible in all clients. Moreover, these variants are transported with the ABAP program.
        Returns:
        true if this is a system variant, false otherwise