Trouble passing values to subpanels

I seem to be having issue pass values to my sub VIs in a subpanel.  I'm using the invoke node and control value set command.
I am able to pass a database reference that I'm using, but when I try Boolean values, I get no response.  I'm also trying to use one of the Boolean values to fire an event.  The front panel of my sub VI looks as though the FP button is being pressed, but my value doesn't change and my event doesn't fire.
I've reviewed as may forum threads as I could and have looked through the bug reports without any luck.  Any ideas?

attached is the code snippet.   You can use this as a subVI in place of where you are setting the control value or just hammer the code in directly.  Add error handling as you see fit, although you should note that if you use the error handling within the for loop, you will probably get an error, probably better to move the 'to specific' outside the loop.
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs?
Attachments:
setCtrlValSignal.vi ‏11 KB

Similar Messages

  • Trouble Passing Values Using onClick Event

    I have a page with a div, <div id= PF_Text_Panel></>,  containing text describing an image, the image is in a separate div.  Using CSS the text panel is on top of the image and covers about 1/3 of the image’s left side.  A slide effect, handled by the function Slide, targets the PF_Text_Panel div. The function Slide is triggered by an onClick event allowing the user to slide the description to the left and reveal the entire image.
    The function Slide contains an if statement. The if statement is used to determine if PF_Text_Panel is open or closed using the variable SldPnlState  as a flag like this; if the variable SldPnlState ==1, then run Slide.  The other part of this function, which actually slides the div is an instance of the Slide Effect, inserted using Dreamweaver CS4.
    The variable SldPnlState  is set using the function setSldPnlState
    The function setSldPnlState, initiated by an onClick, passes a value to the variable SldPnlState, in this case it can be set to either 0 or 1 by separate onClick events
    To test if the variable SldPnlState is being passed from the onClick event to the variable I included the function printVar which writes the value of the variable SldPnlState to the screen.
    I believe that the Spry effect Slide portion of the function works because if I go into the code and manually set the variable SldPnlState to 1 the function Slide works and if I set it to 0 the function Slide does not work.
    This the bug:
    printVar indicates that the value is being passed the variable SldPnlState, it displays either a 1 or 0 as expected. 
    The function Slide does not work however, when the variable SldPnlState should be set by the onClick event passing the value using the function setSldPnlState.  It does not seem like the value is being passed from the onClick event triggering the function or that somehow the script stops running.
    You can demo the page at: http://dg-ad.com/Slide_Effect_Logic_Parameter.html
      Attached is the code, if anyone has some suggestions I would really appreciate hearing from you
    <!--begin setup Spry Effects-->
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <!--Begin pass variable from flagToggle parameter to SldPnlState variable includes printVar function to sent results to screen-->
    <script language="javascript" type="text/javascript">
    <!--begin set flag using onclick event-->
    var SldPnlState = (1);
    function setSldPnlState(flagToggle)
    SldPnlState = flagToggle;
    </script>
    <!--end set flag using onclick event-->
    <!--begin slider onclick event-->
    <script type="text/javascript">
    if(SldPnlState==1)
    function MM_effectSlide(targetElement, duration, from, to, toggle, transition, fps, horizontal)
    Spry.Effect.DoSlide(targetElement, {duration: 500, from: 0, to: 200, toggle: true, transition: 2, fps: 750, horizontal: true});
    //-->
    </script>
    <!--end slider onclick event-->
    <!--begin write variable onclick event-->
    <script type="text/javascript">
    function printVar()
    document.getElementById('test_display').innerHTML = SldPnlState
    </script>
    <!--end write variable onclick event-->
    </head>
    <body id="wrapper">
            <div style="padding-top:50px;">
            <a href="#" onclick="setSldPnlState(1);">Set var SldPnlState to Flag Status Set Open (1)</a><br><br><br>
            <a href="#" onclick="setSldPnlState(0);">Set var SldPnlState to Flag Status Set Closed (0)</a><br><br><br>
            <a href="#" onclick="printVar();">Print Flag Status to Screen</a><br><br><br>
            <div id="test_display" style="border:#9CC thick groove; width:50px; height:50px; margin:15px; text-align:center; font-size:36px;"></div>
            <a href="#" onclick="MM_effectSlide('PF_Text_Panel');">Slide Panel</a><br><br>
            </div>
    <div id="PF_Text_Panel" style="border:#9C9 thick solid; height:250px; margin-top:25px;">
      <div id="PF_Text" class="PF_Text">
      </div>
      <script type="text/javascript">
        var panelWidget_1=new Spry.Widget.HTMLPanel('PF_Text');
        </script>
    </div>

    Thanks so much for taking a look at this.  The whole reason I am doing this is that I couldn't find a state indicator flag in the Spry.Effect.DoSlide effect.
    I see that the htmlPanel does not have a bearing on the problem as you mentioned but not having the javascript doesn't matter either.  I am using the Spry.Effect.DoSlide effect, it is in the head,  in the function with the if statement, and it is making the div"PF_Text_Panel slide which works fine including the if statement.  If I set the var SldPnlState = (1) it works set it to 0 and the slide effect is disabled.  I need to be able to change the variable using an onclick event.
    The problem as you mention is with the function SldPnlState = flagToggle;  This is what I need to do.  I need to pass a value to  the variable SldPnlState from an onclick event.  As the function Slide is set up, with an if statement, the div will slide if SldPnlState=1 and the slide function will turn off if SldPnlState=0.  However when I do the onclick="setSldPnlState(1);"event there is no effect on the Slide function.  The value seems to pass to the variable tSldPnlState since I can get the value of this same variable to display using the function printVar() which will display 1 or 0 depending on which onclick event I run.  It seems like the I can pass the variable from the onclick event it's just that if statement in the function MM_effectSlide never sees it.  I don't know enough to trouble shoot this.  But I will take a closer look at the SldPnlState = flagToggle; part as you suggest.

  • Having troubles passing values of Shuttle control to SQL Query of Report and Chart Region

    Hello,
    I am very new to APEX and need help for one of the Pa.I have a shuttle control on my page which populates Categories. Once user selects Categories from this control, I wish to pass the values to following SQL query :
    select * from emp_class where category IN ( LIST of VALUES FROM RIGHT SIDE SHUTTLE).
    I tried various ways of doing this including writing a java scripts which reads shuttle value, converts it into below string
    'Category1',Category2',Category3'. Then I set this value to a text box. And then I was expecting that below trcik would work
    select * from emp_class where category IN (:TXT_VALUES)
    I am sure this is not right way and hence its not working. Can you please guide me here with options?
    Many Thanks,
    Tush

    b96402b4-56f7-44ba-8952-fb82a61eeb2c wrote:
    Please update your forum profile with a real handle instead of "b96402b4-56f7-44ba-8952-fb82a61eeb2c".
    I am very new to APEX and need help for one of the Pa.
    Don't understand what this means. What is "Pa"?
    select * from emp_class where category IN (:TXT_VALUES)
    I am sure this is not right way and hence its not working. Can you please guide me here with options?
    This is a common fallacy. In
    select * from table where columnvalue in (7788, 7839, 7876)
    (7788, 7839, 7876) is an expression list and the predicate is evaluated as a membership condition.
    In
    select * from table where columnvalue in :P1_X
    :P1_X is a scalar string, incapable of containing multiple values.
    In an APEX standard report, a PL/SQL function body returning an SQL query report source with lexical substitution can be used to produce a "varying IN-list":
    return 'select * from table where columnvalue in (' || :P1_X || ')';
    where P1_X contains fewer than 1000 values, has been sanitized for SQL injection, and string values are properly quoted.
    Some people suggest the following approach, which will also work in APEX interactive reports:
    select * from table where instr(':' || :P1_X || ':', ':' || columnvalue || ':') > 0
    However this is non-performant as it eliminates the possibility of the optimizer using indexes or partition pruning in the execution plan.
    See varying elements in IN list on Ask Tom, and emulating string-to-table functionality using sql for efficient solutions.

  • Having trouble passing values between methods

    So if this isnt the right spot for this.
    Anyhow any coments on where I went wrong or need to fix will be apriciated.
    So I got two methods that return a value (getHour() and getMinute(). The values that are returned I am tring to pass into showTime. However it doesn't seem to work as all I get is zero's.
    I've done a search around on the net and Im starting to thing my intellagnce is limited.
    import java.util.Scanner;
    public class First
    static int sH, sM;
        public static void main(String args[]){
            getHour();
            getMinute();
           showTime(sH,sM);
        static int getHour(){
            Scanner input = new Scanner(System.in);
            System.out.println("Please enter the hour: ");
            int setHour = input.nextInt();
            if(setHour <= 24){
                System.out.println("You entered " +setHour+ " for the hour.");
            }else{
                System.out.println("Please enter the hour number from 0 to 24");
                getHour();
         return sH;
         static int getMinute(){
            Scanner input = new Scanner(System.in);
            System.out.println("Please enter the minutes: ");
            int setMinute = input.nextInt();
            if(setMinute <= 60){
                System.out.println("You entered " +setMinute+ " for the minutes.");
            }else{
                System.out.println("Please enter the hour number from 0 to 60");
                getMinute();
            return sM;
        private static void showTime(int sH, int sM){
              System.out.println(+sH+":"+sM);
    }

    Hi,pls compare ur coding with the one i have posted below. In your code, the variables sH and sM are still in initialised state(value =0) and its not assigned with the values returned by getHour and getMinute methods. This is why the shoTime method returned zero. Hope i helped you.
    import java.util.Scanner;
    * @author Jaison KS-IT
    public class First {
    static int sH, sM;
    public static void main(String args[])
    getHour();
    getMinute();
    showTime(sH,sM);
    static int getHour(){
    Scanner input = new Scanner(System.in);
    System.out.println("Please enter the hour: ");
    int setHour = input.nextInt();
    if(setHour <= 24){
    System.out.println("You entered " setHour " for the hour.");
    sH = setHour;
    }else{
    System.out.println("Please enter the hour number from 0 to 24");
    getHour();
    return sH;
    static int getMinute(){
    Scanner input = new Scanner(System.in);
    System.out.println("Please enter the minutes: ");
    int setMinute = input.nextInt();
    if(setMinute <= 60){
    System.out.println("You entered " setMinute " for the minutes.");
    sM = setMinute;
    }else{
    System.out.println("Please enter the hour number from 0 to 60");
    getMinute();
    return sM;
    private static void showTime(int sH, int sM){
              System.out.println(+sH+":"+sM);
    }

  • Trouble passing Value from MenuEvent

    In the code that follows I can't figurre out how to get a value for e.label for the lone Menu elements, i.e. "menuItems.push({label:"Model-A"});". Thanks in advance for any help.
    private function init():void{
         var menuItems:Array = new Array();
         var subMenuItems:ArrayCollection = new ArrayCollection([{label:"Interior", children:[{label:"Structure"}, {label:"Rods & Reels"},{label:"Literature"}, {label:"Accessories"}]}, {label:"Exterior"}]);
         menuItems.push({label:"Trailer", children:subMenuItems});               
         menuItems.push({label:"Model-A"});
         subMenuItems = new ArrayCollection([{label:"Trailer", children:[{label:"Interior"}, {label:"Exterior "}]}, {label:"Model-A"}]);
         menuItems.push({label:"Restoration", children:subMenuItems});
         menuItems.push({label:"Combo"});
         menuData = new ArrayCollection(menuItems);
    private function menuClick(e:MenuEvent):void{
         var picItems:Array = new Array();
         for (var i:int = picData.length - 1; i >=0; i--){
             if(e.label == picData[i].category){     
         picItems.push(picData[i])
         tileData = new ArrayCollection(picItems);          

    The following is the completed code that gets the job done.  My buddy said
    he looked into selectedIndex but it always came back as -1.  Let me know if
    you think of anything else, but at the least this is working with no forseen
    errors/problems for now.  Thanks a bunch for your help, I'm rather excited
    to have this done.  I'll make sure to get you some points when the forums
    are back on.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:comp="components.*"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.events.MenuEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    private var menuData:ArrayCollection;
    public var tileData:ArrayCollection;
    public var picData:ArrayCollection;
    public var selectedPic:Object;
    private function init():*void
    var menuItems:Array = new Array();
    var subMenuItems:ArrayCollection = new ArrayCollection([{label:*
    "Interior", children:[{label:"Structure"*}, ,
    menuItems.push();
    menuItems.push();
    subMenuItems = new ArrayCollection([, ]}, ]);
    menuItems.push();
    menuItems.push();
    menuData = new ArrayCollection(menuItems);
    private function menuClick(e:MenuEvent):void{
    var picItems:Array = new Array();
    var selectedItem:String = e.label;
    for each(var item:Object in picData){
    if(selectedItem == item.category){
    picItems.push(item)
    tileData = new ArrayCollection(picItems);
    private function displayPicDetails(event:Event):void{
    currentState='picDetails';
    selectedPic = new Object();
    selectedPic = event.currentTarget.selectedItem;
    picState.load('assets/pics/' + selectedPic.filename + '.jpg');
    private function topMenuClick(e:MouseEvent):void{
    var MenuItems:Array = new Array();
    var selectedItem:String = e.target.data.label;
    for each(var item:Object in picData){
    if(selectedItem == item.category){
    MenuItems.push(item)
    tileData = new ArrayCollection(MenuItems);
    ]]>
    </mx:Script>
    <mx:states>
    <mx:State name="picDetails">
    <mx:AddChild>
    <mx:Image id="picState"
    y="-5" x="2"/>
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:MenuBar id="menuList"
    labelField="label"
    y="370"
    click="{topMenuClick(event)}"
    itemClick="{menuClick(event)}"
    dataProvider=""
    fontSize="16"/>
    <mx:TileList id="picThumbnails"
    width="635"
    height="215"
    y="390"
    columnWidth="150"
    rowHeight="100"
    dataProvider=""
    change="displayPicDetails(event)"
    itemRenderer="components.PicsDisplay"/>
    </mx:Canvas

  • Trouble passing iteration values between two separate VI's

    Hello,
    I'm having a bit of trouble passing a while loop iteration value from one vi to another.
    I have tried creating a sub-vi of the "B VI" and dropping the icon into the main vi (in picture called "A VI") and just pull the itereation value out this way. So far no luck as an error occurs which causes Labview to crash.
    I've spent a lot of time trying to use invoke nodes, globals and VI server references but I haven't gotten them to work either. 
    In the pictures below "A VI" is the main acquisition application. "B VI" is the motor control application. Each VI will run at the same time but with their own front panel. Anyway, I would like to pass the while loop iteration value (Called "Steps") from the "B VI" to the "A VI" (essentially use this itereation value to keep track of the number of motor rotations.)
    So far no luck so any help would be appreciated.
    thanks in advance
    SS
    Attachments:
    A VI1.jpg ‏149 KB
    B VI1.jpg ‏169 KB

    Hi,
    sorry for the confusion. I attached less confusing block diagrams...hope that helps .
    The only thing that is in B that i'd like to import into A is the "STEPS" iteration value. (its circled in green).
    I'm looking to have this iteration value (from B) updated as A's loop runs.
    I use the outside while loop instead of hitting the run continuously button....habit i guess
    Right now I'm getting stuck on using Vi references....I've modeled examples fromt the forums and i just can't get it to work....its driving me nuts.
    thanks again
    Attachments:
    A.jpg ‏57 KB
    B.jpg ‏49 KB

  • Trouble Passing URL Parameters between Applications

    Hi All,
    I am having trouble Passing URL Parameters between Applications for BW queries as data sources. I know I am getting the data from the sending application correctly, because I an printing to the screen using a Text Component.
    Date From: 1/1/2008
    Date To: 3/14/2014
    Here is the code from the sending application On Select :
    "http://localhost:56572/aad/web.do?APPLICATION=WIMO_SUMMARY_OPEN_DETAIL&designersessionid=37a1cfaa7e734cd9afa35cb4cd627d41" +
    + DS_1.getVariableValueExt("ZPORDAT3") +
    + DS_1.getVariableValueExt("ZPORDAT5"));
    Here is the code from the recieving application Global Script Variable"
    Xv_DateFrom     String     True
    Xv_DateTo         String     True
    Here is the code from the receiving application On Startup"
    DS_2.setFilter("0CALDAY",[Xv_DateFrom, Xv_DateTo]);
    When I click the results of the sending Application the popup window opens for the receiving application but I get all the records for the BW receiving query, it does not restrict to the values in ("ZPORDAT3") 1/1/2008 and ("ZPORDAT5") Date To: 3/14/2014.
    So, I would expect it is my receiving code, but I am not sure.
    Hope you can help?
    Norman

    Hi Norman,
    As Jörg said, please put "&" before each of your variable names at your url. For the second part,I didn't try it for date intervals but keep in mind just in case:
    APPLICATION.openNewWindow("http://localhost:56572/aad/web.do?APPLICATION=WIMO_SUMMARY_OPEN_DETAIL&designersessionid=37a1cfaa7e734cd9afa35cb4cd627d41" +
    "&Xv_DateFrom=" + DS_1.getVariableValueExt("ZPORDAT3") +
    "&Xv_DateTo=" + DS_1.getVariableValueExt("ZPORDAT5"));
    Here is the code from the recieving application Global Script Variable"
    Xv_DateFrom     String     True
    Xv_DateTo         String     True
    Here is the code from the receiving application On Startup"
    DS_2.setFilterExt("0CALDAY", {"low": Xv_DateFrom , "high " : Xv_DateTo});
    Best regards,
    Onur

  • Trouble passing a varible to INSERT page

    I'm a novice and I'm having trouble passing a varible from
    one page into the database.
    I ultimately want to pass the word "Appliances" into the
    database field name called CATEGORY.
    The user clicks on: www.xyz.com/main.cfm?category=Appliances
    to go to the next page. Then the next page has a <form> in it
    and that same page has <CFSET category=#category#>. But when
    the form posts the info into the database with the <CFINSERT>
    on the next page, CATEGORY is empty.
    I've tried: CFSET form.category=#category#>, CFSET
    form.category="#category#"> and some other things. I've even
    thought of doing this: <FORM
    ACTION="insert.cfm?category=#category#" method="post">, but that
    didn't work either (I thought I was pretty smart when I thought of
    that). :-)
    Now, I have JUST learned that I can use the <INPUT
    TYPE="hidden" NAME="category" VALUE="#category#"> to pass it BUT
    why didnt a simple CFSET statement set the variable and pass it to
    the CFINSERT?
    Thanks in advance!! -Tony

    yes, <cfinsert> tag only inserts FORM values, that is
    values defined in
    the FORM scope variables (form fields, effectively). it will
    not insert
    any values defined in any other scopes.
    a form will POST (submit) only data in its fields. that is
    why the
    variable you set with CFSET is not submitted - it is not a
    form field.
    so in order to use cfinsert you must have all data you want
    to insert
    into db in form fields. as you have found out, you can have
    hidden form
    fields to post/submit data too.
    you could also pass the variable as part of the query string
    of the
    action page: <form
    action="youractionpage.cfm?yourvar=<cfoutput>#yourvar#</cfoutput>"
    method="post">, but that variable will be available on the
    action page
    inside URL scope, not FORM scope. in order for CFINSERT to
    insert that
    variable in this case, just add <cfset form.yourvar =
    url.yourvar>
    BEFORE your CFINSERT tag on your action page.
    et voila - your variable is part of the form scope now and
    gets inserted
    with cfinsert tag.
    hope this helps.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Trouble passing var using CFC

    I'm having trouble passing a variable value called from a CFC
    into Flex via RemoteObject. Basically I'm trying to pass the
    current logged-in user to a Combobox as a string. The Web directory
    in IIS is set to dissallow anonymous access and is set to
    Integrated Windows Authentication. The CFC is in the secured
    directory as well as the Flex app. If I change the CGI variable to
    something like #cgi.remote_addr# among others it works fine so I
    know it's not the actionScript or CFC code. Any ideas as to why
    #cgi.auth_user# is passing as an empty string?? One more caveat. If
    I invoke the function in my CFC from a .cfm page the auth_user is
    displayed as expected.
    ------------------------------------------------------------------------------------------ ----------

    To use RemoteObject with PHP you need to download AMFPHP and
    make some settings.
    To download go here:
    null.
    To understand how to use it with Flex go here:
    null.
    This is a video tutorial of about 7-10 minutes which will show you
    all you need you need to know to set AMFPHP in 'conversation' with
    Flex.
    Good luck!

  • Passing values to subreport that has many records?

    I have a report with a subreport in it and that subreport is a bill that includes things like name, address, etc. My report will run the subreport many times for each bill that comes up.
    I am needing to pass values to text objects in these individual subreports that is information that is obtained in the code. My code works fine when this subreport is ran on it's own but I'm having trouble figuring out how to change the code up to put the information into individual subreports. Here is a simple example of some of my code:
    using (PrintBills reportPrintBills = new PrintBills())
        using (CrystalReportBill reportBill = new CrystalReportBill())
            CrystalDecisions.CrystalReports.Engine.TextObject lblBalanceDue = ((CrystalDecisions.CrystalReports.Engine.TextObject)reportBill.Summary.ReportObjects["lblBalanceDue"]);
            CrystalDecisions.CrystalReports.Engine.TextObject lblName = ((CrystalDecisions.CrystalReports.Engine.TextObject)reportBill.Summary.ReportObjects["lblName"]);
            DataSet ds = new DataSet();
            GetBills(ref ds, "Bills", date);
            DataView dvID = new DataView(ds.Tables["Bills"]);
            num = 0;
            foreach (DataRowView rowID in dvID)
                GetBioInfo(ref ds, "BioData", id);
                DataRow row = ds.Tables["BioData"].Rows[num];
                lblName.Text = row["Stu_Name"].ToString();
                lblBalanceDue.Text = String.Format("{0:C}", row["Amount_Due"]);
                num++;
        reportPrintBills.SetParameterValue("@tblMonth", date);
        reportPrintBills.SetParameterValue("@begdate", strBegdate);
        reportPrintBills.SetParameterValue("@enddate", strEnddate);
        //Export to PDF code here
    reportBill does not display the values obviously. Somehow I need to set that reportBill is a subreport of reportPrintBills in the code so that each record will recognize the TextObject values that I am sending to them.
    Another solution I've tried is adding parameter fields to reportBill and reportPrintBills and linking them up and then passing values like so:
    foreach (DataRowView rowCWID in dvCWID)
        GetBioInfo(ref ds, "BioData", id);
        DataRow row = ds.Tables["BioData"].Rows[num];
        name = row["Stu_Name"].ToString();
        amtDue = String.Format("{0:C}", row["Amount_Due"]);
        reportPrintBills.SetParameterValue("@strName", name);
        reportPrintBills.SetParameterValue("@strAmtDue", amtDue);
        num++;
    But the value stays the same in all of the subreports rather than changing with each pass through.

    Open the report up in the Designer and Click on Edit, Subreport Links. Likely what you can do is use Shared Variables to pass values from the main report to the subreport.
    You need to do this in the report first. If you are using RAS then you can at runtime. If RAS is not available to you then no way in code.
    See these samples:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessIntelligence%28BusinessObjects%29+Home
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also refer to the DSK help files for the Engine or RAS and search on the subreportcontroller.
    If you are using RAS I'll move your post to the SDK forum.
    Thank you
    Don

  • Background Job pass value

    Hi, I am calling a Background job in my program. I am using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE FM to start a job. My need is to pass a value to the job program(job program doesnt have any selection screen values). Is their any way without creating variants each time to pass value to it.
    Please advice.....

    Hello,
    You can first use  JOB_OPEN which returns job number. Then build ranges or parameters to use SUBMIT to call the program.
    Eg: SUBMIT RM06BB20 AND RETURN
          WITH S_EKGRP IN R_EKGRP
          WITH S_EKORG IN R_EKORG
          WITH S_FLIEF IN R_FLIEF
          WITH S_KONNR IN R_KONNR
          USER sy-uname VIA JOB w_jobname
          NUMBER w_job_number.
    Now use JOB_CLOSE.
    Thanks,
    Venu

  • Passing values between adf application and web services

    hi i have a situation where i have jsff page which got username,surname,lastname,email i what to pass this value to my webservices how can i do that. this is how i create my webservicesright click viewControler->web services->web services Data Control
    i what to pass the value to webservices workflow i already have a screen in my workflow now i what to pass the adf application values to that webservices am in jdeveloper 11.1.1.6.0
    i try this
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.start_user_details}"
                                        type="action"/>
              </af:inputText>

    i make my webservices to pass values
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.approveUser_username}"
                                        type="action"/>
              </af:inputText>
    but am geting error reference approveUser_username not found

  • Passing values from a FORM to another FORM

    Hi,
    I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
    Can I use a GLOBAL variable?
    Thanks,
    Marc.

    I think he meant the global namespace.
    You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
    Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

  • Script fails when passing values from pl/sql to unix variable

    Script fails when passing values from pl/sql to unix variable
    Dear All,
    I am Automating STATSPACK reporting by modifying the sprepins.sql script.
    Using DBMS_JOB I take the snap of the database and at the end of the day the cron job creates the statspack report and emails it to me.
    I am storing the snapshot ids in the database and when running the report picking up the recent ids(begin snap and end snap).
    From the sprepins.sql script
    variable bid number;
    variable eid number;
    begin
    select begin_snap into :bid from db_snap;
    select end_snap into :eid from db_snap;
    end;
    This fails with the following error:
    DB Name DB Id Instance Inst Num Release Cluster Host
    RDMDEVL 3576140228 RDMDEVL 1 9.2.0.4.0 NO ibm-rdm
    :ela := ;
    ERROR at line 4:
    ORA-06550: line 4, column 17:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( - + case mod new not null &lt;an identifier&gt;
    &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    &lt;a string literal with character set specification&gt;
    &lt;a number&gt; &lt;a single-quoted SQL string&gt; pipe
    The symbol "null" was substituted for ";" to continue.
    ORA-06550: line 6, column 16:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( - + case mod new not null &lt;an identifier&gt;
    &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; avg
    count current exists max min prior sql stddev su
    But when I change the select statements below the report runs successfully.
    variable bid number;
    variable eid number;
    begin
    select '46' into :bid from db_snap;
    select '47' into :eid from db_snap;
    end;
    Even changing the select statements to:
    select TO_CHAR(begin_snap) into :bid from db_snap;
    select TO_CHAR(end_snap) into :eid from db_snap;
    Does not help.
    Please Help.
    TIA,
    Nischal

    Hi,
    could it be the begin_ and end_ Colums of your query?
    Seems SQL*PLUS hs parsing problems?
    try to fetch another column from that table
    and see if the error raises again.
    Karl

  • Passing values from javascript in pop up window to parent jsp

    Hi
    I am trying to pass values from a pop up window to the main window that popped this child window , with the idea to have the parent window refresh itself with value from pop up window.But the values are not going through.I do a request on the hidden variable but when the parent
    jsp refreshes , the variable is still null...
    The following is the code i have .
    Parent jsp:a.jsp
    <form name='summary'>
    <input type=hidden name=customerid value="">
    <input type="button" class="textButton" name="action" value="customerlist" onClick="javascript:openWin('b.jsp','800','350')">
    <script>
    function openWin(loc, w, h) {
    var newWin = window.openloc,"HTML",'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + w + ',height=' + h);
    newWin.window.focus();
    </SCRIPT>
    <%
    String optionVal = request.getParameter("customerid");%>
    var user = "<%= optionVal%>";
    </form>
    child jsp- b.jsp (pop up window)
    <script>
    function closer(){
    var val = document.formname.id.selected.value;
    window.opener.document.summary.customerid.value = val;
    window.opener.location.reload();
    </script>
    <form name = formname>
    <input type="text" name="id" value = ''>
    <input type="button" class="textButton" value="select"
    onClick="closer();window.close();">
    </form>
    Any ideas on what i am missing
    Thanks
    Arn

    use window.opener.document.forms[0].filedname.value = 'value u need to set'

Maybe you are looking for

  • Buddy gave me his Nano 2g!!! mean message on connecting...

    So my buddy bought a new iPod and i was in the right place at the right time! I took the machine home and promptly hooked it to my keyboard which didn't work and then it worked on the back of my iMac. When i start iTunes i get an error: The iPod "My

  • PDP with classic scenario

    Hello, I am working with SRM 7.0 and ECC 6.0. 1) I would like to know how do you transfer PR to SRM in classic scenario?    Is it the same as for extended classic scenario (using program BBP_EXTREQ_TRANSFER)? 2) How do you create PO in backend for di

  • Delphi vs Java & n-tier development?

    Hello all, Help! I am working for a company which has begun a large development project... what i was wondering is there has been talk of using: a) delphi & corba (seems to be heading this way) b) java & _______ what would be the advantages of coding

  • Moving files in Edge Code

    Is there a way to move files in Edge Code?  It seems to me that it would be a great feature to be able to drag and drop files between different folders.  Is this a planned feature? Thank you, Dan

  • Set up and Initial connection

    Can someone please confirm is this is possable 32" Olevia LCD HDTV, iMac serving up the goodies, 5.1 surround sound system, and all media stored on external firewire Western Digital My Book Drives. Connecting the video through HDMI, audio through an