Command for Images in the WAD 2004s

Hi
I have notived that in 2004s that the new Button Group web Item allows the user to assign commands. eg: Bookmark.   It does however not allow the user to assign an image instead of a Button.
It is also possible to insert an image however I have not been able to assign a command to an image.  One of the configurable attributes of the Image is "onclick"
I was wondering if it is possible to assign a command to this attribute?
I have tried unsuccessfully to generate the code for bookmarking using the "script" menu item and then assigned this javascript to the image "onclick" attribute however this has not worked.
If anyone has used this functionality I would appreciate your input.
The following code is generated from the script meu item for Bookmark.
function Bookmark(currentState, defaultCommandSequence)
     var commandSequence = new sapbi_CommandSequence();
     //Create a new object of type sapbi_Command with the command named "EXPORT"
     var commandEXPORT_1 = new sapbi_Command( "EXPORT" );
     //End command commandEXPORT_1
     //Add the command to the sequence
     commandSequence.addCommand( commandEXPORT_1 );
     //Create a new object of type sapbi_Command with the command named "SAVE_BOOKMARK"
     var commandSAVE_BOOKMARK_2 = new sapbi_Command( "SAVE_BOOKMARK" );
     //End command commandSAVE_BOOKMARK_2
     //Add the command to the sequence
     commandSequence.addCommand( commandSAVE_BOOKMARK_2 );
     //Send the command sequence to the server
    return sapbi_page.sendCommand( commandSequence );

Hi Ian,
please tell us why you marked this question as answered. If found a way to do what you wanted to do, please post it, as it may help others who have the same question. Like me, for example, I want an image to show a popup window similar to the one shown when you create a button group and assign one of the buttons the command "OPEN_VARIABLE_DIALOG". This should happen when you click on the image.

