Opening system forms without menu

Hi All,
Does there exist code to open a system form, like the Production Order, without activating the menu item that calls it?  For example, I would like to open a production order form with a given instance?  The reason for this is that I need to open the form and then load it with a specific production order.  Because it is possible for there to be any number of production order forms open simultaneously at any given time, I need to know the exact form I had just opened in order to load it.
Is this possible?
Thanks,
Mike

Hi Mike,
it's possible, I guess.
But you have to the actual operation of opening form and finding production order by addon.
You can use 'activate menuitem' clause, first.
then you should enter the number of the production order which you want to open to the order number field in number field. (you can do it via handling UI items.) then use the 'click' method of the item number "1". it's generally possible. I did it sometimes.
Hope this useful for you.

Similar Messages

  • Open system form on button click

    Hello Expert,
    How to open system form(invetery transfer from) on button click
    Regards,
    Abhinav Lalpurwala

    Hi Abhinav
    Try This.....
    'In Button pressed event
       sbo_application.ActivateMenuItem("3080") 'For Inventory Transfer form
    Thanks
    Shafi

  • To get the button on system form without using ADDON

    Hello,
    I want to get the new button on tne System Form without creating or using Add-on.
    And while clicking on that button, i want to display "Hello World" message..
    Can u please tell me how to get new button on the System form without using AddOn?
    Thanks
    Nisha

    Hi Nisha,
    It is not possible to add a button on a system form without using an add-on, this is because in order to add a button an a system form you have to access its form id at run time (that converts this standard form into a customized form for your add-on ) the location of some existing control that will be taken as the base location identifier for the new control and only then you would be able to add a new button on the form.
    Regards,
    Prashant

  • Open personal form WITHOUT menuclicked

    Hy all,
    I need to open a (sub)form when I push a button on my (main)form. You can open this easy using
    B1Connections.theAppl.ActivateMenuItem("AONE_SUBTOTALEN")
    but then you need to add a menuitem in your mainmenu.
    Is there a way you can open a subform without this menuitem or can you make this menuitem invisible?
    thanks,
    Joeri

    Hi Joerie,
    If it is a system form you can just call the ActivateMenuItem code, but if it's one of your own forms, you can load the form from XML and it will be displayed without needing a menu item.
    Hope it helps,
    Adele

  • Problem catching events after opening system form

    Hi
    In my addon i open a system form from a user form. after closing the system form , my user form does not cause any event to be handled by my addon. in other words pressing on the forms button items does not cause any event to accure. in order for the form to work i need to close the form and reopen it from the menu. question is how can i know what is causing the form to stop responding and how can i fix it?
    appreciate the help
    Yoav

    Hi Yoav,
    It looks like when the system, form closes you remove a filter for your user form or your remove the listener for your user form.
    Regards
    Ad

  • Open System Form

    Hi Dear;
    what is the .net code to open a system form from another one?
    by example: i want to open a/r invoice from business partners form.
    thank you Dear.

    Hi Dany,
    You only need to "simulate" the way you would do it using the B1 GUI:
    You will click on the Invoice menu, so:
    Me.SboApplication.ActivateMenuItem("InvoiceMenuID")
    PS:Invoice MenuUID is 2053
    Hope helps,
    Ibai Peñ

  • 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

  • HT2490 How to open system preferences without a mouse

    I need to set up a new trackpad, but have no mouse. How do I open the system preferences without a mouse?

    Your profile shows you have an iMac. Is the trackpad being used on the iMac & connected externally? Or is the trackpad on a Mac laptop?
    Go to a computer store, Walmart, Target & buy a cheap (<$10) USB mouse.
     Cheers, Tom

  • How Can i Get the reference of currently opened System form

    Hi Experts,
    I have a scenario in which i need the reference of currently opened SAP form The code is like
                                                SAPbobsCOM.ProductionOrders op = null;
                                                op = (SAPbobsCOM.ProductionOrders)SBO_Company.GetBusinessObject(BoObjectTypes.oProductionOrders);
    now i want some logic like
    op=currently opened production order in sap
    so that i can edit the fields of that order
    Thanks Amit

    Hi Amit
    You can access the currently opened form using this
    for getting the active form
    Dim oForm As SAPbouiCOM.Form= Sbo_Applicaion.Forms.ActiveForm
    for getting the form using form type and count
    Dim oForm As SAPbouiCOM.Form= Sbo_Applicaionl.Forms.GetFormByTypeAndCount("133", 0)
    Hope this helps
    Regards
    Arun

  • Open system form and update data

    Hi
    any body can help me with the code to do the following?
    open users form with current user, update the default group and save the record and close the form.
    but in hidden mode
    10x in advance

    Andrea,
    To Do? Clicking on a Button on Sales Order -> Opens a PO form, and selects the row?
    In the eventhandler of a button click if the PO is not linked to SO by SAP B1 standard functionality
    step 1. call ActivateMenu ("2305") of Sbo_application , this opens the PO form
    step 2. Change the form to Find mode
    step 3. enter po number to the Item UID "8" which is the document number.
    step 4. Send enter key, or Clikc On button UID "1" which finds the PO
    step 5.read the value from SO form, from matrix "38" line where you selected
    step 6. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    at step 5, i think you should select a line from SO matrix which you would like to open.
    IN sales order, If you used PO chekcbox on logistics tab to create the PO, you can find a direct link between PO and SO (only in docentries are linked not positions) on sales order,  Column UID 158 field name: potrgnum.  If this connection is exists, you have an easy way:
    SO form, when a user clicks on COlumn 158 (po number), you can implement an eventhandler, which
    step 1.read the value from SO form, from matrix "38" line where you selected
    step 2. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    By processing theses steps, you can build up you solution.
    Regards
    János

  • Open system form and select a row number on matrix by click on button

    Hi experts,
    I have to open the purchase order form and select a specific row number from the matrix by clicking a button on sales order form.
    is it possible ?
    can anyone help me to achieve it?
    Thanks in advance.
    Best regards
    Andrea

    Andrea,
    To Do? Clicking on a Button on Sales Order -> Opens a PO form, and selects the row?
    In the eventhandler of a button click if the PO is not linked to SO by SAP B1 standard functionality
    step 1. call ActivateMenu ("2305") of Sbo_application , this opens the PO form
    step 2. Change the form to Find mode
    step 3. enter po number to the Item UID "8" which is the document number.
    step 4. Send enter key, or Clikc On button UID "1" which finds the PO
    step 5.read the value from SO form, from matrix "38" line where you selected
    step 6. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    at step 5, i think you should select a line from SO matrix which you would like to open.
    IN sales order, If you used PO chekcbox on logistics tab to create the PO, you can find a direct link between PO and SO (only in docentries are linked not positions) on sales order,  Column UID 158 field name: potrgnum.  If this connection is exists, you have an easy way:
    SO form, when a user clicks on COlumn 158 (po number), you can implement an eventhandler, which
    step 1.read the value from SO form, from matrix "38" line where you selected
    step 2. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    By processing theses steps, you can build up you solution.
    Regards
    János

  • Opening system form on button click

    I have a user button on Sales Opportunity form.
    On click of button, I want to open the respective Sales Quotation form.
    The sales quotation for the corresponding docnum should be opened. DocNum is defined at the Stages tab on Sales Opportunity form.
    Please provide the solution ASAP.

    Hi,
    I think your discussion should be posted at SDK forum. Please repost in,
    SAP Business One SDK
    Thanks & Regards,
    Nagarajan

  • How can I close an Open PDF form without crashing the browser

    Hi
    We have build a webdynpro application in Java. In this application, we are make using of the Interactive form to bring up  a PDF form that the users can print. Our issue is that no matter what approach we take there is no gracefull way to exit once the PDF is displayed.
    Here are the approaches we took.
    1) Embed the PDF in the existing Window. The form comes up correctly with all fields, but there is no way to get out from it. A browser back doesnt help, nor is there a default close button in the PDF window.
    2) Bring up the PDF on a separate window.The PDF does come up fine on this new window. We were hoping to use the window.destroyInstanece() method on this new window to both close the window and gracefully exit the PDF form. This too dint quite work out and resulted in a browser crash.
    I am sure others must have faced a similar problem. Are there any suggestions on how we can handle this. I found a few other posts with similar issues but no clear answers.
    We are using Adobe 7.0.9 Reader on the client end.
    Regards
    Aju Paul

    I have been working with Aju on this issue. We are still experiencing the issue.
    We have tried using the destroyWindow() method and using a fireplug to redirect the application. When we have an Interactive form embedded on one of the views in the window, the application will cause a browser crash when we try to destroy popup window or redirect the applicaiton.
    If we remove the Interactive form from the view, we can destroy the window and we can redirect the application. The problem only  occurs when the Interactive form is present.
    We have recently upgraded our server to SP10. I have also reloaded the ACF on my pc. Neither of the steps resolved the issue. What else can we look at to see what may be causing the issue.
    Thanks.....Tommy Knight

  • Unable to Open a Form - ROS Error : -200

    I am not able to open a fmb. i gives me the error message...
    ROS ERROR: -200

    hi, from METALINK
    FRM-10043 Cannot Open File [ID 32968.1]
    Modified 11-DEC-2009 Type BULLETIN Status PUBLISHED
    Applies to:
    Oracle Forms - Version: 6.0.8 to 10.1.2
    Information in this document applies to any platform.
    Checked for relevance 2-DEC-2009
    Purpose
    Troubleshooting FRM-10043 Cannot Open File
    Scope and Application
    Developer
    Troubleshooting FRM-10043 Cannot Open File
    General Error Description
    FRM 10043 Cannot Open File
    A.) Migration & Upgrade Problems
    1.) Upgrading SQL*Menu 5.0 menus to Oracle Forms 4.5 menus and am receiving FRM-10043 "Cannot Open File" using f45gen.
    Solution Description
    Make sure Version to Upgrade = 50 is specified in addition to "Upgrade 3.0 Form, 5.0 Menu ..." when using f45gen.
    2.) FRM-10043 Cannot Open File when upgrading Designer generated Files
    Problem Explanation
    The upgrade process does not correctly handle recursive procedures or stacked canvases with right justified fields residing in libraries. The procedure which was appearing twice was mutually recursive with a second procedure.This was not supported / allowed in Forms 3.0 but it worked and isn't supported and allowed in higher formsversions.
    Solution Description
    The solution was to strip out all the procedures from libraries, upgrade, and copy the procedures back over a block at a time, padding any right justified fields on stacked canvases.
    3.) FRM-10043: Cannot open file when upgrading SQL*Forms 2.3 to Oracle Forms 4.5 using f45gen .
    Solution Description
    Make sure the 'Upgrade 3.0 Form, 5.0 Menu, or 4.0 Module to 4.5 Module?' Forms 4.5 Generator option is checked. This corresponds to the 'Upgrade' keyword used on the f45gen command line.
    Example
    Use the following Oracle Forms 4.5 Generator Options to upgrade the 2.3 Form: FILE: < Name of Forms 2.3 .INP File > USERID: < Database User Name > PASSWORD: < Database Password for User Name > DATABASE: < Database Connect String > MODULE TYPE: FORM MODULE ACCESS: FILE UPGRADE 3.0 FORM: [X] CHECKED VERSION TO UPGRADE 23 From the command line, use: f45gen form23name.INP scott/tiger upgrade=yes version=23 module_type=form module_access=file
    4.) FRM-10043: CANNOT OPEN FILE when upgrading a Sql*forms 3.0 to Forms 5.0 or 6.0
    SOLUTION Description
    This feature is not supported in Oracle Forms 5.0 and 6.0. The Forms 5.0 online help says: ""Note: To upgrade a version 3.0 or 4.0 form, you must first convert the form to version 4.5, and then convert the version 4.5 form to version 5.0."
    5.) FRM-10043 Cannot Open File when upgrading Menus within Forms 4.5 to Forms 5.0.
    Problem Explanation
    By setting the flag: Upgrade to PL/SQL from V1 to V2, it caused the upgrade to fail and get the 'FRM-10043 Cannot open file' error.
    Solution Description
    When you are upgrading from the command line or using Forms Compiler, you should have the menu name in all lower case, and if you do this, make sure you have the extension in the same case.
    Example
    cl_info_menu.mmb NOT.... CL_INFO_MENU.mmb 6.) FRM-10043 Cannot open file ORA-00600: internal error code, arguments: [17289], [1041], [0x402F44C0], ORA-00600: internal error code, arguments: [17281], [1041], [0x402F44C0], ORA-21779: duration not active when compiling a menu
    Problem Explanation
    Usage of PLSQL deprecated feature in menu trigger or you are upgrading a 5.0 SQL*Menu menu module to Forms9i/10g created this error.
    SOLUTION Description
    While compilling use UPGRADE_PLSQL=YES
    Example
    f90genm.sh module=mymenu.mmb module_type=Menu userid=scott/tiger@cs upgrade_plsql=Yes
    B.) Problems Opening Modules
    1.) ORA-12203 TNS: unable to connect to destination and/or FRM-10043: Cannot open file and/or ORA-1005: null password given; logon denied by double clicking (opening) the file.
    Solution Description
    Windows File associations if created automatically by the OS do not enclose a command correctly in quotes. This means that any spaces that are included in your filename or path are interpreted by the OS when passed as parameters. Remove any spaces from the path or filename.
    Example
    c:/Dependency Analysis/mylib.pll change to c:/DependencyAnalysis/mylib.pll
    2.) FRM-10044 Cannot create file, FRM-10043 Cannot Open File on opening file in Forms Builder 6i or 9i if directory name contains Umlauts (vowels)
    Solution Description
    Don't use umlauts/vowels in the directory name
    3.) FRM-10043 : Cannot open file in formbuilder an fmx,mmx,.. (You tried to open a file that is not a valid Oracle Forms design module file)
    Problem Explanation
    This error occurs when you attempt to open an Oracle Forms form, menu "executable file"
    Solution Description
    You must open the Binary ( Design ) format of the module. You can open the Form .FMB, Menu .MMB and Library .PLL binary files using the Oracle Forms Designer. If you have a text version of the module, you must first convert the text format back to binary format to open the module using the Oracle Forms Designer. The following shows the file extensions for each type of module and storage format.
    Text: FMT,MMT, PLD
    Designtime: FMB, PLL, MMB
    Runtime: FMX, PLL or PLX, MMX
    4.) FRM-10043 : Cannot open file in formbuilder if binary file may be corrupt
    Solution Description 1
    Transfer the .FMB, .MMB or .PLL file again in BINARY mode, and you will be able to open the file using the Oracle Forms Designer.
    Solution Description 2
    A module which has been worked on before, but suddenly cannot be opened in the Oracle Forms Designer may indicate that the file is corrupt.
    Tests
    1. Revert to a backup copy of the Oracle Forms file
    2. Open the module from the database, if the module had been saved to the database. You can then use FILE->SAVE AS to save the form to the filesystem.
    3. Convert from Binary format to Text Format, and then back to binary format.
    Reasons
    A form can get corrupted due to a number of reasons, including: A series of changes made to the module in the Oracle Forms Designer could have corrupted the form as a result of some bug The file system might not have had enough disk space to save the module The module could have been transferred over a network, and corruption occurred
    5.) FRM-10043 : Cannot open file in formbuilder for upgrade .pld files
    Solution Description
    Upgrading .PLD files is not supported. When upgrading PL/SQL libraries created in Developer/2000 release 1.X, you must convert all .PLD files to .PLL format before you attempt to open them in Developer/2000 Release 2.0.
    6.) FRM-10101 : Cannot generate module or FRM-10043 : Cannot open file for modules saved in the database.
    Problem Explanation
    FRM-10101 occurs when you try to generate a module that is saved in the database and specify extract=yes, or select "Extract module from database into file?" in the Generate Options dialog window. FRM-10043 occurs when you try to generate a module that is saved in the database, but do not specify extract=yes.
    Solution Description
    The module name is case-sensitive. When modules are saved to the database, the module name is saved in uppercase.
    Example
    You have saved a form with module name "mm" to the database.
    Using Generate from the command line:
    f45gen module=MM userid=scott/tiger extract=yes not f45gen module=mm userid=scott/tiger extract=yes
    Using the "Generate Options" dialog window:
    File: MM Userid: scott/tiger Module type is FORM,MENU or LIBRARY? Select FORM from poplist Module Access is FILE or DATABASE? Select DATABASE from poplist not File: mm Userid: scott/tiger Module type is FORM,MENU or LIBRARY? Select FORM from poplist Module Access is FILE or DATABASE? Select DATABASE from poplist
    Problem Description
    This error occurs when you attempt to open a form from the database. Access to the form was granted to the user by the form's creator through: FILE->GRANT->MODULE ( Oracle Forms 4.0.x ) or FILE->ADMINISTRATION->MODULE ACCESS ( Oracle Forms 4.5.x ) and the user name given was public.
    Solution Description
    Run the grant script to grant access to the Oracle Forms 4.x base tables. Grant access to either the user who is unable to open the form, or to PUBLIC. PUBLIC will allow all users access to the Oracle Forms 4.x base tables.
    Examples
    Forms 4.5.x (run the script frm45grt.sql as SYSTEM and Forms 4.0.x (run the script frm4grnt.sql as SYSTEM).
    7.) FRM-10043 CANNOT OPEN FILE for modules attached libraries or subclassed objects from other modules
    Solution Description
    - Remove the hard coded path. (For libraries: reattache libraries without path, delete the non portable path). - Check if the library or the other modules are in FORMSNN_PATH. - Check if the env variable for FORMSNN_PATH contains more than 255/512 characters. If yes you can use ORACLE_PATH additional for searching files. (NN could be 40,45,50,60,90)
    References
    Bug:1317608 WEBFORMS FORMS60_PATH LONGER 512 BYTES DOESN'T RETRIEVE THE FMX
    8.) FRM-10043 : Could not open ...olb
    Problem Description
    Form refers to OLB library with full path. Forms Builder stores full path of opened Object Library in preferences file and will ignore FORMS60_PATH
    Solution Description
    1. Open Developer preferences file file in any text editor. On Windows preferences file name is CAUPREFS.ORA and is located direcly in ORACLE_HOME folder. On Unix, preferences file is prefs.ora and is in unix user's home folder. 2. Find "Forms.obj_lib_file" entries and remove path info from library file names. 3. Next time Forms Builder starts, it will search for OLB files using FORMS60_PATH.
    9.) FRM-10083 : Cannot find/open module for referenced objects. FRM-10043 : Cannot open file.
    Problem Explanation
    You receive this error trying to open a form in the Oracle Forms designer. The form you are trying to open has referenced objects. The Oracle Forms designer cannot find the source module in the filesystem that contains the definitions of the referenced objects.
    Solution Description 1
    FRM-10083/FRM-10043 occur because Oracle Forms cannot find the source module in the filesystem that contains the definitions of the referenced objects. If the source module is saved in the filesystem, Oracle Forms uses the following default search path to find the source .fmb file:
    1. If the Full Pathname is specified, use that and no other. If you chose Keep Path when you created the referenced object, the complete directory path of the source module would be in the Reference Source Information in the target module. Thus, you must ensure that the source .fmb file can be found in that directory.
    2. If Remove Path was chosen, no directory path is specified in the Reference Source Information in the target module. When Oracle Forms needs to locate the source module to read the definition of a referenced object, it looks for the module in the default search path. Oracle Forms will search for the source .fmb file in the following order: a. The Working/Current Directory ( In the icon property for the application on Microsoft Windows ). b. Sequentially in each of the directories named by the value of the environment variable FORMS45_PATH c. Sequentially in each of the directories named by the value of the environment variable ORACLE_PATH
    Solution Explanation
    When you create the referenced object, Oracle Forms informs you "It is recommended that the fully qualified path be removed."
    Solution Description 2
    If you have upgraded from a previous version of Oracle Forms, make sure the Reference source form has also been upgraded, before trying to open the referencing form.
    Solution Explanation
    All applications that are used as the source for references must be upgraded first, followed by upgrading any applications that make references to these source forms.
    10.) ROS Error : -200 FRM-10043 : Cannot open file. FRM-11009 : Failed to load color palette.
    Solution Description
    Make sure that the directory path for the color palette file name is specified, and the file extension is .pal. Also make sure that this file still exists in the file system, and is readable. To check the color palette name and mode that the designer/builder is using: EDIT->PREFERENCES menu or TOOLS->OPTIONS menu The Color Palette field specifies the name of the Oracle Forms color palette that is automatically loaded when you create a new form. If there is any information typed in this field, Oracle Forms will interpret this as a .pal color palette file that must exist in the file system. If this field is blank, the Oracle Forms default color palette is loaded. Thus, if you are not using a custom color palette, this field should be blank.
    Solution Explanation
    The Oracle Forms designer/builder uses the color palette as specified in the designer preferences or options field to set the visual attributes for the form you are trying to open. If this color palette file is not found or cannot be read, then the ROS and FRM-10043 errors will occur when you try to open form.
    11.) Using f60genm to regenerate a form, you get frm-10043: Cannot open file in the .err file and: X Error of failed request: BadPixmap (invalid Pixmap parameter) Major opcode of failed request:54 (invalid Pixmap parameter)
    Problem Explanation
    You are using AIX 4.3.1 or higher, and the libXt.a file from that OS version is not compatible with Oracle Forms 6.0.
    Solution Description
    Copy the library file libXt.a (generally in /usr/lpp/X11/lib/R5) from a pre-AIX 4.3.1 O/S (such as 4.3.0) to a directory that won't overwrite your current OS libXt.a file. The $ORACLE_HOME/lib directory is a good place. Set environment variable $LIBPATH to point to that directory. If the customer does not want to copy single file, have them install the following file set from their IBM vendor: X11.compat.lib.X11R5 4.3.0.0 COMMITTED AIXwindows X11R5 Compatibility Library, and set $LIBPATH to include /usr/lpp/X11/lib/R5 instead of the default OS motif libraries.
    12.) FRM-10043 : Cannot open file on Apple
    Problem Description
    see Note:38213.1
    13) FRM-10043 : Cannot open file and Form not created If you try to compile a .pll in frmcmp.exe or frmcmp and use the default moduletype=FORM you receive the error.
    Solution Description
    You have to use Module Type = LIBRARY for .pll or MENU for .mmb or FORM for .fmb

  • How to open new form with set value

    I have two forms CLIENT and ORDERS who are connected by "client_id" in a one to many relationship [one client can have many orders]. What code to I put in the button so that that when I click on it from the CLIENT table, it goes to the ORDERS form with just the orders that match that "client_id"? The application is in oracle 9i developer using swing.
    Here's what I have so far, code to open the form without the binding
    //Open Order Form
    FormIcdClientApplicationView frameTarget = new FormOrderApplicationView(getPanelBinding());
    frameTarget.setVisible(true);
    // Close this window
    this.setVisible(false);

    Hello,
    This is the Forms forum. I am sure you will have more chance to get answer in the JDeveloper forum.
    FRancois

Maybe you are looking for

  • Kerberos won't start

    I have been trying to make this work for 2 days and am about ready to throw the whole system out a window. Here is what I've got: PowerMac G5 10.5.6 Server all updates Server is also an internet gateway which I've learned can impair the OD setup DNS

  • Error Message RW602 - TAX

    Dear SAP Experts, During IDOC integration with BAPI ACC_DOCUMENTPOST, I'm getting following errors: Required field GL_ACCOUNT was not transferred in parameter ACCOUNTTAX Message no. RW602 Diagnosis Field GL_ACCOUNT is required in parameter ACCOUNTTAX

  • Iforget sucrity question

    Please help me to restore the liquefaction secret I've lost Arslo answers to email me I can not be restored on alternative email please, I can not act in my account for more than a year Burktm

  • Help restoring library from external disk backup

    I recently had to reformat my hard drive, and I backed up my entire "Pictures" folder to the external drive. Is there a simple way to restore my library to my original disk and get all of my data back without having to re-import everything?

  • Keep getting Out of Memory error on InDesign CC 2014

    I work with 5 documents on a daily basis that can have over 150 images imported each. When I try to move around the document, it either freezes up and the wheel keeps turning or it comes up with an Out of Memory error message and locks up. It also wi