Open window in another form

Hi, let's say I'm workin on a form an when I press a button another window should open. The problem is that this window is part of another form.
my question: How can I open that specific window?
If I use call_form it opens the complete form and not the specific window I want.
Is there a way to only open the desired window?
thanks in advance

D D,
This is the code to open the called form:
Declare
pl_id PARAMLIST;
pl_name VARCHAR2(10);
BEGIN
-- Create parameter list --
pl_name := 'temp';
pl_id := get_parameter_list(pl_name);
IF NOT ID_NULL(pl_id) THEN
destroy_parameter_list(pl_id);
END IF;
pl_id := create_parameter_list(pl_name);
IF ID_NULL(pl_id) THEN
MESSAGE('Parameter list creation error');
RAISE FORM_TRIGGER_FAILURE;
END IF;
-- Add parameter to the list --
add_parameter(pl_id, 'BLOCK_NAME', TEXT_PARAMETER, 'billed_contracts1');
-- Call the form with the parameter list
Open_form('Mecoms_custom_billing', ACTIVATE, NO_SESSION, pl_id);
END;
In the called form (Mecoms_custom_billing) you have to create the parameter which name is : BLOC_NAME (VARCHAR2(60)), and a When-New-Form-Instance trigger that test this parameter:
If :parameter.block_name is not null then
Go_Block( :parameter.block_name ) ;
End if ;
Francois

