Skip to Content
author's profile photo Former Member
Former Member

display prompt values in report


We have variable 'Test(X_TEST)' in BEx and when user selects values in prompt then I want to display its key values (Not Text) in report.-

it is displaying its text with Userresponse("X_TEST"), so i tried something like below.


Above formula is fine if user selects single value, but user can select multiple values with any combination. So could you please help me how to handle this to display key values.

Thank you,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 18, 2015 at 11:28 AM


    ideally if you have key value object in the webi query then in webi report you will get the key values only based on the selection of user prompt values.

    If you are displaying hard coded key values by variable in webi then use match function.

    =If(match(Userresponse("X_TEST");"*TextA*")) then "1001"elseIf (match(Userresponse("X_TEST");"*TextB*" then "2001"))


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Suri Babu,

      I just want to make it clear, you cannot pass multiple keys to detail report from your Master report on Bex keys. WebI on bex can only take 1 key and can pass one value. Correct me if I understood you wrong!

      We are on 4.1 sp2 patch 5 and no we cannot pass multiple keys to detail report.

      What does the detail object have in it(Keys?) from the user selection? If users selects inlist values "TEXT1" , "TEXT2" it correspoding keys would be "KEY1" , "KEY2".

      Your detail object holds what?



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.