cancel
Showing results for 
Search instead for 
Did you mean: 

Passing multiple values to detail report

Former Member
0 Kudos

Hi

Could you please help me on below scenario..

Report1 has below data and it has “Year” prompt

Report2 has City and Revenue data and it has Year and State prompts

Scenario is: when user click on any state in report1 then report2 should display for that state and whatever ‘Years’ selected in Report1 should also pass to the Report2

Below hyperlink is created on State in report1. It is working as expected, i.e. when user selects 2 years (for ex: 2004;2005) in report1 then same 2 years are passing to report2.

http://<Server>/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=xxxxxx&sType=wid&sRefr...

------ Formula for varYear in above link = Userresponse(“Year”)

If I am using the 'Year' object instead of variable (varYear) then data is splitting for each year and displaying like below.

http://<Server>/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=xxxxxx&sType=wid&sRefr...

 

I can’t use userresponse() because My report is on BEx query and as you know we should pass only ‘Key’and not the ‘Text’. And I can’t use ‘if else’ also like below to get the ‘Key’ values, because list is not static and user can select any values from the big list.

If(userresponse(“Material”)=”ABC”;”001”;if(userresponse(“Material”)=”ABC;XYZ”;”001;456”)

Issue is I need to pass multiple selected values in report1 to report2.

Could you please tell me why it is displaying correctly with variable and why it is not displaying correctly when using object ‘Year’ and is there any work around to display the aggregated data like below.

Thank you again,

Suri

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member189638
Active Contributor
0 Kudos

May i know if you have tried using the ReportFilter([Object]) instead of userresponse?

former_member220624
Contributor
0 Kudos

Hi Suri,

The images as well as hyperlinks seem to be corrupt.

Can you please fix it?

Regards,

Amit