You are on page 1of 4

11/19/2016

RestrictingCharacteristicsBISuite:BusinessExplorerSAPLibrary

TheBestRunBusinessesRunSAP

FinancialManagement

SAPStrategicEnterpriseManagement

!a11y>

RestrictingCharacteristics
Use
Whendefiningaquery,youcanrestrictcharacteristicstosinglecharacteristicvalues,valueranges,
hierarchynodesorcharacteristicvaluevariables.

Prerequisites
Youwanttorestrictacharacteristictooneormorevaluesinthequeryorrestrictedkeyfiguredefinition.
Youhaveselectedthecharacteristicandchosen Restrict fromthecontextmenu(secondarymouseclick).

Procedure
Whenyouselectcharacteristicsinthequerydefinition,youcanusethesamefunctionsastheF4Helpin
theexecutedquery.Forthefollowingfunctions,seethedescriptionsunderSelectingFilterValues.
Selectingsinglevalues
Selectingvalueranges
Selectinghierarchynodes
Searchingforvalues
Deletingvaluesfromtheselectionwindow
Excludingcharacteristicvalues
Displayingvaluekeys
Youcanchoosefromthefollowingadditionalfunctionsinthequerydefinition:

Selectingvariables
Whenyouselectcharacteristicvaluesinthequerydefinition,youcanalsoselectvariablesinsteadoffixed
values.Theseactasbenchmarksandareonlyfilledwithfixedvalueswhenthequeryisexecuted.
Selectingsinglevaluevariables
1.Choose SingleValue inthetopleftareaoftheselectionfieldand flatlist inthetopright.
2.Selectthe Variables tabpage.
3.Selectone(or,inexceptionalcases,morethanone)variablefromthelistofavailablevariables
displayedinthelefthandwindow,anddragthevariable(s)intothe Selection boxontheright
(alternatively,usethepushbuttonwiththearrowpointingtotherighttomovethevalues).

http://help.sap.com/saphelp_sem40bw/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/frameset.htm

1/4

11/19/2016

RestrictingCharacteristicsBISuite:BusinessExplorerSAPLibrary

Selectingvaluerangelimits
1.Choose ValueRange fromthetopleftoftheselectionfield,andtheoperatorthatyouwanttouse(top
right).
2.Selectthe Variables tabpage.
3.Ifyouhavechosentheoperator Between ,firstselectboththeupperandlowerintervallimitsfromthe
upper
listofavailablevariablesdisplayedinthelefthandwindowanddragthemusingDrag&Drop(orusing
thearrowpointingtotheright)inthe Selection windowontherighthandsideofthescreen.
Ifyouchooseoneoftheoperators Isgreaterthanorequalto , Islessthanorequalto , Isgreater
than, or Islessthan ,selectavaluefromthelistofavailablevariablesinthelefthandwindow,dragit
across,anddropitintothe Selection windowontheright(alternativelyusethebuttonwiththearrow
pointingtotherighttomovethevariableacrossintothe Selection window).
Selectingintervalswithvariablesandafixedlimit
1.Inthetopleftcorneroftheselectionfield,choose value range and between asoperator.
2.Selectthefixedlimitonthe FixedValues tab.
3.Selectthevariablelimitonthe Variables tab.
4.Finally,choosethearrowbuttonpointingtotheright.
Selectingintervalswhoseupperandlowerlimitsrefertothesamevariable
upper
1.Inthetopleftcorneroftheselectionfield,choose value range and between asoperator.
2.Selecttherequiredvariablefromthe Variables tabpageanddragitintothe Selection boxonthe
right(orusethearrowiconpointingtotheright).
3.Nowspecifyoffsetsfortheupperandlowerlimits.(Seebelow:
upper
Selectingvariableoffsets)

Pleasenotethatyoucannotcombineothervalues,hierarchynodesorvariableswitha
variableofthetype Selectionoption or Queryvariable .
Selectingvariableoffsets

Youcanonlyusethisfunctionforcharacteristicvaluevariablesofthetype singlevalue .
1.Selecttherequiredvariableintherighthandwindow.
2.Choose variableoffsets fromthecontextmenu(secondarymouseclick) . Thisbringsyoutothe
dialogwindow EnteringVariableOffsets .
3.Entertherequiredoffset.
4.Choose OK .

