Interface AbapVariant
-
public interface AbapVariantA 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 StringgetAbapProgramName()Get the name of the ABAP programStringgetClientNumber()Get client number of the variantAbapVariantValuegetValue(String name)Get the variant value with the given nameIterator<AbapVariantValue>getValues()Get all values of the variantStringgetVariantName()Get the name of the variantbooleanisCustomerSystem()Check whether this is a customer system variant System variants are created in client 000 but are visible in all clients.booleanisSapSystem()Check whether this is a SAP system variant System variants are created in client 000 but are visible in all clients.booleanisTemporary()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:
Iteratorwith theAbapVariantValuevalues
-
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:
trueif this is a temporary variant,falseotherwise
-
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:
trueif this is a system variant,falseotherwise
-
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:
trueif this is a system variant,falseotherwise
-
-