Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

using a multivalued parameter in a report

Hi,

I want to create a report with a multivalued string parameter.

I tried the following code but it does not work:

***************

IPropertyName my_prop_name

Map m_parameterDefinitions = new HashMap();

m_parameterDefinitions.put(my_prop_name, new PropertyDef(PropertyType.STRING,true,true,false,false,false));

List my_values = new ArrayList();

my_values.add("zero");

my_values.add("one");

my_values.add("two");

m_parameterDefaults.put(my_prop_name, my_values);

IReportInputMeta m_meta = ReportInputMeta.getInstance(m_parameterNames, m_parameterDefinitions, m_parameterDefaults);

**************************

does anyone knows how should I do to make it work?

thanx.

Bassem.

Not what you were looking for? View more on this topic or Ask a question