How to call 2 forms in one printprogram

hi
experts can u help me for this

Hi Ramesh..
YOU HAVE TO CALL THE FMS.
START_FORM and END_FORM for this......
This is the Way to Call 2 or more forms in Print program.
CALL FUNCTION 'OPEN_FORM'
CALL FUNCTION 'START_FORM'
Exporting
       formname = 'ZFORM1'
   <<Call the WRITE_FORMS of ZFORM1>>
CALL FUNCTION 'END_FORM'
CALL FUNCTION 'START_FORM'
Exporting
       formname = 'ZFORM2'
   <<Call the WRITE_FORMS of ZFORM2>>
CALL FUNCTION 'END_FORM'
CALL FUNCTION 'CLOSE_FORM'
<b>REWARD POINTS IF HELPFUL</b>

Similar Messages

  • How to call forms using Hierarchical Tree in Forms 10g?

    I know how to call forms from menu that attached to a top form.
    I would like to call forms using Hierarchical Tree. Does any one know how where I can find some instructions on using Hierarcical Tree to call other forms? Any discussion is welcome. Thanks.

    Thanks to Francois.
    The exampe with clear instructions and I can build tree that calls forms now.
    I add a OPEN_FORM statement in WHEN-TREE-NODE-ACTIVATED trigger
    Declare
         LN$I Pls_integer ;
    Begin     
    :Ctrl.Node_Activated := Ftree.Get_Tree_Node_Property('BL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
    If :Ctrl.Node_Activated IS NOT NULL Then
         Set_Alert_Property( 'AL_CALL_FORM', ALERT_MESSAGE_TEXT, 'Calling module : ' || :Ctrl.Node_Activated ) ;
         LN$I := Show_Alert( 'AL_CALL_FORM' ) ;
         open_form(:Ctrl.Node_Activated);
    End if ;
    End ;
    Or call physical form path by:
         open_form('c:\tree\'||:Ctrl.Node_Activated ||'.fmx');
    I enter the VALUE of MENU as the Form fmx name and it works very well.
    Thanks so much.

  • How to call more then one Function modules at the same time

    HI ,
    How to call more then one FM at the same time .
    Modertor Message: Interview-type Questions are not allowed.
    Edited by: kishan P on Jan 2, 2012 2:22 PM

    They are a few different models of the MacBook Pro ranging from 15.4" i7's to 17" i7's. I would use the same models together though when imaging them just like I do with PC's. For example I would Ghost 5 Lenovo T420 Thinkpads at the same time which all share the same exact specs and config. Looking to do the same with the MBP. I have .dmg image of OSX 10.8.1 on a firewire drive which I'm using. I image all my MBP's with this drive, the only downside is I have to do each MBP one at a time.
    Thanks

  • How to move form from one account to another

    I have bought a second account for another user so that his responses would be confidential.  How do I copy existing forms from one account to another.  Do not want to have to recreate them.  Thanks for your help..

    Hi,
    In order to move a form to different account, you can export the design file:- Open the document- Design- Export Design File
    Regards,
    Nakul

  • HST50: Unix - How Headstart calls forms and reports uppercase/lowercase from a Menu

    We are migrating a 'in production' Headstart generated application from Windows to Unix.
    We had to a little time in setting the lowercase implementation names, setting the prefs to generate lowercase file.....
    So good so far. When testing the application on Unix, all files are lowercase, the Forms start without a problem but the Reports won't start.... Renaming the report files to uppercase works fine.
    Going through the Headstart code for calling Forms and Reports I noticed the following:
    When calling Forms the qmslib50.qms$form.call procedure is invoked. In this procedure the follwoing statement is used:
    l_form_name := lower(p_form_name) So only lowercase will be found....
    For calling Reports from the Lauch Report Form the qms0012l.qms$report.run procedure is invoked.
    This procedure calls fill_par_list where the l_module_name is set. But in this procedure no uppercase or lowercase is used......
    Not consequent I think !!
    Is this done for a specific reason ?
    PS: Change qms0012l and it works fine.

    Hi,
    cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
    Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
    Frank

  • How to call more then one smartforms from SE38 ?

    Hello Expertise,
    Good Afternoon,
    Hope all r fine. Do anybody knows,Is it possible to call more than one smartform from SE38?
    If possible then how?
    Please help me.
    Thanks n regards,
    Tripod.

    Hi,
    what you meaning with: call more than one...
    call & show as smartform (print preview ) > I think that´s not possible
    Call & create PDF > show as PDF in IExplorer ? > Yes could work when you crate the PDF > and send it to different Internet explorer
    Call & create PDF > show as PDF in GUI ? > Yes could work when you crate the PDF > and send it to different Containers...
    Best Regards
    Robert

  • How to call form through reports

    I want to call form(6i) with parameter's through reports(6i).. replly immediately

    you have to make this question in: Developer suit > Forms
    Joel P�rez

  • Hi all how to call form

    Hi all
    I have a master form and there are lots of connected forms
    what should i write when i want come back to the master form from other forms
    i wrote this code it just exit the form but did't call the master_form
    EXIT_FORM(NO_COMMIT);
    call_FORM('C:\test_report\final_to_be_added_to_main\MASTER_FORM_TRIAL');please suggest
    Thanks And Regards
    Vikas Singhal
    Edited by: vikas singhal on Jul 21, 2009 6:39 PM

    Hai,
    The form window name means, the name of the window. (Like Window1)
    The form name is the forms name. (Like Form1)
    in the code, the form is not actually closing, but it just hides the calling form. We can't close the calling form, because when we close it, it will close the entire program. So we have to hide it.
    eg.
         HIDE_WINDOW('WI_MAIN');  -- WI_MAIN is the window name.
         CALL_FORM('MASTER_FORM.FMX', NO_HIDE, DO_REPLACE);     -- MASTER_FORM is the forms name.
         EXIT_FORM;Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • How to call form and pass parameter from OA Page

    Hi,
    I have one requirement to call a custom form from OA page by clicking the button and the same time i need to pass one parameter from this
    oa page to that form.
    how to do this by personalization?
    i surfed lot and i got some idea, some one said "pass the value as global variable and receive the global parameter when the new form instance trigger" .
    Can anyone please give about about this ?
    Thanks in advance,
    SAN

    This seems to be related to EBS and since this forum is dedicated to Fusion you might want to post the question to E-Business Suite forums and
    Support forum for EBS customizations.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to print form in one page

    Hi, guys,
    Current we print script form with system automatic new page, but sometime it'll cover two pages and a lot of blank left on the first page. So user ask to print in one page. So how can i do it? is there any place we can configure the line item per page?
    Our system is Ecc 6.0. The form is used for payment advice which has been copied from sap standard form.
    Thanks in advance,
    Alex

    Are the same line items printed on first page when line items printed on second page?
    Just check it the height of the main window, in ur first page. If see if u can increase ur size of the main window so that u can add more line items.
    Do one more thing Give all ur line item fields in Main window in
    PROTECT and ENDPROTECT commands.
    ex:
    /:   PROTECT
    P1 &ITAB-MATNR&
    /:   ENDPROTECT
    If it is a SMARTFORM,
    Create a STYLE in Tcode:- SMARTFORMS,
    In that create a Paragraph Node, Select the Check box of Page Protected.
    Use that created STYLE ,
    Under the Line Items of ur Main Window> Table Node, In Output Options, Select the created STYLE.
    Now check for the TEXT entry for the Field and in that select the Paragraph format from the drop down list.
    Edited by: Bala Krishna on Aug 20, 2008 7:46 AM

  • How to call view of one application from another application in SAP UI5?

    Hi,
    I have a main shell application. inside the shell i have called a application project using iframe.
    Now from this project i have to access the view from the shell application. I tried getParent() but it returns null.
    How do i access view which is not in my project and in a different project?

    Yeah view cannot be called independently.
    Here in the above post i am just saying call the interface view.
    which will call the window and first view will be called.
    in the wddoinit of the first view . we will check the interface node and if a particular attribute is set.
    that means call is coming from the comp B then you can fire the plug to next view.
    this will take the user directly to second view.
    but the flow logic then will be as per by comp A only.
    means after view 2 it will go to view 3 like that as you have defined in comp A.
    so you cannot use it as an independent reusable entity.
    thanks
    sarbjeet singh

  • How to call method of one EJB3.0 project in another EJB3.0 project

    Hi,
    I would be thankful if someone could help me in this -
    I am using SAP Netweaver 7.2 and have two EJB3.0 projects.
    Now I am trying to instantiate a class of one EJB project into another and when I get a run time exception as -
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError
    I have tried to add it under the Java Build Path -> Projects but it only helps during compile time.
    I have also tried checking the projects under "Project References" but it still gives the same problem
    Here is the code and where exactly its failing -
    import java.util.ArrayList;
    import java.util.logging.Logger;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.MessageDriven;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import org.csagroup.wsecomm.OrderSearch;
    import org.csagroup.wsecomm.SalesOrderSearchQueryInImplBean;
    import VendaOrders.ServiceClientImpl;
    import com.sap.scheduler.runtime.JobContext;
    import com.sap.scheduler.runtime.JobParameter;
    import com.sap.scheduler.runtime.mdb.MDBJobImplementation;
    import com.sap.xi.appl.se.global.SalesOrderID;
    * Message-Driven Bean implementation class for: HelloWorldBean
    @MessageDriven(
              activationConfig = {
                        @ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "JobDefinition='HelloWorldJob'"),
                        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue") })
    public class HelloWorldBean extends MDBJobImplementation {     
         * @see MessageListener#onMessage(Message)
         public void onJob(JobContext ctx) {
             Logger logger = ctx.getLogger();
             logger.info("Hello World Testing onJob().....");
             try
                  logger.info("Before Order Search...");
                  OrderSearch os = new OrderSearch();   *// this is where it fails*
                  logger.info("Before os...");
                  SalesOrderID salesOrderIdBeginRange = new SalesOrderID();
                  logger.info("Before salesOrderIdBeginRange...");
                  salesOrderIdBeginRange.setValue("1");
                  logger.info("After setValue(1)");
                  SalesOrderID salesOrderIdEndRange = new SalesOrderID();
                  logger.info("Before salesOrderIdEndRange");
                 salesOrderIdEndRange.setValue("99999");
                 logger.info("After 99999");
                 os.setBeginRange(salesOrderIdBeginRange);
                 os.setEndRange(salesOrderIdEndRange);
                 SalesOrderSearchQueryInImplBean salesOrderSearchQueryInImplBean = new SalesOrderSearchQueryInImplBean();
                 logger.info("After salesOrderSearchQueryInImplBean");
             } catch (Exception e){logger.info("Exception is...." + e.getLocalizedMessage());}
            // TODO Auto-generated method stub
    I am able to see the message in my logs till "Before Order Search.." and fails when I try to instantiate OrderSearch class which is in another EJB 3.0 project.
    Thanks for the help in advance.
    Edited by: Shiv Khullar on Aug 19, 2010 10:30 PM

    Hi,
    I am not sure if my posting was in readable format.
    As soon as try to add the code, all the formatting is lost.
    I would explain once again - My code is generated by the webservice "Generate Client code" i.e using WSDL into an EJB 3.0 Project. Now I am trying to call a method of the bean which takes a class object (OrderSearch) as the parameter.
    When I am trying to instantiate this OrderSearch class in my another EJB3.0 project its failing.
    Safter- Thanks for your reply but can someone help me who has worked on a similar issue.
    Thanks,
    Shiv

  • How to Call Methods of one component into another Component

    Hi Experts,
    I have one requirement...
    I have 2 components A and B, i used A comp in B, i need to call Comp A methods in Component B, can anybody give me the syntax?? please...
    Thanks and Regards,
    Kissna.

    Hi Manas Thanks for your fast reply,
    My question is, for example we have wd_comp_controller or wd_this objects to call methods of view from view and comp controller right.. like this we have any methods to call used component methods? if yes can u please give me the objects syntax?...
    Thanks and regards,
    Kissna.

  • How RFC calling form CRM to XI

    Hi ALL ,
                     I am creating a remote destination in CRM system using sm59
    there I am inserting some parameters  like program id,or gateway service,gateway host.
                     can anyone please tell me why these parameters we need to fill in Remote destination.One more thing if Rfc in triggered from CRM and a communication channe; is creared at sender side.
    how actually is the communication is happening please explain .
    With Regards,
    Vinay Yadav

    hi Vinay,
    <i><b>I am inserting some parameters like program id,or gateway service,gateway host.
    can anyone please tell me why these parameters we need to fill in Remote destination</b></i>
    see here why program ID ,gateway service and gateway host is needed.
    Re: Why Program ID
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Your XI is the initator of the connection in the case of Sender RFC adapters.
    Even though it is CRM/R3/(or any SAP system) that sends data to XI, it is XI that initates the connection between XI and CRM/R3/(or any SAP system)  and that is why in the sender RFC adapter you provide the Server Details andthe prgram Id. The connection is identified using the program ID.
    When CRM/R3/(or any SAP system)  wants to send data it uses the TCP IP Connection in which the program Id is maintained and using this identifies the establised connection and then sends data to XI.
    Hope it will clear ur concept !!!
    <b>***Reward with points if it helps u</b>

  • How to call repaint() from one panel for another panel

    I have two classes (leftPanel and rightPanel), which extends JPanel. I have added these panels to the container of the JFrame. I have a JButton in my left leftPanel. When I click the button I want that the repaint method of rightPanel is called. Please tell me how to do that.

    Ok, the reason it wasn't working is because the two classes don't have a reference to each other. They don't have anything in common at all. The only class hooking them together is the myFrame. Therefore, myFrame is the class that should be the communication link. I've added a few lines of code to myFrame, but didn't change the other classes. Now myFrame has an actionListener and it listens for the leftPanel.leftButton. When the leftButton fires, myFrame tells rightPanel to repaint. Another cool way would be to have an actionListener on rightPanel and register that with leftPanel when you instantiate them in myFrame.
    GL
    kimoS
    import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.util.*;
    public class myFrame extends JFrame implements ActionListener{
    leftPanel left;
    rightPanel right;
    static int st=0;
    myFrame(){
    left=new leftPanel();
    left.leftButton.addActionListener(this);
    right=new rightPanel();
    this.getContentPane().add(left,BorderLayout.WEST);
    this.getContentPane().add(right,BorderLayout.CENTER);
    public static void main(String args[]){
    myFrame mf=new myFrame();
    mf.setSize(500,500);
    mf.setVisible(true);
    public void actionPerformed(ActionEvent e){
    right.repaint();
    class leftPanel extends JPanel {
    JButton leftButton;
    leftPanel(){
    leftButton=new JButton("leftButton");
    this.add(leftButton);
    leftButton.addActionListener(new leftButtonListener());
    class leftButtonListener implements ActionListener{
    public void actionPerformed(ActionEvent e){
    myFrame.st=myFrame.st+1;
    System.out.println("st value inside listener="+myFrame.st);
    // ??? here I want to call repaint method of rightPanel
    class rightPanel extends JPanel{
    int flag=-1;
    public void paintComponent(Graphics g) {
    update(g);
    public void update(Graphics g){
    super.paintComponent(g);
    Graphics2D g2 = (Graphics2D)g;
    g2.drawString("If " myFrame.st" increases then repaint() called on click of button",30,100);
    flag=flag*(-1);
    if(flag==1){
    g2.drawString(" painting is working",100,200);
    }

Maybe you are looking for

  • Dispatcher Not Running work process stop.

    HI, I am facing this problem while installing SAP PI 7.3 on RHEL6 with Oracle. During installation it stops at when it will start instance and when I check found having some issue with dispatcher. Below are the few logs which I found during installat

  • Is there a adapter to get AV output?

    I just got a pair of TV goggles from work, basicly for people who dont know what they are. They are glasses with a tv inside it, sadly they are only compatible with AV output, thats the red, white, and yellow plugs. Does anyone know if apple sell a a

  • Installing solaris in virtual box

    HI Everyone i have installed solaris 10/09 os in oracle virtual box 4.0.2 Im facing following problems as mentioned below 1. I have installed usb driver and network driver for the virtual box and i have succesfully installed the extension packs also

  • E1200 bridge & have WiFi DHCP?

    At my work we have Comcast Business Class, and our LAN uses the Comcast's SMC static 10'net addressing.  Our two POS computers are connected to wall ports that connect to the SMC router (unsure its model number, it's screwed to the wall).  There is o

  • CS6 Bridge and Yosemite....  Bridges Crashes

    I updated to Yosemite last night and everything runs fine except CS6 Bridge.  It crashes when a new folder is opened.   When I open the hard drive where the image folder is Bridge does great loading that content.  Then when I click on a new folder,