WAD Command

Hi All,
Is there any Command available in WAD to display confirmation dialog box  which works on the commands given by the user.
EX : i want to execute a sequence of commands like COMM1,COMM2,COMM3.
      i want to assign all these commands to single button. but after excecuting COMM1 i want to diaply a popup msg saying ' DO U  WANT TO CONTINUE' and depends on the user input(YES/NO) COMM2 needs to execute.
please provide some inputs for this scenario.
Thanks in Advance,
Reshma.

Hi
You can use javascript.
Add web item "SCRIPT" to WAD and add to the script something like this:
var ok_exit=confirm("Do you realy want to ..... bla bla ?");
if(ok_exit) {
Do your own logic (execute planning sequence ...)
Regards.

Similar Messages

  • Expand/Collapse of structure in Query using WAD command

    Hi all,
    i have a query in which i have 3 selections inside a formula, and the formula is in collapsed state. Now my requirement is to expand the formula using a button in WAD so that the three selection columns inside the formula can be seen. How can this be realised using specific commands in WAD ?
    Kindly help
    Snehith.

    Hi,
    you can use the command SET_DRILL_STATE for this:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    As characteristic set the key figure structure.
    Best regards,
    Janine

  • WAD: command sequence.

    Hello everyone,
    in WAD, how can I execute a command of a command sequence if a previous command terminates with errors?
    For example, a button has 3 command: C1, C2 and C3.
    For standard, if C2 terminates with error, C3 not run.
    Instead,  I want to execute the command C3 even if the command C2 exits with error.
    In other words, I want to execute C1, C2 and C3 always.
    How can I achieve this goal?
    Thank you very much.
    Antonio

    Hi Antonio,
    You can make this by an ABAP Program or a Process Chain.
    Best Regards,
    Amine

  • Display key and text by WAD command in custom structure hierarchy

    Hi everybody,
    I have a query using a custom structure with hierarchy layout. As usual the structure does only display its text as descriptions but I can enable the display the key in BEx Web by right-click on the analysis item --> Properties --> Characteristic --> Display. Unfortunately these setting can not be defined directly in the structure within the Query Designer.
    For a workaround I put the query into a web template, in which I used the Set Presentation (SET_PRESENTATION) command to enable key and text display from the start. Hence I put that command in the wem template parameters Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING). Everything is working properly and makes me very happy.
    But... there is one thing missing, I would like to implement... I want a toggle button, which allows the user to switch between key and text display and text display. Unfortunately setting the same command from Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING on a various button does not working. The button command only affects data rows of the leaves of the structure hierarchy. All parent nodes do not change their appearance.
    Any ideas how to solve this?
    Thank you for any helps and comments!
    Sebastian

    Hi Sebastian,
    I have a similar problem. Can you help me? How did you set the entry in Member Presentation of Command SET_PRESENTATION to display key and text? I just found the values to set the only text or only key.
    best regards,
    Barbara

  • WAD - Command URLs

    Hi Guys,
    I have 3 dropdown boxes in my Web Template, that affect 4 charts in the same template. I want this template to run via the variable entries upon opening, but want the 3 dropdowns to have a default value in each one. I am told to use command URLs but not sure where to start, as never used Command urls before - can anyone help?
    Cheers
    Scott

    Try creating objects like this:
    Button for Command 1 - first step executes command 1, second step unhides Container for Command 2
    Container for Command 2 - has following objects:
    - Text - "Proceed with Command 2?"
    - Yes Button for Command 2 - first step hides the Container for Command 2, second step executes Command 2, followed by any other command eg. unhide Container for Command 3
    - No Button for Command 3 - first step hides the Container for Command 2, followed by any other command

  • WAD - open Document in the new window

    Hi All,
    in my old web application 3.5 I had the possibility to open the HTML file from MIME repository. All what I had to do was to press the button. Now I have the new web application 7.x and put the same document into the KM. In the next step I would like to implement the button to open the file in KM. How to do this?
    Do I have to open it with javascript (as before) or there is some other possibility to do it? Maybe WAD-command?
    Thanks and Regards
    Erwin

    Hi Erwin,
    I think the best way would be to open in using the Java Script component.  Drag in the Java Script component, then assign the component to the button.
    Thanks,
    Nick.

  • WAD SET_TEMPLATE

    Hi All,
    I created a button to open a new template, using the WAD command SET_TEMPLATE with OPEN_IN_NEW_WINDOW checked off.  The new window is poping up properly but I need to change the default size.  Is this something that can be done through javascript, or do I need to format this on the portal theme?
    thanks

    another way of doing this is to open a new window with Javascript and then run the API commands after

  • Exporting images in PDF and broadcasting with custom template error in BI 7

    Hello! We're in the process of creating broadcast reports and are running into some problems. We need someone with experience exporting PDF's or creating broadcasts using custom web templates in 7.0.
    Our issue is two-pronged:
    1) We want users to be able to export (with WAD command) web reports to PDF with the company logo. We have a custom web template with just a JPG image and analysis grid. But for some reason, when this template gets exported to PDF, the image does not get included. We've tried embedding the image into table, group, container, container-layout to no avail. Any suggestions?
    2) We also need the company logo in PDF broadcast reports. We replaced the standard broadcasting web template 0BROADCATING_TEMPLATE (using RSCUST27) with a custom one, but we immediately get the "error loading template ..." when trying to access the Broadcaster. There seem to be no OSS notes for this. 
    Please let me know if you need any additional information.
    Thank you!!

    1) We want users to be able to export (with WAD command) web reports to PDF with the company logo. We have a custom web template with just a JPG image and analysis grid. But for some reason, when this template gets exported to PDF, the image does not get included. We've tried embedding the image into table, group, container, container-layout to no avail. Any suggestions?
    which std template are you replacing with this custom template?
    Broadcasting
    Query Precalculation
    Report Precalculat.
    Enterpr. Report
    Ad Hoc Analysis
    I mean which template does online link default to when it is clicked.

  • Detail information in multiple areas of a report

    Post Author: Theresa Rose
    CA Forum: Crystal Reports
    I need detail information to show up on multiple areas of a report that I am working on.There are different areas on a form that I am working on that require multiple lines of detail information. I have tried using a subreport, but when it goes to a second page it doesn't show the correct detail information.

    Thanks Gupta.
    Please let me know if this BI WAD command is available in 3.5 also or in just 7.0. we are in 3.5 now. if it is 3.5 as well, can you please tell me how to get there.
    Thanks
    Krishna

  • Re-executing a function in IP web: buffer problem

    Hello everybody,
    we have performed 2 changes to our application:
    1. for performance reasons we replaced a FOX function with an IP exit function and
    2. to limit the number of entires appearing in F4 (000's) in the web application when selecting mater data for filtering we inserted a new InfoObject for the selection with only a few (about 10) master data entries and then passed the variable values to the original infoobject
    Both changes work well but there is a nasty side effect.
    The INITIAL execution of the query (variable pop-up) and filtering in the web application works fine. The user enters data manually and executes a function performing some caluculations (was FOX, is now an IP exit function).
    After this initial execution of the function it is not possible to re-execute the function. If e.g. the user performs a few more manual changes and then tries to execute the function again nothing happens. Only be logging off and on again (i.e. a new session) the user can execute the function again.
    Cache mode for the query (in RSRT) is set to 0 (=inactive).
    It is obviously a  buffer problem (some sort of delta/plan buffer conflict) and I have had this before but I cannot recall how to solve it ... its the age!
    Grateful for any assistance
    Edited by: Martin Helmstein on Nov 10, 2010 11:07 AM
    Clarification: if the user repeats inputting data under the INITIAL filter selection state and executes the function again it works. The problem only occurs if the user changes the filters (drop down boxes in the web application), inputs data and attempts to execute the function with this new selection.

    Hi Martin,
    One easy way of solving is to include the WAD command TRANSFER_STATE at the end of all the Planning function / Sequence commands attached to the Button.
    This will refresh the WAD layout without having to reenter the variable values if any.
    The other Option is to reset all the variables associated with the execution of Planning function after every execution.
    This can be included under Web template Properties so this happens after every refresh of the layout.
    Hope this helps.
    Regards.
    Shafi.

  • Hierarchy selection using a dropdown in IP web template

    Greetings,
    Is it possible to have a dropdown on my IP template where I could see all the 0COSTCENTER stored hierarchies ?
    What I'm really looking for is replicating the functionality of the dropwdown found in:
    In the query - > Click on the Char - In Properties Window - Right Hand Side - Hierarchy Tab (which displays the hierarchies for the infoobject).
    But i cannot find the template to view how SAP has done it there.
    Br,
    Henri

    Hi Martin,
    One easy way of solving is to include the WAD command TRANSFER_STATE at the end of all the Planning function / Sequence commands attached to the Button.
    This will refresh the WAD layout without having to reenter the variable values if any.
    The other Option is to reset all the variables associated with the execution of Planning function after every execution.
    This can be included under Web template Properties so this happens after every refresh of the layout.
    Hope this helps.
    Regards.
    Shafi.

  • Query re: breakIterator getWordInstance() function

    Hi all,
    I am a bit of a newbie but have managed to write a small, simple program that takes text entered by the user in several jtextfields and formats in front of their eyes (!) in a jtextpane above the jtextfields following their clicking on a button on the bottom of the screen. The problem I have is that getWordInstance() treats 'www.url.separated.by.full.stops.so.long.that.it.messes.up.all.my.hard.formatting.work.' as a single word, which results in unsightly formatting - e.g.:
    Several lines of neatly formatted work. Several lines of neatly formatted work.
    ___Several lines of neatly formatted work. Several lines of neatly formatted work.
    ___Several lines of neatly formatted work. Several lines of neatly formatted work.
    ___Several lines of neatly formatted work. Several lines of neatly formatted work.
    ___Several lines of neatly formatted work. http://
    ___www.url.too.long.to.fit.on.above.line.so.new.line.starts. Several lines of neatly
    ___formatted work. Several lines of neatly formatted work. Several lines of neatly
    ___formatted work.
    I am using SwingUtilities.computeStringWidth(Fontmetrics, String) to insert line breaks at appropriate places, but need help to understand how to break the url up into smaller words. Have gone slightly mad spending hours on trying to split() the url up etc and am at dead end. Bear in mind that I scraped through the SCJP exam with 61% (lol!), and you'll understand that these ideas don't come easy to me!
    Cheers in advance
    Chris L
    Edited by: 833758 on 03-Feb-2011 17:36

    Hi Martin,
    One easy way of solving is to include the WAD command TRANSFER_STATE at the end of all the Planning function / Sequence commands attached to the Button.
    This will refresh the WAD layout without having to reenter the variable values if any.
    The other Option is to reset all the variables associated with the execution of Planning function after every execution.
    This can be included under Web template Properties so this happens after every refresh of the layout.
    Hope this helps.
    Regards.
    Shafi.

  • Re: Executing Planning Sequence using java script.

    Hi All,
    Can anyone tell me how to execute a planning sequence using a java script.
    Regards.
    Shafi.

    Hi Deepti,
    i have written a java script which will display the error message from IP in a Pop up window.
    For this to work the java script function needs to be called once the planning sequence is done with execution.
    I didn't find ways to do it based on the WAD commands.
    hence i thought i can run the planning sequence in the same java script that i have written.
    Can you help me based on the inpus ihave given ?
    Regards.
    Shafi.

  • BI-IP with WAD using enhanced SAVE_DATA command. It is possible?

    Hi,
    I have a BI-IP Planning application based on WAD and deployed in WEB. My customer is asking to add some enhanced functionality to the SAVE button (SAVE_DATA command in WAD). The basic idea here is to extend forward for a simple validation procedure just before save data into the planning infocube.
    The validation consists just in make a single arithmetic sum by testing 100% for the weekly contribution percentages (input ready). I mean (weeks) W1, W2, W3, W4 for a month. Percentages entries given by user are 25, 25, 25, 30.
    IF SUM(Wi) > 100 THEN ERROR (dont let to save data)
    ELSE THEN SUCCESS (let to save data).
    At the same time, this kind of validation allows to add some basic rule to don't exceed the contribution margin for the immediate upper level...
    It is possible to do this? Any experienced comments doing this? any user_exit or enhancenments?
    Please advise.
    Thanks in advance.

    Hi,
    This is the procedure step by step that we have used to solve the req...
    1) Create the aggregation top-down level for sales units WEEKLY contributions (percentage).
    2) No filter used.
    3) Create the TYPE Formula Planning Function: VALIDATE CONTRIBUTIONS with condition 0VERSION = Plan/Active and Sales Route = ZVAR_ROUTE.
    4) Add the FOX Code to the formula as follows:
    FTBCH -> {KF, 0CALMONTH, 0CALWEEK, 0VOLUMEUNIT}.
    DATA CURRPER TYPE 0CALMONTH.
    DATA PERIOD TYPE 0CALMONTH.
    DATA CALWEEK TYPE 0CALWEEK.
    DATA NVALIDA TYPE F.
    NVALIDA = 0.
    CURRPER = VARV('ZIPM_MTHPLAN').
    FOREACH PERIOD, CALWEEK.
      IF PERIOD = CURRPER.
        NVALIDA = NVALIDA + {ZIP_CONT, PERIOD, CALWEEK, HL}.
      ENDIF.
    ENDFOR.
    IF NVALIDA <> 100.
      MESSAGE E001(UPF) WITH 'ERROR: CCM PORCENTAJE SEMANAL NO ASIGNADO A 100%.'.
      EXIT.
    ENDIF.
    This basically performs for each PERIOD and CALWEEK an accumulated value in order to summarize  the user data entry values. So IF validation is different 100% then will raise a message error direct to the end user interfase and stops the program logic otherwise continues with success.
    5) Build your ready-input query and WAD template as required and then put some web items like Data Provider, Analysis, SAVE / REFRESH and CANCEL button group.
    6) Go to the button group properties and select SAVE Command configuration then go to ACTION -> Command  and hit the button NEXT COMMAND.
    7) At the EDIT COMMAND LIST screen insert a new command VALIDATION and add your new planning function (VALIDATE CONTRIBUTIONS). By default you can see the SAVE_DATA command already there. You can execute process chains, standard and custom planning functions, planning sequences, etc ,etc....for this case when the SAVE_DATA command executes but you can also create your own commands and use it as well.
    8) Execute your WAD application from the URL web and test it.
    Hope this helps...

  • WAD difference context menu command EXPORT

    Hi all,
    I am wondering which is the difference between the WAD context menu command "Export to Excel" (MENU_EXPORT_TO_XLS) and the standard command EXPORT with format XLS used on a button.
    On clients without BEx (Web front end only) a user could use the context menu command, but when using a button with standard command EXPORT (format XLS) it´s not working well. A window opens and an excel sheet with data is shown, but you cannot edit any data cell in standard Excel way. You have to save the worksheet and reopen it to edit any cell.
    Any ideas?
    best regards
    ARNE
    Edited by: Arne Witte on Dec 9, 2009 5:22 PM

    Hi,
    Exporting the report through Excel can be done in two ways as you said.
    One is through Context menu and other one through the Button.Both does the same job.
    After exporting into Excel,you can use Excel options and save it locally.
    Rgds,
    Murali

Maybe you are looking for

  • Attachments allowed on all boards

    We have just enabled attachments so you can now attach a file to your post. For example, you can add screen captures or log files to your post to describe your problem. The max file size is about 5mb and the possible file types currently include jpg,

  • Copied view not displaying, in icwebclient

    Hi All,     In IC Webclient, I have copied standard view and made changes to it. I have also done ic webclient profile customization. But then also , standard view ia coming. If anyone worked on IC webclient pls help Thanks Hemalatha

  • TS1424 I get an error message "missing msvcr80.dll".  Can anyone help?

    I'm getting an error message "missing msvcr80.dll".  Can anyone help?

  • Setting character encoding in a Writer

    Hi, Is this possible? I'm reading from an InputStream (stream from a text file) using an InputStreamReader wrapped in a BufferedReader. I set the character encoding in the InputStreamReader. Then I read line by line - making some modifications in the

  • Webservice invocation problem

    Hi All, I am trying to call a webservice deployed on Sunone app server 8.2. I have created the client stubs using wscompile tool. I am not getting any response when calling the webservice, the request is not sent to server at all. Following is the cl