Passing multiple parameters in SAP BO Webi report


An open document URL is constructed as follow −

http://<servername>:<port>/OpenDocument/opendoc/<platformSpecific>?<parameter1>&<parameter2>&...&<parameterN>

With use of SAP Business Objects API, you can query each prompt- single value or multiple value. When you build URL, you may have to include parameter types.

You can join parameters with the ampersand (&) and you shouldn’t use space with & ampersand. Example − sType=wid&sDocName=Sales2003

https://URL_path/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&sType=wid&sRefresh=Y&iDocID=AUcrjvCCPOVHtSvXJV9Qs0k&lsMYBO_BU=B;B&lsSYBO_CALYEAR=201710&lsSYBO_CRNCY=USD

In this URL, you can see single value variable YBO_CALYEAR and value is passed in YYYYMM format

&lsSYBO_CRNCY=USD, you can see single value variable and I am passing value “USD”

When you run the report, you can define a report level variable or use report-level function to capture multiple values selected in the prompt using function UserResponse()

=UserResponse([Query_Name]; PromptName)

Updated on: 26-Feb-2020

762 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements