Call popup with ITS

Hello,
I am trying to modify a specific popup generation in order to send back to SAP that this popup is definetely closed.
I have currently an error when opening this popup more than 10 times.
This situation occurs when we assign cost centers in items more than 10 times.
the function for cost centers calls a f4 help in javascript.
In the javascript code the popups are closed but for its an error is raised that is :
"No Service Name Specified...  ...or Session Already Terminated... ".
Code :
<script language="javascript">
var chginput = "";
var FrameOpenerVar;
var curWgateURL = "`wgateURL()`";
`if ( ~flowtemplate != "" )`
var curTerminateUrl = curWgateURL +"?event=logoff&exiturl=";
`else`
var curTerminateUrl = curWgateURL +"?okcode=/NEX&exiturl=";
`end`
function envoiRequete(URL)
var requestImg = new Image();
requestImg.src = URL;
function requeteLogoff() {
envoiRequete(curTerminateUrl);
function subForm(EventName,FormName) {
     if(FormName == '')
          FormName = "formITS";
     targetObject = eval('document.'+ FormName);
     if(EventName != '')
          targetObject.elements[0].value = EventName;
     targetObject.submit();
function <b>changeImput</b>(val, i_field) {
setFrameOpenerVar();
    var targetFieldName = i_field;
FrameOpenerVar.BBPForm.elements[targetFieldName].value = val;
chginput = "X";
requeteLogoff();
setTimeout("top.window.close()",3000);
FrameOpenerVar.BBPForm.elements[targetFieldName].focus();
function setFrameOpenerVar()
var service = "`HOOK_SERVICE`";
/*if(service == "bbpiv02" || service == "bbpiv03" || service == "bbpcf02" || service == "bbpcf03")
FrameOpenerVar = top.window.opener.top.frames[0].frames[1].frames[1];
else if(service ==  "bbppu99")
FrameOpenerVar = top.window.opener.top.frames[0].frames[1].frames[2];
else if(service ==  "bbppo01")
FrameOpenerVar = top.window.opener.top.frames[0].frames[1];
alert(top.window.opener.top.frames[1].name);
alert(top.window.opener.top.frames[1].frames[0].name);
alert(top.window.opener.top.frames[1].frames[1].name);
FrameOpenerVar = top.window.opener.top.frames[1].frames[1];
</script>
The function that is causing the error is "changeImput".
I really am not aware with javascript coding so this is a bit tricky for me.
Thanks for your answers.

Hi,
I am facing similar problem with ZCATW. After making changes in time sheet, while pressing 'Previous/Next' button, does not show the popup message.
Please sugegst what parameters need to change in ITS service file
Regards
Sujith

Similar Messages

  • I got problem with volume of calls...its on max and i still can hear person on other side really bad...i got 4s

    i got problem with volume of calls...its on max and i still can hear person on other side really bad...i got 4s

    Did you fix the problem? I have the same problem and it has been pain in the neck.

  • Hi, i hav an Iphone 4S (ios 7.1) with me.. it is abnormally increasing its temperature due to no reason and i am really worried about that. The fully charged phone is getting empty within minutes. Not able to attend the calls due to its overheating. help

    Hi, i hav an Iphone 4S (ios 7.1) with me.. it is abnormally increasing its temperature due to no reason and i am really worried about that. The fully charged phone is getting empty within minutes. Not able to attend the calls due to its overheating. help me please..
    It shows a 'temperature rise, need to cool down your phone' message regularly.. It happens when i when i try to connect my fone to the internet using cellular data, and it happens more suddenly when my 3g is on.. help me to sort out this, please

    Make an appointment with the Apple genius bar for an evaluation.

  • When i open iPhoto and want to share my photo on face book its popup with problem occur and ask me to repair when i repair it appears back again?

    when i open iPhoto and want to share my photo on face book its popup with problem occur and ask me to repair when i repair it appears back again?

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Popup with table entries

    hello,
    I am looking for a popup with data in internal tabkle  and with options continue and cancel.I tried with 
    'POPUP_WITH_TABLE_DISPLAY' but its no help for my requirement. please advise.
    Thanks
    Edited by: BrightSide on Jul 14, 2009 12:29 PM

    u can use the FM u have mentioned for ur case...
    giving u refrence code:
    concatenate 'Select the Contract for the material' ls_mepoitem-matnr into lv_titletext
                    separated by space.
                    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
                      EXPORTING
                        ENDPOS_COL   = 136
                        ENDPOS_ROW   = 10
                        STARTPOS_COL = 50
                        STARTPOS_ROW = 4
                        TITLETEXT    = lv_titletext
                      IMPORTING
                        CHOISE       = lv_counts
                      TABLES
                        VALUETAB     = lt_ekpo
                      EXCEPTIONS
                        BREAK_OFF    = 1
                        OTHERS       = 2.
                    clear : lv_titletext.
                    IF lv_counts NE 0.
                      READ TABLE lt_ekpo assigning <ft_ekpo> INDEX lv_counts.
                      move <ft_ekpo>-ebeln to ls_mepoitem-konnr.
                      move <ft_ekpo>-ebelp to ls_mepoitem-ktpnr.
                      move <ft_ekpo>-lifnr to ls_mepoheader-lifnr.
                    else.
                      lv_message1 = 'Select atleast one of the available Contracts'.
                      gv_error_exists = 'X'.
                      mmpur_metafield mmmfd_cust_01.
                      mmpur_message_forced 'E' 'YMM' '000' lv_message1 '' '' ''..
                    endif.
                  else.
                    READ TABLE lt_ekpo assigning <ft_ekpo> INDEX 1.
                    move <ft_ekpo>-ebeln to ls_mepoitem-konnr.
                    move <ft_ekpo>-ebelp to ls_mepoitem-ktpnr.
                    move <ft_ekpo>-lifnr to ls_mepoheader-lifnr.
                  endif.

  • CRM70 Popup with Inputfield

    Hello all,
    again an interesting requirement from my users
    We require in an eventhandler (button_click) a popup with one inputfield from type dats.
    The date the user choose on the popup shall be used in the ON_POPUP_CLOSE event.
    I know that it is not possible with the standard reuse popup or decision popup.
    Has anybody already realised such a popup with input fields and could provide the steps?
    Thanks a lot.
    Kind regards
    Manfred

    Hi Manfred,
    Create a view with a context node, assume POPUP_CTXT and assign an input field (example DATE) to it. So the value entered in the input filed with be set in its collection wrapper.
    Call this view as a popup and in the on close event get the context node and read the value from DATE,
    sample coding in on_close_event,
    Data: lr_outputnode          TYPE REF TO cl_bsp_wd_context_node,
             lr_collection_wrapper  TYPE REF TO cl_bsp_wd_collection_wrapper,
            lr_current            TYPE REF TO if_bol_bo_property_access.
    lr_outputnode ?= popup_reference->get_context_node( 'POPUP_CTXT' ).
    lr_collection_wrapper = lr_outputnode->get_collection_wrapper( ).
    lr_current           = lr_collection_wrapper->get_current( ).
    CALL METHOD lr_current->get_property_as_value
              EXPORTING
                iv_attr_name = 'DATE'
              IMPORTING
                ev_result    = lv_date.
    The 'popup_reference' variable must be declared globally. The instance will be created while calling the popup.
    Regards,
    Arun

  • Jabber for Windows Call popup photo

    We have a Jabber for windows deployment currently running in our lab environment. In the buddy list we have the contacts with their photo. When we start a call or receive a call a call popup screen appears. In this screen the photo of the called person i not displayed..
    Is this possible? If i look at the pictures cisco provides there is always a photo of the caller.

    Hi,
    This is very common scenario in case the number to contact resolution does not work. You need to create directory lookup rules to modify the incoming number so that it matches the number configured for the contact in question.
    Here's an example
    You have a contract named John Doe with a DN configured in AD as 101. The contact has an avatar.
    You get an incoming call from John Doe but the incoming number is 9101.
    This will result in the avatar not being displayed for a contact because number 9101 does not match the contact's configured DN.
    So in summary you need to use Directory Lookup Rules and/or Application Dial Rules
    HTH,
    Christos

  • Hi! I'm just having a little trouble when it comes to battery charging of my iPhone 5 with its new iOS 7! It doesn't indicates that the battery is fully charge unlike the old version of iOS! They said it should be pulsating but it's not

    Hi! I'm just having a little trouble when it comes to battery charging of my iPhone 5 with its new iOS 7! It doesn't indicates that the battery is fully charge unlike the old version of iOS! I already read some reviews and discussion about this. They said that the lightning bolt should pulsate when charging but it's not!

    Thanks for the replies. It took a while not hearing anything so thought I was alone. I have done many of the suggestions already. The key here is that it occurs on both phones with apps, and phones still packaged in a box.
    A Genius Bar supervisor also checked his Verizon data usage log and found the same 6 hour incremental use. Suprisingly, he did not express much intrigue over that. Maybe he did, but did not show it.
    I think the 6 hour incremental usage is the main issue here. I spoke with Verizon (again) and they confirmed that all they do is log exactly when the phone connected to the tower and used data. The time it records is when the usage started. I also found out that the time recorded is GMT.
    What is using data, unsolicited, every 6 hours?
    Why does it change?
    Why does it only happen on the iPhone 5 series and not the 4?
    Since no one from Apple seems to be chiming in on this, and I have not received the promised calls from Apple tech support that the Genius Bar staff said I was suppose to receive, it is starting to feel like something is being swept under the rug.
    I woke up the other day with another thought ... What application would use such large amounts of data? Well ... music, video, sound and pictures of course. Well ... what would someone set automatically that is of any use to them? hmmm ... video, pictures, sound. Is the iPhone 5 succeptible to snooping? Can an app be buried in the IOS that automatically turns on video and sound recording, and send it somewhere ... every 6 hours? Chilling. I noted that the smallest data usage is during the night when nothing is going on, then it peaks during the day. The Genius Bar tech and I looked at each other when I drew this sine wave graph on the log print outs during an appointment ...

  • Error after close popup with swfloader

    Hi all, hope some one could help me with this i get this
    error ( Error: Unable to load '' ) each time after i close a popup
    with a swfloader the error popsup when i click on the datagrid
    *****************************main mxml
    private function ShowPano():void
    var SWFLoaderInstance:Panoramica2 =
    Panoramica2(PopUpManager.createPopUp(this,Panoramica2,true));//
    instantiate and show the title window
    PopUpManager.centerPopUp(SWFLoaderInstance);
    SWFLoaderInstance.mainAppPano = this //Reference to the main
    app
    scope
    *******************************this is the mxml Panoramica2
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="doInt()"
    cornerRadius="10" width="600" height="450">
    <mx:Script><![CDATA[
    import mx.controls.PopUpMenuButton;
    import mx.managers.PopUpManager;
    import mx.collections.ArrayCollection;
    import mx.controls.Button;
    [Bindable]public var mainAppPano:Object = null;
    //called by the close event raised byclicking the close
    button
    private function closeWindow():void
    PopUpManager.removePopUp(this);
    }//closeWindow
    private function doInt():void
    PopUpManager.centerPopUp(this);
    ]]>
    </mx:Script>
    <mx:TitleWindow layout="absolute" right="10" left="10"
    showCloseButton="true"
    close="closeWindow()" top="10" bottom="10">
    <mx:SWFLoader
    source="{mainAppPano.datagrid.selectedItem.pano..src}"
    scaleContent="false"
    horizontalCenter="0" verticalCenter="0"/>
    </mx:TitleWindow>
    </mx:Canvas>
    ********************************xml structure
    <catalog>
    <libro>
    <name><![CDATA[<b>Biblioteca Central
    </b> ]]></name>
    <desc><![CDATA[Se inauguró el 20 de noviembre
    de 1978 ]]></desc>
    <imagen>FOTOS/est/Biblioteca Central Manuel Bartlett
    Bautista.jpeg</
    imagen>
    <pano nombrePano="Biblioteca Central Bautista">
    <src>FOTOS/Panoramicas/PanoZoom642007.swf</src>
    </pano>
    <ico>BOTONES/gifs/video.gif</ico>
    <video nombreVid="Biblioteca Manuel Bartlet">
    <src>VIDEOS/Biblioteca Manuel Bartlet.flv</src>
    </video>
    <audio/>
    <pie>Biblioteca Central Manuel Bartlett
    Bautista</pie>
    </libro>
    </catalog>

    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    var test = $x('P7_FLAG').value;
    if(test == '1')
    window.close();
    window.opener.doSubmit('REFRESH');
    </script>javascript does not wait for the current action to complete and then perform the next line.
    means in your function call
    doSubmit('SUBMIT');is triggered and it carry on's to next line that is
    $x('P7_FLAG').value;this will not be set because you are setting the value of P7_FLAG to 1 in plsql and trying to check in javascript, which will not work.
    what you need to do is amend your js function like below
    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    </script>create a page branch to procedure and make it conditional to when P7_FLAG = 1
    and set the branch source to below
    htp.p('window.close();');
    htp.p('window.opener.doSubmit(''REFRESH'');');

  • Document Creation error - "We're sorry. We can't open document name because we found a problem with its contents"

    Morning Friends,
    I have created a SharePoint 2010 "Site Workflow" that is designed to take information from a form and create a Word doc with the gathered information and store this Word doc in a document library.
    I am using Sharepoint 2013 with Office 2013 
    I understand there are a lot of steps (19) outlined below and I can provide more information as needed but the bottom line is this, workflow successfully takes info from an initiation form, uses the info to create a Word doc. Places this Word doc in a library.
    When attempting to open / edit doc, receive error
    "We're sorry. We can't open <document name> because we found a problem with its contents"
    Details - No error detail available.
    Any info or advice would be greatly appreciated. 
    Very high level view of what I have done:
    1 - Created content type called "Letters"
    2 - Added site columns " First Name" and "Last Name"
    3 -  Created and saved to my desktop a very basic Word document (Letter.docx) that says "Hello, my name is XXXX XXXX"
    4 - In the advanced settings of the "Letters" content type I uploaded this "Letter.docx" file as the new document template.
    5 - Created a new document library called "Letters"
    6 - In Library Settings - Advanced Settings, clicked "Yes" to enable the management of content types.
    7 - Then I clicked "Add from existing content types" and added the "Letters" content type
    8 - Back in the advanced settings of the "Letters" content type I selected "Edit Template" and replaced the first XXXX with the Quick Part "First Name" and the second XXXX with the Quick part "Last Name"
    9 - Created a new 2010 Site workflow called "Create a Letter"
    10 - To the workflow I added the action "Create List Item"
    11 - Configured the action to create Content Type ID "Letters" in the document library "Letter" 
    12 - For the "Path and Name" I gave it a basic name of "Letter to"
    13 - The next step was to create the Initiation Form Parameters and added to form entries "First Name" and "Last Name"
    14 - I then linked the initiation form fields to the data source "Workflow Variables and Parameters" to their respective Field from Source parameters
    15 - Went back to the "Path and Name" and modified the basic name of "Letter to" to include the first and last name parameters.
    16 - Saved - published and ran the work flow.
    17 - As expected, Initiation Form prompts for First and Last Name. ("John Doe") Then click "start
    18 - Go to document library "Letters" and see a new Word document created titles "Letter to John Doe" 
    19 - Go to open / edit the Word document and receive the following error
    thoughts? Any info or advice would be greatly appreciated. 

    See this MS support article for SP2010 workflows and generating Word docs:
    https://support.microsoft.com/kb/2889634/en-us?wa=wsignin1.0
    "This behavior is by design. The Create
    List Item action in the SharePoint
    2010 Workflow platform can't convert Word content type file templates to the correct .docx format."
    I've had success in using SP 2013, Word 2013 (saving a .docx as the template instead of .dotx for the document library content type), and an SP 2010 workflow using SP Designer 2013.

  • Can two or more devices use the same Apple  account with different cell phone numbers. I want to use FaceTime on a my 5s and my wife wants her own FaceTime on a new iPad Air with its own cell number but be linked with me with iCloud to share music

    I have a 5s with an apple account and wife has a iPad air with its own cell number. Does the iPad need it's own apple account to use it's own phone number so her FaceTime calls are not sent to my phone. We want to be able to link each device to iCloud and share music, photos, ect. iPad iMessage and FaceTime have my cell number activated.

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How to Share a Family iPad
    http://www.macworld.com/article/1163347/how_to_share_a_family_ipad.html
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    iOS & iCloud Tips: Sharing an Apple ID With Your Family
    http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • Popup with open and save file option

    Hi,
    I have created a button on my page name as "Export File" and created a process and called on "EXPORT FILE" button. I am using utl file in this procedure and i want to download this file and file will be .ics file using for calendar.
    My page process code is
    begin
    pro_create_ical(:P6_START_DATE,:P6_END_DATE);
    end;when i click on export file button it should raise a popup with open and save file option.
    How i can do this?
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 25, 2013 1:59 AM
    Edited by: Vedant on Jan 25, 2013 2:00 AM
    Edited by: Vedant on Jan 25, 2013 3:49 AM

    Shiv,
    Have you installed any new Software/Spyware/Virus Scanner etc.Check it out.It might have caused the issue for last 5 days.
    This issue is fixed in Latest Support Package Versions.
    Which Version of Support Package you are using?
    If EP6 <SP19 you will face this issue.
    Just upgrade it to EP6, Support Pack-19,this will be resolved.
    Upgrade of Support Pack wont take much time.you can get the document under http://service.sap.com/instguides
    Hope it helps
    Regards,
    Karthick Eswaran
    *Reward Points for helpful answers.

  • Popup with four buttons

    Hi, I'm a newbie in ABAP and I want to create a popup with only four buttons (with my options), like a questionnaire, but without cancel button.
    I see the function C102_POPUP_TO_CONFIRM, I want something similar but without cancel button.
    can someone help me?
    Thanks!!

    Only a little doubt more
    Why SPACE string don't work in this situation:
      CALL FUNCTION 'C102_POPUP_TO_CONFIRM'
        EXPORTING
         titlebar                    = 'title'
          text_question               = 'question'
         text_button_1               = 'text1'
      ICON_BUTTON_1               = ' '
      I_ICON1_INFO                = ' '
         text_button_2               = 'text2'
      ICON_BUTTON_2               = ' '
      I_ICON2_INFO                = ' '
         text_button_3               = 'text3'
      ICON_BUTTON_3               = ' '
      I_ICON3_INFO                = ' '
         text_button_4               = 'text4'
      ICON_BUTTON_4               = ' '
      I_ICON4_INFO                = ' '
      DEFAULT_BUTTON              = '1'
       DISPLAY_CANCEL_BUTTON       = SPACE
      START_COLUMN                = 25
      START_ROW                   = 6
    IMPORTING
         answer                      = answer1.
    Thanks for all!!

  • Popup with text area & ok/cancel button

    Hi all,
    My requirement is to display a popup with a text area in editable mode along with 'Confirm' and 'Cancel' button. If the user changes the text, and presses the 'CONFIRM' the text is to be saved in DB.
    How do i implement this? Should i use a FM or modal dialog box?

    You can use simple modal dialog box ..
    using below syntax :
    CALL SCREEN 1100 STARTING AT 1 1.
    Select modal dialog box ( Screen type).
    Thanks
    Seshu

  • Exception calling "Update" with "0" argument(s): "To add an item to a document library, use SPFileCollection.Add()"

    Hi i am trying to add a new item and update existing field value in a document library with powershell 
    but i receive below error message.
    PS C:\Users\spfarm> C:\Scripts\add.ps1
    Exception calling "Update" with "0" argument(s): "To add an item to a document
    library, use SPFileCollection.Add()"
    At C:\Scripts\add.ps1:24 char:16
    + $newItem.Update <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException
    #Add SharePoint PowerShell Snapin which adds SharePoint specific cmdlets
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    #Variables that we are going to use for list editing
    $webURL = "http://tspmcwfe:89"
    $listName = "test"
    #Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    #Get the SPList object to retrieve the "Demo List"
    $list = $web.Lists[$listName]
    #Create a new item
    $newItem = $list.Items.Add()
    #Add properties to this list item
    $newItem["Title"] = "My second item!"
    $newItem["Info"] = "s15"
    #Update the object so it gets saved to the list
    $newItem.Update()
    $web.Dispose()
    adil

    Hi Adil,
    Document Library is different from a normal list. The document library contains files inside it. You need to update the code to add a document to the library. Then you can get hold of the List Item represented by that file and update its properties. Here
    is an example:
    $WebURL = "http://aissp2013/sites/TestSite"
    $DocLibName = "Docs" 
    $FilePath = "c:\blogs.txt" 
    # Get a variable that points to the folder 
    $Web = Get-SPWeb $WebURL 
    $List = $Web.GetFolder($DocLibName) 
    $Files = $List.Files
    # Get just the name of the file from the whole path 
    $FileName = $FilePath.Substring($FilePath.LastIndexOf("\")+1)
    # Load the file into a variable 
    $File= Get-ChildItem $FilePath
    # Upload it to SharePoint 
    $spFile = $Files.Add($DocLibName +"/" + $FileName,$File.OpenRead(),$false) 
    $item = $spFile.Item
    $item["Title"] = "New Title"
    $item.Update()
    $web.Dispose()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

Maybe you are looking for

  • HT204053 Can you use the same Apple ID for two devices ?

    I have an MacPro and I am buying an iPad.  Can you use the same Apple ID for two devices or should I create an new AppleID for the ipad?

  • How do I globally set the font of a java program

    I would like to define a default font for all the labels, button, and text on a JFrame. I used the following lines: static Font defaultFont = new Font("dialog", Font.PLAIN, 12); contentPane = frame.getContentPane(); contentPane.setFont(defaultFont);

  • Photo Stream Events and Organization

    I have been organizing my iPhoto library and after getting my iPhone I am having some trouble understanding Photo Stream. I take pictures with my iPhone and I see them show up in events in iPhoto (such as Oct 2011 Photo Stream). Are these pictures on

  • Java HTTPS  Exception

    Dear friends, I was trying to access ssl enabled website using the below program: import java.net.URL; import java.io.*; import javax.net.ssl.HttpsURLConnection; public class Test public static void main(String[] args) throws Exception String httpsUR

  • New release desktop software sync problem

    Having downloaded the new deskup software, and made sure that it notifies me of any conflcts in sync-ing the blackberry and Outlook 2003, it now tries to delete anything new added to Outlook that it is not yet on the blackberry. It notifies me of all