Re-initiate Sync with records in CEQ$Tables

Hi,
I have some records in CEQ$xxxxxxx tables. Is there is any mechanism that i can push those to the syncronizing process (putting them into some where or changing any status)
Thanks

would not worry too much about this error message - it is quite common and basically means that there is some issue with the apply of the data, but the mgp apply process does not know what it is. Often related to unhandled exceptions
NOTE it is possible to regenerate lost c$eq data, but you would have to write some dynamic sql within a pl/sql script to do the following in outline
1) drive from a cursor selecting from all_tables where table name like 'CEQ$' and owner=your main database schema and returning the table_name and a string 'select publication from mobileadmin.c$all_template_items where publication='<your application name>.'||substr(table_name,4)
2) run the sql string as dynamic sql and you will get the WTGPI_nnnnn name that relates to the table error queue
3) from the table_name from 1, and the wtgpi_nnnnn name, construct more dynamic sql to
'insert into c$eq (clientid,tranid$$,seqno$$,publication,message_text)
select clientid$$,tranid$$,seqno$$,<wtgpi_nnnnn name>,null
from ceq$<table_name> where clientid$$=<user> and tranid$$=<tran id>
this is cumbersome, but will regenerate the c$eq table

Similar Messages

  • Calling Oracle Stored proc with record type and table Type

    I have a oracle SP which takes record type and table Type which are used for order management.
    Is there anay way to populate parameters with these datatypes and call the stored procedure using ODP.NET?
    Please help.
    Thanks in advance

    Hi,
    ODP supports associative arrays and REF Cursors. There is no support for PLSQL table of records.
    Jenny

  • SQLite - populating a list with records from a table

    I'm fairly new to FB and AIR but have run myself through some tutorials regarding event handling and code structure. I have made some progress with an app for my Android 'phone which uses and SQLite database.
    I've created the DB and stored it under assets.
    I can open and read from it and store the records from a table in the DB to an array and then put the records into an arraycollection.
    via the list dataprovider I then can assign the records to the list and they show up at runtime in the list.
    I then presumed that the list changehandler event would allow me to assign the selecteditem in the list to a label control. Unfortunately the label control just gets 'object object' displayed when a list item is selected - almost a sif the list were empty.
    I cannot work out how to paste the code into this forum message but any advice on either of these problems would be greatly appreciated.
    Thanks

    I'm fairly new to FB and AIR but have run myself through some tutorials regarding event handling and code structure. I have made some progress with an app for my Android 'phone which uses and SQLite database.
    I've created the DB and stored it under assets.
    I can open and read from it and store the records from a table in the DB to an array and then put the records into an arraycollection.
    via the list dataprovider I then can assign the records to the list and they show up at runtime in the list.
    I then presumed that the list changehandler event would allow me to assign the selecteditem in the list to a label control. Unfortunately the label control just gets 'object object' displayed when a list item is selected - almost a sif the list were empty.
    I cannot work out how to paste the code into this forum message but any advice on either of these problems would be greatly appreciated.
    Thanks

  • Unable to sort the records of a table

    Hi Experts,
    I have populated one z table with records. The table coloumns are as below:
    Mandt
    Pernr
    Personnel Area
    Total Points
    Rank
    I have to sort the table records in descending order of Total Points. In many cases there will be same total points for many records. In such cases we have to arrange records in following fashion:
    If more than 1 person have same total points then person having more years of service will have higher rank
    If more than 1 person have same total points and same years of service then older people (date of birth) will have higher rank.
    I have written following program. It is not working. Please help me. If you have some ready made code, please share with me.
    Regards,
    Gary
    IF NOT itab_prio[] IS INITIAL.
          CLEAR v_index.
          v_index = 1.
          SORT itab_prio BY z_prio_pts DESCENDING .
          itab_rank[] = itab_prio[].
          LOOP AT itab_prio.
    *---Check eligibility.
            CALL FUNCTION 'zmy_prg_CHECK_ELIGIBILITY'
              EXPORTING
                pernr  = itab_prio-z_pernr
              IMPORTING
                return = return.
            IF return-type = 'E'.
              itab_prio-z_prio_pts = 0.
              itab_prio-z_prio = 0.
              MODIFY itab_prio TRANSPORTING z_prio_pts z_prio.
            ELSE.
              LOOP AT itab_rank WHERE z_prio_pts = itab_prio-z_prio_pts
                                AND   z_pernr    NE itab_prio-z_pernr.
    *---Get Hiring date for same rank.
                CALL FUNCTION 'zmy_prg_GET_EMP_HIRING_DATE'
                  EXPORTING
                    pernr       = itab_rank-z_pernr
                  IMPORTING
                    hiring_date = hire_new.
    *---Get Hiring date of update emp.
                CALL FUNCTION 'zmy_prg_GET_EMP_HIRING_DATE'
                  EXPORTING
                    pernr       = itab_prio-z_pernr
                  IMPORTING
                    hiring_date = hire_old.
                IF hire_old = hire_new.
    *---Check for Birth date of both employees.
                  READ TABLE it_date WITH KEY  pernr = itab_rank-z_pernr.
                  IF sy-subrc = 0.
                    hijri_new = it_date-zzhdob.
                  ENDIF.
                  READ TABLE it_date WITH KEY  pernr = itab_prio-z_pernr.
                  IF sy-subrc = 0.
                    hijri_old = it_date-zzhdob.
                  ENDIF.
                  IF hijri_old > hijri_new.
                    flag = 'X'.
                  ENDIF.
                ENDIF.
              ENDLOOP.
              IF flag NE 'X'.
                itab_prio-z_prio = v_index.
                v_index = v_index + 1.
                MODIFY itab_prio TRANSPORTING z_prio.
              ELSE.
                itab_prio-z_prio = v_index.
                v_index = v_index + 1.
                MODIFY itab_prio TRANSPORTING z_prio.
              ENDIF.
            ENDIF.
            CLEAR : flag , return.
          ENDLOOP.
          MODIFY zhop_priority_pt FROM TABLE itab_prio.
          COMMIT WORK.
          IF sy-subrc = 0.
            MESSAGE i000(zz) WITH 'sucessfully generated'.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.
    Please use code tags to format your code
    Edited by: Rob Burbank on Sep 29, 2010 1:59 PM

    Gary,
    Firstly, to make things easier, I suggest you add service and age columns to your internal table.
    Mandt
    Pernr
    Personnel Area
    Total Points
    Service
    Age
    Rank
    Does your internal table itab_prio contain large number of rows? Is the code that determines service and age performance intensive? If the answer is 'NO', then I suggest you populate service and age for every row and sort. This will make the logic simple and easy to maintain.
    If you must query service and age only when there is a conflict, then following logic should help.
    - itab_prio_copy[] = itab_prio[].
    - Loop at itab_prio.
    -   l_next_row = sy-tabix + 1.
    -   read table itab_prio_copy index l_next_row.
    -   are points same?
    -     get service for both the employees.
    -     is the service same for both?
    -       get age for both.
    -    rank accordingly
    - endloop.
    I know I have skipped a lot of gotcha points. For example, how to handle the last row, how to update the rank to the next row, etc. I am sure you can figure that out.
    Good luck.

  • How to check Index is in sync with Table

    Hi DBAS,
    OS = RHEL 4
    DB = 10.2.0.4
    How do we sync an index to a table ? Can we sync an index? if an index is not having same number of records as in table ?
    Thanks,
    Hari

    The question does not make sense.
    An index is always "in sync" with a table.
    The only context that talking about "synching" an index makes sense is with a "special" Oracle Text index.
    if an index is not having same number of records as in table ?If you're talking about NUM_ROWS in ALL/USER/DBA_TABLES and ALL/USER/DBA_INDEXES then these are just statistics, not necessarily 100% accurate and possibly gathered at different times.
    See http://docs.oracle.com/cd/E11882_01/server.112/e25789/indexiot.htm#CNCPT811:
    The database automatically maintains and uses indexes after they are created.
    The database also automatically reflects changes to data, such as adding, updating,
    and deleting rows, in all relevant indexes with no additional actions required by users.

  • Multiple tables with the possibility of multiple records in each table

    Post Author: viper
    CA Forum: .NET
    Hi
    I have been trying for a few days now to come up with a CR solution to displaying data from multiple tables.  These tables, in some cases, have more then one record that needs to be displayed.  This is basically what I am trying to do.....
    I am developing a .net web application(vb) using vs2005 and an oracle 10g backend.  There is a data entry part of the site that users will enter data related to a property.  Other users will be able to search these records and have a list of records returned based on the search criteria.  The user then can click on one of these records to view a pop up CR report containing all the data related to that one property.  The PropID is passed to the pop up page and is used in the WHERE clause of my SQL statement to bring back only one property.  This data can come from as many as 18 tables if all the fields have been entered for this property.  I have tried many different solutions to get the data from multiple tables...and have had some that were close to what I need.  The best one I have will display data from multiple tables but only one record per table.....which doesn't work in my case since some of the tables have more then one record per table.
    Is there anybody that has had success in setting up similar reports?
    Does anybody know how I could use the "Group Expert" to group by the tables in my application?  I can only figure out how to group within a single table.
    It would be great if I could group by table....then just display the record(s) in each table that had the same PropID.  I am not sure if the pdf export would show all the data in that situation but it would be worth a try.  If fact...maybe I could create a new table called MyTables and just add two colums like MyTableID and MyTableName.  Then add all the table names to MyTables that I want to see in the report and add the associated MyTableID value to each table as a new column.  I could then group by MyTableID and PropID.  Just guessing here.
    Any ideas would be appreciated.

    Post Author: quafto
    CA Forum: .NET
    Your query is not too clear so I'll do my best to answer it broadly.
    You mentioned that you have a .NET web application where your users enter data on one screen and then may retrieve it on another. If the data is written in real time to a database then you can create a standard Crystal Report by adding multiple tables. The tables should be linked together using the primary and foreign keys in order to optimize the database query and give you a speedy report. Using unlinked tables is not recommended and requires the report engine to index the tables (it is quite slow).
    You also mentioned you have a "PropID" to be used in a WHERE clause. This is a great place to use a parameter in your report. This parameter can then be used in your record selection formula inside Crystal Reports. The report engine will actually create the WHERE clause for you based on the parameter value. This is helpful because it allows you to simply concentrate on your code rather than keeping track of SQL queries.
    Now, what Crystal does not do well with is uncertainty. When you design a report with X number of tables the report engine expects X number of tables to be available at processing time. You should not surprise the print engine with more or less tables because you could end up with processing errors or incorrect data. You may need to design multiple reports for specific circumstances.
    Regarding the group expert question. I'm not sure how you would/could use the group expert to group a table? A table is a collection of fields and cannot be compared to another table without a complex algorithm. The group expert is used to group and sort records based on a field in the report. Have a look at the group expert section of the help file for more information.
    Hopefully my comments have given you a few ideas.

  • Since I upgraded to os 7 my voice memos are not recording and syncing with Itunes.

    In the app the recordings show 0 time and when I sync with Itunes there is no recording listed at all. Any thoughts?

    I found the answer, at least it worked for me.
    Here ya go:
    1) open the Voice Memos app on your iPhone
    2) on any memo: click the little blue arrow on the right
    3) Click the next arrow in the top most box this will put you in the "Label" screen
    4) From the "Label" screen: click the arrow next to "Custom"
    5) In the Custom screen: give the memo a name (click Done)
    6) Click the left arrow (top left) to go back to your memos.
    You'll see that you memo as a name. I changed mine from "4:25 PM" to "Fishcakes".
    7) Sync your iPhone and you are good to go.
    NOTE: If for some reason this doesn't work, go back into the same "naming" list on your Iphone voice memos app, and try one of the standard labels instead of a custom one. With one that wouldn't sync, I changed it to "Memo" and then synced it again, and then it worked.

  • I got a new laptop (Macbook Pro) and my IPhone is synced with my previous laptop. I've recorded dozens of very long (un-emailable) Voice Memos over the last few weeks and need to get them from my IPhone onto my new laptop. How do I do this?

    I got a new laptop (Macbook Pro) and my IPhone is synced with my previous laptop (which I no longer have). I've recorded dozens of very long (un-emailable) Voice Memos over the last few weeks and need to get them from my IPhone onto my new laptop.
    How do I do this?
    (when I click on the Sync option I get the warning: "Are you sure you want to sync music? All existing songs and playlists on the iPhone will be replaced with songs and playlists from your iTunes library." I fear that if I click this I will lose all of my important Voice Memos as well)

    Just to add to what ChrisJ4203 said.  You can sync them to your new computer using iTunes by selecting to Include Voice Memos on the Music tab of your iTunes sync settings and syncing.  However, you still need to re-establish syncing with the new computer without iTunes erasing all the iTunes media from your phone (as the warning mentioned).
    If you copy your entire iTunes folder (not just your music) from your old computer to your new one, along with other non-iTunes media you may be syncing with iTunes (such as contacts, calendars and any photos synced to your phone from your old computer) by using migration assistant of following one of these methods: http://support.apple.com/kb/HT4527, then when you sync again with your new computer it will recognize your phone and sync as it did before.  You will still have to authorize the new computer for any Apple IDs used to purchase from the iTunes and App stores (in iTunes>Store>Authorize this computer). 
    After that you can sync your voice memos to your computer as mentioned earlier.
    If you want to archive your voice memos before you do anything with iTunes, you can use a 3rd party program such as PhoneView or Touch Copy.

  • Issue with fetching a record from IHPA table with PARNR value as condition

    Hi All,
    I am trying to fetch a particular record from IHPA table where i am giving the OBJNR number, PARVW and PARNR as customer no. , But I am not getting any record  but if i will give OBJNR and PARVW it will generate a record with having same PARNR value.
    Example :
    case 1st :-
    when i am passing following values in IHPA table,
    OBJNR  = IE000000000010070910
    PRAVW = BP                 
    PARNR  = 620000562   
    it is not generating any record  
    case 2nd:-
    But if i will pass  
    OBJNR  = IE000000000010070910
    PRAVW = BP
    it will generate a record?(one row) which will include PARNR as same 620000562 along with other value.
    Q1 -  Why it's not generating in case 1st,
    Q2 - How I will resolve this issue ? as i have to link some table as EQUI -
    IHPA -
    VCKUN
    VCNUM ?
          I have written a code for this to join :
         SELECT A~EQUNR
           B~PARVW
           C~CCNUM
           D~CCNUM
           FROM EQUI AS A JOIN IHPA AS B ON AOBJNR = BOBJNR
           INNER JOIN VCKUN AS C ON BPARNR = CKUNNR
           INNER JOIN VCNUM AS D ON CCCNUM = DCCNUM
           APPENDING CORRESPONDING FIELDS OF TABLE IT_OBSO
           WHERE A~EQUNR IN S_EQN.
                 AND PARVW  = 'BP'.
          But it is not generating any record but when i am commenting the PARVW i am getting the mixed record of PARVW as (BP,SP,SH)
    Let me know if any more clarification required.
    Highly appreciate your help
    Thanks & Regards
    Shaw

    Hi Santosh,
    Thanks for your quick response.
    But I am Sorry, I already checked with putting Zero before PARNR.
    The issue is still as it is.
    Thanks
    Shaw

  • How to insert record in child table with foreign key

    Hi,
    I am using Jdeveloper 11.1.2.0. I have two master table one child table.
    How to insert and update a record in child table with foreign key ?
    I have created VO based on three EO(one eo is updatable other two eo are references) by using joined query.
    Thanks in Advance
    Edited by: 890233 on Dec 24, 2011 10:40 PM

    ... And here is the example to insert using sequenceimpl by getting the primary key of the master record and insert master and detail together.
    Re: Unable to insert a new row with a sequence generated column id
    -Arun

  • How to rerieve records from the table starting with character 'D'

    Hi Folks,
    How to get the records from the table starting with character 'D'.
    Select Max (fld1) fron tab1 into tab1-fld1 where fld 2 = l_fld2 and starting character of fld(1) is 'D'.
    last record in the table starting with character 'D'
    How can i do that??
    Pl explain.
    Thanks,
    Matt

    Hi,
    Select Max (fld1) fron tab1 into tab1-fld1 where fld 2 = l_fld2 and starting character of fld(1) is 'D'.
    Select MAX (fld1)
       From  tab1
    into table itab
    where fld 2 = l_fld2
       and fld1 like 'D%'.

  • Help with listing records from two tables

    Hi: I have two tables joined by the first field. The field is primary key in first table. Need help listing records from both tables with each record one line/record.
    create table EVENTS (
    event_key varchar2(64) primary key,
    event_description varchar2(64),
    create_time int
    create table EVENT_UPDATES (
    event_key varchar2(64) NOT NULL ,
    update_description varchar2(64),
    update_time int
    insert into EVENTS values('Event1', 'This is event1', 1);
    insert into EVENT_UPDATES values('Event1', 'Ticket created', 3);
    insert into EVENT_UPDATES values('Event1', 'Event cleared', 10);
    insert into EVENTS values('Event2', 'This is event2', 4);
    insert into EVENT_UPDATES values('Event2', 'Ticket created', 6);
    insert into EVENT_UPDATES values('Event2', 'Event cleared', 8);I want to print each record in EVENTS table as one line and corresponding records in EVENT_UPDATES as one line/record like this
    Event1   1     This is event1
                3     Ticket created
                10   Event cleared
    Event2   4     This is event2
                6     Ticket created
                8     Event clearedTIA
    Ravi

    select  case weight
              when 1 then event_key
            end key,
            time_val,
            description
      from  (
              select  event_key,
                      create_time time_val,
                      event_description description,
                      1 weight
                from  events
             union all
              select  event_key,
                      update_time,
                      update_description,
                      2 weight
                from  event_updates
      order by event_key,
               weight
    KEY          TIME_VAL DESCRIPTION
    Event1              1 This is event1
                        3 Ticket created
                       10 Event cleared
    Event2              4 This is event2
                        6 Ticket created
                        8 Event cleared
    6 rows selected.
    SQL> SY.

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • SQLJ calling PL/SQL with records and tables as parameters

    Has anyone used sqlj to to call procedures with records and
    tables as IN, OUT, or INOUT as parameters? If so how do you
    assign values to the IN parameter in the record/tables, and get
    values out of the record/table when it is passed back? Might
    anyone have any syntax?
    null

    One thing I forgot to mention: If you're an 8i client, then in
    8.1.6 you'll be able to use JPublisher to solve this problem,
    since it'll generate these wrappers for you.
    Pierre
    Oracle Product Development Team wrote:
    : Hi,
    : The key issue is that no part of Oracle code except PL/SQL is
    : aware of the PL/SQL Record types and PL/SQL "index-by" table
    : types.
    : So the only way to call a PL/SQL procedure with args of a
    RECORD
    : or "index-by" table types is from another PL/SQL routine.
    : In most cases, it's possible to work-around this by wrappering
    : your PL/SQL method with another which doesn't have this issue.
    : For example, if you're trying to call procedure proc01 in:
    : package pack01 is
    : type rec01 is record(n1 number, d1 date);
    : procedure proc01 (r rec01);
    : end;
    : you can create a wrapper method:
    : package pack01_wrapper is
    : procedure proc01_wrapper (n1 number, d1 date);
    : end;
    : package body pack01_wrapper is
    : procedure proc01_wrapper (n1 number, d1 date) is
    : r pack01.rec01;
    : begin
    : r.n1 := n1;
    : r.d1 := d1;
    : pack01.proc01;
    : end;
    : end;
    : If you're a 7.3 client, that's about all you can do. The Fix
    was
    : introduced in 8.0, where new structured types (ADT's) and new
    : table types (VARRAY's and Nested tables) were introduced. So
    if
    : you're an 8.0 client, your 'wrapper' package could use an ADT
    : which has the same attributes as the record, rather than
    : 'exploding' the record into its individual components as I
    showed
    : above.
    : Hope this helps!
    : Pierre
    : Thomas Richardson (guest) wrote:
    : : Has anyone used sqlj to to call procedures with records and
    : : tables as IN, OUT, or INOUT as parameters? If so how do you
    : : assign values to the IN parameter in the record/tables, and
    get
    : : values out of the record/table when it is passed back? Might
    : : anyone have any syntax?
    : Oracle Technology Network
    : http://technet.oracle.com
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Selecting records from DB table with out using internal tables

    hi,
    i need to retrieve values from a database table based on few fields and date as well. however, i need to check whether the date is less or equal to the current date and along with that i should get the appropriate record. how can i do that with out using internal table.
    field1-----date---
    11111----
    20070219
    11111--20070214 <---
    11111----
    20070205
    in the above scenario i should get the second record
    Regards,
    Kranthi.

    Try:
    REPORT ztest MESSAGE-ID 00.
    TABLES bkpf.
    SELECT * FROM bkpf
      UP TO 1 ROWS
      WHERE budat <= sy-datum
      ORDER BY budat DESCENDING.
    ENDSELECT.
    Rob

Maybe you are looking for