I just reviewed the whole “Report Engine Java Developer Guide” (location of the Developer Guide is: https://www.sdn.sap.com/irj/boc/sdklibrary). And couldn’t locate any useful info on the variables --defined by variable editor-- used in a webi report (XI3.1).
However, when I open the .wid document in notepad, I am able to see the variable names. But it is little freaky, for example if my variable is named as varQty, it is placed in .wid doc as v + blank + a + blank + r + blank + …
And I am not able to see the formulation of the variable, or what I see is funky characters…
i.e, lets say
[varQty] = [measure-1]+[measure-2]
I cannot locate [measure-1]+[measure-2]. Based on my previous research, this information is only located in the .wid file, nowhere else…
it is crucial for me to locate [measure-1]+[measure-2] part. I already checked the source code of WID scanner tool, its no help. Using Report Engine in VB.NET, I can get tons of information about a given webi report, or can do alot of different operations, except this one…
Anyone ever tried to pull that information using SDK? if you could share that info, it would save my painfull days
thanks
Mr.H.
Update: I just quickly reviewed the Business Objects Report Engine Java API document, and saw that there is “Interface VariableExpression” with getVariables() method which returns all variables available for the document, and getFormula() method which returns the formula this variable is based on. I couldn’t locate the interface and methods via SDK yet, but getting there I guess…
MrH (BOB member since 2007-08-17)