Why we use write form,open form,close form,in script

urgent

Hi,
OPEN_FORM
The function module OPEN_FORM opens form printing. You must call this function module before you can use any other form function (WRITE_FORM, START_FORM, CONTROL_FORM...).
You need not specify a form name. If you omit the name, you must use the function module START_FORM to open a form before starting the output.
You must end form printing by using the function module CLOSE_FORM. Otherwise, the system does not print or display anything.
Within a program, you can use several OPEN_FORM.. CLOSE_FORM pairs. This allows you to write output to several different spool requests from within one program.
START_FORM
In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.
To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.
If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.
OPEN_FORM->
To initialize the printing of forms via the Raw Data Interface, use function modules (OPEN_FORM und CLOSE_FORM) and a flag in the form (administration data). For this purpose, the function modules include the additional optional import parameter RAW_DATA_INTERFACE.
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/cb3d8e455611d189710000e8322d00/content.htm
START_FORM->
In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.
To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.
If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.
from: http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/frameset
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • Right/best method to open and close form?

    When i click a button from FormA, it open FormC and it should be the same with button from FormB-used to open the same FormC but it doesn't.
    this happen when i previously open FormC from FormA before opening it in FormB.
    I use setvisible(true) to open form and setvisible(false) to close the form and this doesn't seem right..
    i use exactly the same method as shown in Creating Swing Clients for Business Components Tutorial
    anyone can help? i'm new with Java n Jdeveloper...
    Thank You..

    Fatima,
    this question is best answered in teh JDeveloper forum on OTN because this Forum is for Oracle Forms. You can start and hide forms in Java using setVisible(true|false), howvere, this doesn't release the hanlde to the data bound.
    In the HowTo setcion of the otn.oracle.com/products/jdev there exist a document "How Do I dynamically Change the Binding of a View Object to JClient Panel?"
    This explains how you work with RowSet Iterators to reuse forms.
    Frank

  • Why we use ssf function module in mart forms

    urgent

    Hi,
    A function module is generated whenever a Smart Form is activated.
    This Smart Form could be called from the driver program by calling this function module .
    By using "SSF_FUNCTION_MODULE_NAME" the user can obtain
    the function mudule generated by the Smartform. The input
    parameter is the SMARTFORM name the output parameter is the
    function module generated .It has to be type RS38L_FNAM.
    After getting the output parameter . CALL FUNCTION(output
    parameter name).
    Reward if useful.
    Regards,
    Swetha.

  • Submit button opens a blank form-why?

    hey friends,
    ODS 10.1.2
    RHEL 4
    I have a form that calls other form.
    I have written a when button pressed trigger.
    WHn i clikc the button ,though the form opens but the form is blank.
    The called form has one item enabled and a submit button.
    What could be the problem?
    Thanks

    hi thanks the problem is resolved.
    Since i am new to forms .
    My application is in character mode and users press enter to go to other field and forms.
    I need to change it to mouse friendly.
    What major things need to be taken into consideration?
    Thanks

  • List of forms open

    Is there anyway to get a list of open forms in run time?

    I know of no built-in way to find out, at runtime, what forms are open. I guess you will have to write code to keep track of when you open and close forms and maintain a list that way yourself.

  • Opening  the same form more then one time in the same session

    H! I want to accomplish the following .... I have a form that has a button. The code in the when-buttin-pressed trigger is a call_form - to open another form. I want to be able to push this button as many times as the user may want and the form should keep opening a new form. Meaning I can have 10 forms of the second form open if I want. The user basically wants to be able to flip between the data on the same form opening up this form a couple of times in different windows. when I use the call form the button on the initial form is becoming disabled - not allowing me to push it again to open another form without closing the one already open. Please HELP!

    Sounds like you need Run_product rather than Call_form.
    It will establish multiple database sessions, and the user will be responsible for terminating them. And I am not sure, but this may only be possible in client/server forms.

  • Commit during Call form,open form?

    If i open another form using call/open form command and exit out of the form which is over the base form with some code, what will happen to the data in the base form.
    How can i commit from the call /open form the base form.
    is there any property that needs to set up.
    What is the default behaviour in case of New form, open form , call form.

    Call form:
    Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
    New Form:
    Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
    Open Form:
    Opens the indicated form. Use OPEN_FORM to create multiple-form applications, that is, applications that open more than one form at the same time.

  • Open/Close form from Menu

    I am having a frustrating problem! I am trying to set up a menu that will open a form ('Open_Form('myform')) and close the current form. Opening the new form is no problem, but I can't seem to find the code to close the first form. This can't be that difficult! Can anyone help?
    Thanks

    SaraS
    Use new_form built-in.
    Regards

  • Close a form and before open a new form

    Hi,
    I open a new form(form B) from a form (from A), can I close "form A" before opening "form B" ?
    Moreover, can I re-open a form itself ?
    Thx!
    Gary

    Use one of following
    CALL_FORM
    This builds a stack of forms; exiting the current form
    returns you to the previous form.
    Performing a call_form('b') from FORM A will do the following:
    Deactivate FORM A.
    FORM A becomes MODAL.
    Focus is now on FORM B.
    Must Exit FORM B to return focus to FORM A.
    OPEN_FORM
    This allows you to have two forms open and active at the same time,
    and to work on both forms at the same time.
    Performing an open_form('b') from FORM A will do the following:
    Both FORM A and FORM B remain open and you can use the mouse
    to switch back and forth between the forms.
    NEW_FORM
    . This replaces the current form with a new form.
    Performing a new_form('b') from FORM A will do the following:
    Closes FORM A and Opens FORM B.
    Regards

  • How to open a entity form in a new window using openEntityForm() method.

     How to open a entity form in a new window using openEntityForm() method.

    As far as I'm aware, there isn't a supported way to do this in the client-side API. You could use window.open instead
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • We are facing issue to open a static form PDF in Chrome Browser , which is loaded using Adobe FormService.Able to open in other browsers but not able to open the static forms in chrome with LC 11.0 version

    We are facing issue to open a static form PDF in Chrome Browser
    , which is loaded using Adobe FormService.
    Able to open in other browsers but not able to open the static
    forms in chrome with LC 11.0 version
    Below error message:
    The document you are trying to load
    requires Adobe Reader 8 or higher. You may not have the Adobe Reader installed
    or your viewing environment may not be properly configured to use Adobe Reader.
    For information on how to install Adobe Reader and configure your viewing
    environment please see http://www.adobe.com/go/pdf_forms_configure.
    Please let us know do we have any option for disabling
    <NoXFA/> tag by calling formService. RenderPDF() method on adobe service
    For dynamic forms its working by adding <NOXFA/> in
    DDX xml . only for static forms its not working because we are not using
    assembler service for this forms.
    Please let us know how we can disable XFA in static forms??????????????????

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • I have developed a fillable form using Adobe Acrobat Pro. The form has several fields and some of the information is captured in a bar code. What programs must be used to open the form to properly fill the form out?  Adobe Reader, Adobe Xi, Ibook, etc.. I

    I have created a fillable form using Adobe Acrobat Pro that contains several data fields with some feeding data to a barcode in the document.  I have a "button" set up to save and send the completed form one it is completed.  Some of the user are having troubles filling out the form as they are using various programs to do such as iBook, Adobe Reader, etc....  Sometimes the information is not transferred to the barcode and sometimes the "submittal button" doesn't function properly.
    Please provide a solution or give me a list of the programs that must be used to properly open and fill out the form.
    Greatly appreciated.

    Best option is to use Adobe Reader (or Acrobat, of course) on a desktop computer (ie, not on a mobile device). Any other configuration is likely to be problematic.

  • How do I keep forms opened on the web  - if they close themselves at times

    How do I keep forms opened on the web  - if they close themselves??

    Hi,
    When you have completed design your form on design tab, you may open form to filling out and submit. At this time, if you don’t change your form, it will keep the open state. if you change or edit your form, it will showing a warning dialog to let you know form will be changed to closed, and remind you to open it again.
    Thanks,
    Guanshuai

  • Opening a new form using a different connect string

    Hi All
    I have the following requirement. I want to open an new form (when button pressed) using a different connect string. I am planning to use open form so that the new form has its own session. But I donot want the new form to connect to the same database. How do I pass the database that I want to connect using open form.
    Rgds
    Arvind Balaraman

    The only way to change the connection is to execute the built-in LOGIN and connect to the desired database. You cannot pass this through the OPEN_FORM built-in.
    Example:
    LOGOUT;
    LOGON(uname, upass || '@' || conn_str);
    However, be aware that this will impact the first form too. This is expected behavior.
    See Oracle Bug 5004661 or the Forms Online Help for more details.
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=designing_forms/multform_db/at0505.html

  • How to open Batch Details Form using a LinkedButton?

    Hi all,
    I just want to know how can I open the Batch Details system Form, using a LinkedButton from my user form.
    Just like the Batch Number Transaction Report window, from the Batch Column.
    It's difficult because this document don't have the ObjectType.
    Thanks a lot.
    Cheers
    David

    Solved!
    I did this:
    From the MatrixLinkPressedEvent:
    if (pVal.BeforeAction)
                        switch (pVal.ColUID)
                              case "column":
                                BubbleEvent = false;
                                AddOnApplication.Application.ActivateMenuItem("12290");//Form for Batch Details
                                form.EnableMenu("12290", true);
                                bool _runThread = true;
                                while (_runThread)
                                    Thread.Sleep(500);
                                    try
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("40").Specific).Value = _dtGrid.GetValue("ItemCode", pVal.Row - 1).ToString();
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("62").Specific).Value = _dtGrid.GetValue("Batch Hide", pVal.Row - 1).ToString(); ;
                                        AddOnApplication.Application.Forms.ActiveForm.DefButton = "38";
                                        AddOnApplication.Application.SendKeys("{ENTER}");
                                        _runThread = false;
                                    catch (Exception){}
                                    finally
                                        _runThread = false;
                                        form.Freeze(false);
    And that's it.
    Hope this help to someone
    Cheers

