Passing parementer frron forms to menu in oracle 6i form buider

hello guys,
i have to pass parameters from oracle 6i forms to the menus form.
pl tell me how to do this?
thanks & regards
Vishal Agrawal

965354 wrote:
i have set menus.mmx fath to menu module property of the calling form.
my problem is that i have to populate a list box of called form according to the value supplied by calling form.Declare global variable at calling form and use it in called form to populate list box.
but form is called through menus.There is no issue with the menus.
so first i need to pass that value to the menu .mmx and then menu.mmx will pass that value to calling forms.
so please let me know how can i pass a value from form.fmx to menu.mmx.A global variable is available through out the user session. So it's not any other issue to use in within that session. In same session you can use it where you want.
Hope it's clear to you.
Hamid
If someone's response is helpful or correct, please mark it accordingly.*

Similar Messages

  • UPDATE: Pass Parameter from Form to Form While on Seperate Pages

    I'm running 9iASR2 on Linux
    My issues is that In need to Take a Parameter entered on Form1 one a page then upon click of insert I need to pass a parameter entered into that form and naviagate to another page containing 2 portlets 1 being another form and 1 being a dynamic page both of the portlets on the second page need to beable to access the parameter.
    Since my last post I updated the PL/SQL code to better fit the situation and now have a different problem.
    Ok.. So I'm still attempting to do the same thing a about. Here what I tried and the outcome.
    1. I put following code in the succeful submission pl/sql procedure of the first form(the calling form).
    What a suspected the follow code to do was navigate to the page containing my other from in a portlet. Which it did. Cool!
    declare
    url varchar2(220);
    v_FLOWNAME varchar2(220);
    begin
    v_FLOWNAME := p_session.get_value_as_VARCHAR2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_FLOWNAME');
    url:='http://ebalpha3.us.oracle.com:7778/portal/page?_pageid=36,31629&_dad=flowmanager&_schema=PORTALSCHEMA&a.FLOWNAME='||v_FLOWNAME;
    call(url);
    end;
    2. It passed the follow URL http://ebalpha3.us.oracle.com:7778/portal/page?_pageid=36,31629&_dad=flowmanager&_schema=PORTALSCHEMA&a.FLOWNAME=MyFLow
    3. In the accepting form I input the following code in the before displaying the page section of the the form.
    declare
    FLOWNAME varchar2(200);
    begin
    FLOWNAME := portalschema.wwpro_api_parameters.get_value('FLOWNAME','a');
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_FLOWNAME',
    p_value => FLOWNAME);
    end;
    What I expected it to do is take the a.FLOWNAME from the url and input it into the FLOWNAME variable, but the FLOWNAME variable came across as blank and the FLOWNAME text area came accross as blank because the FLOWNAME parameter was never pulled.
    What do you think?
    Thanks for you help!

    I have a similar problem where I have a portlet X which accepts parameters using the <passAllUrlParams>true</passAllUrlParams> tag in the provider.xml and it works if portlet X is directly on page A. However, because I need to wrap portal security around this portlet declaratively, I will need to apply security on this page A and then publish page A as a page portlet Z, then drop page portlet Z on another page, page B. (I hope you all been through this before to apply security around a portlet). By doing this - the parameters are no longer being passed into portlet X anymore.
    To get around this - I will need to define page parameters for page A and map them to portlet X via the "Parameters" tab in edit mode and then define the same set of page parameters on page B and map them to the page portlet Z just to get the parameter passing working and flowing through to portlet X.
    Is there anyway around this?
    Do we always need to define page portlets in 10.1.4?
    What does the <passAllUrlParams>true</passAllUrlParams> tag do in 10.1.4?
    In 10.1.2 - the <passAllUrlParams>true</passAllUrlParams> tag was all you need to pass any number and type of parameters from a page B->page-portlet Z->portlet X
    This feature seems to be missing in 10.1.4.
    Please respond.
    Thanks
    Stanley

  • How pass parameter from Form to Graphics through Report?

    I wrote a Report called by a Form and pass a parameter from the
    Form to the Report, successfully! But I imported a Graphic in
    the Report, and the Graphic could not get the parameter...(the
    parameter in the Report and Graphic should both pass from the
    Form).
    I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    and I imported the image from file for the Graphic in the Report.
    Thanks for your help!
    null

    Meilan (guest) wrote:
    : I wrote a Report called by a Form and pass a parameter from the
    : Form to the Report, successfully! But I imported a Graphic in
    : the Report, and the Graphic could not get the parameter...(the
    : parameter in the Report and Graphic should both pass from the
    : Form).
    : I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    : SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    : and I imported the image from file for the Graphic in the
    Report.
    : Thanks for your help!
    Meilan,
    This forum is for Headstart related questions and experiences
    only. Please go to metalink.oracle.com to get more information on
    your problem.
    Regards,
    Ton
    null

  • How to Pass Multiple Parameters To ReportReuest Method in Oracle  BI 11g

    Hi,
    Am integrate Oracle BI Publisher 11g via Web Services in Oracle Forms,For that am developing code in PublicReportServiceClient Class. This worked properly with out passing parameter to the report. so how to pass parameters to the report . If Report is requried some Parameters to generate report.
    If any one knows about How to Passing Multiple Parameters to ReportRequest Methos in Oracle 11g. Pls help me.
    Am trying with the below code for PassParameters to ReportReuest Method in Oracle BI 11g. But by using this code am able to pass only one parameter to the Report, not for multiple Parameter Passing.
    ArrayOfParamNameValue PnameValue=new ArrayOfParamNameValue();
    ParamNameValue Namevalue=new ParamNameValue();
    Namevalue.setName("P_SNO"):
    ArrayOfString aos=new ArrayOfString();
    aos.getItem().add("2");
    Namevalue.setValues(aos);
    PnameValue.getItem().add(Namevalue);
    ReportRequest RepReq = new ReportRequest();
    RepReq.setParmeterNameValues(PnameValue);
    Following method  callRunReport() with an array of parameters used in Oracle Bi 10g,To pass multiple report parameters to ReportRequest method.
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, Stringusername, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale(“en-US”);
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);

    Ramani_vadakadu wrote:
    window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
    the above code we are using apex JS to BI publisher calling for report as PDF
    i don't know exactly where your parameters , did you customize my link to multiple parameters
    'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); 

  • How to pass PARAMETERS to FORMS while calling them through URL

    Hi,
    I am working on integrating EBS with OBIEE as per the doc id 552735.1(metalink2)
    In the Document, Oracle had given an example for genating the URL in OBIEE as follows,
    SELECT
    HEADER_ID,
    fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_APPL_ID) AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_ID) AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_SEC_GROUP_ID) AS NUMBER),
    'HeaderId='||HEADER_ID||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO
    &pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    NULL) as ORDER_HEADER_ACTION_LINK_URL
    FROM OE_ORDER_HEADERS_ALL
    But this one navigates to the JSP page of sales orders. Its working fine,
    h3. Problem :_
    If i want to navigate to Oracle forms(say Sales Orders),
    i'm able to navigate, by giving the 1st param as '5522'(Sales order Form ID(ONT_OEXOEORD)) and 5th parameter as NULL.
    The 5th parameter is used to navigate to a particular record.
    But i dono how to pass the parameters to this particular Sales Order Form..!
    (like here they hav passed HEADER_ID in a particular format)
    {I guess, this might not be understood totally with this given data here, but i don want to make this post too big.}
    CAN ANYONE PLEASE TELL ME, HOW TO KNOW THE FORMAT OF THE "PARAMETERS" TO PASS(WHILE GENERATING URL)_WHILE CALLING AN ORACLE FORM.._
    Thanks in Advance..!!

    Hi,
    In addition to the above...
    if i give the 5th parameter as, 'HEADER_ID=||'header_id { in runtime it'll be converted as 'HEADER_ID=5432..}
    I'm not getting any error, getting a fresh Sales order page..!! { The given Header ID is ignored }
    else if i give something like 'HEADER_ID=||'header_id||'&FunctionName=ONT_OEXOEORD...' { lets say }
    its throwing the following errors..
    FRM-47023: No such parameter named G_QUERY_FIND exists in form OEXOEORD.
    FRM-40105: Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    FRM-47023: No such parameter named ORDER_NUMBER exists in form OEXOEORD.
    and then it shows up the Navigator.
    Requirement :_
    How to pass parameter to a form while calling them through URL.
    Thank you,

  • Pass variables between form

    Hi,
    I'm using oracle forms 6i.
    How can i pass variables between forms?
    Consider the scenarion of a login form.
    After a user logged in successfully, a new form appears , where his name should be displayed
    like 'Welcome <user>'
    So name should be passed form login form to the home page.
    Is it possible with Oracle?
    Divya

    Arif,
    -- Your CodeTo format a number of lines, write  at the ending and to begin the code area write .
    -- Line of Code
    And if you want only 1 line to be formatted then use >.
    Regards,
    Manu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • PASSING DATA FROM FORM TO REPORT (how to on the same page?)

    Hello everybody
    yes, i know it is built in a two pages design where the first holds the form and the second the report, but I want it both on the same page so that one can see what he has on the report while adds his own row to the table. Well I could do creating a form and then editing the page and then add another region. Alright. But then i dont know how to relate them together so that the data pass from the form to the report.
    Besides, the Form for filling the data needs to pass them to two separate tables, because one table contains the particulars of the location and the other the comments about each store. Easy to do that on PHP and mysql but here I am lost.
    Second thing that is driving me nuts is that I created a table named location so as to street postcode for a store, and another one for evaluation so that customers or workers add a a row evaluating services etc.
    Well, I am trying to create that form i first talked about that would hold all the fields and I am doing it out of a SQL query that picks the definitions from both tables. My XE is completely empty from any leftovers of other applications etc. I make the equijoin alright
    select l.loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    and i get this annoying error all the time
    ORA-20001: Unable to create form on equijoin. ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" has same name as existing application-level item. ORA-0000: normal, successful completion
    well, if that form is made up of both tables, it will definitively have to have something in common with them! how is the item name suppose to have another name? it is made with the wizzard so supposedly the wizzard should know it but I have tried for two days 14 hours each day.
    any indication as to how solve this would be priceless for me
    thank you
    Alvaro
    =========================================================================================================
    Edited by: user12155340 on 14-Nov-2009 03:38

    I'm just guessing, but it appears since you are selecting loc_id twice (once from each table) there are two items generated called P2_LOC_ID, and that's simply not possible (well - how would the application know which one you mean if there could be two with the same name?).
    Maybe it's worth trying the following:
    select l.loc_id as "L_LOC_ID", l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id as "E_LOC_ID", e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    Another option is creating a view on the two tables (of course you must use 2 different column aliases for the two loc_id columns in the view too, otherwise you will receive an ORA-00957: duplicate column name) and use the view for creating reports and forms - however, automatic row processing works just on one table, so you would have to create your own processes to perform the DML...
    Edit: I just saw you already got this answered in the APEX forum.
    Holger
    Edited by: schweich on Nov 18, 2009 7:58 AM

  • Any way to access params passed in URL  implementing JSR 168 on Oracle Appl

    I'm trying to access the params passed through URL like : http://hostname:7777/portal/page/portal/Wes%20store%20Sample/OnlyOnePortal
    webStoreId=100&Id=10000
    I have create a portlet with jsp implementing JSR 168 on Oracle Application Server 10g
    But unable to access them in either actionProcess() as well as render() using actionRequest and renderRequest as well.
    I wonder will this possible with JSR 168 to access params passed in URL in any way
    Can any body help me do this

    access params passed in URL  implementing JSR 168 on Oracle Application Ser

  • Pass loginid to form on startup

    Hello,
    I would like to pass the userid to a form through the formsweb.cfg file.
    Currently, we are using forms6i in a sort of web based setup. When a user attempts to signin to an application, they first sign in to the network sso setup via a browser. The login is then passed to the form from the browser via an shtml page, browser variable. This is performed using html coding. Such as
    <PARAM NAME = "serverArgs" VALUE ="module=ifi_main cams_session=<!--#echo var="HTTP_CAMS_HTTP_USER"-->">
    I am trying to convert to 10g, using a named configuration, and need to trap the user login from the browser variable and pass to the formsweb.cfg file. However, if I try to use $HTTP_CAMS_HTTP_USER, it just shows the literal string. I am not quite sure how to go about this.
    I have put in the html code to print -n the user:
    <!--#exec cmd="ksh 'print -n $HTTP_CAMS_HTTP_USER'"-->
    and it shows on the new .shtml page, but I can't get the forms servlet to see the variable. Even if I put it in the named configurations app.env file setup.
    Can a variable be passed to the userid= parameter in the formsweb.cfg?
    Thank you,

    it seems to be simple:
    1) create (hidden) item on detail form for master_table_key field,
    set its Item Source = database column, all other settings - defaults
    2) for CREATE button on report, which opens detail form,
    in its URL Redirect block add Set These Items & With these Values to pass value to the new field

  • How to Pass Parameter a form to another form ?

    Hi,
    I want to pass Parameter a form to another called form.
    What are the steps i want to do.
    Please guide me
    kanish
    Edited by: Kanish on Jul 21, 2010 11:38 PM

    Besides the two options FormsEleven gave, there's a third one: package variables.
    Create a package in a Forms library, define a variable in the package specification.
    Start the form with call_form/open_form with the option "SHARE_LIBRARY_DATA".

  • Pass parameter to form from webpage?

    Hi guys,
    I'm aware that you are able to pass parameters between forms using CALL_FORM (using parameter list).
    Is it possible to pass parameters to a form from the webpage?

    i am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
    I am using the followin url to pass the parent id
    http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223

  • PASSING DATA FROM FORM INTO REPORT (how to on the same page)

    Hello everybody
    yes, i know it is built in a two pages design where the first holds the form and the second the report, but I want it both on the same page so that one can see what he has on the report while adds his own row to the table. Well I could do creating a form and then editing the page and then add another region. Alright. But then i dont know how to relate them together so that the data pass from the form to the report.
    Besides, the Form for filling the data needs to pass them to two separate tables, because one table contains the particulars of the location and the other the comments about each store. Easy to do that on PHP and mysql but here I am lost.
    Second thing that is driving me nuts is that I created a table named location so as to street postcode for a store, and another one for evaluation so that customers or workers add a a row evaluating services etc.
    Well, I am trying to create that form i first talked about that would hold all the fields and I am doing it out of a SQL query that picks the definitions from both tables. My XE is completely empty from any leftovers of other applications etc. I make the equijoin alright
    select l.loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    and i get this annoying error all the time
    ORA-20001: Unable to create form on equijoin. ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" ORA-20001: Error page=2 item="P2_LOC_ID" id="1324114494879878" has same name as existing application-level item. ORA-0000: normal, successful completion
    well, if that form is made up of both tables, it will definitively have to have something in common with them! how is the item name suppose to have another name? it is made with the wizzard so supposedly the wizzard should know it but I have tried for two days 14 hours each day.
    any indication as to how solve this would be priceless for me
    thank you
    Alvaro

    This should be so:
    A person goes to work to place A
    At the end of the day, he or she goes into the web fills the form and clicks the botton. Then, he or she has added a row to the form. As simple as that. But bear in mind that that form is comprised of data about the address and the comments, which are completely different entities, and not all elements of each entity is to appear in the report. That is why they have to go to two tables on the background and then the report pick from each table what it wants to show publiclly.
    What I am actually trying to do is passing the values from the form into the two separate tables Location and Evaluation. Then I have already placed a select query under the report and I have seen that it updates itself as I manually filled the two tables so this process works fine. What I need is, instead of filling the tables manually as I am doing, fill them through the completion of the textfields of the form. This is so because not all the fields have to be shown on the report, for example, the person reporting will remain anonimous and that is something I am able to do by simply not including him in the select query of the report.
    I am like exploring now the edit page possibilities and indeed I have discovered that the button of the Form that says create is associated with a Insert request on the database. Also i have seen that the way this works is by something like this P3_POSTCODE, &P3_POSTCODE where P3 is the item and &P3 is the value that is in the textfield associated with that item name.
    Edited by: user12155340 on 14-Nov-2009 11:05

  • How to verify the user information pass by the form with a stored procedure?

    Hi,
    I would like to know how to verify user information pass by the form with a stored procedure.
    I want make a portal which accepts to new user registration, but I want verify the new user's informations (like the name don't contain a number etc).
    Thanks for your help
    regards
    jla

    Hi Samson,
    You can use the UI API to do this. You can catch the form_ADD event and then validate the input from the users. You can even block the event from completing (and stop the document from being added) if your code finds some incorrect data using the bubbleEvent functionality.
    I don't have one specific example to show you, but if you look at some of the SDK samples (for example C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\02.CatchingEvents) to see how to work with events, you can then create your own validation to ensure the users data is valid.
    Regards,
    Niall

  • Passing values to form bean string array from dynamic added textboxes

    Hi,
    I am unable to pass values to form bean string array from a jsp in which I have incorporated dynamically adding of textboxes in javascript.
    I have given add/delete row option in the jsp. If there is single row, this is working fine. But after adding a row, I am not able to either do any validations on added textboxes or pass the values to the String array form bean variable.
    code snippet:
    var cell6 = row.insertCell(4);
    var element5 = document.createElement("input");
    element5.type = "text";
    element5.className = "formtext1";
    element5.size = "5";
    element5.value = "00.00";
    element5.name= "qty"; // this is a string array of the form bean.
    element5.onchange=function() {checkNumeric(this);};
    cell6.appendChild(element5);
    <html:text styleClass="formtext1" property="qty" value="" size="5" styleId="qty" onchange="checkNumeric(this)"/></td>
    form bean declaration
    private String[] qty; Please help.
    Edited by: j2eefresher on Jan 12, 2010 11:23 PM

    Shivanand,
    There's no need to post that much code when you could create a very short test case that demonstrates only the problem you are having.
    You're using &NAME. notation on something that isn't a page or application item. You can't reference PL/SQL variables that way (or any other way) outside the PL/SQL scope. For your situation, you could create a page item named P55_DOCID and assign it a value in the PL/SQL process (:P55_DOCID := DOCID;), then reference &P55_DOCID. in HTML areas like the success message.
    Scott

  • Passing values to Forms

    I created a report and a form in 9ias portal. I want to pass a value from the report to the Form (not the Rowid). Can any body let me how can I do that?
    thanks,
    ajay

    DeltaGeek wrote:
    BarryC wrote:
    Thank you.
    Do you happen to know of any tutorials/examples showing various methods of passing values between forms?The same way you pass values anywhere else. When you create your child form, give it a reference to the parent form or references to the data that will be changed. If you feel like making your code more modular, create a class specifically to hold the entered data and be passed anywhere you need.An application context, in effect

Maybe you are looking for

  • TAble for PO Release date

    Hi all, Plz tell me the table in which i can get PO Release date. Best Regards, Savita

  • Flash Builder 4 and Blaze Data Services wizard

    Hello, My project uses BlazeDS for backend and Flex for frontend. I use Data Services wizard to auto generate the valueObjects from the corresponding Java classes. But the generated code does not seem to implement object inheritance. The valueObjects

  • Finder Invisible Files

    Hi, I've noticed that sometimes after I expand a zip or rar archive that I can't see the extracted files in the Finder. The fies are visible under the command line but finder doesn't seem to register them. Can anyone suggest what is causing this? The

  • Labview 8.5 project crashes when searching for callers of missing lvlib

    I have done a search and reviewed previously reported crashes with LV8.5, but did not find a match to what I'm seeing. SYNOPSIS: When selecting Find > Callers, under the project Dependencies, LV crashes as shown in the image below. I created a new pr

  • Weird problems after System updates

    I downloaded updates for iTunes and Java earlier this week, and now I have some weird behavior going on with my iMac. I'm running 10.5.8 and Safari 5.0.2. When I'm using the computer the windows have started jumping around, moving from side to side,