Running in Query Mode

Dear Friend
I got this message "FRM-40208: Form running in query-only mode. Cannot change database fields."
This happened only when I run the program through the application menu program
But when I run the program alone it is not give this message and it is inserting
Without any problem.
Please help

It depends on what you're using as a menu. If it's a drop-down menu or a form then the code will be in an mmb or fmb file respectively and you'll need to change the QUERY_ONLY parameter in the specific Call_Form procedure call.
If that doesn't work or there is no Call_Form procedure call (eg Open_Form is used instead) then it may be that the menu itself is opened in Query-Only mode, so you'll have to change the way that is opened, but beware any change you make will affect the way other forms are run from the menu as well.
If the menu is a web page, or is opened in Query-Only mode in a web page, then you probably have query_only=YES set in the link to your form, so change it to query_only=NO.
If the menu is opened in Query Only mode from the command line or a shorcut then check for query_only in the parameters.

Similar Messages

  • Frm-40208 from running in query mode. cannot change database fields

    Hi,
    Could some one help me with this.
    I am calling a form from another form. I am passing the parameter list to the calling form and doing a query by setting the block property. But when queries the message
    FRM-40208 Form running in query mode. cannot change database fields .
    I do not want the message to appear when they go the called form . Please some one could help me how could I avoid displaying the message.
    Regards
    Bain

    Hi,
    Good day! I am working with a module that also calls another form. It uses call_form with query mode parameter set to query_only. My problem is, whenever i call the other form using the call_form, it would display the called module and then as it populates the detail block of the called form, it will display frm-40208 from running in query mode. cannot change database fields per record. What I want is for the message to be displayed only once.
    I have tried capturing the error by using on-error trigger, but it doesn't go to that whenever the other form was being called. I think the message has to do with the post-query trigger, because it passes some values on a dbase block objects.
    Do you have any suggested solutions or workarounds to make the message display only once whenever the other form is being invoked by the call_form?
    I would greatly appreciate any suggestions/ideas.
    Thanks and regards,
    ASantiago

  • FRM-40208 - CAN NOT UPDATE, WHEN RUNNING IN QUERY MODE

    Hi all,
    I am calling a form in a query mode and when the query is performed in the called form, i am trying to update a field, but i get a error message frm-40208. I have checked my block properties insert_allowed, update_allowed and delete_allowed are set to yes and in the item properties the QUER ONLY is set to NO. can any 1 please help in this matter.
    Regards,
    Ritesh

    how do you do an enter query? is it code somewhere in the pre-form or pre-block automatically using the enter_query?

  • How to know that a form is running in query-only mode

    I have a form that can run in query-only mode or non-query-only mode depending on the current user who logs in, and I want to change its apprearance dynamically when it's in different modes (for example, enable or disable buttons). Is there a built-in or system variable from which I know that the form is running in query-only mode or not?
    Thanks,
    Shu

    The global variable solution is what we are using now. I thought there are some unpublished built-in or system variables. In my application, there is a public "menu" form from where hundreds of forms are CALLed with some in query-only mode and some in non-query-only mode depending on the current user role. :PARAMETER.QUERY_ONLY will always be 'NO' because the "menu" form is started in non-query-only mode. But it's good to know about it.
    Thank you very much for your replies,
    Shu

  • FRM-40208: Form running in query-only mode. Cannot change database fields.

    Hi,
    I am using forms 6i where it is calling a form from a menu in query like call_form(,query_only). Now an error is occurring on call of that form ‘FRM-40208: Form running in query-only mode. Cannot change database fields.’ Though this is been handled to give a certain message from on_error message from a package from library.
    Now the issue is that the error keeps on popping even after the ok button is pressed. There are number of records from the table. How can we handle the error. Any suggestion would be really appreciated!!!
    Regards,
    Rajesh

    thanks Gred but i have resolved the issue. it seems that each row was going into query_only mode (program written such a way). therefore the error was showing even after the OK button. handled the issue from ON_ERROR trigger. anyway thanks for your time Gred!

  • 'Structure Changed' Error when running a query

    Hi,
    I created a query with 2 structures. One structure for the time periods and one with Key figures (Calc and Restricted).
    The query ran fine and subsequently I put this into a workbook which had other queries and made a workbook type report.
    I modified the structure with the key figures recently and when I run the query now a popup box appears saying "warning; structure changed" and lists down the query elements that I changed, and subsequently the query does not run (no data is displayed).
    But if I open the same query in design mode and do nothing and run the query again (with the same input parameters), it runs ok.
    Please advise on how I can sort this out.
    Any help would be greatly appreciated.
    Thanks,
    Dominic

    Hi,
    If you want, you can remove the query with 'Remove Query' option in the BEx toolbar and then re-insert the query and then save the changes to the workbook. The next time, you refresh the workbook you won't get any such messages.
    Thanks

  • How to put the form in Query mode

    Hello
    Please let me know how to put the form or block in Query mode , so that when i run the form it should be in Query mode . I have seen properties of SET_FORM_PROPERTY and SET_BLOCK_PROPERTY but cannot find one
    Thanks

    QUERY mode? Did you mean, that you can only QUERY without changing data.
    This is the QUERY-ONLY-mode, which can be started e.g. call_form
    this is the help for that topic:
    PROCEDURE CALL_FORM
    (formmodule_name VARCHAR2,
    display NUMBER,
    switch_menu NUMBER,
    query_mode NUMBER,
    data_mode NUMBER,
    paramlist_name VARCHAR2);
    query_mode     
    NO_QUERY_ONLY (The default.) Form Builder will run the indicated form in normal mode, allowing the end user to perform inserts, updates, and deletes from within the called form.
    QUERY_ONLY Form Builder will run the indicated form in query-only mode, allowing the end user to query, but not to insert, update, or delete records.

  • [ Forms10g2 ] Default item value in Enter-Query mode

    Hello!
    How could I specify default value for an item in Enter-Query mode? E.g. I press KEY-ENTQRY, and :L_YEAR item gots current year as a default search condition (though it may change). I've tried to implement it this way:
    <pre>
    Enter-Query;
    :l_year := extract(year from sysdate);
    </pre>
    This work in a rather awkward way. If I run this once (e.g. as a result of a hotkey press), it just enters Enter-Query mode, but if I run this twice (by pressing hotkey second time) it fills :year variable and does search with it as a search condition! Then, I've tried to go straight and wrote:
    <pre>
    Enter-Query;
    :l_year := extract(year from sysdate);
    Enter-Query;
    :l_year := extract(year from sysdate);
    </pre>
    Well, this didn't work. And SYNCRONIZE call before the second Enter-Query didn't help either. So, my questions are: 1) how can I achieve needed behaviour? 2) What's going on in my experiments? Why :L_YEAR gets assigned on second keypress (as in first experiment) but not on second subsequent call (as in second experiment)?
    Thanks in advance!

    I don't know why that won't work but I have something which might:
    when-new-record-instance trigger:
    if :system.mode = 'ENTER-QUERY' then
      :l_year := extract(year from sysdate);
    end if;It's always best to use both the block and item names...:block.l_year

  • Starting form in Enter-Query mode disables some buttons on Smartbar

    Whenn I run a form (on the Web) which starts in Enter-Query mode, the buttons "Execute Query" and "Enter Query" are disabled on the Smartbar. Also the corresponding menu options are disabled. Besides, it is psossible to use the appropiate keys (in my case: F7 and F8).
    Has anyone experienced the same problem and is there a solution?
    Let me know.
    Thanx

    Frank: Thats what i thought too -but i saw (in other Sources) that it could be done, but how..
    Eugeniy I Duzhinskiy:
    So, many Thanks to you. It works fine !!!!
    (Its great to see there are some other Forms Users out there :) )

  • KEY-CERREC TRIGGER IN ENTER-QUERY MODE

    hi all,
    i want fire key-crerec trigger in enter-query mode, how it can be done.
    i am using oracle 10g r2.

    first: Why did you need such a trigger? In Enter-Query-Mode it is impossible to create new records.
    second: Forms has a problem with some triggers in some modes. That means, that some trigger didn't fire in enter-query, but in older versions of forms they do. So, maybe you run into one of this problems

  • Spool process running on "Querying" state

    Hi,
    One of the work process is running on "querying" state, for every 3 minutes. And raising up even we kill it on process overview. At the end of the process it is core dumping on system with the error below;
    ABAP runtime errors    SYSTEM_CORE_DUMPED
           Occurred on     16.07.2008 at 00:31:48
    Process terminated by signal 11.
    What happened?
    Error in the SAP Basis system
    ABAP/4 processor detected an internal system error.
    The current ABAP program "RSPOWP00 " had to be terminated because the ABAP
    processor discovered an invalid system state.
    Even though we set "Do not query host spooler for output status" on SPAD, the system is still querying those printers that we already set this parameter.
    The system is HP-UX and the spool access method "S" configured for each printer. I am sure that there's no any network problem between server and the host spooler. Kernel version is 4.6C.
    What can cause the problem? Anyone has a suggestion?
    Thank you


    ** W34 LOOP (SPO) *********
    T  alloc memory 14252ee80 (96)
    T  module rspoerrh matches rspo* -> project Sp
    T  alloc memory 14252eee0 (56)
    T  alloc memory 14252ef18 (80)
    T  alloc memory 14252ef68 (80)
    T  alloc memory 14252efb8 (64)
    T  alloc memory 14252eff8 (64)
    M  invalidate act fields from T34/M0
    M  ThRqWaitFor: wait for next request new time slice
    M  event-handling: W34, key 905, flag 956
    M  ThRqWaitFor: wait for request
    M Wed Jul 16 13:06:41 2008
    M  ThRqAccept: allowed rq_type = 0
    M  set act fields to T34/M0
    M  ThSetDefaultTaskType: set task type ZTTASPO
    M  ThIsAsyncInput (T34, M0, ..), allowed rq_type = TH_ALL_RQ
    M  LOCK WP ca_blk 2
    M  LOCK APPC ca_blk 1800
    M  set act fields to T34/M0
    M  ThClearNextFields ()
    M  rq_id 839 for T34 U35 M0 I0 recv 0 (Mstat 66, len -1) (from dispatcher)
    M    resCheck=0 Tname:
    M  set MSG_SPOASYNC in Overhead
    S  Create Spool Alarm Message
    M  set SPOOL ALARM
    M  ThRqInCheck: o.k.
    M  ThRqAccept: saved MODE_REC = 40
    M  Adresse   Offset  SPOASYNC-Request
    M  -
    M  a00fa60  000000  00000000 02000000 41000000 00000000 |........A.......|
    M  a00fa70  000016  00000000 00000000 00000000 00000000 |................|
    M  a00fa80  000032  00000000 00000000 00000000 00000000 |................|
    M  a00fa90  000048  00000000 00000000 00000000 00000000 |................|
    M  a00faa0  000064  00000000 00000000 00000000 00000000 |................|
    M  a00fab0  000080  00000000 00000000 00000000 00000000 |................|
    M  a00fac0  000096  00000000 00000000 00000000 00000000 |................|
    M  a00fad0  000112  00000000 00000000 00000000 00000000 |................|
    M  a00fae0  000128  00000000 00000000 00000000 00000000 |................|
    M  a00faf0  000144  00000000 00000000 00000000 00000000 |................|
    M  a00fb00  000160  00000000 00000000 00000000 00000000 |................|
    M  a00fb10  000176  00000000 00000000 00000000 00000000 |................|
    M  a00fb20  000192  00000000 00000000 00000000 00000000 |................|
    M  a00fb30  000208  00000000 00000000 00000000 00000000 |................|
    M  a00fb40  000224  00000000 00000000 00000000 00000000 |................|
    M  a00fb50  000240  00000000 00000000 00000000 00000000 |................|
    M  a00fb60  000256  00000000 00000000 00000000 00000000 |................|
    M  a00fb70  000272  00000000 00000000 00000000 00000000 |................|
    M  a00fb80  000288  00000000 00000000 00000000 00000000 |................|
    M  a00fb90  000304  00000000 00000000 00000000 00000000 |................|
    M  a00fba0  000320  00000000 00000000 00000000 00000000 |................|
    M  a00fbb0  000336  00000000 00000000 00000000 00000000 |................|
    M  a00fbc0  000352  00000000 00000000 00000000 00000000 |................|
    M  a00fbd0  000368  00000000 00000000 00000000 00000000 |................|
    M  a00fbe0  000384  00000000 00000000 00000000 00000000 |................|
    M  a00fbf0  000400  00000000 00000000 00000000 00000000 |................|
    M  a00fc00  000416  00000000 00000000 00000000 00000000 |................|
    M  a00fc10  000432  00000000 00000000 00000000 00000000 |................|
    M  a00fc20  000448  00000000 00000000 00000000 00000000 |................|
    M  a00fc30  000464  00000000 00000000 00000000 00000000 |................|
    M  a00fc40  000480  00000000 00000000 00000000 00000000 |................|
    M  a00fc50  000496  00000000 00000000 00000000 00000000 |................|
    M  a00fc60  000512  00000000 00000000 00000000 00000000 |................|
    M  a00fc70  000528  00000000 00000000 00000000 00000000 |................|
    M  a00fc80  000544  00000000 00000000 00000000 00000000 |................|
    M  a00fc90  000560  00000000 00000000 00000000 00000000 |................|
    M  a00fca0  000576  00000000 00000000 00000000 00000000 |................|
    M  a00fcb0  000592  00000000 00000000 00000000 00000000 |................|
    M  a00fcc0  000608  00000000 00000000 00000000 00000000 |................|
    M  a00fcd0  000624  00000000 00000000 00000000 00000000 |................|
    M  a00fce0  000640  00000000 00000000 00000000 00000000 |................|
    M  a00fcf0  000656  00000000 00000000 00000000 00000000 |................|
    M  a00fd00  000672  00000000 00000000 00000000 00000000 |................|
    M  a00fd10  000688  0000                                |..              |
    M  -
    M  new request: THFCSPO
    M  TskhLoop: handle thfc 24
    M  set task type/act rqtype = ZTTADIA/1
    M  PfRecCreate: create record (0)
    M  set cpu stamp
    M  tskh_spainit: install saved spa pointer 141cf7570
    M  tskh_spainit: U35 M0 I0
    A  + not rolled in
    A  + not rolled in
    M  ThSavUsrClient: set usr >SAPSYS      <
    M  ThSavUsrClient: set client >000<
    M  ThEmInit: call EmContextCreate (U35/M0, ..)
    M  ThEmInit: em context for T34/M0 created (em_hdl=116)
    M  set task type/act rqtype = ZTTASPO/5
    M  Thdynpen00: call dynp handler (21) ...
    Y
    Y  ======================== DYNP entry 21:
    Y  RollEnvir UNDEF 00035_00_0000000000 00 SAPSYS
    Y  start spool
    Y  init new session
    Y  init_imode_spa
    A  ab_resize 0 2896 141d37780 DYNBPT
    M  NiIHostToAddr: hostname yssux01 = addr 10.80.1.30
    Y  init_dynpro
    A  Initialize Task.
    A  +                      SAPSYS       90  cleaned up ...   rlv=clean
    A  ab_resize 0 131072 141d38300 abstor
    A  ab_resize_imode(): 0 131072 131088 141d38300
    A  ab_resize 0 28463 141d58330 abinit
    A  +                      SAPSYS       90  Starting task ...   rlv=running
    A  ab_resize 0 12000 141d5f280 abgetw
    A  ab_resize 0 8000 141d62190 abgetw
    A  ab_resize 0 1000 141d64100 abgetw
    A  LOAD SEGMENT
    A  ab_resize 0 240 141d64510 abstor
    A  ab_resize 0 5280 141d64630 abinit
    A  LOAD SEGMENT /%_LISTTABLES
    A  ab_resize 0 16384 141d65b00 abdseg
    A  ab_resize 0 5232 141d69b30 abdseg
    A  ab_resize 0 4608 141d6afd0 abstac
    A  ab_resize 0 4096 141d6c200 abstac
    A  ab_resize 0 2048 141d6d230 abstac
    A  ab_resize 0 1200 141d6da60 abstac
    A  LOAD SEGMENT stack area
    A  ab_resize 0 16384 141d6df40 abgetw
    B  db_rtab ( fcode = 'READ_ONLY', tname = 'TCP0C                         ' )
    B  NTAB: tabname: TCP0C                         , fcode: 1
    B  NTAB: tabname: TCP0C                         , fcode: 7
    A  ab_resize 0 281 141d71f70 abloca
    B  NTAB: tabname: SYST                          , fcode: 6
    D   SET-TITLE TEXT: SAP R/3
    A  +                      SAPSYS       90  Task running ...   rlv=running
    Y  dy_new_trans_key: set new enq keys (dia + upd)
    M  ThNewEnqKey: new dia/update enqueue key
    E  New Enq-Owner (dia): 20080716130641371478003400yssux01.........................
    M  ThNewEnqKey: new dia/update enqueue key
    E  New Enq-Owner (upd): 20080716130641371478013400yssux01.........................
    Y  dy_new_trans_key: set new trans id (form=1)
    D    SET-STATUS: MENUSYST                                 MEN
    D   SET-TITLE TEXT: SAP R/3
    A  Initialize Task.
    A  +                      SAPSYS       90  cleaned up ...   rlv=clean
    A  ab_resize 0 131072 141d720b0 abstor
    A  ab_resize_imode(): 0 131072 131088 141d720b0
    A  ab_resize 0 28463 141d920e0 abinit
    A  +                      SAPSYS       90  Starting task ...   rlv=running
    A  ab_resize 0 12000 141d99030 abgetw
    A  ab_resize 0 8000 141d9bf40 abgetw
    A  ab_resize 0 1000 141d9deb0 abgetw
    A  LOAD SEGMENT
    A  ab_resize 0 240 141d9e2c0 abstor
    A  ab_resize 0 5280 141d9e3e0 abinit
    A  LOAD SEGMENT /%_LISTTABLES
    A  ab_resize 0 16384 141d9f8b0 abdseg
    A  ab_resize 0 5232 141da38e0 abdseg
    A  ab_resize 0 4608 141da4d80 abstac
    A  ab_resize 0 4096 141da5fb0 abstac
    A  ab_resize 0 2048 141da6fe0 abstac
    A  ab_resize 0 1200 141da7810 abstac
    A  LOAD SEGMENT stack area
    A  ab_resize 0 16384 141da7cf0 abgetw
    A  ab_resize 0 281 141dabd20 abloca
    D   SET-TITLE TEXT: SAP R/3
    A  +                      SAPSYS       90  Task running ...   rlv=running
    A  LOAD PROGRAM RSPOWP00
    A  ab_resize 0 11264 141dabe60 abload
    A  ab_resize 0 56 141daea90 abload
    A  ab_resize 0 1026 141daeaf0 abdseg
    A  LOAD SEGMENT
    A  ab_resize 0 56 141daef20 abgetw
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  LOAD SEGMENT SYST
    A  LOAD SEGMENT SY
    A  LOAD SEGMENT RSJOBINFO
    A  LOAD SEGMENT /%_SYS%%
    A  LOAD SEGMENT
    A  LOAD SEGMENT /%_SSCR
    A  LOAD SEGMENT VARI
    A  LOAD SEGMENT
    A  ab_resize 0 272 141daef80 abgetw
    A  +                      SAPSYS       90  IsGuiOn ... (flag: 0, mode: off, task_type: off, term_io_set: -1)   rlv=running
    A  +                      SAPSYS       90  Program loaded.   rlv=running
    Y  dyLoadAndInitDynpro
    Y    Type Main
    Y    Name >RSPOWP00 2000
    Y  ->load dynpro RSPOWP00 2000
    Y   RSPOWP00<
    Y    dy_abrt
    A  ab_resize 0 32968 141daff20 ablink
    A  LOAD PROGRAM SAPMSSYD
    A  ab_resize 0 56 141d377e0 abload
    A  LOAD SEGMENT
    A  ab_resize 0 64 141d37840 abgetw
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  LOAD SEGMENT SYST
    A  LOAD SEGMENT SY
    A  LOAD SEGMENT RSJOBINFO
    A  LOAD SEGMENT /%_SYS%%
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  +                      SAPSYS       90  Program loaded.   rlv=running
    D  DiagGuiSupport (RESET) value EMERGENCY_REPAIR
    A  LOAD PROGRAM SAPFSYSCALLS
    A  ab_resize 0 56 141d378b0 abload
    A  LOAD SEGMENT
    A  ab_resize 0 56 141d37910 abgetw
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  LOAD SEGMENT SYST
    A  LOAD SEGMENT SY
    A  LOAD SEGMENT RSJOBINFO
    A  LOAD SEGMENT /%_SYS%%
    A  LOAD SEGMENT
    A  LOAD SEGMENT
    A  +                      SAPSYS       90  Program loaded.   rlv=running
    D  DiagGuiSupport (RESET) value ITS
    Y    lock 43 (cnt=1)
    S  <== unlock 43 (cnt=2)
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  sending spool admin message (type=SRV op=I)
    M  ThISendMsg: send message (11) to all server (wp) matching types 1
    M  ThISend: (tm/type = 34/0x1000, mode_deleted=0)
    M  ThRqOutCheck: o.k.
    M  abap strategy ROLL / O.K.
    M  ThNewWpStat: new state of T34/M0 = 0x42
    M  ThISend: new wp stat: 0x0
    M  Adresse   Offset  Message by type
    M  -
    M  a01f4c0  000000  00000000 0b000000 41442d45 59454341 |........AD-EYECA|
    M  a01f4d0  000016  54434800 01012020 20202020 20203130 |TCH...        10|
    M  a01f4e0  000032  34202020 20202020 20202031 2c000000 |4          1,...|
    M  a01f4f0  000048  53525620 20497973 73757830 315f5953 |SRV  Iyssux01_YS|
    M  a01f500  000064  535f3030 20202020 20200000 00000000 |S_00      ......|
    M  a01f510  000080  00000000 00020000 00000000 00000000 |................|
    M  a01f520  000096  00000000 00000000 00000000 00000000 |................|
    M  a01f530  000112  00000000 00000000 00000000 00202020 |.............   |
    M  a01f540  000128  20202020 20202020 20202020 20202020 |                |
    M  a01f550  000144  20202020                            |                |
    M  -
    M  make DISP owner of wp_ca_blk 4
    M  put request into queue (reqtype 0, prio LOW, rq_id 850)
    M  -OUT- sender_id    WORK_PROCESS   tid  34    wp_ca_blk   4       wp_id 34
    M  -OUT- action    SEND_MSG_TYPE     uid  35    appc_ca_blk -1      type  NOWP
    M  -OUT- new_stat  NO_CHANGE         mode 0     len         148     rq_id 850
    M  -OUT- forward   DIA
    M  -OUT- req_info  MSG_WITH_REQ_BUF MSG_WITH_OH
    M  wake_evt_udp_now 1, no dgram needed
    M  LOCK WP ca_blk 6
    S  spool admin message received (type SRV op I (raw))
    T  alloc memory 14252f758 (96)
    T  module rsposerv matches rspo* -> project Sp
    T  alloc memory 14252f7b8 (56)
    T  alloc memory 14252f7f0 (80)
    T  alloc memory 14252f840 (56)
    T  alloc memory 14252f878 (80)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    T  alloc memory 14252f8c8 (56)
    T  alloc memory 14252f900 (80)
    T  alloc memory 14252f950 (56)
    T  alloc memory 14252f988 (80)
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    T  alloc memory 14252f9d8 (56)
    T  alloc memory 14252fa10 (80)
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  setting spool action querying
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S  ==> lock 43 (cnt=1)
    S  <== unlock 43 (cnt=2)
    T  alloc memory 14252fa60 (56)
    T  alloc memory 14252fa98 (80)
    S    found next entry 0 'IZMB' (status temp,ndqy,asyn,used,exst,resp,vald)
    T  alloc memory 14252fae8 (56)
    T  alloc memory 14252fb20 (80)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    T  alloc memory 14252fb70 (56)
    T  alloc memory 14252fba8 (80)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S    found next entry 1 'IZ27' (status actw,asyn,exst)
    S    found next entry 2 'PR72' (status actw,asyn,exst)
    S    found next entry 3 'PR35' (status asyn,used,exst,vald)
    S    found next entry 4 'LP01' (status actw,ndqy,exst,resp)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    T  alloc memory 14252fbf8 (96)
    T  module rspohjob matches rspo* -> project Sp
    T  alloc memory 14252fc58 (56)
    T  alloc memory 14252fc90 (80)
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  Query Printer LP01 not required
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S    found next entry 5 'TP62' (status actw,asyn,exst)
    S    found next entry 6 'PR69' (status asyn,used,exst,vald)
    S    found next entry 7 'IZ38' (status actw,asyn,exst)
    S    found next entry 8 'STL4' (status actw,asyn,exst)
    S    found next entry 9 'IZ45' (status asyn,used,exst,vald)
    S    found next entry 10 'MER1' (status actw,asyn,exst)
    S    found next entry 11 'TP80' (status asyn,used,exst,vald)
    S    found next entry 12 'IZ24' (status asyn,used,exst,vald)
    S    found next entry 13 'IZ39' (status actw,asyn,used,exst,vald)
    S    found next entry 14 'PR62' (status actw,asyn,used,exst,vald)
    S    found next entry 15 'TP14' (status actw,asyn,used,exst,vald)
    S    found next entry 16 'PR34' (status actw,asyn,used,exst)
    S    found next entry 17 'TP38' (status actw,asyn,used,exst,vald)
    S    found next entry 18 'IZMC' (status actw,asyn,used,exst,vald)
    S    found next entry 19 'PR23' (status actw,noqy,ndqy,asyn,exst,resp)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  Query Printer PR23 not required
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S    found next entry 20 'ANT0' (status actw,noqy,ndqy,asyn,used,exst,resp,vald)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=1)
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=2)
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    T  alloc memory 14252fce0 (56)
    T  alloc memory 14252fd18 (80)
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  Doing: querying ANT0
    S  setting spool action querying ANT0
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  ==> lock 31 (cnt=1)
    S  <== unlock 31 (cnt=2)
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  ==> lock 31 (cnt=0)
    S  SemRq(31) done
    S  <== unlock 31 (cnt=1)
    S  SemRel(31) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    S  Query Printer ANT0:
    T  alloc memory 14252fd68 (96)
    T  module rspooms matches rspo* -> project Sp
    T  alloc memory 14252fdc8 (56)
    T  alloc memory 14252fe00 (80)
    T  alloc memory 14252fe50 (56)
    T  alloc memory 14252fe88 (80)
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    T  alloc memory 14252fed8 (56)
    T  alloc memory 14252ff10 (80)
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    B  db_rtab ( fcode = 'READ_FUPD', tname = 'TSP02                         ' )
    B  NTAB: tabname: TSP02                         , fcode: 1
    B  NTAB: tabname: TSP02                         , fcode: 1
    B  NTAB: tabname: TSP02                         , fcode: 10
    B  NTAB: tabname: TSP02                         , fcode: 6
    C  -->oci_alloc_stmt (con_hdl=0)
    C  <--oci_alloc_stmt (stmth_p=14225faf0)
    C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT "PJIDENT" , "PJNUMMER" , "PJDEST" , "PJPAPE ..., stmt_ln=549, stmth_p=14225faf0)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265f70, iters=1, rowoff=0, query=0)
    C  -->oci_bind (stmth_p=14225faf0, cnt=2)
    C  -->oci_define (stmth_p=14225faf0, cnt=35)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225faf0, iters=1, rowoff=0, query=1)
    B  db_rtab ( fcode = 'READ_ONLY', tname = 'TSP02L                        ' )
    B  NTAB: tabname: TSP02L                        , fcode: 1
    B  NTAB: tabname: TSP02L                        , fcode: 1
    B  NTAB: tabname: TSP02L                        , fcode: 10
    B  NTAB: tabname: TSP02L                        , fcode: 6
    C  -->oci_alloc_stmt (con_hdl=0)
    C  <--oci_alloc_stmt (stmth_p=14225fc70)
    C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT "PJIDENT" , "PJNUMMER" , "LINES" , "COLUMNS ..., stmt_ln=306, stmth_p=14225fc70)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265f70, iters=1, rowoff=0, query=0)
    C  -->oci_bind (stmth_p=14225fc70, cnt=2)
    C  -->oci_define (stmth_p=14225fc70, cnt=19)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225fc70, iters=1, rowoff=0, query=1)
    S  print job 30829/1 has no list attributes
    B  db_rtab ( fcode = 'UPDATE', tname = 'TSP02                         ' )
    B  NTAB: tabname: TSP02                         , fcode: 1
    C  -->oci_alloc_stmt (con_hdl=0)
    C  <--oci_alloc_stmt (stmth_p=142265bb0)
    C  -->oci_prepare_stmt (con_hdl=0, stmt=UPDATE "TSP02" SET "PJDEST" = :A0 , "PJPAPER" = :A ..., stmt_ln=734, stmth_p=142265bb0)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265f70, iters=1, rowoff=0, query=0)
    C  -->oci_bind (stmth_p=142265bb0, cnt=35)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265bb0, iters=1, rowoff=0, query=0)
    M  ThICommit3: commit and keep resources
    M  ThCheckComOrRb (event=1, full_commit=1)
    M  ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
    M  ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
    S  no temse root so far
    B  db_con_commit (con_da={R/3,0,0},th_commit=1,forced=1,tx=1,hold_cursor=1)
    B  db_con_commit (com_total=5, com_forced=1, com_tx=1)
    C  -->oci_commit (con_hdl=0)
    B  Connection 0 committed
    M  ThCheckComOrRb (event=3, full_commit=1)
    M  ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
    M  ThNoClearPrevErr: clear prev no err
    M  ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
    S  no temse root so far
    M  ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
    M  ThICommit3 o.k.
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    B  db_rtab ( fcode = 'READ_FUPD', tname = 'TSP02                         ' )
    B  NTAB: tabname: TSP02                         , fcode: 1
    B  NTAB: tabname: TSP02                         , fcode: 6
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225faf0, iters=1, rowoff=0, query=1)
    S  ==> lock 43 (cnt=0)
    S  SemRq(43) done
    S  <== unlock 43 (cnt=1)
    S  SemRel(43) done
    B  db_rtab ( fcode = 'READ_FUPD', tname = 'TSP02                         ' )
    B  NTAB: tabname: TSP02                         , fcode: 6
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225faf0, iters=1, rowoff=0, query=1)
    B  db_rtab ( fcode = 'READ_ONLY', tname = 'TSP02L                        ' )
    B  NTAB: tabname: TSP02L                        , fcode: 1
    B  NTAB: tabname: TSP02L                        , fcode: 6
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225fc70, iters=1, rowoff=0, query=1)
    S  print job 435/1 has no list attributes
    M  signal was in UNBLOCKED mode
    M  -
    C-STACK -
       0: 0x1205d8028
          OSF_stacktrace
          dptstack.c :   879
          dw.sapYSS_DVEBMGS00  .text
       1: 0x1205d7f44
          CTrcStack2
          dptstack.c :   265
          dw.sapYSS_DVEBMGS00  .text
       2: 0x12139cbbc
          SigIGenAction
          sigux.c :   738
          dw.sapYSS_DVEBMGS00  .text
       3: 0x3ff800d5d00
          __tis_init
          /usr/shlib/libc.so  .text
       5: 0x1210897e0
          strfcpy
          sapstr.c :   236
          dw.sapYSS_DVEBMGS00  .text
       6: 0x120e9fec4
          SetJobInfo
          rspohjob.c :   316
          dw.sapYSS_DVEBMGS00  .text
       7: 0x120ea0f24
          FindDoneJobs
          rspohjob.c :   559
          dw.sapYSS_DVEBMGS00  .text
       8: 0x120ea3d90
          SpHostSpoolFindDoneJobs
          rspohjob.c :  1291
          dw.sapYSS_DVEBMGS00  .text
       9: 0x120f75e64
          LPD_query_hostspool
          rspoyunx.c :  3581
          dw.sapYSS_DVEBMGS00  .text
      10: 0x120f74a40
          rspoqh__query_hostspool
          rspoyunx.c :  3144
          dw.sapYSS_DVEBMGS00  .text
      11: 0x120f21cb4
          SpDevQueryHostspool
          rspopcc.c :  2838
          dw.sapYSS_DVEBMGS00  .text
      12: 0x120f9bc0c
          rspoget2_on_unix
          rspowunx.c :   978
          dw.sapYSS_DVEBMGS00  .text
      13: 0x120f932f8
          rspopsd_process_start_dynpro
          rspodynp.c :    64
          dw.sapYSS_DVEBMGS00  .text
      14: 0x12067af74
          N_rspopsd_process_start_dynpro
          dymainstp.c :  4023
          dw.sapYSS_DVEBMGS00  .text
      15: 0x120675e44
          dynpmcal
          dymainstp.c :  2084
          dw.sapYSS_DVEBMGS00  .text
      16: 0x1206723a8
          dynppbo0
          dymainstp.c :   464
          dw.sapYSS_DVEBMGS00  .text
      17: 0x120671b2c
          dynprctl
          dymainstp.c :   301
          dw.sapYSS_DVEBMGS00  .text
      18: 0x12066e7cc
          dynpen00
          dymain.c :  1204
          dw.sapYSS_DVEBMGS00  .text
      19: 0x1204c6b6c
          Thdynpen00
          thxxhead.c :  3863
          dw.sapYSS_DVEBMGS00  .text
      20: 0x1204c604c
          TskhLoop
          thxxhead.c :  3686
          dw.sapYSS_DVEBMGS00  .text
      21: 0x1204bdab0
          tskhstart
          thxxhead.c :   951
          dw.sapYSS_DVEBMGS00  .text
      22: 0x120453140
          DpMain
          dpxxdisp.c :   850
          dw.sapYSS_DVEBMGS00  .text
      23: 0x120451984
          main
          thxxanf.c :    50
          dw.sapYSS_DVEBMGS00  .text
    M  -
    M Wed Jul 16 13:06:44 2008
    M  ***LOG Q0E=> SigIGenAction, signal ( 11)
    M  SigIGenAction: call exithandler ThSigHandler(FALSE)
    M  ThSigHandler: call ThErrHandle
    M  in_ThErrHandle: 1
    M  ThSigHandler: signal (step 4, th_errno 11, action 4)
    M
    M  Info for wp 34
    M
    M    stat = 4
    M    reqtype = 5
    M    act_reqtype = 5
    M    tid = 34
    M    mode = 0
    M    len = 690
    M    rq_id = 839
    M    rq_source = 1
    M    rq_info = 270336
    M    last_tid = 34
    M    last_mode = 0
    M    int_checked_resource = 0
    M    ext_checked_resource = 0
    M    report = >querying ANT0                           <
    M    action = 0
    M    tab_name = >                              <
    M
    M  Modeinfo for User T34/M0
    M
    M    tm state = 2
    M    uid = 35
    M    term type = 0x0
    M    display = 0x0
    M    cpic_no = 0
    M    cpic_idx = -1
    M    usr = >SAPSYS      <
    M    terminal = >                    <
    M    client = >000<
    M    conversation_ID = >        <
    M    appc_tm_conv_idx = -1
    M    imode = 0
    M    mode state = 0x42
    M    th_errno = 11
    M    rollout_reason = 0
    M    last_rollout_level = 0
    M    async_receives = 0
    M    cpic_receive = 0
    M    em handle = 116
    M    roll state = 2
    M    abap state = 2
    M    em state = 3
    M    eg state = 1
    M    spa state = 3
    M    enq state = 0
    M    next hook = T-1/U-1/M255
    M    master hook = T-1/U-1/M255
    M    slave hook = T-1/U-1/M255
    M    debug_tid = -1
    M    mode type = 0x1
    M    debug = 0
    M    tcode = >                    <
    M    client conversation_ID = >        <
    M    server conversation_ID = >        <
    M    lock = 0
    M    max enq infos = 0
    M    act enq infos = 0
    M    em_hyper_hdl = NULL
    M
    M
    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server yssux01_YSS_00 on host yssux01 (wp 34)
    M  *  ERROR       ThSigHandler: signal
    M  *
    M  *  TIME        Wed Jul 16 13:06:44 2008
    M  *  RELEASE     46D
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          11
    M  *  MODULE      thxxhead.c
    M  *  LINE        8435
    M  *  COUNTER     12
    M  *
    M  *****************************************************************************
    M
    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALL_HOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  Entering ThSetStatError
    M  ThErrHandle: incomplete previous roll out, do a full roll out
    M  ThRollOut: roll out T34/U35/M0/I0 (level=7, short_roll_out=0)
    M  ThRollOut: call rrol_out
    R  enter roll_out:  rollkey: 35 0 0
    R  roll out area[0]
    R  rrol_area_end[0] = 141cf755f
    R  HEADER: id USRINF class 4 len 528 n_len 528
    R  <ROLL-UA> get first(1): user:35  not found
    R  SemRq
    R  <ROLL-FL> get block (1): 3029
    R  roll out: next free block 3029
    R  <ROLL-UA> set first(1): user:35  level:0  bnr:63/127  block:3029
    R  out: next[0] = 3029 first 1 rnum 48
    R  HEADER: id -CCCI- class 4 len 176 n_len 176
    R  HEADER: id -CCCO- class 4 len 176 n_len 176
    R  HEADER: id M2CCCI class 4 len 176 n_len 176
    R  HEADER: id M2CCCO class 4 len 176 n_len 176
    R  HEADER: id TS1CCC class 4 len 176 n_len 176
    R  HEADER: id TS2CCC class 4 len 176 n_len 176
    R  HEADER: id USRDAT class 4 len 208 n_len 208
    R  HEADER: id PRADPT class 20 len 16048 n_len 20
    R  HEADER: id abdebu class 4 len 1504 n_len 1504
    R  HEADER: id USRAUT class 4 len 48048 n_len 48048
    R  <ROLL-FL> get block (1): 3332
    R  roll out: next free block 3332
    R  out: next[3029] = 3332 first 0 rnum 48
    R  <ROLL-FL> get block (1): 3037
    R  roll out: next free block 3037
    R  out: next[3332] = 3037 first 0 rnum 48
    R  <ROLL-FL> get block (1): 3038
    R  roll out: next free block 3038
    R  out: next[3037] = 3038 first 0 rnum 48
    R  <ROLL-FL> get block (1): 3039
    R  roll out: next free block 3039
    R  out: next[3038] = 3039 first 0 rnum 48
    R  <ROLL-FL> get block (1): 3040
    R  roll out: next free block 3040
    R  out: next[3039] = 3040 first 0 rnum 48
    R  <ROLL-FL> get block (1): 3041
    R  roll out: next free block 3041
    R  out: next[3040] = 3041 first 0 rnum 48
    R  roll out area[1]
    R  rrol_area_end[1] = 141d3386f
    R  HEADER: id SPAAPT class 4 len 9952 n_len 9952
    R  <ROLL-UA> get index (1): user:35  bnr:63
    R  <ROLL-UA> get first(3): user:35 mode:0 not set
    R  <ROLL-FL> get block (1): 3042
    R  roll out: next free block 3042
    R  <ROLL-UA> get index (1): user:35  bnr:63
    R  out: next[0] = 3042 first 1 rnum 49
    R  <ROLL-FL> get block (1): 3217
    R  roll out: next free block 3217
    R  out: next[3042] = 3217 first 0 rnum 49
    R  HEADER: id DTADPT class 20 len 2048 n_len 20
    R  HEADER: id PRADPL class 20 len 16048 n_len 20
    R  HEADER: id BICIOB class 4 len 5168 n_len 5168
    R  HEADER: id BIPIOB class 4 len 5168 n_len 5168
    R  <ROLL-FL> get block (1): 1228
    R  roll out: next free block 1228
    R  out: next[3217] = 1228 first 0 rnum 49
    R  HEADER: id BICQCB class 4 len 400 n_len 400
    R  HEADER: id BIPQCB class 4 len 400 n_len 400
    R  HEADER: id BILOGK class 4 len 96 n_len 96
    R  HEADER: id BIPRIN class 4 len 576 n_len 576
    R  HEADER: id DEXT   class 4 len 480 n_len 480
    R  HEADER: id BTCKEY class 4 len 304 n_len 304
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  <ROLL-FL> get block (1): 803
    R  roll out: next free block 803
    R  out: next[1228] = 803 first 0 rnum 49
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  <ROLL-FL> get block (1): 876
    R  roll out: next free block 876
    R  out: next[803] = 876 first 0 rnum 49
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  <ROLL-FL> get block (1): 3015
    R  roll out: next free block 3015
    R  out: next[876] = 3015 first 0 rnum 49
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
    R  HEADER: id CUABPT class 20 len 180048 n_len 10148
    R  <ROLL-FL> get block (1): 3898
    R  roll out: next free block 3898
    R  out: next[3015] = 3898 first 0 rnum 49
    R  <ROLL-FL> get block (1): 3889
    R  roll out: next free block 3889
    R  out: next[3898] = 3889 first 0 rnum 49
    R  roll out area[2]
    R  rrol_area_end[2] = 141db7fff
    R  HEADER: id FADM__ class 4 len 16080 n_len 16080
    R  <ROLL-UA> get index (1): user:35  bnr:63
    R  <ROLL-UA> get first(4): user:35 mode:0 imode:0 not set
    R  <ROLL-FL> get block (1): 3643
    R  roll out: next free block 3643
    R  <ROLL-UA> get index (1): user:35  bnr:63
    R  out: next[0] = 3643 first 1 rnum 50
    R  <ROLL-FL> get block (1): 3644
    R  roll out: next free block 3644
    R  out: next[3643] = 3644 first 0 rnum 50
    R  HEADER: id Id: // class 4 len 48 n_len 48
    R  HEADER: id dyrdyp class 4 len 96 n_len 96
    R  HEADER: id abload class 4 len 96 n_len 96
    R  HEADER: id abgetw class 4 len 112 n_len 112
    R  <ROLL-FL> get block (1): 4344
    R  roll out: next free block 4344
    R  out: next[3644] = 4344 first 0 rnum 50
    R  HEADER: id abload class 4 len 96 n_len 96
    R  HEADER: id abgetw class 4 len 96 n_len 96
    R  HEADER: id ÿÿÿÿÿÿ class 1 len 2448 n_len 20
    R  HEADER: id abstor class 4 len 131120 n_len 131120
    R  <ROLL-FL> get block (1): 4343
    R  roll out: next free block 4343
    R  out: next[4344] = 4343 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4342
    R  roll out: next free block 4342
    R  out: next[4343] = 4342 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4341
    R  roll out: next free block 4341
    R  out: next[4342] = 4341 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4340
    R  roll out: next free block 4340
    R  out: next[4341] = 4340 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4339
    R  roll out: next free block 4339
    R  out: next[4340] = 4339 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4356
    R  roll out: next free block 4356
    R  out: next[4339] = 4356 first 0 rnum 50
    R  <ROLL-FL> get block (1): 678
    R  roll out: next free block 678
    R  out: next[4356] = 678 first 0 rnum 50
    R  <ROLL-FL> get block (1): 2396
    R  roll out: next free block 2396
    R  out: next[678] = 2396 first 0 rnum 50
    R  <ROLL-FL> get block (1): 2156
    R  roll out: next free block 2156
    R  out: next[2396] = 2156 first 0 rnum 50
    R  <ROLL-FL> get block (1): 2100
    R  roll out: next free block 2100
    R  out: next[2156] = 2100 first 0 rnum 50
    R  <ROLL-FL> get block (1): 2891
    R  roll out: next free block 2891
    R  out: next[2100] = 2891 first 0 rnum 50
    R  <ROLL-FL> get block (1): 783
    R  roll out: next free block 783
    R  out: next[2891] = 783 first 0 rnum 50
    R  <ROLL-FL> get block (1): 670
    R  roll out: next free block 670
    R  out: next[783] = 670 first 0 rnum 50
    R  <ROLL-FL> get block (1): 687
    R  roll out: next free block 687
    R  out: next[670] = 687 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3212
    R  roll out: next free block 3212
    R  out: next[687] = 3212 first 0 rnum 50
    R  <ROLL-FL> get block (1): 1796
    R  roll out: next free block 1796
    R  out: next[3212] = 1796 first 0 rnum 50
    R  HEADER: id abinit class 4 len 28496 n_len 28496
    R  <ROLL-FL> get block (1): 1555
    R  roll out: next free block 1555
    R  out: next[1796] = 1555 first 0 rnum 50
    R  <ROLL-FL> get block (1): 1145
    R  roll out: next free block 1145
    R  out: next[1555] = 1145 first 0 rnum 50
    R  <ROLL-FL> get block (1): 52
    R  roll out: next free block 52
    R  out: next[1145] = 52 first 0 rnum 50
    R  HEADER: id abgetw class 4 len 12048 n_len 12048
    R  <ROLL-FL> get block (1): 4001
    R  roll out: next free block 4001
    R  out: next[52] = 4001 first 0 rnum 50
    R  HEADER: id abgetw class 4 len 8048 n_len 8048
    R  <ROLL-FL> get block (1): 691
    R  roll out: next free block 691
    R  out: next[4001] = 691 first 0 rnum 50
    R  HEADER: id abgetw class 4 len 1040 n_len 1040
    R  <ROLL-FL> get block (1): 3970
    R  roll out: next free block 3970
    R  out: next[691] = 3970 first 0 rnum 50
    R  HEADER: id abstor class 4 len 288 n_len 288
    R  HEADER: id abinit class 4 len 5328 n_len 5328
    R  HEADER: id abdseg class 4 len 16432 n_len 16432
    R  <ROLL-FL> get block (1): 1958
    R  roll out: next free block 1958
    R  out: next[3970] = 1958 first 0 rnum 50
    R  <ROLL-FL> get block (1): 67
    R  roll out: next free block 67
    R  out: next[1958] = 67 first 0 rnum 50
    R  HEADER: id abdseg class 4 len 5280 n_len 5280
    R  <ROLL-FL> get block (1): 2818
    R  roll out: next free block 2818
    R  out: next[67] = 2818 first 0 rnum 50
    R  HEADER: id abstac class 4 len 4656 n_len 4656
    R  <ROLL-FL> get block (1): 3179
    R  roll out: next free block 3179
    R  out: next[2818] = 3179 first 0 rnum 50
    R  HEADER: id abstac class 4 len 4144 n_len 4144
    R  HEADER: id abstac class 4 len 2096 n_len 2096
    R  HEADER: id abstac class 4 len 1248 n_len 1248
    R  HEADER: id abgetw class 4 len 16432 n_len 16432
    R  <ROLL-FL> get block (1): 3166
    R  roll out: next free block 3166
    R  out: next[3179] = 3166 first 0 rnum 50
    R  <ROLL-FL> get block (1): 450
    R  roll out: next free block 450
    R  out: next[3166] = 450 first 0 rnum 50
    R  HEADER: id abloca class 4 len 320 n_len 320
    R  HEADER: id abstor class 4 len 131120 n_len 131120
    R  <ROLL-FL> get block (1): 896
    R  roll out: next free block 896
    R  out: next[450] = 896 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3856
    R  roll out: next free block 3856
    R  out: next[896] = 3856 first 0 rnum 50
    R  <ROLL-FL> get block (1): 310
    R  roll out: next free block 310
    R  out: next[3856] = 310 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3684
    R  roll out: next free block 3684
    R  out: next[310] = 3684 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3803
    R  roll out: next free block 3803
    R  out: next[3684] = 3803 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3804
    R  roll out: next free block 3804
    R  out: next[3803] = 3804 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3782
    R  roll out: next free block 3782
    R  out: next[3804] = 3782 first 0 rnum 50
    R  <ROLL-FL> get block (1): 616
    R  roll out: next free block 616
    R  out: next[3782] = 616 first 0 rnum 50
    R  <ROLL-FL> get block (1): 1850
    R  roll out: next free block 1850
    R  out: next[616] = 1850 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3851
    R  roll out: next free block 3851
    R  out: next[1850] = 3851 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3852
    R  roll out: next free block 3852
    R  out: next[3851] = 3852 first 0 rnum 50
    R  <ROLL-FL> get block (1): 474
    R  roll out: next free block 474
    R  out: next[3852] = 474 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3801
    R  roll out: next free block 3801
    R  out: next[474] = 3801 first 0 rnum 50
    R  <ROLL-FL> get block (1): 3112
    R  roll out: next free block 3112
    R  out: next[3801] = 3112 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4109
    R  roll out: next free block 4109
    R  out: next[3112] = 4109 first 0 rnum 50
    R  <ROLL-FL> get block (1): 2695
    R  roll out: next free block 2695
    R  out: next[4109] = 2695 first 0 rnum 50
    R  HEADER: id abinit class 4 len 28496 n_len 28496
    R  <ROLL-FL> get block (1): 1002
    R  roll out: next free block 1002
    R  out: next[2695] = 1002 first 0 rnum 50
    R  <ROLL-FL> get block (1): 1355
    R  roll out: next free block 1355
    R  out: next[1002] = 1355 first 0 rnum 50
    R  <ROLL-FL> get block (1): 459
    R  roll out: next free block 459
    R  out: next[1355] = 459 first 0 rnum 50
    R  <ROLL-FL> get block (1): 585
    R  roll out: next free block 585
    R  out: next[459] = 585 first 0 rnum 50
    R  HEADER: id abgetw class 4 len 12048 n_len 12048
    R  <ROLL-FL> get block (1): 342
    R  roll out: next free block 342
    R  out: next[585] = 342 first 0 rnum 50
    R  HEADER: id abgetw class 4 len 8048 n_len 8048
    R  <ROLL-FL> get block (1): 1984
    R  roll out: next free block 1984
    R  out: next[342] = 1984 first 0 rnum 50
    R  HEADER: id abgetw class 4 len 1040 n_len 1040
    R  <ROLL-FL> get block (1): 3259
    R  roll out: next free block 3259
    R  out: next[1984] = 3259 first 0 rnum 50
    R  HEADER: id abstor class 4 len 288 n_len 288
    R  HEADER: id abinit class 4 len 5328 n_len 5328
    R  HEADER: id abdseg class 4 len 16432 n_len 16432
    R  <ROLL-FL> get block (1): 2285
    R  roll out: next free block 2285
    R  out: next[3259] = 2285 first 0 rnum 50
    R  <ROLL-FL> get block (1): 239
    R  roll out: next free block 239
    R  out: next[2285] = 239 first 0 rnum 50
    R  HEADER: id abdseg class 4 len 5280 n_len 5280
    R  <ROLL-FL> get block (1): 3733
    R  roll out: next free block 3733
    R  out: next[239] = 3733 first 0 rnum 50
    R  HEADER: id abstac class 4 len 4656 n_len 4656
    R  HEADER: id abstac class 4 len 4144 n_len 4144
    R  <ROLL-FL> get block (1): 2382
    R  roll out: next free block 2382
    R  out: next[3733] = 2382 first 0 rnum 50
    R  HEADER: id abstac class 4 len 2096 n_len 2096
    R  HEADER: id abstac class 4 len 1248 n_len 1248
    R  HEADER: id abgetw class 4 len 16432 n_len 16432
    R  <ROLL-FL> get block (1): 2911
    R  roll out: next free block 2911
    R  out: next[2382] = 2911 first 0 rnum 50
    R  <ROLL-FL> get block (1): 2935
    R  roll out: next free block 2935
    R  out: next[2911] = 2935 first 0 rnum 50
    R  HEADER: id abloca class 4 len 320 n_len 320
    R  HEADER: id abload class 4 len 11312 n_len 11312
    R  <ROLL-FL> get block (1): 2675
    R  roll out: next free block 2675
    R  out: next[2935] = 2675 first 0 rnum 50
    R  <ROLL-FL> get block (1): 851
    R  roll out: next free block 851
    R  out: next[2675] = 851 first 0 rnum 50
    R  HEADER: id abload class 4 len 96 n_len 96
    R  HEADER: id abdseg class 4 len 1072 n_len 1072
    R  HEADER: id abgetw class 4 len 96 n_len 96
    R  HEADER: id abgetw class 4 len 320 n_len 320
    R  HEADER: id dyrdyp class 4 len 3680 n_len 3680
    R  HEADER: id ablink class 4 len 33008 n_len 33008
    R  <ROLL-FL> get block (1): 4143
    R  roll out: next free block 4143
    R  out: next[851] = 4143 first 0 rnum 50
    R  <ROLL-FL> get block (1): 4142
    R  roll out: next free block 4142
    R  out: next[4143] = 4142 first 0 rnum 50
    R  <ROLL-FL> get block (1): 1682
    R  roll out: next free block 1682
    R  out: next[4142] = 1682 first 0 rnum 50
    R  <ROLL-FL> get block (1): 936
    R  roll out: next free block 936
    R  out: next[1682] = 936 first 0 rnum 50
    R  compres factor 75
    R  SemRel
    R  leave rrol_out: ok
    M  M  ThRollOut: act roll state = DP_ROLLED_OUT
    M  ThRollOut: roll level <> 0, don't call ab_rollout
    P  enter pg_com
    P  pg_com: 0 blks in buf, 0 in file, 0 new since last commit
    P  leave pg_com: ok
    M  ThRollOut: full roll out of U35 M0 I0 (Level 7) ok
    C  -->oci_break (con_hdl=-1, cb=0)
    M  *** WARNING => sql break failed (-1)
    M  ThErrHandle: don't try rollback again
    M  ThErrHandle: call ThrCoreInfo
    A  + not rolled in
    A  RFC get SPA_SESSION_ARFC: NORMAL
    E  EnqRollback: No action required
    M  SigIRegisterRoutine: handler for signal 11 installed (catch_dumperror)
    M  SigIRegisterRoutine: handler for signal 10 installed (catch_dumperror)
    B Wed Jul 16 13:06:49 2008
    B  dsql_open (con_da=(0,R/3),stmt="SELECT TLINE, SEQNO FROM SNAPT ...",#binds=3,name=SNAPT                         ,#input=3)
    C  -->oci_alloc_stmt (con_hdl=0)
    C  <--oci_alloc_stmt (stmth_p=14225feb0)
    C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 A ..., stmt_ln=0, stmth_p=14225feb0)
    C  -->oci_bind (stmth_p=14225feb0, cnt=3)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225feb0, iters=0, rowoff=0, query=1)
    B  dsql_fetch (con_da=(0,R/3),cu_id=1,#output=2)
    C  -->oci_define (stmth_p=14225feb0, cnt=2)
    C  -->oci_fetch (con_hdl=0, stmth_p=14225feb0, nrows=650)
    B  dsql_close (con_da=(0,R/3),cu_id=1)
    C  -->oci_free_stmt (stmth_p=14225feb0)
    B  dsql_open (con_da=(0,R/3),stmt="SELECT TLINE, SEQNO FROM SNAPT ...",#binds=3,name=SNAPT                         ,#input=3)
    C  -->oci_alloc_stmt (con_hdl=0)
    C  <--oci_alloc_stmt (stmth_p=14225ff70)
    C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 A ..., stmt_ln=0, stmth_p=14225ff70)
    C  -->oci_bind (stmth_p=14225ff70, cnt=3)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225ff70, iters=0, rowoff=0, query=1)
    B  dsql_fetch (con_da=(0,R/3),cu_id=1,#output=2)
    C  -->oci_define (stmth_p=14225ff70, cnt=2)
    C  -->oci_fetch (con_hdl=0, stmth_p=14225ff70, nrows=650)
    B  dsql_close (con_da=(0,R/3),cu_id=1)
    C  -->oci_free_stmt (stmth_p=14225ff70)
    B  dsql_open (con_da=(0,R/3),stmt="SELECT TLINE, SEQNO FROM SNAPT ...",#binds=3,name=SNAPT                         ,#input=3)
    C  -->oci_alloc_stmt (con_hdl=0)
    C  <--oci_alloc_stmt (stmth_p=14225feb0)
    C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 A ..., stmt_ln=0, stmth_p=14225feb0)
    C  -->oci_bind (stmth_p=14225feb0, cnt=3)
    C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225feb0, iters=0, rowoff=0, query=1)
    B  dsql_fetch (con_da=(0,R/3),cu_id=1,#output=2)
    C  -->oci_define (stmth_p=14225feb0, cnt=2)
    C  -->oci_fetch (con_hdl=0, stmth_p=14225feb0, nrows=650)
    B  dsql_close (con_da=(0,R/3),cu_id=1)
    C  -->oci_free_stmt (stmth_p=14225feb0)
    M  RmCleanUpResources2: hdr/tbl/ext_tbl = 9029188/0/0
    M  RmCleanUpResources2: no resources registered
    M  SigIRegisterRoutine: handler for signal 11 installed (catch_dumperror)
    M  SigIRegisterRoutine: handler for signal 10 installed (catch_dumperror)
    M  ThIErrHandle: Entering ThErrHdlUser
    M  ThErrHdlUser: set th_errno (11)
    M  ThErrHdlUser: save context
    M  ThEmContextDetach2: detach T34/M0 from em memory (em_hdl=116)
    M  ThDBDisconnect: disconnect from data base
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
    B  034 000 R/3                  000000 ACTIVE       YES YES NO  20080716 130546
    C  Disconnecting from connection 0 ...
    C  -->oci_free_stmt (stmth_p=142265af0)
    C  -->oci_free_stmt (stmth_p=142265a30)
    C  -->oci_free_stmt (stmth_p=14225fa30)
    C  -->oci_free_stmt (stmth_p=14225faf0)
    C  -->oci_free_stmt (stmth_p=14225fc70)
    C  -->oci_free_stmt (stmth_p=142265bb0)
    C  -->oci_logoff(con_hdl=0)
    C  -->oci_free_stmt (stmth_p=142265f70)
    C  Now I'm disconnected from ORACLE
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=5, com_forced=1, com_tx=1)
    B  statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
    M  ThErrHandle: disconnect o.k.
    M  ***LOG Q02=> wp_halt, WPStop (Workproc34 1557514)
    M  SigIGenAction: return from exithandler ThSigHandler(FALSE)
    M  set mode of sig 11 to BLOCKED and send to own pid
    M
    M  CORE DUMP ...

  • Put a form in QUERY mode

    Hi,
    how to put a form in QUERY mode ?
    Many thanks.

    It is F11, type your query, then Ctrl + F11
    Or, click on View > Query By Example > Enter, enter your query, then click on View > Query By Example > Run
    Get all shortcuts from Help > Keyboard Help

  • My form will not come out of query mode. Why?

    I have a simple form with 2 canvases the second canvas apears as
    a modal window and inherits the main menu (6i Smartbar menu).
    I place the modal screen in query mode and execute query, if the
    form returns no records it then becomes stuck in query mode. The
    cancel query mode button returns the message
    FRM 41009 Function Key not allowed. I really don't see why this
    key should not work, Is this a bug in forms 6i?
    The only work around make the second canvas a form in it's own
    right which is a rather un-necessary solution.
    Regards
    Oliver

    Try to do Soft Rest to Get it Back on.. If you can once you tried my first suggestion Run your Razr in Safe Mode to see if a Third Party app is Causing the Issue. Here are the instructions for a Soft Reset and  Running Safe Mode
    Soft Reset - DROID RAZR / RAZR MAXX by MOTOROLA
    A soft reset is the most useful tool for resolving a variety of issues. In most cases, a soft reset will not affect data on the device, unless the battery is very low.
    Press and hold power button + volume down key until the device powers off then release.
    What is safe mode and how do I use it with the DROID RAZR?
    Safe mode is a method that allows the device to run without non-essential applications. This is beneficial for troubleshooting 3rd party applications.
    Enable Safe mode
    Power the device off.
    Press and hold the Power button then select Power off.
    Power the device on.
    Press and momentarily hold the Power button.
    When the Motorola Dual Core screen appears, simultaneously press and hold Volume Up / Down keys.
    Continue to hold the Volume Up / Down keys until Safe mode appears in the lower left.
    Disable Safe mode
    Power the device off.
    Press and hold the Power button then select Power off.
    Power the device on.
    Press the Power button.

  • Using Enter-Query Mode Programmatically

    A question was raised in an earlier thread
    QUERY CRITERIA MANAGER
    about how to use Enter-Query mode programmatically in a way that doesn't stop
    and prompt the user to enter a query after switching from Normal mode to Enter-Query mode.
    Since the solution may not be widely known, I thought I'd demonstrate the technique here in a new thread.
    Create a simple form with just two blocks. Using the data block wizard, create an EMP block with one
    text item for ENAME. Place it on the canvas. Create the other block as a control block and name it CONTROL.
    Inside the control block create the following items:
    - create a text item named TXT_BOX
    (The user will enter their search pattern criteria in this text box while in Normal mode.)
    - create a push button item named EXECUTE_QUERY
    (This button will switch to Enter-Query mode, execute the query, then return to Normal mode.)
    Place both control items on the canvas.
    Inside the WHEN-BUTTON-PRESSED trigger for the EXECUTE_QUERY button, enter the following code:
    DECLARE
         timer_id TIMER;
    BEGIN
         :GLOBAL.search_criteria := :CONTROL.TXT_BOX;
         GO_BLOCK('EMP');
         timer_id := CREATE_TIMER('ENT_QRY', 1500, NO_REPEAT);
         -- 1500 may be a little long, but provides a margin of error
         ENTER_QUERY;
    END;
    Next, create a WHEN-TIMER-EXPIRED trigger at the form level. Inside this trigger enter the following code:
    If GET_APPLICATION_PROPERTY(TIMER_NAME) = 'ENT_QRY' THEN
         :EMP.ENAME := :GLOBAL.search_criteria;
         EXECUTE_QUERY;
         IF :SYSTEM.MODE = 'ENTER-QUERY' THEN
              EXIT_FORM; -- return to Normal mode
         END IF;
    END IF;
    GO_ITEM('CONTROL.TXT_BOX');
    Now, when the user runs the form and logs into the SCOTT schema, he enters a search criteria
    such as A% in the TXT_BOX while in Normal mode. Then clicks the EXECUTE_QUERY button.
    The form will switch to Enter-Query mode, retrieve all names in ENAME that begin with the letter A,
    and then return to Normal mode without pausing for the user to enter a search criteria.
    If the query should happen to fail, the form displays the error:
    "FRM-40301: Query caused no records to be retrieved. Re-enter."
    then switches automatically back to Normal mode so the user can try entering a new criteria.

    I'm showing how to do it when switching modes. I'm
    not suggesting this is the best way to do a query.We need to look at this in the context of the original probelm in the thread linked to above. For most cases the when-timer-expired etc is just a huge detour around using the pre-query trigger but it's an interesting approach to the specific problem in the earlier thread. The OP there wanted to be able to type '>5000' into a number field in a non-database block, which we can do in a database block in enter-query mode, and use it as a query parameter in the database block. Perhaps if we enter this into a character field in the non-database block and populate the numeric field in the database block whilst in enter-query mode then we can do searches on ranges of data? Unfortunately it doesn't work - you get an ora-06502 error just like you do when using the pre-query trigger. For the situation in the original thread you would have to use a 'default where'.

  • FRM:41361 Cannot navigate out of form in 'Enter Query Mode'

    Hi,
    I am using a master - detail block in my form.When I query the master block I am getting this error message
    FRM:41361 Cannot navigate out of form in 'Enter Query Mode'
    I have given DO_KEY('ENTER-QUERY') in WHEN-NEW-BLOCK-INSTANCE trigger of master block.
    and in property palette of Master block I have given the next navigation block as Detail block.
    According to the value which is queried in Master Block the Detail block should be populated.
    My form should open in 'Enter Query Mode'.This problem always happens from second time onwards
    I open the form.When I open the form first time this problem is not occuring.
    Can anyone suggest a solution for this
    Thanks,
    Nasiya

    Have you written a Key-EntQuery trigger at the Master block or the form level,
    If yes, then can you put that code here.
    The NEXT-NAVIGATION-BLOCK is only used for navigation when you use a next-block built-in on a key-trigger.
    Have you written a ENTER-QUERY command on any trigger that fires prior to the said WHEN-NEW-BLOCK-INSTANCE trigger?
    If yes, then thats the reason that the first time you run the form, your form is in ENTER-QUERY mode.
    Also, maybe execute on enter-query fails and hence the blocks are not getting populated.
    Also, ENTER-QUERY is always on a single block. And while the block is in enter-query mode, navigation out of that block is prohibited.
    you have to either have a successful EXECUTE-QUERY or use:
    EXIT_FORM(NO_VALIDATE) to come out of ENTER-QUERY mode.

Maybe you are looking for