How send parameter in prerender() function for query

Sir I use requestbean for sending data to next page
Because want use this parameter in query
I get data as per this parameter
But when I call next page not pass parameter value to next page and query use blank parameter
I write code in prerender()
See my code
public void prerender() {
try {
getSessionBean1().getTripRowSet().setObject( 1, parameter1..getValue());
tripDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " + “no record “);
log("Cannot switch to person " + “no record , e);
Please give me idea how I send my parameter in prerender() function for query
Thank’s
aamir

sir i try SessionBean but same as result
sir you see my full problem
I use studio creator
I create two page first for sending data to other page such as user login page
I add property in SessionBean, RequestBean and bind to data with my user name textfield
and in next page I bind to data with other textfield
after this I try to use this textfield use in
public void prerender() {  
try {
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
chartofaccDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " + �noooo�t);
log("Cannot switch to person " + �noooo�, e);
In this line I use that textfiled that bind to data form login page
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
but sir this public void prerender() {   function t not get textfield1 value in this function textfield give me null value
but when page complete run then show value in textfield
it mean this public void prerender() { function run befor  SessionBean, RequestBean and not get SessionBean, RequestBean value
please give me idea how I pass value in public void prerender() { function form other page and I use this value in query
such as example
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
this is my sessionbean query
SELECT ALL FNET.CHARTOFACC.PARENT,
FNET.CHARTOFACC.CHILD,
FNET.CHARTOFACC.ACCID,
FNET.CHARTOFACC.TITLE,
FNET.CHARTOFACC.CAMPID,
FNET.CHARTOFACC.ACTIVE,
FNET.CHARTOFACC.FSTATUS,
FNET.CHARTOFACC.COMHEADID,
FNET.CHARTOFACC.FIX_VARIABLE,
FNET.CHARTOFACC.VARI_PER
FROM FNET.CHARTOFACC
WHERE FNET.CHARTOFACC.CAMPID = ?
please give me idea
thank�s
aamir
SELECT ALL FNET.CHARTOFACC.PARENT,
FNET.CHARTOFACC.CHILD,
FNET.CHARTOFACC.ACCID,
FNET.CHARTOFACC.TITLE,
FNET.CHARTOFACC.CAMPID,
FNET.CHARTOFACC.ACTIVE,
FNET.CHARTOFACC.FSTATUS,
FNET.CHARTOFACC.COMHEADID,
FNET.CHARTOFACC.FIX_VARIABLE,
FNET.CHARTOFACC.VARI_PER
FROM FNET.CHARTOFACC
WHERE FNET.CHARTOFACC.CAMPID = ?

Similar Messages

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • How to use Spell-check functionality for textbox (like Orkut, gtalk)

    How to use Spell-check functionality for tex Hello Friends,
    I am working on a JSP application. I wanted to add Spell check for text box like we have here, when we post a message. It automatically shows red line under the word, when ever spelling is wrong. Please tell me how I can do this. If possible, the code too.
    Thanks.

    I believe the spell checking you see here, or on any other site, is the spell checking built into Firefox. At least that's what I see. Are you using Firefox?

  • How can i debug specail function for VA01

    How can i debug specail function for VA01,For example, I establish one and export type ZA01, the procedure code is ZRVADOR01, how do I debug this procedure?
      thank you!

    First you keep a break point in the program
    Step#1.
    RSNAST00 (on the below mentioned code).
    PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
                                                             US_SCREEN
                                                             IF FOUND.
    and now in VA01 , just start Debugging after you choose the Output type using /H at the command.
    now you will see the Debugging , now choose the menu Settings->Update Debugging
    this will activate the Update Debugging.
    Now Press F8. now another window will open , in that you it will stop near the break point in the step 1 .
    It will take you to the corresponding program/
    Now you Debug and check what ever you want

  • How to pass parameter into extract function (for XMLTYPE)

    I have a table PROBLEMXML with XMLTYPE field xml_column. In this column there are several deffinitions for the problem. There is no max amount of deffinitions and it can be no definition at all. I need to return all definitions for every problem as a string wirh definitions separated by ";".
    Query
    SELECT extract(prob.Def,'/Definitions/Definition[1]/@var') || ';'|| extract(prob.Def,'/Definitions/Definition[2]/@var')
    FROM PROBLEMXML j ,
    XMLTABLE (
    '/problem'
    PASSING j.xml_column
    COLUMNS probid VARCHAR (31) PATH '/problem/@id',
    Def XMLTYPE PATH '/problem/Definitions') prob
    where PROBLEM_ID =1;
    returns exactly what I want a;m.
    But
    declare
    my_var varchar2(2000) :=null;
    n1 number;
    n2 number;
    begin
    n1:=1;
    n2:=2;
    SELECT extract(prob.Def,'/Definitions/Definition[n1]/@var') || '|'|| extract(prob.Def,'/Definitions/Definition[n2]/@var') into my_var
    FROM ETL_PROBLEMXML_STG_T j ,
    XMLTABLE (
    '/problem'
    PASSING j.xml_column
    COLUMNS probid VARCHAR (31) PATH '/problem/@id',
    Def XMLTYPE PATH '/problem/Definitions') prob
    where PROBLEM_ID =1;
    dbms_output.put_line(my_var);
    end;
    returns NULL.
    Is there is a way to pass parameter into extract function?

    I need to return all definitions for every problem as a string wirh definitions separated by ";".In XQuery, there's the handy function "string-join" for that.
    For example :
    SQL> WITH etl_problemxml_stg_t AS (
      2   SELECT 1 problem_id,
      3  xmltype('<problem id="1">
      4   <Definitions>
      5    <Definition var="var1"></Definition>
      6    <Definition var="var2"></Definition>
      7    <Definition var="var3"></Definition>
      8   </Definitions>
      9  </problem>') xml_column
    10   FROM dual
    11  )
    12  SELECT j.problem_id,
    13         prob.probid,
    14         prob.def
    15  FROM etl_problemxml_stg_t j,
    16       XMLTable(
    17        'for $i in /problem
    18         return element r
    19         {
    20          $i/@id,
    21          element d { string-join($i/Definitions/Definition/@var, ";") }
    22         }'
    23        passing j.xml_column
    24        columns
    25         probid varchar2(30)  path '@id',
    26         def    varchar2(100) path 'd'
    27       ) prob
    28  ;
    PROBLEM_ID PROBID               DEF
             1 1                    var1;var2;var3

  • Does anyone know how to use the bcc functionality for apple mail while accessing it on the cloud from my PC?

    I am currently away from my MAC and want to send an email through apple mail with the bcc functionality.  I am using the cloud to get to my mail, however, I can't figure out how to use the BCC functionality, please help.  Thanks!

    Open your mail,
    lower left corner click on settings,
    go to composing and check BCC, save and your done

  • How to setup the fax function for a AOI device

    I read in several post on this forum that people get full print/scan/FAX functionality for the supported printers.
    In my case, I have a HP Photosmart C7280, which is full supported using the C7200 series drivers, including a FAX driver.
    Now, I add a printer in the 'Print & Fax' panel, and right away my printer shows up for bonjour. It finds automatically the correct driver, and works like a charm for printing and scanning, but... No Faxing whatsoever. Also no 'second' printer shows up, with 'kind' HP Fax, as several posts sugguest. Not after a few seconds, not after minutes. Using the 'Fax Devices' tab also doesn't show me any HP Fax device.
    So basically my question is: How do I setup the fax functionality in SL with my printer?
    Yes, it is connected over network, and the fax functions did work perfect over network with the 10.5 drivers from HP. Am I running into SL limitations? Does SL fax-drivers still support the (not optional, but default builtin) network functions of the C7280? Or... Am I just a noob that just can't find out how the setup a Fax device the obvious way
    Thanks
    - C

    Hello mscheidell,
    Yes, I was aware of the 'two' 7200 series drivers, but thank you for checking with me.
    Okay, now how did you 'add' your fax device for your printer? Did it show up a second version of your printer in the 'Add printer' box, with type FAX? Or did you just add the same 'found' printer again, but the second time with the FAX printer drivers (manual selected)?
    Right now, I only get one entry when I try to add my printer into SL: It find the Photosmart C7200 series with 'kind' Bonjour. That's the only thing that will show up in my 'found' printers, even after waiting a few minutes. People in these discussions are telling me there should show up a second 'found' printer with 'Kind' HP-Fax, but that just won't happen for me.
    I also tried to add the same found 'bonjour' printer again, and select manually the 'Photosmart C7200 series - fax' driver. SL tells me then there is already a print queue for that printer, but I tell SL to add this printer anyway. Then I have this C7200 series Fax device in my printing list. Using this driver seems to work fine, I can fill in fax recipients, but hitting the print button, caused the C7200 to spit out it's complete papertray, printed with bogus ascii signs only on the first lines of the page, instead of really faxing that document. So I concluded that this was not the right way to get the fax working....
    Thanks for all the help again.
    - C

  • How to find built-in functions for PL/SQL

    Hi everyone,
    Please can someone help me, I am running version 8i, and I am trying to find out how I can access all the built-in functions for PL/SQL.
    I am new in ORACLE environment and I just want to know all the built-in functions and their usage.
    Thanks
    Maikiki1
    null

    Use the 'Documentation' selection on the left side of the OTN page.
    All of the documentation for Oracle is available.
    You can also purchase the documentation CD-ROM from the Oracle Store.
    The functions are explained in the SQL reference manual.
    null

  • How to define authorization by department for Query in BW

    Hello:
        How to define the authorization by department for Query in BW. as follow:
        The Northern part manager can run any Query, and return the data of Northern part only.
        pls give me the method.
    Regards&Thanks!

    Hi zagory,
    I am assuming that you have some infoobject which contains the department data.
    here is a step by step process to add authorisation on this object.
    1) Define the InfoObject as Authorization Relevant (from the BeX tab in the IO properties.
    2) Create a reporting authorization object for this InfoObject (This would be done through Transaction RSSM).
    3) This new authorization object needs to be added to the relevant roles (Transaction PFCG). For examle your North region manager should be in a role which has access to all the departments in the northern region.
    4) A variable needs to be added to the query. This is required because the query needs to be able to restrict data by department dynamically. You would need to ensure that that the variable you create on the department InfoObject is of type authorisation,can take multiple single values and picks up data from the relevant authorisation object. Just add this InfoObject with restriction on this variable in the filter section in your query.
    5) Finally the new authorization object created in step 2 would need to be assigned to the relevant cubes. This is again done through transaction RSSM. This will force the reporting authorization object to be checked when ANY query on any of these cubes is executed.
    Hope it helps,
    Regards,
    Nikhil

  • How to write perfect refresh function for each module in flex4 web application

    hi all,
      I am doing web application, i am using 5 modules in that,every module in a single page.
    In this application i am using datagrid in last 3 models. the operation is same for the models, select a record from grid then click post it should move to next page.
    In that i am writting init() function . this for showing the last module posted records here while i am entering this model.
    At the panel initializing time the records loading and showing in the gird,
    i written refresh function for this .
    But some times the function working properly and show the records in grid.
    some time it wont show the records.
    refresh function not working properly..
    looking for usful suggession,
    Thanks,
    B.venkatesan.

    hi all,
      I am doing web application, i am using 5 modules in that,every module in a single page.
    In this application i am using datagrid in last 3 models. the operation is same for the models, select a record from grid then click post it should move to next page.
    In that i am writting init() function . this for showing the last module posted records here while i am entering this model.
    At the panel initializing time the records loading and showing in the gird,
    i written refresh function for this .
    But some times the function working properly and show the records in grid.
    some time it wont show the records.
    refresh function not working properly..
    looking for usful suggession,
    Thanks,
    B.venkatesan.

  • UserControl in MV4 - How send parameter for get property?

    Guys, good night! 
    Build a User Control in MVC 4, I'm having trouble sending the values ​​for compomente. ASPX create the SET functions to assign values ​​in userControl. How to do this with MVC. 
    Example 
    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
    <div class="mini-stat clearfix">
        <span class="mini-stat-icon green"><i class="fa fa-gavel"></i></span>
            <div class="mini-stat-info">
                <span>320</span>100 - Pedido  
            </div>
    </div>
    Where has value 320 and 100 - Order, let me make dynamic by calling the parent page. 
    . Aspx I consummated compomente Label to include this <asp: Label ..... /> 
    [] 's

    Tks.
    Post on link 
    http://forums.asp.net/p/1967471/5627909.aspx?p=True&t=635279781887247454&pagenum=1

  • How to add drop down list for query manager report in sap business one

    Hi Every one,
    I need drop down list for parameter selection in sap business one Query Manager.I have two Parameters 'Sales Order','Invoice'.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    you need to use this :
    /*select from [dbo].[OINV] T2*/
    DECLARE @Invoice varchar(100)
    /*where*/
    set @Invoice =/* T2.DocNum  */N'[%2]'
    you can change the tables and the parameter number but you have to write it exactly that way.
    when you run the query within the SBO you will get list of objects ( in this case list of invoices)
    hope it was helpful
    Shachar

  • How to use min-max functions for date in transformation in bpel?

    Hi,
    I have a requirement where i need to map earliest date of a Source field among all the dates to a target field in a transformation file in BPEL. There are functions called max-value-among-nodeset and min-value-among-nodeset in mathematical functions but they can be used only for numbers and strings.How to do these with dates?
    Thanks,
    Prasanna

    I exactly have the same requirement.Are you able to solve this?
    Its very urgent.Please help me.

  • How to set a forecast function for multiple fact cubes

    Hi all!
    We have plan and actual cubes divided by year, they're included in a multi-cube, and on top of that multi-cube an aggregation level is made.
    On this aggregation level we're trying to implement a forecast planning function. But on the "Associated Parameter Record" tab, in "Historic Data Filter" field I can choose only one infoprovider containing the historical data.
    So the function complains that "there's not enough actual data to do forecast" while executing...
    Is there any way to make it work with the data model we're using?
    Thanks!

    hi,
      the historic data selection only restrict your base data for the forcast, but you can´t select any targets.
    standard forcast function forcast based time characteristic as these are changed generally,
    try restricting time or forecast keyfigures
    hope it helps
    regards
    laksh

  • How to disable ' End Employment' functionality for a responsibility

    Dear Experts,
    I want to disable or unable 'End Employment' functionality present in "Enter and Maintain>Others>End Employment" for a specific responsibility of a user.
    What i want is that when that particular user clicks on that functionality, nothing should happen or a message regarding permission from system administrator should appear.
    I appreciate your prompt response
    Regards

    You can check this article (Task Flow). In same way you apply for your requirement.
    How Does One Hide The Salary History Option That Is Available On The Assignment Form From US HR Manager Responsibility [ID 1068012.1].
    Thanks, Avaneesh

Maybe you are looking for