Maybe you are looking for

  • Adobe Media Encoder CS4 Error: WinFile.cpp-754

    When encoding video from one format to another (no matter what is source and what is result file format) I have an error after some time or in the begining of the process. "Adobe Media Encoder has encountered an error ..\..\Src\Win\WinFile.cpp-754" V

  • I want to move my downloads from the downloads page to a folder and have no idea how to do it.

    I use Firefox to do all my downloads. To retrieve them I go to Tools and use the drop down list - downloads. I can't figure out where, on my computer they are so that I can email them as attachments or put them in folders. Would someone help me with

  • N95 8gb BT Connection Problem With BMW 5 series

    Hello everyone, I hope someone could help me with this. I just got my N95 8 gb & I have tried to connect my phone to my BMW58610 BT but it seems like it constanly drop ny itself & then coneecting again & drop & connect. I do not know how to get this

  • CM01, 02, 03 and 04 List Selection in Overall Profile

    Does anyone know how to create a List Profile for CM01 u2026 CM4 to include in an evaluation profile so that when a user gets in the transaction, they see the predefined set of data? I already have an overall profile and an evaluation profile. Thanks

  • Storing the Variance Block Reason Code in the Parked Invoice Document

    Folks, When I perform parking an incoming invoice (MIR7 or MIRO), system checks for price variance and issues the message. When I save the document, block reasons are not stored at Parked document level. Only when I post the document, the reason code