How to call a Jclient form from another project?

In my workspace, there are three projects. One is for business components. The other two are Jclient forms applications. Can I open a Jclient form from another Jclient form in another project?
I used to create multi_form accounting application using Oracle Form Builder in which I can call a form from another form.

Just set one project to be dependant on another in the project settings dialog of the former. This should work.

Similar Messages

  • How to open a JClient Form from another JClient Form in different project?

    Sir,
    In my application, there are two model projects Ma and Mb, and two view projects Va and Vb. There two forms Fa and Fb in Va and Vb respectively.
    Now I like to open form Fb within form Fa. How can I do that?
    Please give me some code so that I can fully understand. Thanks a lot.
    Regards
    Stephen

    Here is how I got it working
    1. open the projects and make sure the Dependencies are checked for the other project
    2. open the JClient client project that contains the calling form
    3. select the databinding.cpx file and you see that one datacontrol is used
    4. To add the other datacontrol (the other BC project) select an attribute from it in the data control palette and drop it to the calling JClient panel.
    5. Delete the create item because all that we care for is to get the the second data control registered in the project's cpx file
    6. Open the databinding.cpx file of the second (the called JClient project) and copy everything between the <containee> elements into the clipboard. Note that you can have one or more of them
    For my example, the databinding.cpx content of the second JClient project contained the following binding reference
    <Containee
    id="FormUIModel"
    ObjectType="BindingContainerReference"
    FullName="mypackage3.FormUIModel" >
    </Containee>
    7. Open the databinding.cpx file of the calling project in a text editor and paste the content of the clipboard to it. Save the file.
    8. Add the following code to a button that calls the JClient form in the other project (in my example the called form has a name of "Form" and is in a packe mypackage3 that I imported
    Form frm = new Form();
    frm.setBindingContext(panelBinding.getBindingContext());
    frm.setVisible(true);
    The reason you have to do all this is because the binding context is passed from one form to the other, which means that its databinding.cpx file need to contain all the binding information.
    You could make your life a lot simpler if you don't use two model projects. But this is your design decision and i can only tell you how to get it working.
    Frank

  • How to call a swing form from another swing form by clicking a button

    i created a swing frame , this frame have a form and an internal form. in this form have 3 buttons OK , CANCEL , NEW. i created some other forms i.e OKFORM, CForm,NForm. i want to invoke the OkForm when i click OK Button, Similar implimentation for other buttons too. i want the button logic to invoke other form. please send reply ASAP.

    A great resource that has helped me and will probably help you is an article entitled [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html] . It will tell you how to formulate your questions so that the folks here will be better able to answer them.
    For instance, just what is a form?
    I notice that you've posted twice before and that both posts stimulated responses like mine, responses that asked for clarification, and that you never replied in either of the previous threads. Again, I urge you to read the link above ASAP, else you will find fewer and fewer people interested in helping you.
    Good luck.

  • How to call a Java class from another java class ??

    Hi ..... can somebody plz tell me
    How to call a Java Class from another Java Class assuming both in the same Package??
    I want to call the entire Java Class  (not any specific method only........I want all the functionalities of that class)
    Please provide me some slotuions!!
    Waiting for some fast replies!!
    Regards
    Smita Mohanty

    Hi Smita,
    you just need to create an object of that class,thats it. Then you will be able to execute each and every method.
    e.g.
    you have developed A.java and B.java, both are in same package.
    in implementaion of B.java
    class B
                A obj = new A();
                 //to access A's methods
                 A.method();
                // to access A's variable
                //either
               A.variable= value.
               //or
               A.setvariable() or A.getvariable()

  • How to call a rtf template from another rtf template by passing a value

    Hi Gurus,
    Its about calling a rtf template from another rtf template by passing a value.
    My requirement is like:
    I got a quote report from Siebel, based on the product PartNumber I need to pull product description or literature from another database database.
    My approach is something like; get a partnumber from quote report pass it to another rtf template which uses the partnumber and get the data from table using DataSource. When user pull a quote report from siebel this new rtf template should attach to the quote at the end.
    I've gone through all available blogs about sub-reports and white papers from Oracle they are not much helpful since I need step-by-step.
    http://www.adivaconsulting.com/adiva-blog/item/36-working-with-rtf-sub-templates.html
    bip-subtemplate-1-132933.pdf
    I'm using 10g obiee integrated with Siebel.
    Just started learning BIP.
    Thanks in advance.
    Edited by: 911927 on Apr 2, 2013 8:56 AM
    Edited by: 911927 on Apr 2, 2013 8:57 AM

    How to call a rtf template from another rtf template by passing a value try in main template create hyperlink of url with parameters for another template
    http://bipconsulting.blogspot.ru/2010/02/drill-down-to-detail-or-another-report.html
    When user pull a quote report from siebel this new rtf template should attach to the quote at the end.it'll be only another report
    IMHO you can not attach it to main. it'll be second independent report
    you can try subtemplate but it's not about rtf from rtf by click
    it's about call automatically rtf subtemplate from main rtf based on some conditions
    for example, main template contain some data and if some condition is true then call subtemplate and place it instead of its condition

  • How to call a Oracle Form from within the APEX

    Hi,
    I have a requirment where need to call a oracle form from within the Oracle APEX application?
    I will appriciate if can someone help me out.
    Thanks

    Hi,
    are you working with Forms 6i or 10g?
    If you want to call a forms 10g page. Just use a button with javascript:
    - Target type: URL
    - URL Target: javascript:window.open ('http://<server>:<port>/forms/frmservlet?config=<conf>','Forms window');
    With Forms 6i you can open the directory where your forms file is inside (works just with IE):
    <script type="text/javascript">
    function fnc_window()  {w = open('C:\\FormsFiles', "winLov","scrollbars=yes,resizable=no,width=600,height=400");
    if (w.opener == null)
    w.opener = self;
    </script>Or execute the forms file with vbscript (IE only):
    <script language = "vbscript">
    sub fnc_forms()
    dim progName
    progName = "c:\FormsFiles\myForm.exe"
    set oShell = createobject("wscript.shell") 'create a shell
    '***use the line below to call your app, defined above with the "progName" variable:
    oShell.run(progName)
    end sub
    </script>

  • How to call a Dialog Program from another Dialog Program

    Dear All,
    How can I call a dialog program with return value from another dialog program?
    Regards,
    Alok.

    Hi Alok,
    1. Insted of creating 2 different Dialog program. It's good to create as many screens as you want in same module pool program. Any way you can use the different TCODE for each screen.
    2. Another and The best way is to create a function group and then inside function group use the function 2 module... In the function group define a global variable which will be present for both the function group if they are getting executed in sequence. and inside the Function Module call the screens using command " call screen <screenno>".
    3. You can use set / get parameter to pass values of a field between two dynpro program.

  • How to call dynamic selection screen from another report

    hi,
    i have transaction ZFAGLL03.
    it has got standard selection screen.. and dynamic selection screen...
    i am calling this transaction from another report, now how do i display this dynamic selection screen.....

    Try following code and see if it helps:
    TYPE-POOLS : rsds.
    TABLES:tgsb.
    DATA: trange TYPE rsds_trange,
           trange_line
             LIKE LINE OF trange,
           trange_frange_t_line
             LIKE LINE OF trange_line-frange_t,
           trange_frange_t_selopt_t_line
             LIKE LINE OF trange_frange_t_line-selopt_t,
              trange_line1
             LIKE LINE OF trange,
           trange_frange_t_line1
             LIKE LINE OF trange_line-frange_t,
           trange_frange_t_selopt_t_line1
             LIKE LINE OF trange_frange_t_line-selopt_t,
           texpr TYPE rsds_texpr.
    DATA: seltab TYPE TABLE OF rsparams WITH HEADER LINE,seltex TYPE rsds_texpr.
    SELECT-OPTIONS:so_gsber FOR tgsb-gsber.
    LOOP AT so_gsber.
       trange_line-tablename = 'FAGLFLEXA_FS'.
       trange_frange_t_line-fieldname = 'RBUSA'.
       MOVE-CORRESPONDING so_gsber TO trange_frange_t_selopt_t_line.
       APPEND trange_frange_t_selopt_t_line
       TO trange_frange_t_line-selopt_t.
    ENDLOOP.
    APPEND trange_frange_t_line TO trange_line-frange_t.
    APPEND trange_line TO trange.
    CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
       EXPORTING
         field_ranges = trange
       IMPORTING
         expressions  = texpr.
    submit FAGL_ACCOUNT_ITEMS_GL with FREE SELECTIONS texpr   AND RETURN .

  • How to call an alv report from another program and return back

         Hello ,
    I am calling one abap program (Prgm B) from another program (Prgrm A).
    Here, Prgm B is an ALV report. I have fetch some data from Prgem B that gets stored in an internal table.
    Now, I am using below code in Prgrm A,
      SUBMIT Prgrm B VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          EXPORTING LIST TO MEMORY
                          AND RETURN.
    When Prgrm A executed, it lead me to selection screen of Prgrm B and when I click F8, it shows me the report output, In short, it doesnt return back to Prgrm A. It ends up showing me the alv report if Prgrm B even afetr using RETURN statement.
    I want to get back to Prgrm A by fetching some data from Prgrm B.
    Please let me know, if i am missing something.
    Regards,
    Seema

    Hi Seema,
    Refer below code.
    DATA: v_matnr LIKE mara-matnr.
    DATA: t_listobject TYPE abaplist OCCURS 0 WITH HEADER LINE.
    DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_ascilist OCCURS 0,
             line(200).
    DATA: END OF t_ascilist.
    data var(3) type c.
    SELECT-OPTIONS: s_matnr FOR v_matnr.
    var = '  3'.
    START-OF-SELECTION.
       SUBMIT ztestaks1 WITH s_matnr IN s_matnr EXPORTING LIST TO MEMORY
       AND RETURN.
       CALL FUNCTION 'LIST_FROM_MEMORY'
            TABLES
                 listobject = t_listobject
            EXCEPTIONS
                 not_found  = 1
                 OTHERS     = 2.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ELSE.
         CALL FUNCTION 'LIST_TO_ASCI'
    *     EXPORTING
    *       LIST_INDEX               = -1
    *       WITH_LINE_BREAK          = ' '
           TABLES
             listasci                 = t_ascilist
             listobject               = t_listobject
           EXCEPTIONS
             empty_list               = 1
             list_index_invalid       = 2
             OTHERS                   = 3.
         IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
         ELSE.
           WRITE:/ 'Below are the lines from the submitted program.'.
           LOOP AT t_ascilist.
             WRITE:/ t_ascilist-line.
           ENDLOOP.
           SKIP 2.
         ENDIF.
       ENDIF.
       IMPORT t_mara FROM MEMORY ID 'T_MARA'.
       WRITE:/
    'Here is the output from the table exported from the submitted program.'
       LOOP AT t_mara.
         WRITE:/ t_mara-matnr.
       ENDLOOP.
    Submitted program
    REPORT  ZTESTAKS1.
    DATA: v_matnr LIKE mara-matnr,
           v_maktx LIKE makt-maktx.
    DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_makt OCCURS 0,
             matnr LIKE makt-matnr.
    DATA: END OF t_makt.
    SELECT-OPTIONS: s_matnr FOR v_matnr,
                     s_maktx FOR v_maktx.
    START-OF-SELECTION.
       SELECT matnr INTO TABLE t_makt
                    FROM makt
                   WHERE matnr IN s_matnr
                     AND maktx IN s_maktx.
    if not t_makt[] is initial.
       SELECT * FROM mara
                INTO TABLE t_mara FOR ALL ENTRIES IN t_makt
               WHERE matnr = t_makt-matnr.
    endif.
       EXPORT t_mara TO MEMORY ID 'T_MARA'.
       WRITE:/ 'This list is from the submitted program'.
       SKIP 1.
       LOOP AT t_mara.
         WRITE:/ t_mara-mtart.
       ENDLOOP.
    Hopes this helps you.
    Thanks,
    Ashok.

  • How to call a Oracle Form from within the oracle APEX application

    Hi,
    I am new for Oracle APEX. I have a requirment where need to call a Oracle form (.fmx file) from within the Oracle APEX application.
    Can someone help me out ?
    it would be a great help.
    Thanks

    This might help you...
    http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html

  • How to call external Java code from Animate project?

    I am creating a trainer using Animate that needs to interface with an aircraft model written in Java.  Is there a way to call external Java functions from Animate?
    Thanks!

    you can import external java files by yepnope
    yepnope({nope:[
                                  'your java script file address.js',
                             ],complete: init});
    function init() {
    codes that work with your js file can be write in here
    Zaxist

  • Call a portal form from another form

    I have a portal form which needs to call another form using a link and passing parameters ..
    both of forms are built on tables with a forigen key..
    How can i pass parameters from form1 to form2 ?
    Best Regards

    Hi,
    Here is a sample which calls another form with the values of flightno and ticket no.
    declare
    flightno number;
    ticketno varchar2(30);
    tdate date;
    persons number;
    blk varchar2(10) := 'DEFAULT';
    begin
    flightno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHT_NO');
    ticketno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_TICKET_NO');
    tdate := p_session.get_value_as_date(
    p_block_name => blk,
    p_attribute_name => 'A_TRAVEL_DATE');
    persons := p_session.get_value_as_number(
    p_block_name => blk,
    p_attribute_name => 'A_NOF_PERSONS');
    call('SJDEMO30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1384225689&p_arg_names=_sessionid &p_arg_values=&p_arg_names=flightno&p_arg_values='||flightno||'&p_arg_names=ticketno&p_arg_values='||ticketno);
    end;
    Hope this helps.
    Thanks,
    Sharmila

  • HOW TO CALL A JSP METHOD FROM ANOTHER JSP

    Hi all, I have to JSP1 and JSP2 and i would like to call a method of JS1 from JSP2. Is that possible ??
    Example:
    JSP2 Code
    somewhere in the code ...
    String s = JSP1.getName();
    out.println("EL NOMBRE ES " +s );
    thanks in advance for your help

    No, it is not possible. Infact you cannot write your own methods in JSP. What ever you write in a jsp page is part of _jspService() method. Secondly how can you instantiate another class(generated by JSP), until or unless you know the name of the class that resulted from your JSP. Your JSP page is first converted into .java file which is stored in some package e.g.
    pagecompile.jsp._yourJSPfile.
    I couldnot understand why you need to invoke a method of another JSP in your JSP.
    Hope this helps

  • How to call a logic package from another piece of logic

    Hello Everyone,
    I have two pieces of logic that I am running. One is a push to Finance logic that is in my payroll application (PushToFinance.lgx). It is supposed to push the data from Payroll to specific accounts within the Finance application. Within that logic I have a run logic statement that calls another piece of logic that is on the Finance application (ClearPayrollBalances.lgx). This logic is called to clear the destination application (finance) data intersections and then push the data values from Payroll to Finance. However, No matter where I put the run logic that calls the ClearPayrollBalances.LGX it clears the balances as the last step in my logic execution. I have commented it the Runlogic statement the data is pushed to the Finance application. I need to have the data intersections cleared before the Push. Any suggestions on how to make this work?
    {******************************* Push Logic Here PushToFinance.LGX *************************************
    //Planning - move data accumulated in InputorLoad member of DataSrc to the Finance App
    //Clear Finance App
    //Ran to clear data intersections in the Finance Application before Push to Finance Logic.
    *RUNLOGIC
    *APP=Finance
    *LOGIC=ClearPayrollBalances.LGX
    *ENDRUNLOGIC
    *COMMIT
    // Move Payroll Data to Finance App
    *DESTINATION_APP=Finance
    //Dims not used in Finance
    *Skip_Dim=JobTitle
    *Skip_Dim=PayPosition
    //New Dimensions in Finance
    *Rename_Dim PayAccount = AccountExp
    //Select only the accounts to be pushed to Finance
    *CALCULATE_DIFFERENCE=0 
    *Select(%PushAccnts%,"[ID]","PayAccount","FinAccount <>''")
    *XDIM_MEMBERSET PayAccount = %PushAccnts%
    *XDIM_MEMBERSET RptCurrency = LC  //only get LC in case FX conversion is used in the future
    *XDIM_MEMBERSET DATASRC = InputorLoad
    *XDIM_MEMBERSET TIME = %PREFIX%.JAN,%PREFIX%.FEB,%PREFIX%.MAR,%PREFIX%.APR,%PREFIX%.MAY,%PREFIX%.JUN,%PREFIX%.JUL,%PREFIX%.AUG,%PREFIX%.SEP,%PREFIX%.OCT,%PREFIX%.NOV,%PREFIX%.DEC                                                                               
    *WHEN DATASRC
    *IS InputorLoad
             *REC(FACTOR=1,DATASRC=PAYAPP,PayAccount=PayAccount.FinAccount)  //save to a different datasrc
    *ENDWHEN
    *COMMIT
    ********************************End Push Logic********************************
    *******************************Begin Clear Logic ClearPayrollBalances.Lgx **********************************
    //This is called from the Payroll application in the Destination  (FINANCE) App
    // Clear Payroll Balances before Payroll PushToFinance Logic populates Finance Application
    // Calling logic passes the Organization set
    *XDIM_DEFAULT ORGANIZATION=NOORGANIZATION
    *XDIM_MEMBERSET ACCOUNT=A_90020000,A_90022000,A_90030000,A_90031000,A_90031500,A_90032000,A_90032500,A_90033000
    *XDIM_MEMBERSET CATEGORY=BUDGETWORKING                                                                               
    *XDIM_MEMBERSET DATASRC=PAYAPP                                                                               
    *XDIM_MEMBERSET RPTCURRENCY=LC
    *WHEN DATASRC
             *IS PAYAPP
             *REC(FACTOR=0)
    *ENDWHEN}

    Thanks for the feedback. I figured out what you meant. I am adding it to Default logic and calling both pieces of logic from a new logic file. I am writing the steps out for others who may need it !
    1.     Create a separate logic file in Payroll called u201CPushtoFinanceu201D and add the Push section.
    2.     In your Default logic in Payroll, have two RUNLOGIC statements, first for the Finance Clear logic and then second for the Push Logic.
    *RUNLOGIC
    *APP=FINANCE
    *LOGIC=ClearPayrollBalances.LGX
    *ENDRUNLOGIC
    *RUNLOGIC
    *LOGIC=PushtoFinance.LGX
    *ENDRUNLOGIC

  • EREC-BSP-How to call a bsp application from another bsp application

    Hi Experts,
    In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
    i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
    now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
    Cheers,
    Amod

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

Maybe you are looking for