URGENT - Multi-form problem

Would be great if anyone could help me with this:
Say I have two forms A and B, A has a repeating timer
which, when fires, will GO_FORM to B and B's WHEN-WINDOW-
ACTIVATED should fire and do stuff. Problem is if
the focus is already on form B at the beginning,
form A's timer expires but form B's WHEN-WINDOW-
ACTIVATED trigger doesn't fire as it IS already the
active window of the two at the time of the timer
expiration. So the stuff in B's WHEN-WINDOW-ACTIVATED
won't execute when I want it to.
Any workaround? I need a solution to this urgently.
Thanks big time in advance!!

and what makes me wonder is that looks like the focus
did temporarily switch to form A in the background,
confirmed by a check of the :SYSTEM.CURRENT_FORM and
CURSOR_ITEM etc in the WHEN-TIMER-EXPIRED trigger. But
still, if I GO_FORM back to form B, form B's WHEN-WINDOW-
ACTIVATED just won't fire.
Buggy WHEN-WINDOW-ACTIVATED trigger? Or misused?
Please, anyone? By the way, form B is launched from
a button in form A, just in case if that makes a diff.

Similar Messages

  • Urgent : Web Forms problem

    I deployed my application on Web using
    Developer Server 6.0
    OAS 4.07
    Jinitiator 1.1.7.18
    Browser Netscape 4.7
    Problem : When Iam trying to signon to the system by mistake if I type the wrong passowrd it gives an error message like "Username or Passord not Correct" after that if I enter the correct password also it wont respond .Now Ihave to close the whole application and I have to reopen it.Same thing with all the forms . Iam using "Raise form_trigger_failure" exception along with the error message.
    It was working fine in Client Server environment.
    Please let me know if you have any ideas
    Thanks in advance
    Smita T.
    null

    Hello Yuri,
    have you setup the web dispatcher profile with the command:
    sapwebdisp -bootstrap
    ? It would have tested the connection to the message server. I think the message server port is wrong. If your instance numer is 02 then the default HTTP message server port is 8102 and not 3602. 3602 is the port of the SAP own protocol.
    Regards
    Gregor

  • VERY URGENT - Adobe forms with email problems

    I THERE - I AM A ADOBE FORMCENTRAL CLIENT I HAVE MY PAYEMENTS ON DAY BUT FOR SOME REASON THE ADOBE STOP RESENDING TO MY EMAUIL ACOUNT AND TO MY CLIENTS  EMAIL ACCOUNT THE SUMARY OF THE FORM THAT IS SUBMITED. THIS IS VERY URGENT THAT BE FIXED FROM YOU SIDE PLS LET ME KNOW WHAT IS HAPENING.
    PLS FIX THIS URGENT AS I HAVE MY CLIENTS SCREEMING ON ME
    PLS ANSWER TO
    [email protected]

    Now is working
    after 2 hours is working now. but this have never hapen before. now I am
    woried with this ADOBE FORM system!!!! it can hapen and I never know.
    br
    henrique
    2014-04-25 21:29 GMT+01:00 Josh_Corey <[email protected]>:
        Re: VERY URGENT - Adobe forms with email problems
    created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in
    FormsCentral - View the full discussion<http://forums.adobe.com/message/6331228#6331228

  • How to fill a field with after changing another field in a multi form?

    Hi,
    I have multi occurence form in which multiple record are showeds and/or added.
    One field is a dropdown field, after filling this field (selecting a value in the dropdown), another field needs to filled with the selected value.
    My problem is that only the first occurence is filled with the value of the selected dropdown, even when filling the dropdown field in one of the other occurences.
    I tried point to the other occurences but this was not succesfull
    See script
    So when a sparepart is selected from the dropdown sparepart, the field defectpart must be filled the selected sparepart, when I have multi forms (occurences) only the first occurence defect part gets filled with the selected parts, even when a sparepart from another occurence is selected.
    data.p1.spare_parts.spare_parts::change: - (JavaScript, client) -
    p1.spare_parts.DefectPart.rawValue =  xfa.event.newText;
    Can anyone help to solve this problem
    Thanks
    Christophe Van Mechelen

    hi,
    Your code is right, i dont know why its not working,
    try this,
    dropdown field in change event,
    var c = xfa.host.newtext
    textfield1.rawValue = c;
    (or)
    textfield1.rawValue = xfa.event.newText;
    by
    Parthi

  • Multi-form applications

    I have a created a multi-form application where i have a calling form which calls another form. The user could commit changes in the called form and return to the calling form and either have changes in that form committed or rolled back. However, a commit in the called form SHOULD NOT commit any changes in the calling form. All this works fine.
    I have implemented this using "autonomous transaction". I am using the call_form --> open_form sequence for this purpose. i.e there is a call to a dummy form using call_form and this dummy form calls the other form using open_form call. Now, the problem that i have is that, at times the called form gets hidden behind the calling form and what is visible to the user is the calling form - with no access to any items on the form as this form is now NOT the active form in the application. This problem, though not reproducible has occurred many times. I do not have a solution to this. Any suggestions/pointers/soultions most welcome.
    Thanks in advance..

    What are OPEN_FORM,CALL_FORM,NEW_FORM? diff?
    CALL_FORM : It calls the other form. but parent remains active, when called form completes the operation , it releases lock and control goes back to the calling form.
    When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.
    OPEN_FORM : When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.
    NEW_FORM : Exits the current form and enters the indicated form. The calling form is terminated as the parent form. If the calling form had been called by a higher form, Oracle Forms keeps the higher call active and treats it as a call to the new form. Oracle Forms releases memory (such as database cursors) that the terminated form was using.
    Oracle Forms runs the new form with the same Runform options as the parent form. If the parent form was a called form, Oracle Forms runs the new form with the same options as the parent form.
    Call_form.
    BEGIN
    CALL_FORM('FORM2',
    NO_HIDE,
    DO_REPLACE, -- replace menu
    NO_QUERY_ONLY,
    SHARE_LIBRARY_DATA);
    END;
    Syntax
    OPEN_FORM(form_name);
    OPEN_FORM(form_name,activate_mode);
    OPEN_FORM(form_name,activate_mode,session_mode);
    OPEN_FORM(form_name,activate_mode,session_mode,
    paramlist_name);
    OPEN_FORM(form_name,activate_mode,session_mode,
    paramlist_id);
    sarah

  • Smart Form problem with address layout

    Hello everyone,
    I need your help please for a smart form problem. We need the address layout for great britain with street1, street2 etc. but currently street2 is alligned before street1.
    We are using the FM ADDRESS_INTO_PRINTFORM (SAP standard address node) and according to the documenation the layout for GB is different as we see it currently.
    We have checked the sold-to and all contact persons, they have as country GB and language EN maintained.
    In customizing for address screen layout there is nothing chosen (tested to set up Europe, but did not change anything).
    For the customizing 'specify my countries...' we have maintained GB as country with the address layout key 006, vehicle country key GB and language key EN.
    For the described setting shouldn't there be designed the address in our smart forms according to 006? Anyhting in customizing we missed?
    Thanks a lot for your answers.
    Torsten

    Hi,
    Try to use line priority of FM, below is a brief of documentation. You can read it more in FM documentation:
    Control Parameters
    See also the parameter documentation.
    ADDRESS_TYPE - Address type (from 3.0C)
    There are three types of address:
    Address type '1': addresses of firms or organizations; the address
    structure which is used in most SAP applications as 'Address'.
    Address type '2': address of a person
    Address type '3': work address, usually the address of a contact person
    in a company
    The default value SPACE for the address type is handled like type '1',
    and is needed for the upwards-compatibility of the function module.
    Which parameters are used for which address type is explained in the
    ADDRESS_TYPE parameter documentation.
    The three character "address layout key" of the recipient country (LAND1) controls which of the available country-specific routines is used to format addresses for the country in question. This key is stored in field T005-ADDRS and is entered in Customizing under Global settings -> Set countries -> Define countries, on the detail screen under "Address layout key".
    Keys for customer routines in the SAP enhancement SZAD0001 can be
    maintained via the transaction SM30 (extended table maintenance),table
    name T005A, in the customer name range, and be assigned in country customizing.
    The address attributes are passed in the structures ADDRESS1 (type 1), ADDRESS2 (type 2), ADDRESS3 (type 3) or ADRSWA_IN (type SPACE).
    NUMBER_OF_LINES (ADRSWA_IN-ANZZL)
    The number of lines available for the address layout. If the number of
    lines is not sufficient for the complete layout of an address, then
    lines are consecutively suppressed according to the rules of the country in question. Use the parameter LINE_PRIORITY (ADRSWA_IN-PRIOR) overrules the standard sequence in which the output lines are to be suppressed.
    LINE_PRIORITY (ADRSWA_IN-PRIOR)
    If not equal to SPACE, this field overwrites the standard sequence in
    which the lines are suppressed if the available number of lines ANZZL is
    insufficient.
    The standard sequence is defined as follows:
    Type 1:   'AP43HRT7I86LC2BS5O'       (GB:  'APRT4327I86CBS5LO')
    Type 2:   'APHRT7I86LCBS5O'          (GB:  'PRT7I86CBS5LO')
    Type 3:   'APF43HR7I86TLC2BSND5O'    (GB:  'APRT4327I86CBS5LNDIO')
    where (if they occupy a line of their own):
    A = Title
    P = Mandatory empty line 1
    F = Function of the contact person in the company
    4 = Name 4
    3 = Name 3
    H = Different city
    R = Region
    T = District
    L = Name of country
    C = Postal code
    T = District
    7 = Street 3 (field STR_SUPPL2)
    I = Street 5 (field LOCATION)
    8 = Street 4 (field STR_SUPPL3)
    6 = Street 2 (field STR_SUPPL1)
    L = Country
    C = Postal code
    2 = Name 2
    B = PO Box
    S = Street or PO Box
    5 = c/o name
    N = Name (and title) of a person
    D = Department
    O = City
    Which of these attributes are available for maintenance can vary. All
    fields exist in Business Address Services.
    STREET_HAS_PRIORITY (ADRSWA_IN-WAREN)
    'X': Street has priority over PO Box (delivery address for example)
    ' ': PO Box has priority over street. This is the default value.
    regards,

  • Creating multi forms  in a midlet

    hi everyone,
    i want to create a quiz, here i would like to know how to cal one form another.. anyone can help me.
    here i am giving my code.. i am new to j2me, i dnt knw how to cal 2nd from into command action
    public class Quiz3 extends MIDlet implements CommandListener {
      private Display display;
      private Form form1;
      private Form form2;
      private Command exit, choose;
      private ChoiceGroup technology;
      private ChoiceGroup Test1;
      private int index;
      private int index2;
      public Quiz3() {
        form1 = new Form("Technologies");
        form2 = new Form("Testing");
        technology = new ChoiceGroup("Select Technology Which You Know", Choice.MULTIPLE);
        Test1 =  new ChoiceGroup("Select The City", Choice.MULTIPLE);
        exit = new Command("Exit", Command.EXIT, 1);
        choose = new Command("Choose", Command.SCREEN, 2);
      public void startApp() {
        display = Display.getDisplay(this);
        technology.append("JAVA", null);
        technology.append("J2ME", null);
        technology.append("J2EE", null);
        technology.append("JSF", null);
        Test1.append("Chennai", null);
        Test1.append("Delhi", null);
        Test1.append("Bombay", null);
        Test1.append("AndhraPradesh", null);
        index = form1.append(technology);
        index2= form2.append(Test1);
        form2.addCommand(exit);
        form2.addCommand(choose);
        form2.setCommandListener(this);
        display.setCurrent(form2);
        form1.addCommand(exit);
        form1.addCommand(choose);
        form1.setCommandListener(this);
        display.setCurrent(form1);
      public void pauseApp(){}
      public void destroyApp(boolean unconditional){
        notifyDestroyed();
      public void commandAction(Command c, Displayable displayable){
        String label = c.getLabel();
        if (label.equals("Choose")) {
          StringItem message[] = new StringItem[technology.size()];
          boolean get[] = new boolean[technology.size()];
          technology.getSelectedFlags(get);
          for (int i = 0; i < get.length; i++) {
            if (get) {
    message[i] = new StringItem("Your Choice is: ", technology.getString(i));
    form1.append(message[i]);
    form1.delete(index);
    form1.removeCommand(choose);
    } else if (label.equals("Exit")){
    destroyApp(false);
    thanks in advance

    i have developed another midlet with multi forms, but here i am not able to go to next form..
    else if (c == cmdExit)
    display.setCurrent(frmSub);
    boolean picks[] = new boolean[java1.size()];
    StringItem message[] = new StringItem[java1.size()];
    java1.getSelectedFlags(picks);
    for (int i = 0; i < picks.length; i++) {
    if (picks) {
    message[i] = new StringItem("", java1.getString(i) + "\n");
    frmSub.append(message[i]);
    frmSub.delete(javaIndex1);
    destroyApp(false);
    notifyDestroyed();
    To get to +Next Form+ by command +Next+, I would rewrite above code about as follows:
    {code}else if (c == cmdForm)
       display.setCurrent(frmSub);
    }{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Muse CC 2014 contact web forms problems

    Hi I recently created a website using muse cc 2014 and I uploaded it to the hosting server a free one at freehosting.com I set up everything I know of and when I uploaded the site using muse it gave a error message saying something about PHP mail??? I setup the mail account for my admin user and entered that in the muse contact form. If I test the contact form I do not get the messages and I even added a email to have it forwarded to my yahoo account. If I go in my email account and enter the hosting email account I however do see the message on the server's webmail page and it gets forwarded to the email I set to be the forward email. I checked everything and I'm really confused as what needs to be done. I also submitted a ticket asking customer service they have yet to respond. To note I'm using a free hosting company as it's just a personal website that I don't need all the fancy stuff just the basic needed components to make it work. my website does show up and the pages work EXCEPT the contact form which is needed and important. I ran the script and this is the results
    PHP Version - OK
    mail configured incorrectly
    SQL configuration problem
    The last two  items I really don't understand what is the problem
    Im using Cpanel and here is some basic info on the  host server. Please help me. Thanks
    Hosting package
    Free Website
    Server Name
    customers
    cPanel Version
    11.44.0 (build 16)
    Theme
    x3
    Apache version
    2.4.9
    PHP version
    5.4.26
    MySQL version
    5.5.37-cll
    Architecture
    x86_64
    Operating system
    linux
    Shared IP Address
    Path to sendmail
    /usr/sbin/sendmail
    Path to Perl
    /usr/bin/perl
    Perl version
    5.10.1
    Kernel version
    3.14.3
    cPanel Pro
    1.0 (RC1) 

    What would be the fix or proper setup for the "SQL configuration problem?" I too am having form problems on a third party host, and after checking the PHP diagnostics, the "php version" reads ok, the "mail configuration" is ok, but the SQL configuration is not.
    I guess I just need to know what I need to communicate to the hosting administrator about the SQL so they will configure it properly.
    Thanks

  • Multi Form App.

    Hello,
    My forms9i application is a multi form app with a menu. I have used Call_Form to show my screens in hte application.
    Now I need to change the application to show multiple screens at a time. ie the user needs to toggle and work b/w multiple screens. I understand that I have to use Open_Form now. And with a new Session for each screen as validations from each screen need to fire?
    I notice that when I use Open_form the menu needto be attached to each screen and my menu need to be enable\disabled in each form! Is this the only way?
    Any other issues that can come up in using Open Form?
    Comment from your experience shall be of great help
    Thanks
    Sajan

    Were you able to find any solution?
    Thanks,
    Venu

  • Re:Close all Forms in Multi-form application

    how to Close all Forms in Multi form application's

    The easiest way would be to create an "initialize"-procedure in a pll, which simple default all the needed globals, if the do not already exist (using DEFAULT_VALUE), and call that procedure form every form in the PRE-FORM-trigger. It won't affect the "integrated" system because it only defaults values if they are not already initialized.

  • WRV200 multi SSID problem

    Hi. now i'm using WRV200 Router model.(use Multi SSID)
    - first and second SSID and encryption method is WPA-PSK, working well and no problem.
    - third SSID is working well first day, but next day, can be search SSID, but not getting a IP and connection failed.
      (if appear this enter administrator mode, not changed any other information, just click to save settings, then i use third SSID in oneday)
    - third SSID encryption method is WEP
    - Channels are used to channel 6
    - in this case, how can i fixed it?
      is this problem, SSID's problems? or channel's proble?
      why occur to multi SSID problem?
    pls help me

    The goal is to create one WLAN (wifi) with wpa2 and mac filtering that connect direcly to the physical network with server access, and the other WLAN (public) with only wpa2 protection and in isolated VLAN, for the guest.
    Suppose to have two SSID wifi and public (the second in the router web ui), both WPA2 Personal w/o MAC Filtering and w/o VLAN.
    I use only PC.
    With my laptop (windows 7) and two other laptop (win XP, win 7), I can see both SSID in wireless list, can connect to the first SSID.
    When I try to connect to the second SSID, the connection fail
    In the attachment you can see the actual router configuration.
    In the page Status -> Wireless LAN, ONLY one SSID is displayed (but is this web ui bug?).
    Thanks in advance

  • URGENT: New Shortcut to forms problem

    Hi!
    To create the forms whith the FORM BUILDER from oracle 10g, I always start up the OC4J instance, therefore, i am not connected to the net, and I do not want to be.
    So the problem is:
    Is it possible to create a shortcut so that if someone else other than me wants to use the forms I've created, and work with my database, does not need to open the form builder?!
    Wich means that by clicking on the shortcut icon, the connect window is popped up, the log in is inserted and I go directly to the forms created.
    Thanks
    I've received the following answer from Mr. Frank Nimphius:
    R: Tiago,
    if your PC is accessible for internal users and OC4J is up and running, you could have them creating a Browser shortct that looks similar to
    iexplorer http://tiagos_server:8889/forms90/f90servlet&form=ttiago_form.fmx....
    You can also define an application entry in the Forms forms.cfg file and change the shortcut to
    iexplorer http://tiagos_server:8889/forms90/f90servlet&config=app_entry
    Other people won't be able to edit the Forms this way, but can run your modules against your data base.
    Frank
    The Problem is:
    It does not open the forms!!
    How can I solve this problem !?
    thanks

    Mr Grant,
    I have created the shortcut icon, and putted that url.
    It initializes the applet and a window appears saying Installed Successfully!
    Oracle Aplication Server Forms Services.
    The window has an ok button, and I click it, but no form appears.
    Then nothing appens..
    It says that the window is opening but i've been waiting for centuries and my forms are not shown.
    I really need to do it.
    Thanks,
    Tiago

  • Please help me in my form problem .. urgent

    Good morning every body
    I have a problem with my form
    I have created one list item ( and changed the type to Tlist )
    Then I create one record group .. and I wrote the select statements as follows :
    SELECT NOM,TO_CHAR(REQ_ID) FROM  HD_PHOTOS WHERE REQ_ID = :parameter.req_id
    After that I created one procedure which does the following :
    PROCEDURE RET_DATA_new  IS     
    A NUMBER ;               
    tmp number ;
    BEGIN
                        SELECT COUNT(REQ_ID)           
              INTO A
                        FROM HD_PHOTOS                     WHERE REQ_ID = :parameter.req_id ;               
                        IF A <> 0 THEN                         tmp := populate_group('RECORD_GROUP32');                          populate_list('ENDUSERVIEWEDIT.a','RECORD_GROUP32');                    ELSE                          NULL ;                    *     END IF ;          *     
    END;
    Then in the trigger named : WHEN-NEW-FORM-INSTANCE I called this procedure
    The form runs with no errors … but when I tried to select a value from my list .. it always selects the first value in the list
    After that I changed the type to : combo box
    Then It runs ok .. but another problem occurred ……… the user can change the values retried in my list …. And this is not acceptable in my project ( I want the user not to change the value )
    I hope my problem is clear …. Waiting for your kind help

    This is what i am using for populating list or any other thing
    i am creating record group in runtime.. try this.. Its simple and it works..
    No need the check the record count. because if there is no value it wont give any error!
         DECLARE
              RG_ID      RECORDGROUP;
              ERRCODE      NUMBER;     
              RG_NAME      VARCHAR2(40)     := 'MY_RG'; -- RG_NAME
              ITEM_NAME VARCHAR2(40)     := 'ENDUSERVIEWEDIT.a'; -- ITEM_NAME
         BEGIN
         RG_ID := FIND_GROUP( RG_NAME );
              IF NOT ID_NULL(RG_ID) THEN
              DELETE_GROUP( RG_ID );
         END IF;
              RG_ID := CREATE_GROUP_FROM_QUERY(RG_NAME,'SELECT NOM,TO_CHAR(REQ_ID) FROM HD_PHOTOS WHERE REQ_ID = '''||:parameter.req_id||'''');
              ERRCODE := POPULATE_GROUP( RG_ID);
              POPULATE_LIST(ITEM_NAME,RG_NAME);
         END;
    ------------------------------------------------------------------------------------------------------------------------------------------------------

  • URGENT Please ! Problem printing form in LC ES2 "CT bad param: invalid matrix"

    Hello everyone,
    I'm a new user of Live Cycle but usually I am able to solve my problem by myself... This time, this problem really seem weird to me!
    I created 2 forms from an excel file, one that is working well in Live Cycle Es2, acrobat X and reader X (I set the parameters of the form so everybody is able to fill the form, save it and print it in Reader). The second page of the second document is problematic: Page 2 is unable to print in Live Cycle, acrobat or reader. I can save it, fill it but not print it. The first page alone is printing in all programs but as I add the second one I'm having those error messages:
    In live cycle:
    in Acrobat and Reader :
    Please help me, I really tryed what i could! (uninstall, reinstall, reboot, copy-paste in a new document, print on another printer, Windows7 update)...
    Thanks!!!!

    Hi,
    This error mainly occurs while populating the fieldcatalog i.e fields are wrongly populated. PLease chack your column Position no assignment.
    Another reason could be if you are using field symbols to assign data in the field catalog

  • Multi-part form problem (array & session help needed)

    I have a multi-part form that consists of 3 pages(forms) which each save data to the session. When the final form is complete, I insert the session variables to the DB via a FINISH button.
    I now want to take another step. Page 2 of this multi-part form allows users to add "items". Presently, they can add only 1 item, and move the page 3 by hitting a next button. I would like to add a "Add another item" button that goes to the page 2 form again, allowing more items to be entered. I believe I need an array/table to do this, but don't know how I might do this in the session.
    Is it possible to create an array in the session? If so, how? If not, how might I approach this?
    I am trying to avoid inserting to the database (a remote db) until after a "preview" page following the form.
    Any ideas? Thx in advance.

    Hi,
    This forum thread may help you:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50623
    Thanks,
    Creator Team.

Maybe you are looking for