POP UP IN BSP MVC-NO java script code

1.when ever I click on one Button in BSP application(MVC) ,One pop up should trigger with Yes or NO options.
2.If user selects Yes I need to proceed further.
I can do it through javascript code in page layout,AS I am doing changes in Standard application I do not want to change page layout .
But I am looking to trigger pop up from abap code ,because I can enhance the class and implement post exit to event handler methods.
BSP application name: HRRCF_ACT_PROC.
View Name: List.do
Event handler : Ondelete ( ).
Domain: erecruiting
I can create a new ZBSP apllication and view as yes or no options
But how to call that new BSP application as POP UP and sned back data to original application

1/In your BSP application YES /NO use this function identify computer name ***************************
  data: iRFCHOST type RFCHOST,
       oRFCHOST type RFCHOST.
  CALL FUNCTION 'TH_USER_INFO'
    IMPORTING
      TERMINAL = iRFCHOST.
  CALL FUNCTION 'RFC_IP_TO_HOST'
    EXPORTING
      RFCIP                       = IRFCHOST
    IMPORTING
      RFCHOST                     = ORFCHOST
    EXCEPTIONS
      IP_TO_HOST_CONVERSION_ERROR = 1
      OTHERS                      = 2.
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
2/Save computer name and decison Yes/No to custom table *************************************
3/In you BSP aplication use function identify computer name(terminal name) and look to custom table for decision Yes/No
Note: It will work if user will not work with multiple seesion

