Skip to Content
0
Former Member
Jun 06, 2013 at 06:52 AM

issue with import com.sap.webi.client.toolkit.reporting.ReportDictionaryHelper

40 Views

I am using following code and it's resulting in unreadable format for definition of variable. Using 4.0 SDK

List<Variable> vars = ReportDictionaryHelper.getDocumentVariables(context,doc);


if (vars.size() > 0) {


System.

out.println("\n VARIABLES:");


for (Variable var:vars) {


System.

out.println(var.getName());


System.

out.println(var.getQualification());


System.

out.println(var.getDefinition());


}

Sample output

Var_Webi_BOCalendarDateFormat


MEASURE


qMl$f301$f348$f456$f468$f456$oDP1.DO1881$f457$f458$lam/pm$f458$la$f457$

Please find that the text "am/pm" is coming correctly as it is in variable definition, but the objects and functions usage in variable definition are being replaced with IDs of object or function, i believe.

Please let me know if any more inputs are required. Please suggest me the change required

Regards,

Praveen