Youwanttoselecttheperiodofthelast5yearsforevaluatingyourdata.
Inthetopleftcorneroftheselectionfield,choose value range and between as
operator.
Selectthevariable currentcalendaryear fromthe Variables tabpageanddragitinto
the Selection boxontheright(orusethearrowiconpointingtotheright).
Choose variableoffsets fromthecontextmenu(secondarymouseclick) . The
VariablesOffsets popupappearsforboththeupperandlowerintervallimits.
upper
Forthelowerlimit,entertheoffset5.
Donotenteranoffsetfortheupperlimit.
upper
Choose OK .
Swappingintervallimits
Ifyouareusingvariablesintheintervallimits,youcanswapthelimits.
1.Selecttherequiredvariableintherighthandwindow.
2.Choose SwapIntervalLimits fromthecontextmenu(secondarymouseclick) .

http://help.sap.com/saphelp_sem40bw/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/frameset.htm

2/4

11/19/2016

RestrictingCharacteristicsBISuite:BusinessExplorerSAPLibrary

Selectingfixed/variablehierarchies/hierarchynodes
Youcanalsorestrictcharacteristicsbyhierarchyorhierarchynode,onafixedorvariablebasis.See
RestrictingCharacteristics:Hierarchies
Excludingvariablevalues
Youusethisfunctiontoselectthevaluesthatyoudonotneedforyourreport.

Thisfunctionisonlyvalidforsinglevaluevariablesandnotforvariablequantities.
1.Selectthedesiredvalueintheright Selection window.
2.Choose ExcludefromSelection fromthecontextmenu(secondarymouseclick) .

Ifyouwanttoincludethevalueintheselectionagain,choose IncludeinSelection from


thecontextmenu(secondarymouseclick).

Directentry

Youcannotusethisfunctionifyouwanttorestrictthecharacteristic.Youcannotmakea
directentrywhenyouareselectingstructureelements(forexample,keyfigures)orvalues
fromahierarchy.
1.Intheentryfield(bottomleft)specifyacharacteristicvalueinexternalformat.
Insteadofcharacteristicvaluesinexternalformat,youcanalsoentervariablesintheformof&
<variablename>&(ampersand(&)atthebeginningandattheendoftheentry,andwithoutblank
spaces).
2.Choosethebuttonwiththearrowpointingtotheright.
Thesystemcheckswhetherthisvalueexists.Ifthevaluedoesnotexist,yougetawarning.However,
youcanstillusethevalueinthevariable.

Notethefollowingconventionsformakingentriesforvaluerangesandintervals:
Valuerange:<operator><value>,forexample,>=1995
Intervals:<lowerlimit><upperlimit>,e.g.A01B99
upper
Intervalwithavariablelimit,forexample,&VAR&2000
Emptycharactersarenotallowedinthesefields.

Result
Youhavenowrestrictedacharacteristicbycertaincharacteristicvalues.Choose OK .Youreturntothe
querydefinition.Saveyourentriesandexecutethequery.

Ifyouhaverestrictedacharacteristictoavariablevalue,beforethequeryisexecuted,a
dialogboxappearsforyoutoentervariablevaluesmanually(providedthatthevariableis
flaggedas readyforinput ).Formoreinformation,seeUsingVariables:TheVariable
WizardandtheVariableEditor.
Entertherequiredvaluesandchoose OK .Thequeryisnowexecutedwiththechosen
values.
Thequeryiscreatedaccordingtoyourselectionconditions.Theselectedcharacteristicvaluesare
displayedinthefiltercells,ontheright,nexttothecorrespondingcharacteristic.Onlythecharacteristic
http://help.sap.com/saphelp_sem40bw/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/frameset.htm

3/4

11/19/2016

RestrictingCharacteristicsBISuite:BusinessExplorerSAPLibrary

valuesyouselectedareincludedintheresultsarea.

C OPYR I GH T BY SAP SE OR AN SAP AF F I LI AT E C OM PAN Y. ALL R I GH T S R ESER VED .


PR I N T ED F R OM SAP H ELP POR TAL. (ht t p: / / help. s ap. c om )

http://help.sap.com/saphelp_sem40bw/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/frameset.htm

4/4

You might also like