Similar Messages

  • Exc in ev handl: TypeError: this.oRoot.enable is not a function This is popping up when I befor I open my browser,in a pop up box under the heading JAVA SCRIPT EXE. What is it, how do I get rid of it?

    TypeError: this.oRoot.enable is not a function
    This is popping up when I befor I open my browser,in a pop up box under the heading JAVA SCRIPT EXE. What is it, how do I get rid of it?

    I did it in my computer, but I can not uninstall the Site Advisor alone. I need to uninstsll the the total McAfee plus. What should I do?
    But another user in my computer they do not have this problem. If I try to use IE or Chrome etc , I can not find this problem. I use firefox since 2006 and do not want to change another one. What should I do?
    By the way I have this problem after I update Firefox6 3 weeks ago and always allow 1 plugin work. The other user in this computer they just allow firefox plugin working 1 times.
    It will pop out if I disable the siteadivsor.
    many thanks

  • Java script code missing' comes up in a window when I try to batch process my images in photoshop.

    I have an imac version 10.9.4, Photoshop cs5.1. I'll select file-script-image processor and that is when the 'java script code missing' pops up. It used to work before I upgraded to the version 10.9.4. I called Apple and they don't know what to do. Now I'm here on the community site hoping someone can help. Not being computer savvy I don't understand anything I try to read about it.

    I finally found out that my 'McAfee SiteAdvisor' add-on was causing the problem for me. You can either disable it from your add-ons by clicking on tools, then add-ons and then disable it from your list of add-ons, or if you still wish to use it like I do, you can unistall it from your add-on list, and then download it from the official McAfee web site and then simply reinstall it... Since I've done this my firefox been loading faster, no annoying pop-up window when I launch or open a new tab. It was also crashing quiet often before I did this and that seemed to be fixed now.
    here is the link for the McAfee SiteAdvisor download from the official McAfee web site if anyone needs to download it again like I had to.
    http://us.mcafee.com/root/product.asp?productid=sa

  • How to Use the JAVA SCRIPT code in .htm page of the component

    Hi .
    In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
    thank you
    B.Mani

    Check this document  [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
    Regards
    Kavindra

  • Java Script Code not working properly for visios in sharepoint 2013

    Hi all ,
                 I have few visios and I am using the visio web part to display and to redirect from one visio to other visio I am using the java script code through content editor web part . 
    In share point 2010 it's working fine , I was able to redirect to all the visios and code is working fine .
    In share point 2013 its not the same , Its not working properly . only for the first time the code is working fine . once it goes to next visio the code stops working . 
    For example if i click in visio A it gets redirect to Visio B and its stops working , it wont allow to do any other steps . 
    I have checked with the URL its correct , I am not able to find any error also .
    Indresh

    This will be likely caused by the Minimal Download Strategy not registering the Javascript on the page reload. You can turn off the MDS feature to test this.
    You can either turn off MDS in your site, or register your Javascript functions with MDS to ensure they are called. To do this, you'll need all of your code to be wrapped in a javascript file (Embed this on the page using a <script> tag and
    inside that file in a function, which you then register with MDS as follows (I usually do this in the first line of the javascript file):-
    RegisterModuleInit("/SiteAssets/YourJavaScriptFile.js", NameOfYourFunction);
    Regards
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • How to Include JAVA script code in SAP BI7 web Reporting?

    How to Include JAVA script code in SAP BI7 web Reporting?

    In nw2004s there is a new web item called "Script" web item which lets you add javascript code. When you add javascript code in this web item, you don't need the opening and closing <script> tags...
    Hope it Helps
    Chetan
    @CP..

  • Early 2008 mac pro 8 core quicktime videos opening in java script code

    When I try to view a quicktime video it opens in Java Script Code instead of playing the video on my early 2008 Dual Quad Core 2.8 Ghz. Mac Pro running OSX 10.5.8 

    That's not much to go on, but I doubt it has anything to do with it being a Mac Pro. Select the clip and Get Info (Cmd I) to see what application is named in the "Open with" drop down menu. If it is anything other than QuickTime player, change it and try again.  Also, repair your permissions...

  • Problem- Accessing java script code in java

    i want to access java script variable in java code.
    Is it possible through any method or function?
    help me.

    Stick to your old thread.
    http://forum.java.sun.com/thread.jspa?threadID=777985

  • How to write JSP code in Java Script Code

    Hello friends
    I have code like
    <script language="JavaScript">
    function f()
    (some code is here)
    </script>
    Now i wants to put some JSP code in f()
    So can i do this ? IF yes then how ?
    (one solution may be make JSP function and call that JSP function from the f().So in that case how can i call JSP function from JavaScript??
    If other method is there then please mail me

    If it's a simple matter of mixing client-side code with server side code, it can be done so long as you're using the server-side to write the client-side.
    For example:
    <h1>Good Morning Mr. Phelps</h1>
    <input name=anybodyFunction type=text>
    <% if (userIsAdmin) { %>
    <input name=adminOnlyFunction type=text>
    etc.
    <% } %>
    <h1>This browser will self-destruct in ...</h1>
    That's JSP (inside the <% %>) mixed with HTML.
    Javascript goes 100% on the client-side. If you're writing JSP with inter-mixed HTML, you might have to inter-mix the java-script.
    For example: Suppose you need to validate the form. "adminOnlyFunction", among others, is a mandatory field, and you want the Javascript to only submit the form if all mandatory fields are set. Well, if the user is NOT an administrator, then that field WILL be left blank.
    One way to handle that is with mixing JSP/HTML/Javascript on the SERVER side.
    <h1>Good Morning Mr. Phelps</h1>
    <input name=mandatory1 type=text>
    <input name=optional1 type=text>
    <% if (userIsAdmin) { %>
    <input name=adminOnlyFunction type=text>
    <% } %>
    <input name=submit type=button value=Submit onClick="checkit()">
    etc. etc.
    <script language=Javascript>
    function checkit() {
    var f = document.form;
    if (
    � � f.mandatory1.value == ""
    � � || f.mandatory1.value == ""
    � � || f.mandatory2.value == ""
    <% if (userIsAdmin) { %>
    � � || f.adminOnlyFunction.value == ""
    <% } %>
    � � � � ) {alert ("Hey! You left out a required field!!");}
    etc. etc. etc.
    I imagine THIS might be what is meant by "mixing JSP with Javascript", and in this particular fashion, it can be done. What you're doing is making decisions on the server side over what to write out to the client. That client code can make further decisions based on user input.
    However, once it's on the client side, you can not have anymore JSP code. The client NEVER runs JSP code.

  • Passing Value to Java Script Code in a BSP

    Hi Guys,
    In order to use BSP Extension in my BS i need to specify the "ID" for the field / Text area / Table i want to work with.
    Now these elements (Field / Text Area / Table) are created by SAP CRM automatically and i am not sure how i can get the name of the ID for such a element.
    I tried using FIREBUG in firefox to get this ID but the problem is that this ID changes dynamicaly and i cant hardcode it in my BSP application.
    Can anybody point help me taht how can i determine the ID dynamically at runtime and then use it in my BSP application.
    Thanks in advance.

    Hi,
           You can pass data from SAP to javascript in the following way. Suppose I have created an input field like
    <thtmlb:inputField id      = "IF1"
                       type    = "string"
                       visible = "false"
                       value   = "//mynode/myattr" />
    Note that I have bound the input field to a context node attribute. This is only necessary if you wish to access this field inside your controller methods.
    Now, you can access this input field in your javascript in the following way. Inside the script, setting th evalue or reading, whatever,
    document.all("<%= controller->component_id %>_IF1").value = "some text" ;
    Regards,
    Arun Prakash

  • After the latest update for firefox, now when I start firefox up I keep getting a pop up window that is a Java Script Application that says TypeError:Components.classes['@softage.ru/skype/skypeFfExtension;1']is undefined.

    After closing this Firefox seems to work fine but this happens everytime on startup. How can I get rid of this pop up window starting everytime? Can I re-install firefox? Would I lose my bookmarks etc?

    Once I disabled my Ask.com toolbar (that was installed when I installed FoxIt), the error went away.

  • Seit meinem Umstieg auf Yosemite Probleme mit Jav Script code

    Datei->Automatisieren->Bedingte Moduländerung- Zu HDR Pro zusammenfügen/
        Bild->Korrektur/HDR tonung kommt   Meldung „fehlender JavaScript Code"
    Typ des verwendeten Computers—MacBook Pro Early 2013 Yosemite
    bereits zur Fehlerbehebung unternommene Schritte: Neuinstallation, Flashplayer update Foren (keine akzeptable Lösung z.B. Umstellung auf 32bit?

    Von welchem Programm sprechen wir hier?
    Von welcher Programmversion?

  • When I click on firefox I get a java script error that says "TypeError: Components.classes[TvtPwmComponent_CID] is undefined", what does that mean?

    Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • OBIEE variables in custom java script

    Hello all
    Can I use OBIEE variables like presentation and session variables in my custom java script code that I am writing in text view on a dashboard page. Is it possible to do that. please me soon if somebody knows the solution to do that.
    Thanks in Advance

    Hi john
    Thanks for reply, I am able to generate javascript using text view on a dashboard page.
    But I want to access OBIEE variables in javascript. How I can do that in narrative view. Can u explain me or give me any link.
    Thanks

  • Page failure when attempting to save java script in html header

    Currently there is java script code for a function that is seeded in the html header of a forms page by apex when the form is generated. This code is for the chicken test for the DELETE button.
    The function works as designed, but if I try to "APPLY CHANGES" to the the page definition I get the The page cannot be displayed "Cannot find server or DNS Error". "the url is http://nldg-3.appl.devjones.com:7777/pls/apex/wwv_flow.accept" If I remove the script coding from the HTML header the page will save just fine, but of course no more java script.
    I need to add a java script function to the page and I am unable to do so at this time because of this issue. I can reproduce this error on any of the sample apps that I have loaded into apex.
    the Apache error log contains:
    [Fri Feb 13 06:11:06 2009] [error] [client 172.16.85.122] [ecid: 1234527066:192.168.211.127:31922:0:17188,0] mod_plsql: /pls/apex/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    The Apache access gets:
    172.16.85.122 - APEX_PUBLIC_USER [13/Feb/2009:06:23:47 -0600] "POST /pls/apex/wwv_flow.accept HTTP/1.1" 500 653
    Apex is version 3.1.2.00.02 and uses on iAS on a Linux server. The Database is 10g. The browser is IE 6.0.2900.2180.
    I have been developing for about 3 months in Apex and this is the first issue of this kind that I have run into. Any help will be greatly appreciated as I have no clue at this time.

    Luis,
    All the forms are created by Apex with a default function in the html header for a delete chicken test as follows:
    <scrpt language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    Even though the function is already a part of the page, if I try to save it, it will fail. I will look into the "black list" a little deeper. I have asked around abit as I also had suspected that, but so far all the answers were that it should not be a problem. If I take out the "SCRIPT" word I can get the page to save, but of course the code is worthless at that point.
    Keith

Maybe you are looking for

  • Nvidia material defects

    Does anyone know if the Nvidia problem reported here (http://gizmodo.com/5037070/proof-nvidia-desktop-g86-graphics-cards-affected-by-m aterials-defects) affects the 8800 GS chips in the 24" iMac? Thanks.

  • Essbase - Shared services security , User provison

    Hi, I am new to 11.1.1.2 Hyperion version.(worked on 9.3.1) I have some doubts on the user security in 11 version. We have Distribution environment setup like Essbase on linux and remainng applications on windows 2003 server. Essbase is also register

  • Change the Recon Account Type

    Hi, The users are trying to post the entry into a GL Account directly using the T Code FB50. However, the system gives the error message - "Account XXX in Company Code XXX is marked as a reconciliation account for account type "D" and cannot therefor

  • Implications of new 'source' in pacman.conf

    I apologize in advance for what seems to be a very basic and FAQ-ish question. I've always wanted to know, what are the implications of adding new sources to my pacman.conf (or in the case of Ubuntu/Debian, the /etc/apt/sources.list file?) Let's say

  • Package org.jdesktop.jdic.browser does not exists

    I am geting error 'package org.jdesktop.jdic.browser does not exists' after moving to JDK 1.6_27 from 1.5_06 Which jar file do i have to add for this error to go away? Can anyone helpme with the file name and path to download from? Thanks