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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAbapProgramName()
Get the name of the ABAP programString
getClientNumber()
Get client number of the variantAbapVariantValue
getValue(String name)
Get the variant value with the given nameIterator<AbapVariantValue>
getValues()
Get all values of the variantString
getVariantName()
Get the name of the variantboolean
isCustomerSystem()
Check whether this is a customer system variant System variants are created in client 000 but are visible in all clients.boolean
isSapSystem()
Check whether this is a SAP system variant System variants are created in client 000 but are visible in all clients.boolean
isTemporary()
Check whether this is a temporary variant Temporary variants are deleted with the job they have been used in
-
-
-
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
-
getValues
Iterator<AbapVariantValue> getValues()
Get all values of the variant- Returns:
Iterator
with theAbapVariantValue
values
-
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
-
-