Similar Messages

  • Commands for Planning Applications in WAD?

    Hi all,
    Following the developers' guide on 'Business Planning and Analytical Services'  for 2004S we got stuck on assigning custom Commands for Planning Applications in WAD, which were created in the planning wizard.
    The option for 'Commands for Planning Applications' does NOT show up in the command wizard!
    is there a ABAP/Java stack pre-requisite for this or is there a new(?) authorisation object missing?
    Does it helps for others? On which Java Stack?
    Thx,
    Markus

    Check OSS note 948336.

  • MDM: Search for images in the dialog window "Select Multiple Images"

    Hi,
    are there possibilities to search for images in the dialog window "Select Multiple Images" (if you want to add a image to a record)?
    I know the possibilities to sort the images and the possibilities with the data groups. But I don't know a possibilities to search for a single image.
    Thanks for any help!
    Best regards, Melanie

    Hi,
          From the question you asked; its not much clear what your clear requirement is; but if its what i get then the solution is:
          How is that you want to select the image? With Image view or By viewing the image itself ? For it when u select "Select Multiple Images" you can find two as "Available Images" and "Selected Images" and in between u can find some buttons, after "All, Add, Remove and None" you can find two buttons "Thumb Nail" and "view Details". I think you can use these buttons for your solution.
          When you select "Thumb Nail" button you can see the image in real and select the image.  OR you can select "View Details" and check the file name or path or the requirement as required.
          CHARAN
    Lead, follow or Get out of way

  • I just got iTunes 11.0. I'm used to being able to return to the beginning of a song by hitting 'enter'. What's the new command for skipping to the head of a song?

    I just got iTunes 11.0. From all the previous versions I'm used to being able to return to the beginning of a song by hitting 'enter'. What's the new command for skipping to the head of a song?

    Mmmmmm. Works OK for me. I've tried every variation I can think of. Play from playlist, play from library, shuffle on, shuffle off, single song repeat on/off, playlist repeat on/off.
    WAIT !!   Now I've found it  !!  It happens when I have the sidebar hidden and play a playlist from the PLAYLIST pane. Hitting Enter then takes me to the FIRST song in the playlist.
    WAIT AGAIN !!! In the time it took to write the above, it changed again and works properly. Well properly is not really true. It works if I stay in the PLAYLIST pane. If I switch to the SONGS, ALBUMS or ARTISTS pane, enter does nothing. BUT, if I switch to the GENRES pane, enter starts the first song there. AND, if I've switched away from the PLAYLIST pane and switch back, enter then starts the first song in the playlist.
    WOW !! That was a crazy ride. I think we can safely say that there is something awry.

  • Firefox 5 Searching for images on the web is much slower than opera and my previous Firefox version. Can I turn off the useless zoom thing when I hover over an image for a few seconds?

    OK, what I want to do is search for images with Google or similar search engine. This was fine in my previous FF version. The images just loaded as thumbnails, all the same size and I had to click on one to open it in a new tab or whatever I wanted to do. Now the images load all different sizes and if I hover for a moment over on, it zooms in a bit and gives me some image details. This slows image searching to the point of being very frustrating. I thought this might be a Google things, so tried other search engines. Tried switching Javascript off to speed things up, just blank grey rectangles displayed. Tried Opera and it loads basic images like Firefox used to, FAST...

    The speed of image searching isn't a problem for me. The trouble is, the automatic zoom function is lightning fast and I find it disturbing to the point that it makes me feel very ill.
    I very much want a way of suppressing it.

  • How can I get the best resolution for images in the pdf?

    When I magnifies images on the iPad PDF mode, the image loses a lot of quality.
    How I can improve them to be viewed without pixel?

    stupid problem. I don't know why Adobe dosent fix it.

  • Disable "back" command for mousebutton 3, "the wheel"-click.

    For as long as I can remember the mousebutton 3 on my Logitech MX518 has had the following function:
    1) When pressing on a non-link item, nothing happens
    2) When pressing on a link; that link opens in a new tab.
    Sometime in the last 6 months new behaviour was introduced as follows:
    1) When pressing on a non-link item, the "back" command is executed.
    2) When pressing on a link; that link opens in a new tab.
    The annoying part here is that if I miss-click a link, the current tab loads the last visited page which is sort of the opposite effect I want. I want to open a link in a new tab and still stay on the current page I'm reading.
    So my questions:
    1) Is this a feature of Firefox (or perhaps website specific behaviour?) and if so, when was it introduced?
    2) Can I disable this feature, e.g. in about:config?

    You may have a problem with the mousewheel.*.action prefs and Firefox thinks that you want to go back in the tab history.<br />
    You can try to set them all to 0 or 1 to make the page scroll.
    See http://kb.mozillazine.org/About:config_entries#Mousewheel.
    *mousewheel.with*.action 0:Scroll Lines; 1:Scroll Page; 2:History; 3:TextZoom;

  • Menu Commands for Images

    When loading an image from a WAP page, Symbian OS phones give zoom in/out options. I'd like to add these options to a J2ME app accessing the same images. Is there are way to add these menu options to my app?
    Thanks.

    I'm having trouble calling this in the appropriate screen. Here's the code I'm trying to augment...is this even close to where I should call this ScaleImage class? I'm really not sure if this should be called as a "cmd" item or not. I'm really not Java proficient, so any help will be greatly appreciated.
    ------------->
    import javax.microedition.io.HttpConnection;
    import javax.microedition.lcdui.*;
    public class VidCapScreen extends Canvas implements CommandListener, HttpListener {
    private Image image;
    private Command cmdCancel;
    private HttpWorker worker;
    private int current;
    private int total;
    private boolean auth = false;
    public VidCapScreen() {
    cmdCancel = new Command("Cancel", Command.CANCEL, 1);
    addCommand(cmdCancel);
    setCommandListener(this);
    public void go() {
    repaint();
    image = null;
    worker = null;
    current = 0;
    total = 0;
    worker = new HttpWorker(this);
    doGet();
    private void doGet() {
    worker.doGet(Main.URL + "/", Main.instance.userName, Main.instance.password);
    public void paint(Graphics graphics) {
    graphics.setColor(0xFF, 0xFF, 0xFF);
    graphics.fillRect(0, 0, getWidth(), getHeight());
    Font font = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_SMALL);
    graphics.setFont(font);
    if (auth) {
    if (image == null) {
    graphics.setColor(0x0, 0x0, 0x0);
    graphics.drawString("Retrieving initial image...", getWidth() / 2, getHeight() / 2, Graphics.HCENTER | Graphics.BASELINE);
    } else {
    graphics.drawImage(image, getWidth() / 2, 2, Graphics.HCENTER | Graphics.TOP);
    } else {
    graphics.setColor(0x0, 0x0, 0x0);
    graphics.drawString("Retrieving IP...", getWidth() / 2, getHeight() / 2, Graphics.HCENTER | Graphics.BASELINE);
    if (current != 0 && total != 0) {
    graphics.setColor(0x0, 0xFF, 0x0);
    graphics.fillRect(2, getHeight() - 8, 100, 4);
    graphics.setColor(0xFF, 0x0, 0x0);
    graphics.fillRect(2, getHeight() - 8, (100 * current) / total, 4);
    public void commandAction(Command c, Displayable d) {
    if (c == cmdCancel) {
    worker.cancel();
    // worker = null;
    Main.instance.showSelectRoomList();
    public void listenerBadResponseCode(int rc) {
    Alert alert;
    if (rc == HttpConnection.HTTP_UNAUTHORIZED) {
    alert = new Alert("Error", "Access Denied: Re-enter logon details", null, AlertType.ERROR);
    } else {
    alert = new Alert("Error", "Bad HTTP response code: " + rc, null, AlertType.ERROR);
    alert.setTimeout(Alert.FOREVER);
    Main.instance.showAlertThenLogonScreen(alert);
    public void listenerError(String message) {
    Alert alert = new Alert("Error", "HTTP error: " + message, null, AlertType.ERROR);
    alert.setTimeout(Alert.FOREVER);
    Main.instance.showAlertThenLogonScreen(alert);
    public void listenerResponse(Image i) {
    image = i;
    current = 0;
    total = 0;
    repaint();
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e) {
    // just skip it
    doGet();
    public void listenerProgress(int current, int total) {
    this.current = current;
    if (total == -1) {
    this.total = 50000;
    while (this.current > this.total) {
    this.current -= this.total;
    } else {
    this.total = total;
    repaint();
    public void cancel() {
    if (worker != null) {
    worker.cancel();
    worker = null;
    public void ipRetrieved(String ip) {
    auth = true;
    repaint();
    doGet();
    -------------------------->

  • Often for no apparent reason the computer crashes and nobody available to any command (keyboard or mouse), the images disappear. I am forced to shut down and restart the computer.

    often for no apparent reason the computer crashes and nobody available to any command (keyboard or mouse), the images disappear. I am forced to shut down and restart the computer.

    open console in Applications>Utilities, check the system log for the date/time of the last problem for clues.

  • IPhoto rotates images in slideshow even though the thumbnail for that images has the correct orientation.

    This problem seems bizarre to me considering iPhoto 11 has worked with out a hitch since I upgraded from 09 ages ago.  The photos in my album suddenly changed orientation from landscape to portrait and vice versa and sometimes upside down.  I first notice this problem after I tried to click and drag a large number of photos directly from iPhoto to Finder.  I did a Command-A to highlight all the photos from my album and tried to drag them to a folder in Finder.  There are 34,000 photo in this album but only half were copied, (I guess 34,000 items is too much for Lion to copy all at once).  I tried fixing this orientation problem by highlighting all affected photos and selecting "Revert to Original" which fixed the orientation of the thumbnails.  But when you double click on a thumbnail to view the pictures or view the album in a slideshow, some of the pictures still have the incorrect orientation but most were corrected.  Also if I double click on an affected photos to edit it with iPhoto image editor the image suddenly orientates itself correctly.  Then as soon as I close the image editor and view the photo or start a slide show it's displayed with the incorrect orientation again.   How is that possible that all my thumbnails are orientated properly but when I view the photo it's rotated sideways or sometimes rotated upside down?    Any help or insight to my problem would be much appreciated.

    Revereting to original will not fix the problem.  When you invoke that menu option iPhoto will read the file again, see the tag that tells it to rotate the file and will rerotate it. 
    The most reliable way to fix this is to rotate those file before they are imported into iPhoto. Upload from the camera to a folder on the Desktop, rotate those that need rotating, rename if desired and import.  I use Xee for that because it can rotate the file losslessly.
    OT

  • Fixing the path for images in RoboHelp 8

    I am rather new to Robohelp, so please forgive me if this has been addressed in another dicussion...I have been searching and cannot seem to find what I am looking to describe.
    I am working in Robohelp 8, and  creating a new help system by importing topics from a previous help system. The problem I am running into and I cannot see how to fix is that there are a couple of topics that have images where instead of the path for the image directed to a folder called "Images" in the main directory, it dumps the graphic into the project manager window when I import the topic. I tried viewing topics that don't have their images on the main project manager window, and comparing against the one that does, and I cannot see the difference. I have tried renaming the images and placing in the correct folders, and then inserting the images into the topics, but it still tries to look at the main folder and still dumps the image into the project manager.
    Any help you can provide please share.

    I am going to say yes (because it sounds like what I am trying to get at, but not sure).....I have tried deleting the images, and recreating, and then re-inserting into the topic, and they still go to the root of project. As I am going along, I am finding more and more.....so far there are 20 images that are doing this.  However, I also just did what you mentioned and dragged it and put it under the topic. But I am still confused as to why I would need to do this for some topics and for other topics the images don't appear at all (meaning they don't show under topics or root of project), they are just linked through the folder on the main directory. Does this image help more?
    Left of picture above: The folder directory has a folder called Images, and this is where all of the images were stored and are stored for the new project.
    Middle of picture above: The topic Horizontal Command had an image in it "image20.gif", and it was at the root directory and as you suggested I moved to the topic. Also see the topic circled Expand and Collapse Folders topic has the image circled at the left within it.
    What I am trying to understand is why would the graphic from the Horizontal command topic dump into the root of the project, while the image from the Expand and Collapse Folders topic not show on the root project or even within the topic listed. (Which is what I prefer for all topics).

  • Here's How to change the image on the TOC to be different for each chapter.

    Suppose you don't follow the Very Strict default Rule that you use the exact same image parameters (shape, pixels, size, etc.) for your Table of Contents image entry as you use for its associated Chapter, a requirement built in to iBooks Author that applies universally to ALL Chapters under the One Image Size and Location is Best For Everyone rule. Suppose you start adding chapters and messing with each chapter's image and then, later, it occurs to you to get the TOC all set up and when you go there you encounter a mess. Either by chance one of the images you had in one of your chapters found its way to the TOC and, gosh, now every TOC entry for every chapter has the very same exact size and location image! This is not part of your grand plan and then... how to make lemonade here? It's Not Obvious.
    You can resolve this in your favor. You must do this patiently.
    First, whatever image size is created in any chapter TOC window—by dragging the image placeholder handle re-size box—will apply to ALL image entries (i.e., chapter image entries) in the TOC . If you want maximum flexibility make the image placeholder box big. Hint: you may need to mess with the Edit Mask option in order to get the image placeholder size box in the size and location you want. An option here in preparing your images is to **** with Photoshop or Preview to really engineer the images that will be used for the Chapter Page and, separately, the TOC / these could be the same content images but formatted differently in order to look nice in their respective locations. The Chapter Page image can be manipulated on the Chapter Page. On the other hand, the TOC image must fit within whatever (universal) size you've created.
    Plan ahead
    Get your TOC images ready.
    Loop until done:
    a) from the Finder menu, right click on the filename of the image to be put in the TOC / select the menu item “Copy”..this image. This puts the image in the clipboard. Another way to get the image in the clipboard is to pull it up with Preview and pretend to crop it (full size) then command-C. Another way: just click on it if it is in a file somewhere and again command-C.
    b) Click on the Table of Contents option (near the top of the left navigation column in ibooks Author ) and navigate to the TOC chapter for this image by clicking on the correct chapter “button” (a white dot in a black background surrounded by a white rounded-corner box) in the center bottom of the TOC chapter window;
    c) Click on the image placeholder in this chapter TOC window to reveal the highlight boxes defining the boundary of the image;
    d)command-V (paste); Voila! the image is in the TOC. NOTE: dragging the image into the highlighted imagebox (see c) above) will NOT work.
    e) mess with the image by clicking the mask editor button so the image fits as desired being careful to move the image only and not resize the image box.
    Go back to loop and repeat.

    Finally, after a while, I finally found all the procedure explained,
    for those who need:
    http://www.irisvista.com/tech/laptops/ToshibaS1/tecraS1_1.htm

  • MIME object/Image(JPG) not displayed in the WAD template

    Hello all,
    I uploaded a .JPG file to mime repository. I used that object my WAD template. When i excute the Temapate, image file is not displayed just showing X mark.
    But i am able to open/see the file from the mime repository.
    What could be the problem? please let me know.
    Reagards
    Ravi

    Hi Anil,
    Thanks for your reply. I have found the problem.
    Imaage that i have kept in mime belongs to https protocol. BSP application with SSL, needs https to execute in the browser.
    when i execute the template, by default WAD is using http protocol, so the image is not displaying, when i use https, the image is being displayed in the WAD output.
    Regards,
    Ravi

  • "wait till the end" for EXECUTE_PROCESS_CHAIN  in a WAD template

    hi all,
    I try to launch a process chain from a WAD template using the EXECUTE_PROCESS_CHAIN command with a button.
    I want to use the option "wait till the end" on this button, but the WAD do not wait the end of the process chain.
    Do you know how to use this option "wait till the end" for EXECUTE_PROCESS_CHAIN  in a WAD template?
    Thank's.
    Laurent.

    I answer myself because I have discovered at last which was the Authorization Object necessary to display maps in templates:
    S_BDS_DS
    02, 03, 04, 30                                                 ACTVT
    BW_META_OBJECTS                                    CLASSNAME
    OT                                                                 CLASSTYPE

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

Maybe you are looking for