How a dailogbox can be triggered from BSP application

Hi,
1. My requirement is to show a dailogbox for confirmation, from the BSP application, whenever a user action is performed[clicked on a button].
This dailodbox sholud be triggered from the BSP application[not form the client side(JavaScript) logic/code ].
2. Is there any simpler way of showing a "success" message in a dailog box, from the BSP application
Hints please.
Thanks,
Pramod.

Hi Pramod,
Try the following steps:
1. In the OnInputProcessing event triggered from the button's OnClick event, after your server-side processing, set a page attribute appropriately
(flag = 'success'.)
2. Call a javascript function in the OnLoad event in your layout:
<htmlb:page title = "Test" onLoad = "displayPopup()" >
3. Include the javascript function:
<SCRIPT language="JavaScript">
function displayPopup()
<%
IF flag IS NOT INITIAL.
%>
alert("Success");
<%
ENDIF.
flag = ''.
%>
</SCRIPT>
Basically, when the page is loaded/refreshed after your OnClick event, based on the value of flag you set, you could display appropriate messages.
Hope this solves your problem.
Regards,
Rohini.

Similar Messages

  • How AWT TextField can copy/paste from another application?

    Hi,
    We know in applet for the security reason you can not access the getSystemClipboard from the Swing component like JTextField. But We know that with AWT TextField, you can copy and paste from another application. My question is how AWT textfield implemented with this feature. I don't think it is via the systemclipboard. Can some explain this for me?

    the simplest way is to select the part of charactors and drag them into your textfield ^O^

  • How to call a Webdynpro view from BSP page (MVC) in a new window?

    Dear Experts,
    kindly advise how to call a webdynpro view from BSP application after performing an event (through button or hyper link).
    Regards,
    Sarat.

    Hi,
    This has been discussed many times in several forums.
    Please check the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL, to create a runtime url for your WD Application and call this URL.
    Refer thread: Call Webdynpro Application from BSP Application
    Hope this will be useful!
    Regards,
    Meganadhan S

  • HT5625 my apple id has been disabled and i do not know how do i can download app from app store again

    my apple id has been disabled and i do not know how do i can download app from app store again

    If changing your password does not resolve, then contact itunes support

  • How many times can you restore from the same backup?

    how many times can you restore from the same backup?

    As many times as you want till you delete or modify it.
    It's YOUR backup, a copy of all your stuff.
    Not some copyrighted, access controlled bunch of bytes representing a picture, a song or a movie, with a bunch of lawyers from the entertainment maff1a hellbent on restricting what you can do with it.

  • How to generate output requests (Print) from BSP ?

    How to trigger an Print output controller from BSP ?
    i have designed certification letter in BSP page and if i trigger print button in BSP am passing the required parameters to the SAP spool,and letter is generated in SAPSCRIPT. Ans am able to trigger a print from the spool request.
    But how to trigger the ouput controller from BSP Itself .
    regards ,
    Message was edited by: J
    Solved . I have missed some Printer params .
    Message was edited by: J

    Hi,
    Refer this link.
    How to Print HU and its contents
    Vishal

  • Can anybody tell me how to send/receive  the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    Which jsms? Google finds several.
    Try the website where you downloaded it.

  • Can any body tell me, how to send/receive the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.

  • How many cycles can i expect from by macbook 2006

    how many cycles can i expect from by macbook 2006?

    One complete discharge and recharge of the battery. http://support.apple.com/kb/HT1519

  • How many method can pass data from Database to front-end(aspx)?

    How many method can pass data from Database to front-end(aspx)?
    By using ajax, I want show some data to aspx or html
    Here is one of these method,
    HTTP Handler(ashx):
    we can json data, use HTTP Handler pass data to front-end
    And can we do this by other method? Web API? or some fancy way?
    Thanks for any reply

    Hello TaiwanWei,
    Try forums.asp.net.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How many computers can I activate from a single subscription of Adobe pro?

    How many computers can I activate from a single Adobe Pro subscription?

    Not sure what you mean by "Adobe Pro"; there are several Adobe programs that have the suffix "Pro".
    Anyway, most Adobe software you can install & activate on two computers.

  • PDF download from BSP application

    hi all,
    With the bellow code i am able to download to PDF from BSP application
    Issue is when i click on the download button waiting popup window is not disappearing even after PDF displayed.
    Please help me to resolve how to stop this waiting popup window.
    response->delete_header_field( name = 'Cache-Control' ).  "#EC NOTEXT
      response->delete_header_field( name = 'Expires' ).        "#EC NOTEXT
      response->delete_header_field( name = 'Pragma' ).         "#EC NOTEXT
    Deactivated because of Note 904314 and Kompression in Kernel
      response->set_compression( options = '4' ).
      response->set_header_field( name  = 'content-type'
                                  value = 'application/pdf' ).
      response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
        response->set_header_field(
                           name  = 'content-disposition'
                           value = 'attachment; filename=candidate.pdf' ).
      l_pdf_len = XSTRLEN( l_pdf_xstring ).
      response->set_data( data   = l_pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).
    Any help on this is highly appreciated.
    Thanks,
    Ravi

    May be you can navigate to another page AFTER the response_complete() method and show the message that 'PDF is downloaded successfully'
    or something meanful message. so that it will get a response back from server and 'wait...Processing' message might disappear.
    I'm not sure and didnt try..may be you can give it a try and let us know..
    navigation->response_complete( ).
    navigation->goto_page(....)

  • Call ITS from BSP Application

    i have created a ITS screen which in turn calls a Abap report
    I want to call this ITS screen from a BSP application .
    Could you please provide some sample code which is used to call ITS from BSP application..
    Useful answers will be rewarded
    Thanks

    Since it is related to both ITS and BSP i thought i can post it in both. and also i didnt get answers for the queries..... for a long time. Anyhow i will take your suggestion for my future query.
    i hv done using iframe to call my ITS application.
    I can able to call the Bsp application whichin turn calls its screen abap program.
    while executing ,  the selecting the directory from the file browse pop up doesnt work for downloading the file
    becos the client , they will not change the settings related to applet in the internet browser for security reasons.
    I hav to make it some how to make it work in the portal which calls this BSP application..
    at the moment i mapped this BSP application to the user role in the SUS Portal . but it appears in the SUS portal . but i m not able to click the application and also handsymbol is not seen while bringing the mouse to that area.
    Could you please tell me , how to use Action_id for that particular application, Authorisation profile settings.
    Kindly  give your suggestions asap.

  • How to connect to  Oracle database from webdynprojava application

    Hi
    How to connect to  Oracle database from webdynprojava application. where can we provide the code to connect to database.?
    Thank You.

    Hi,
    You need to create  Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
    However you need to configure the connection and create JNDI using visual administrator before writing the code.
    You can also consider writing Session EJB with oracle and using them in WD.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
    Srini

  • Calendar appointments from BSP application

    Do you anyone have an idea on how to create Calender appointments from BSP applications?
    Any inputs would be helpfull.
    Srinivas

    Hello,
    calendar items are specially formatted mail items. They do not have textual body, only an attachment with extension
    .ics
    Here is an example how it should look like:
    BEGIN:VCALENDAR
    PRODID:-//COMPANY//R/3-640//D
    VERSION:2.0
    METHOD:REQUEST
    BEGIN:VEVENT
    ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=CHAIR;CN="aaa.bb@ccc.
    com":MAILTO:[email protected]
    ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;ROLE=CHAIR;CN=""Sender, aaa"":MAILTO:sender.
    [email protected]
    ORGANIZER:MAILTO:[email protected]
    DTSTART:20060308T090000Z
    DTEND:20060308T093000Z
    LOCATION:
    UID:[email protected]
    STATUS:CONFIRMED
    DTSTAMP:20060310T122435Z
    SUMMARY:test4
    CATEGORIES:Keine Terminart ausgewählt
    CREATED:20060310T122435Z
    SEQUENCE:0
    TRANSP:OPAQUE
    PRIORITY:5
    CLASS:PUBLIC
    DESCRIPTION:test 4
    END:VEVENT
    END:VCALENDAR
    I hope it helps you to create your own calendar items.
    Regards,
    Dezso

Maybe you are looking for

  • CBO generating different plans for the same data in similar Environments

    Hi All I have been trying to compare an SQL from 2 different but similar environments build of the same hardware specs .The issue I am facing is environment A, the query executes in less than 2 minutes with plan mostly showing full table scans and ha

  • Need advice for starting a Managed Cloud Service for Small Businesses

    I hope this is in the right forum.  I have done a lot of research and searching but havent found anything that specifically answers, in total, what I am wanting to accomplish.  I live in a small town and want to start a Managed Cloud Services for sma

  • MM related information in BI Content

    hi all Experts, In BI Content where I get MM related informaion. thanks.

  • Amendment of po

    hi frends,am working on a smartform for creating a purchase order and my requirement is as follows. Printing will be automatic after a PO has been saved. Amendment – If a PO has been changed an Amendment PO should be triggered. The Title of the PO sh

  • The edit Link on my report form opens the page to create a new record.

    For some reason my applications edit link on the report form is opening a new blank entry instead of pulling the data that needs edited from that row. I just have a basic report and form. Where can I check this Edit button to see if it is linking to