Menu parameter, display text and filter by ID

Is it possible with a parameter of type menu to display the text that has meaning to the user
But when filtering in my query send the ID's of the items the user selected in the menu?
For example I have a catalog with 50 reason descriptions in my DB, every reason description has an ID
So I display the 50 reason descriptions so that the user selects whatever he wants
When he runs the report how can I get the ID's of the reason descriptions he selected?
Thanks and Regards

for All option:
select description, id from table
union all
select "All", -999 from dual
in the query SQL:
where
colum1 = decode(:parameter1,-999,colum1,:parameter1)
for Multiple selection:
colum1 in (decode(:parameter1,-999,colum1,:parameter1) )
example to create a report:
1.create a list:
select rownum || '-' || t.tname tname, rownum tnum from tab t
union all
select 'All' tname, -999 tnum from dual
order by tnum
2. create a parameter using above list
3. create a data model with following sql:
select rownum || '-' || t.tname tname, rownum tnum from tab t
where rownum in ( decode(:PM_doc_id,-999,rownum,:PM_doc_id))
4. generate the layout
5.view this report to verify it.

Similar Messages

  • Display text and image over Video Image in applet

    Hi
    I am working in JMF for a video applet.
    I have a doubt ,how we can display text and image over Video Image.
    Is anybody know how we can draw text over Video Image,pls sent a small code how can do it in applet?.
    I can do it in a frame,but it not work in a applet !
    CHT

    it is very much possible in a htmlb:button.
    its same as how you have done it in xhtmlb:toolbarButton
    working code
            <%
      data image type   ref to cl_htmlb_image.
      data: image_string type string.
      create object image.
      image->id = 'IEX'.
      image->src = cl_bsp_mimes=>sap_icon( 'ICON_EXECUTE_OBJECT' ).
      image->tooltip = 'Find the Link'.
      clear image_string.
      image_string = image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
              %>
              <htmlb:button id     = "EX"
                            text   = "<%= image_string %> Execute"
                            encode = "FALSE"
                            onClick = "EXECUTE"/>
    Regards
    Raja

  • Menu button linked text and pictures

    Hi,
    I am currently studying a Digital Film Making course and at this point we are being taught how to use DVD Studio Pro. We are currently creating menus that when you have a button selected (but not activated) it will display a picture and text within that menu telling you a bit about what that button will link to, obviously when you move to a different button the text and picture will change. I am trying to accomplish this in Encore does anyone know if this is possible and if so how to do it?
    Cheers,
    Gordon

    Encore does not provide a simple version of this technique. You can fake it by having the button autoactivate and go to a duplicate menu with only the desired picture/text different.
    I suspect many users would like this as a feature in Encore. It is asked about often.
    feature request

  • Where is the Text and Filter Pop-Up Menu in Aperture?

    I am very new to Aperture, and I am having trouble finding the Filter Pop-Up Menu and the Text Box. Any help would be appreciated. Thanks!

    The text pop-up menu you read about may have been the Add Filter pop-up menu in the Query HUD (Cmd-F). You can use it to add additional text search boxes to the HUD. You already have one by default in the upper right corner of the HUD.
    That's for searching.
    Again, if what you're trying to do is overlay text on an image, you can't really do that except as I described the previous reply.
    If what you're trying to do is enter text to an image's metadata, you do that in the Metadata Inspector (I).

  • Photoshop CS4 Menu toolbar display bug and fullscreen slowness...

    http://img384.imageshack.us/img384/8202/menutoolsbugee3.gif
    I'm having a display bug with the menu toolbar in Photoshop CS4 Extended. Notice the area of tools is gone and replaced by random pixels? This happens whenever I enter the fullscreen mode that hides the interface. And when I exit that fullscreen mode, that bug appears and doesn't fix itself until I restart Photoshop. Can this be fixed?
    Image view rotation also happens much slower than normal in that fullscreen mode when interface is hidden. But performs normally after I bring back the interface.
    I'm on WinXP, Athlon 64 4000+, 3GB ram, GeForce 6800 GT video card [driver 169.21]. I'm not sure if this is a video driver bug or CS4 bug.

    Yeah, Dave, I can understand how that can happen. I've seen that sort of weirdness when I've seriously overtaxed my hardware.
    <br />
    <br />Had way too much running all at once yesterday, switched over to Firefox, and clicking on folders in the Bookmarks bar, I had 4 bookmark/folder menus dropped simultaneously.
    <br />
    <br />I managed to grab a screenshot with 2 of them showing, but man! You shoulda seen it with 4!
    <br />
    <br />I ESC'ed out, quit GarageBand (had a song project of several hundred MB going) and all was fixed.
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1oV3eLGID1UYwZ4L5Y0n44ThA0Ab0" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1oV3eLGID1UYwZ4L5Y0n44ThA0Ab0_thumb.png" border="0" />

  • How can I fix the language in which my iTunes displays texts and menus?

    When I installed iTunes on my PC, I configured it to be in Spanish. However, each time I click on the Music Store, it suddenly displays the text in French. How can I fix this?
    I've reconfigured the language several times (In Edit...Preferences...etc.), restarted my PC, restarted iTunes, but nothing seems to solve the problem.
      Windows XP  

    on the main store page, scroll down to the very bottom of the page and make sure you're not in the French store.
    There is a flag for the country.

  • PDF forms have problems displaying text and only appears when the field is selected

    Hello,
    I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text, the text is only visible when the field is selected. I need to find a solution for this because our company products are base on this forms.
    If there is any addition information that I should add to understand what is happening and how to fix it, I'll be happy to write it.
    In the company, we all have mac and the forms where created innitially in Adobe acrobat 9 pro, but we have now Adobe acropabt XI pro.
    The users have both Mac and Windows systems.
    Thank you,

    This is usually caused by the form being filled-in and saved by a Mac user who is using the Preview application to view the PDF. More information is here: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
    It is a good idea to inform your users that Adobe Reader (or Acrobat) should be used to work with the forms.

  • Menu shortcut shows text and not symbol

    Hi,
    I set an accelerator on an action that I use in a menu item like this:
    action.putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_PERIOD, InputEvent.CTRL_MASK));In the menu item, I get something like:
    <menu text> Ctrl-PERIOD
    note the word period is spelt out in text but I want it to show:
    <menu text> Ctrl-.
    i.e. using the period symbol
    Can anyone help me with this?
    I know this may be a LAF thing but if so, is it possible to tweak my current LAF , maybe via UIManager to do this?
    Party on,
    Jim

    Sorry about that,
    not trying to cross post but I just realised I put this in the wrong forum.
    Have put in the Swing forum now:
    http://forum.java.sun.com/thread.jspa?threadID=5189764

  • Some webpages (facebook, msn, yahoo) only display text and no graphics.

    I have tried the following that have not worked:
    DNS Cache flush
    Cleared cookies/browsing/internet files, etc.
    Router restart
    Changing computer's time
    Creating new Win7 user account and making administrator
    Reinstalling java/flash
    System restore to an earlier date (but it has come back)
    Change the system time from the internet synchronization tool
    Restarted computer
    Malware bytes scan shows no malware detected.
    Avg scan shows no viruses detected.
    Ran hijack this and found no malicious programs
    The sites work fine on my tablet.

    Hello,
    I am glad to hear that your problem has been resolved.
    If you have not already, please mark this thread as solved by marking the solution.<br>
    This will help other users experiencing similar problems find help faster and more efficiently.
    I hope you continue using our products and thank you for contacting Mozilla Support.

  • BasicArrowButton with text and/or icon

    Hi, I have to display a button that has the arrow from BasicArrowButton but also display text and/or icon. I made a JPanel that has a JButton and a BasicArrowButton and everything looks fine except that the border I see covers only the JButton... I know I can just call setBorder to the panel but it has to be the same border from a regular JButton and be look and feel compatible. I tried this line:
    panel.setBorder(button.getBorder());
    But I get a ClassCastException. The only thing I can think of is to override the paint method from the JButton, but I don't really know how to do this...
    Thanks for the help

    From your previous thread you are aware that JMenu and JMenuItem both extend AbstractButton. So, you should be able to play with the borders and margins:
    setBorder(null);
    setMargin( new Insets(0, 0, 0, 0) );

  • Change Menu Bar Display Size in PE4?

    Can the Menu Bar display size and Shortcut Bar Display Size be changed to a larger type for ease of viewing purposes in PE4? If so, how?
    Sanray19

    Thanks Barbara for your reply. I suspected there might not be a way to change this. Your kind reply confirming this is greatly appreciated. Please continue the good work!
    Sanray19

  • I am able to search only by text and not by Key in filter.

    We have a variable x which has bex properties in the infoobject level to
    1.display:   Key and Text
    2.text type: long text
    3.Query def filter value selection: Only values in infoprovider
    4.Query Exe filter value selection: Only posted values for navigation.
    in the Query designer to the object we have the same properties for 1 and 2 as above.
              On execueting the report in web,  In the variable screen for x <b>we can search for both Key and text</b>. (we have two radio buttons for Key and text),
               Whereas in the <b>result area for the filter</b> for x I am able to search <b>only by text and not by Key</b>. I want to search by both Key and text in filter screen. 
    Can u suggest suitable solution for this ASAP.

    I have been working on a similar problem and have found that it depends on what kind of InfoProvider you are using.
    If you are using an InfoCube, the setting that seems to control this is on the maintenance screen (Admin Workbench -> {InfoProvider to be edited} -> Change -> Extras -> Structur-Specific InfoObject Properties. If you want the key and text to display on the variables screen (which you already have), make sure the 'Display' is set to "Key and Text". If you want key and text to display on the filter screen, make sure the 'F4 Query' is set to "Values in Master Data Table". (You may also have to set the characteristic to display key and text in the query, but it sounds like you already have done this.)
    For an ODS, the settings are the same, but the path to get there is different. Go to Admin Workbench -> {ODS to be edited} -> Change -> {InfoObject to be edited} -> Right-click -> ODS-object Specific Properties. Same settings as above after this.
    For a MultiProvider, I found that the settings on the InfoObject itself seemed to control the display on the Web, so I ended up setting: Display = "Key and Text"; Query Def Filter Value Selection = "Values in Master Data Table"; and Query Exe Filter Value Selection = "Values in Master Data Table". That may be a bit of overkill, but I wanted to be sure to get both key and text in all situations.
    I also found that the settings for navigational attributes (e.g., 0PLANT__0REGION) for any kind of InfoProvider must be set at the InfoObject level (e.g., 0REGION), as above.
    Even with all of this, I still have a couple of InfoObjects left that I can't get to display both key and text for some unknown reason.
    Hope this helps...
    Bob

  • Texts and Images are displayed being around bracket

    Texts and Images are always displayed being around bracket not depending on any web page.
    Menu Characters on menu bar are also being abound bracket.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Displaying Text in the Filter charectaristics  in the portal

    Hi Everybody,
        I got a problem in the portal.
    When i am selecting Filter values in portal, Some Filte Char´s just showing Keys, but not Text. But some of them are showing text too. So, I need to display text instead of Keys.
       I tried to change Infoobject properties In Business Explorer Tab with Text. And also i did in the Business Explorer. Even I am not able to see text in the Filter Char´s. Is there any other way to diplay Text in Filter Char´s.
    Please reply to me as soon as possible.
    Thanks,
    Suri.

    Hi Suri,
    I don't have an 04s system right now, but check in help:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a644ce07211d2acb80000e829fbfe/content.htm
    The option I suggested is shown in the same place. See Structure-Specific Properties of the InfoObject in the above link...

  • Menu parameter and condition in rtf template

    Hello Guys,
    I have a problem with the .rtf xml condition for my
    menu parameter.
    <?sum(COUNT
    (../P_TIME_2 =2011)
    )?>
    the above does not work. I was wondering if a "IN" clause
    or something is needed but I dont know the syntax well.

    Hello AlexAnd,
    Thanks for your reply. Unfortunately I cant post the XML here (I dont even know how to see the xml).
    Let me explain what I did so far:
    I just added a field using the BI publisher Word Plugin (.rtf).
    BI Publisher Tab - > ab¦Field - > select fied and "sum" as caluclation method in window and that popped up- > double click on field and look
    at the code.
    Now this code says
    <?sum(mySalaryCount)?>
    I want to sum up mySalaryCount from the database but only when the column for a specific row
    has the right year value.
    lets say the one that has the value 2011. So I extend to code.
    <?sum(mySalaryCount)
    (../menuParamter_selected_year =2011)
    ?>
    the problem is, the above does not work. it works for "normal" parameters but does not seem to work for
    menu parameters (as set in the bi publisher data model)
    I guess the menuparameter is a list/array and hence the = is not the right operator.
    *in my case a menu parameter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • In browser editing

    I have just downloaded the latest version of Muse (cc2014) and watched some of the 'new features' clips. I can't believe that 'In-browser editing' is in the 'new features' section and with out any text formatting options. Its basically exactly the sa

  • Error in number range while testing inbound idoc via we19

    hi all, i have done all configurations but while testing the inbound idoc via we19 i am getting an error 'error in assigning number to idoc'..i checked and found that the number range object for idoc is edidoc in it number interval is defined from 1

  • FI functional help

    Hi I am taking data from FI cube 0FIGL_C10 to use this for SAP BPC data input. Problem is I have different fiscal year variants but in BPC they are not using any fiscvarnt. I am converting fiscper into calmonth and then moving it to BPC so that all t

  • Java and Flash will not install

    Hello, Ever since I updated to Yosemite, I have been getting prompts to install the Java Runtime Environment and alerts that Flash is out of date. This is becoming a problem because I am unable to open illustrator because of this Java issue (which is

  • App synchronized with iPad

    Hi, i have an iPhone and one iPad. Every time i download one or more app on the iPad the iPhone start to download the same app. I followed some tips to avoid this sync but they don't work. Can someone help me?