Similar Messages

  • You cannot open window  Service Call Form with your current license  8.8

    Hi Expersts,
         I am trying allocate license for users in 8.8 (PATCH 09) , I am assigning properly but when log in to assigned user i am continously getting the following error. again i checked license has been allocated correctly. it is a CRM License
    Kindly help
    You cannot open window [60110] Service Call Form with your current license
    Regards
    Mohamed

    Dear Mohamed,
    This issue probably occurs due to the application error described in the SAP Note [1456922|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1456922].
    When login B1 with incorrect upper/lower cases for the user name (eg. The user name is registered "manager" but login as "Manager"), the user can login successfully but fails to open a certain form window the user has permission.                                                        
    This issue is planned to be fix in a Patch of 8.8.
    As workaround, until the issue will be fixed, the users should use exactly the same user name as itu2019s represented in the OUSR table, with case sensitive user code.
    hope it helps,
    Regards,
    Ladislav Meszaros
    SAP Business One Forum Team

  • Copy SapScript Window to another Form?

    Hello,
    is it possible to copy a window from an existing SapScript form to another form (on the same client)?
    If so, how can this be managed?
    Thanks in advance,
      Arne Schultz

    Hi Frnds,
    We can accomplish this task by following below steps:
    1: Go to source window in Script. Click on change editor and make it to New editor then copy    the whole/ ur wish .
    2. Come to Target window (In Some other script) do as like above and paste here.
    Regards
    Yuva Thulasi

  • Open form in new windows from another form

    hi,
    I have module for departments, and one for employees
    and I have push botton, I need when_button_pressed to open form employees in new window ( to view the employees in that department)
    I used this code
    open_form('Employees')
    but it gives me an error: FRM-30203: No items on block EMPLOYEES.
    FRM-30407: Block must have at least one database item.
    Block: EMPLOYEES
    FRM-30113: Block must have non-query-only database item.
    Block: EMPLOYEES
    Created form file C:\Users\m\Desktop\New Folder\MODULE1.fmx
    and when I click the button I get error FRM-40010 cannot read from employees
    any help would be appreciated

    but I created new module for employeesOk, so make sure that this new module contains a block EMPLOYEES, save the module as EMPLOYEE.fmb and create the fmx. Make sure the fmx is created and is located in a directory listed in the FORMS_PATH in your default.env (assuming you use 10G)

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

  • Forcing link in one web based PDF to open link to another PDF in new browser window

    We have created a form using LiveCycle Designer ES2.  The form is found on our website and is used by faculty to submit proposal information to our office.  Depending upon the answers to questions in the form if they say yes we had a link to another form that we would like them to complete and submit with the original PDF that they are working on.  The problem that we are having is that when they click on the form it opens the new PDF and all the data that they had entered in the original PDF is gone once the new form opens up.  Is there a way to force the new PDF via the use of some scripting that can go along with the link, or via the use of a button that can force the new form to open in a new browser window?  It is impractical for us to expect 1500 faculty members to change their browser settings to open new PDF's in a new window.  We have removed the links for now and have just put in text that says if they select yes they need to go out and complete the additional form.
    The form we are using can be found here: http://spo.usu.edu/files/uploads/SP-01.pdf
    The first three questions on page two where we reference the other forms is where we would like to be able to add the links to the new forms and have them open in a new browser window.  When the form is downloaded and opened in Adobe Acrobat/Reader the links functioned correctly, it just did not function properly when it opens in a browser.
    Thank you in advance for any assistance you can offer in regards to this issue.

    I used a button, removed the border/fill properties and underlined the caption to look like a URL.
    The click event is...
    // form1.page1.subform1.urlBtn::click - (JavaScript, client)
    app.launchURL("http://spo.usu.edu/files/uploads/SP-01.pdf",true);
    The PDF will open in a new window or tab, depending upon the browser configuration.
    Steve

  • Opening Another Form and other Qs

    I am very unfamiliar with Java, and could do with some help with the following :
    How do I call another form to open from an existing form, which is from a different file?
    How do I disable the 'Close', 'Maximize' and 'Minimize' buttons on the top right corner of a form?
    In Visual Basic, I remember learning something like app.path to reference to the path which the file is in. Is there any similar code to do this in Java?

    How do I call another form to open from an existing
    form, which is from a different file?Ther are a couple of ways you can acheive what you want. If you want a whole new window you just create a new Frame
    Frame newframe = new Frame("my new frame");
    newframe.setvisible = true;Otherwise if you just want to cycle through forms in a frame check out the CardLayout and JTabbedPane classes.
    How do I disable the 'Close', 'Maximize' and
    'Minimize' buttons on the top right corner of a form?Look at the API for frame, I know there is a setSizeable (or something to that effect) I think there are options to remove other buttons.
    hope that's a good start.

  • How to open a form based on the the parameter in another Form

    I created a button in a form (FORM1). By clicking this button, I want to open another form (FORM2) based on the a value of one key field in this form(FORM1). Both forms have the same key field.
    So, I wrote the following codes behind the PL/SQL Button Event Handler of the custom event for the button that I created in FORM1.
    v_inventory_num:=p_session.get_value_as_NUMBER(
    p_block_name => "_master_block",
    p_attribute_name => 'A_INVENTORY_NUM',
    p_index => 1
    if v_inventory_num is not null then
    portal30.wwa_app_module.set_target('/pls/portal30/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=5958032800&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=A_INVENTORY_NUM&p_arg_values='||v_inventory_num,'CALL');
    end if;
    end;
    I could not open the FORM2 by clicking the button on FORM1.
    However,I can open the FORM2 by click the button by using the following code.
    portal30.wwa_app_module.set_target('/pls/portal30/PORTAL30.wwa_app_module.new_instance?p_moduleid=5958032800','CALL');
    How could I pass the parameter in FORM1 into FORM2 and when the FORM2 is opened if has already been queried with the passed parameter?
    Your help would be highly appreciated!
    Jeffrey Wei Ye

    Hi:
    Thank you for reply to my question.
    I have tried your codes and apply them the following the form. However, I always got the following error:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    My codes is:
    declare
    request_no number;
    blk varchar2(30) := 'DEFAULT';
    l_url varchar2(4000);
    begin
    request_no := p_session.get_value_as_NuMBER(
    p_block_name => blk,
    p_attribute_name => 'A_WORK_REQUEST_ID');
    l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
    portal30.wwa_app_module.set_target(l_url,'call');
    end;
    then,
    I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
    e.g.
    l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
    portal30.wwa_app_module.set_target(l_url,'call');
    However, I still get the error message as below:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    Your help would be highly appreciated.
    Wei Ye

  • Opening of an ADF applcn in a new browser window from another ADF applcn.

    The requirement is in the form of a usecase below, can you please let us know how could we resolve this.
    Let us consider we have two ADF applications A and B. Once ADF application A is rendered, in one of the pages of Application A there is a link which takes us to Application B. We want to open the ADF application B in a new browser window.
    There is one more restriction here, the first time the link in Application A is clicked it should bring up the Appliciation B in a new window say W2 , later on if the person clicks multiple links from Application A it should refresh the exisiting open window W2 with the Application B. i.e we do not want multiple windows to come up for a single link.
    I do see the commandlink has a usewindow=true ,this is the functionality we want. basically the first time the link is clicked a new window should pop up, later on every click of the command link we want to refresh the same open window which had come up the first time the command link was clicked.
    Edited by: user504058 on Nov 9, 2010 6:05 AM

    I did try using the Golink with targetFrame with all the values "_blank", "_parent", "_self" , "_top". with targetFrame value set as _blank it brings up multiple windows.
    Let me be more clearer, I do have application A in browser window say W1 and when i click a link from Application A present in browser window W1 the Application B should open up in new browser Window W2. And further on simaltaneous clicks on the link in Application1 should only refresh the Window2 with Application B.
    i.e, at any given time i want only two windows to be present i.e, W1 and W2.

  • Frm-92101 happens when I open a form from another form and close it.

    Frm-92101 happens when I open a form from another form, check something, show a message to the user and exit the form to the previous form.
    Forms version: 10.1.2.0.2. Java: 1.6.0_23. Browser: IE6
    When I put before the "EXIT_FORM" two messages, everything is fine and the second form is closed and I repeat to the first form just as I wanted.
    In forms 9.0 it didn't happen.
    Does it have a connection with the fact I use JRE instead of JInitiator?
    Thank you.

    >
    There are numerous causes of the FRM-92101 error. I recommend you start your investigation by tracing your Forms session so you can see what your form is doing when the error occurs. Check out My Oracle Support document How to Use Forms Trace with Forms [ID 209372.1] for information on how to enable the trace. Also, take a look at My Oracle Support document Known Causes of FRM-92101 Error In Forms [ID 604633.1].
    Hope this helps,
    Craig
    >
    I have just found that there is a "Synchronize" command in one of the main attached libraries, and when I comment that command the application works well. But I don't want to comment it because it's a great library and I assume it has a part in the system.
    I have discovered that in the new Forms' help, the fact that the System.Current_Item mustn't be null so the command "Synchronize" will work, is mentioned. In the old Forms' help, that fact is not mentioned.
    So I tried to put it inside a condition that checks if the current item is not null, but the compiler doesn't recognize the "current_item". I don't know why. Because it's a library? So how can I check this? I can sent it as a parameter, but I don't want. Do you know something about it? Thank you.

  • Moving tabs from one window to another makes the new window vanish. I have hot corners enabled so when I move up to the right corner of my display I can see all my open windows but when I click on the tab that I moved to make it its own window it vanishes

    Moving tabs from one window to another makes the new window vanish. I have hot corners enabled so when I move up to the right corner of my display I can see all my open windows but when I click on the tab that I moved to make it its own window it vanishes

    I came up with an alternative solution.
    Instead of actually trying to move the JInternalFrame from one JDesktopPane to another, I added a single, maximized JInternalFrame to the left side. When one of the right side frames is to be docked, I merely copy its ContentPane to the single JInternalFrame on the left, set the original to be non-visible, and adjust the properties of the JSplitPane to make the "docked" frame appear.
    When the "close" button on the docked frame is pressed, I simply undo this procedure to "undock" the frame and redisplay it on the right-hand side (with its content intact from the docked frame, but in its original position).

  • Opening & pre-populating a form from another form

    I am designing a form with Designer 7.0 whereby the user enters data into repeating subforms. This data is used to populate another form which repeats according to the number of instances created in the first form. I am wanting to create a button on the first form which the user can click so that the second form is opened and already populated with the data from the first form (which remains open). I am unsure how to go about this. Can anyone suggest some script which would get me started?

    You could also use OPEN_FORM(form_name,ACTIVATE,SESSION). This opens the second form in an independent session which will allow you to toggle between forms and commit on a single form only.
    Creating independent sessions is usually appropriate for forms that access different tables and independent logical transactions.
    The Oracle Forms Runform must be running with the Session option turned on when you use the session parameter in the OPEN_FORM call.
    Dpending upon your requirement, you may use OPEN_FORM or as Bogdan suggested use the RUN_PRODUCT with ASYNCHRONOUS option.

  • Different messages on COMMIT_FORM ,when form is opened from another form

    hi,
    problem is when open form from another form. After change some data and execute COMMIT_FORM, message is : No changes to apply.
    Interesting is that when exit and open form again, changes is SAVED !?.
    If open that form directly, message is that like should be ( Transaction completed...).
    Has anyone idea where is problem?

    Hello,
    While calling the form try with 'DO_REPLACE' option.
    Thank U.

  • Open the form from another form...

    How can I open the form from another form with the PL/SQL code???
    The my form are create from OracleDesigner and developed with OracleBuilder.
    Regards
    Basilisco Giorgio

    You can read "About calling reports, displays, and other forms from generated forms" topic in the Designer on-line help. By the way in Forms there are CALL_FORM,OPEN_FORM and NEW_FORM built-ins.
    Helena

  • Another user or another operation modified data,to continue open windows

    Saludos Estimados:
                                    tengo la siguiente situación, tengo un cliente que gestiona sus cuentas a nivel articulo, estamos actualizando sus cuentas ya que algunas apuntaron mal, pero cuando lo hacemos por DTW manda el siguiente error
    another user or another operation modified data,to continue, open windows again (OBDC-2039) Application-defined or object-defined error65171

    esta es la nota de SAP  que nos sugirio y se soluciono.
    When you update the warehouse info via DTW, you need to set the LineNum value in ItemWarehouseInfo that corresonds to the warehouse in Item Master Data.
    That means the LineNum value match warehouse list number minus 1.
    In your case it seems you just used 0,1,2,3,4 but it does not necessarily match the order of the warehouses.
    So for example if you have 4 warehouses in the database
    1 Test
    2 Ware
    3 House
    4 DTW
    then when you update properties of the warehouse the LineNum is 0 for warehouse Test, 1 for warehouse Ware and so on (please refer to note 1328706).
    Should you have any further questions related to this issue please do not hesitate to contact us.
    Kindly confirm the message at your earliest convenience after successfully testing it.

Maybe you are looking for