Message confirm in BSP like in Javascript

Hi there,
I would like to know if there is a confirm dialog box défined in BSP/ABAP like in javascript in order to confirm or not the action in a onInputProcessing?
I tried to put a javacscript function with the confirm dialog box in a onclick but the problem, the onInputProcessing is always executed in spite of the answer of the user to the confirm dialog box.
Does anyone have any idea or any advices?
thanks.

That's right, I was looking for a ABAP solution but I tried to implement sriniva solution in my program but it isn't really adapted to my program conception. I thought it was good but unfortunatly not. So, I'm looking for another way.
In my BSP program, I've a button when you click on it, I store all data into a file. My button declaration is like that :
<input class="butClass" type=image name="onInputProcessing(valider)"
              src="<%=rep %>Server.gif" width="23" height="23"
              alt="Publish"
              id="valid" onClick="WaitCursor();"
              onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)"
              onMouseUp="selUp(this)"/>
Problem, can I integrate your solution into my program conception?
Thanks.

Similar Messages

  • How to return values from a BSP page to Javascript

    Hi All,
    I want to call a BSP page which reads a single value from a table and returns that value I want the Javascript in the HTML code to get the value from the BSP page.
    Can you kindly let me know how I can return the value from the BSP page to JavaScript.
    Kindly please provide me a simple code of a BSP page and the Javascript
    Thanks
    Karen

    Hi,
    you need 3 elements to make the javascript code read the value in any field in the table: table´s name, line and column. This is how your code could look like:
    script language="javascript>
       var row = 0;
       function display(){
          row = row + 1;
          campo = 'tabla1_' + row + '_4';                 " <-- table, line, column
          valor = document.getElementById(campo).value;
    </script>
    ROW works as a counter. You have in variable valor the value of the field and can do with it what you want, perhaps display it with ALERT. I am reading the values from field 1 to n in column 4 in table TABLA1. Pay attention to the '_' in the concatenation of field´s name. The table in my BSP is very simple:
    <htmlb:tableView id                = "tabla1"
                           table             = "<%= mytable %>"
                           width             = "100%"
                           allRowsEditable   = "X"/>
    and somewhere I must call function display in my javascript code:
    <htmlb:button  id="boton" text="Texto aqui" onClientClick="display()" />
    So, give it a try.

  • HTTP Adapter and Message confirm

    Hi Experts,
    I don't understand an aspect of communication with SAP PI.
    I have a External System that comunicates with SAP ECC via SAP PI HTTP Adapter.
    When SAP ECC sends an MATMAS message to External System like payload of HTTP message, How Does External System confirm MATMAS is recived?
    In R/3 System there are methods to commit, roll back transaction, there's a similar mechanism with HTTP Adapter?
    thanks.
    Marco Genova

    hi,
    >>How Does External System confirm MATMAS is recived?
    it does not - http adapter does no support acknowledgments
    the only way would be to receive a message back from http to PI
    with some status info and for example on the basis of that
    change the status of the outbound matmas idoc to - received successfully
    but there is no confirmation with HTTP adapter that the message was received
    Regards,
    Michal Krawczyk

  • Message-Objekt in BSP-Applications

    Hello experts,
    system messages (sm02) are not shown in WebTemplates if we access them via a customized variable entry screen. If we access WebTemplates directly system messages are shown!
    Are there any parameters not passed from entry screen to WebTemplates? Is there some kind of message objekt in BSP-Applications that can be used?
    Thanks
    Hiza

    That's right, I was looking for a ABAP solution but I tried to implement sriniva solution in my program but it isn't really adapted to my program conception. I thought it was good but unfortunatly not. So, I'm looking for another way.
    In my BSP program, I've a button when you click on it, I store all data into a file. My button declaration is like that :
    <input class="butClass" type=image name="onInputProcessing(valider)"
                  src="<%=rep %>Server.gif" width="23" height="23"
                  alt="Publish"
                  id="valid" onClick="WaitCursor();"
                  onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)"
                  onMouseUp="selUp(this)"/>
    Problem, can I integrate your solution into my program conception?
    Thanks.

  • I just got an iTouch and whenever I try to sync it to iTunes it keeps poping up with a message that says something like "cannot sync or read file". What should I do?

    I just got an iTouch and whenever I try to sync it to iTunes it keeps poping up with a message that says something like "cannot sync or read file". What should I do?

    Is the error message:
    "Attempting to copy to the disk <iPod name> failed. The disk could not be read from or written to."
    if it is try:
    http://support.apple.com/kb/HT1207
    If not, what is the wording?

  • Is it possible to use Siri to send text messages to groups? I want to be able to say to Siri "Send a text message to the people in 'group 4' category." I then dictate the text message, confirm, and out it goes. Groups of 100 to 250 contacts.

    Is it possible to use Siri to send text messages to groups (categories, distribution lists)? I want to be able to say to Siri "Send a text message to the people in 'group 4' category." I then dictate the text message, confirm, and out it goes. Groups of 100 to 250 contacts. What app(s), if any, would I need? Is this in anyway dependent on my carrier?
    Thanks in advance for your help.

    Hmmm, that's strange - just checked again and it is 1066288.
    Note 1066288 - ESS LEA:Workitem XXXX cannot be executed in status COMPLETED
    Perhaps you can't see it because it is a "Pilot Release"?
    Release Status: Pilot Release
    Released on: 26.02.2008  04:54:32
    Priority: Correction with high priority
    Category: Program error
    Primary Component: PT-RC-UI-XS Self Services Web Dynpro

  • Message: "Confirm your in-app purchase" locks screen on iPod

    Pop up communication window with message "Confirm your in-app purchase" appears at start up. Option is to buy or cancel.  Either one results in another com window with message "You have already purchased this but it hasn't been downloaded" and returnes to above com window.  Impossible to get to anything on the iPod. Any ideas?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and App Store and sign out and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • I am using CS4. Can I open CS6 files? I am receiving "plug-ins not available on your system" messages and I'd like to open anyway but clicking on OK doesn't work.

    I am using CS4. Can I open CS6 files? I am receiving "plug-ins not available on your system" messages and I'd like to open anyway but clicking on OK doesn't work.

    InDesign CS4 can open .indd, .indt  and .inx files from earlier versions, but not from later. It should, however, be able to open .idml files saved or exported from newer versions, with the understanding that unsupported features will be lost, text will probably reflow due to differences in texts engines between versions, and that the greater the gap between versions the more likely there are to be noticeable differences from the original. You will need to be sure CS4 is at version 7.0.6 to read the .idml.

  • I cannot reply to email on Outlook.  No specific error message. "Sorry looks like there was an error.  Please try again."

    I am not able to reply to any email in my Outlook Inbox.  It doesn't matter if it's a new email or one I've already opened.  I get no specific error message, just "Sorry looks like there was an error.  Please try again."

    Boot from the Leopard DVD (I assume you are installing Leopard since you've posted in the Leopard forum.) After the installer loads select your language and click on the Continue button. After the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the left side list then click on the Partition tab. Select one partition from the drop down Partition menu, set the format type to Mac OS X Extended (Journaled) from the Format drop down menu. Click on the Options button and be sure the partition map is set to GUID (GPT) then click on the OK button. Click on the Partition button. After the partitioning has been completed quit DU and return to the installer. Proceed with installing OS X.
    If you choose to install Tiger follow the same procedure as above except boot from the OS X Installer Disc One that came with the computer (assuming that is Tiger.)

  • TS3297 I have rented a movie on iTunes and it won't download. I don't get an error message.  It looks like it is downloading but doesn't progress

    I have rented a movie on iTunes and it won't download. I don't get an error message.  It looks like it is downloading but doesn't progress

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • Confirmation pop-ups - only via javascript?

    I want to have a confirmation box pop-up when I have changed a field in a form and pressed the submit button.
    Looking through this forum, all I've found is confirming deletions with javascript via a URL target:
    javascript:confirmDelete('Are you sure you want to change the password?');
    This gives me a deletion error:
    ORA-20001: Invalid action DELETE on this object. (U)
    Error Unable to process row of table USERS.
    OK
    presumably because I'm not deleting anything - I just want to confirm my change.
    Do we always need to use javascript for confirmation pop-ups?
    If not, how else can we achieve this?
    How do we make the pop-up dependent upon at least one field value being changed?
    How do I get the pop-up to ask for a Yes/No response instead of Cancel/Yes options?
    Any help on this would be greatly appreciated.

    "Looking through this forum, all I've found is confirming deletions with javascript via a URL target:
    javascript:confirmDelete('Are you sure you want to change the password?');
    This gives me a deletion error... presumably because I'm not deleting anything - I just want to confirm my change."
    The definition of the javascript function is: function confirmDelete(msg,req). It takes an optional second parameter called req. This specifies the REQUEST value that should be set when the user clicks OK on the confirm pop-up. If you omit this second parameter in your call to the javascript function a request value of 'Delete' is set. This is why you are receiving your error. You should set the second parameter to be some custom REQUEST value.
    "Do we always need to use javascript for confirmation pop-ups?"
    For popups of this sort the answer, in short, is "yes". There are no other client-side languages that work cross-browser like javascript. You could avoid javascript (and popups) altogether if you wanted by just having an intermediary Apex page with buttons representing whatever actions you want the user to be able to perform, e.g. "Yes", "No" and "Cancel".
    "How do I get the pop-up to ask for a Yes/No response instead of Cancel/Yes options?"
    See this thread for a discussion on this topic: Re: Javascript Yes & No buttons
    Andy

  • Use a Message from a bundle in a JavaScript string?

    I cannot use an h:outputText in a JavaScript string, for example:
    function init()
    setTitle("<h:outputText value="#{msgs.title}"/>");
    How can I get a text string from messages.properties that I want to use in some client side JavaScript code?
    Thanks in advance,
    Sam

    Hi Sergey,
    I followed your methos but got the following error msg:
    root cause
    java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@7dcf98 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         com.sun.faces.taglib.html_basic.OutputTextTag.setProperties(OutputTextTag.java:90)
         javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:712)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
         com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:155)
         org.apache.jsp.main_jsp._jspx_meth_h_outputText_0(main_jsp.java:185)
         org.apache.jsp.main_jsp._jspService(main_jsp.java:129)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.stufftolet.view.util.SecurityFilter.doFilter(SecurityFilter.java:76)
         de.mindmatters.faces.spring.RequestHandledFilter.doFilter(RequestHandledFilter.java:117)
    My javascript function is like below:
              <script type="text/javascript">
              <!--
              function init(){
                   setTitle("<h:outputText value='#{main_msg.browser_title}'/>");
              // -->
              </script>     
    and the declared resource bundle:
    <f:loadBundle basename="com.abc.view.bundle.main" var="main_msg"/>
    and I got main_en.properties and main_zh.properties.
    I call the init() function like:
    <body onLoad="init()">          
    please help, Thanks !
    regards,
    kmthien

  • Async proxy to soap messages to be processed like EOIO

    Hi,
    I have a proxy to soap interface. What I want is to route these message these message through one queue in IE level so that, these would be sent to the receiver in order. Also doing this confirm that at the AE level, they would be delivered in order?
    I looked at the tuning parameter for eo_outbound_parallel with the reveiver id, but it is routing all the messages to the receiver system in one queue. but I want this only for one interface.
    any ideas?
    thanks.
    Sri

    This is what I have observed -
    Asynchronous interfaces.
    Maintain Order at Runtime checked in the interface determination.
    It is an enhanced interface determination producing at the most 3 messages.
    When the mapping produced just one message -
    In RWB when I checked for the messages processed under integration engine, I found Quality of Service - EO.
    At the adapter engine level also the quality of service is - EO
    The converstion ID in this case is blank
    When the mapping produced more than one message -
    In RWB when I checked for the messages processed under integration engine, I found Quality of Service - EO.
    At the adapter engine level also the quality of service is - EOIO
    The converstion ID in this case is non blank. (this is different at different times. But all of the message generated at the same mapping split have the same value)
    So what I understood is, only when there are multiple messages getting generated from the split mapping, only then the AE takes care that only these messages (generated at that instance) would be delivered in order.
    Any other observations are welcome.
    VJ

  • No response when attempting to post to message boards or choosing 'like' on FB

    I have had my i-Pad3 for about 6 weeks. Until last night I could post messages on internet message boards, or 'like' on FB, with or without using the FB app.
    This morning I can still access message boards, but nothing happens when I click 'post'.
    When I use Safari to access Facebook, I no longer can post or use the 'like' button. When I click 'like', I get a blank/white screen. FB works fine with the app.
    What has possibly changed, or could this be a Safari problem?
    Are there any programs to 'clean disk/defrag' or do other maintenance on my i-Pad3?
    Thank you for your assistance.

    Hi,
    I had exactly the same issue with my nokia 6021 and PC suite 6.84: I could connect via bluetooth or IR, access to my phone through the phone browser but no way to synchronize. I tryed restauring the factory configuration, installing other versions, reinstalling, trying to make it work from an other Pc (both under windows XP service pack 2 btw) nothing worked...
    untill I found a site still distributing an old 6.6 version of the suite! now it works!
    I advise poeple having a Nokia 6021 to download the PC suite 6.6 from this link: http://www.soft32.com/download_121441.html
    Nokia should acknowledge this regression from there PC Suite. Untill it is fixed, I think the best solution is the link above.
    (PS: do not try version 6.42, it is too old and make your PC freeze...)
    Bruno

  • When I open any web page I get this error message with Firefox 4...Javascript Application Uninstall Set

    When I load web pages with Firefox 4, I get this error message
    Javascript Application Uninstall Set

    When I load web pages with Firefox 4, I get this error message
    Javascript Application Uninstall Set

Maybe you are looking for

  • I keep getting emails saying my password has been reset but i am not doing it?

    every week i am getting a reset your password link and then another saying my password has been reset. i am running out of passwords to choose. is it likely to be an error

  • Repeated kernel panics after installing Mavericks

    I'm geting repeated kernel attacks and having a hard time isolating the issue. Sometimes, I won't be able to be on the computer for 5 minutes, and other times, it works for hours, but it's been repeated. Could you help me point out what the problem i

  • How to create a gradient with a square fill (pyramid gradient)

    I'm looking for the best way to this: http://www.filterforge.com/wiki/index.php/Square_Gradient Any input is appreciated. Thank you.

  • Will CS4 and OSX10.5.8 work OK?

    I just installed Illustrator CS4 14.0.0 after purchasing it online a few months ago. Now I notice that it says it is supported by Mac OSX up to 10.5.6. I have 10.5.8 Will there be any issues once I start using CS4?

  • Volume error

    Hi I need some assistance. My 5yr old Ibook G4 has been 'acting funny' for quite some time now. I figured it was nearing its end. But yesterday I thought it had finally called it quits. It wouldn't save anything to the HD or mount any other drives. S