Trying to update only certain selected records

I crated a query to select certain records as follows:
SELECT     TOP (100) PERCENT BUDGETDB_VENDR_1.VENDOR, MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE)) AS CHKDATE, BUDGETDB_VENDR_1.VNSTATUS
FROM          BUDGETDB_VENDR AS BUDGETDB_VENDR_1 LEFT OUTER JOIN BUDGETDB_APCHK ON BUDGETDB_VENDR_1.VENDOR = BUDGETDB_APCHK.VENDOR
GROUP BY BUDGETDB_VENDR_1.VENDOR, BUDGETDB_VENDR_1.VNSTATUS
HAVING  (BUDGETDB_VENDR_1.VNSTATUS = 'A') AND (MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE)) < CONVERT(DATETIME, '2012-10-01 00:00:00', 102)) OR (BUDGETDB_VENDR_1.VNSTATUS = 'A') AND (MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE))
IS NULL)
The query runs and only returns 7400 out of 9300 records.  I need to update the status of these 7400 records to inactive.  However, when I use the following to update, it updates all 9300 records not the 7400 selected.  Please advise.
UPDATE    BUDGETDB_VENDR
SET             
VNSTATUS = 'I'
WHERE     EXISTS
(SELECT     TOP (100) PERCENT BUDGETDB_VENDR_1.VENDOR, MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE)) AS CHKDATE,
     BUDGETDB_VENDR_1.VNSTATUS
FROM          BUDGETDB_VENDR AS BUDGETDB_VENDR_1 LEFT OUTER JOIN
BUDGETDB_APCHK ON BUDGETDB_VENDR_1.VENDOR = BUDGETDB_APCHK.VENDOR
             GROUP BY BUDGETDB_VENDR_1.VENDOR, BUDGETDB_VENDR_1.VNSTATUS
HAVING      (BUDGETDB_VENDR_1.VNSTATUS = 'A') AND (MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE)) < CONVERT(DATETIME,
           '2012-10-01 00:00:00', 102)) OR
(BUDGETDB_VENDR_1.VNSTATUS = 'A') AND (MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE)) IS NULL))

Hi,
Try with this query.
UPDATE   
BUDGETDB_VENDR
SET             
VNSTATUS = 'I'
FROM         
BUDGETDB_VENDR AS BUDGETDB_VENDR_1
LEFT OUTER JOIN BUDGETDB_APCHK
ON BUDGETDB_VENDR_1.VENDOR
= BUDGETDB_APCHK.VENDOR
GROUP
BY BUDGETDB_VENDR_1.VENDOR, BUDGETDB_VENDR_1.VNSTATUS
HAVING 
(BUDGETDB_VENDR_1.VNSTATUS
= 'A')
AND (MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE))
< CONVERT(DATETIME,
'2012-10-01 00:00:00', 102))
 OR
(BUDGETDB_VENDR_1.VNSTATUS
= 'A')
AND (MAX(dbo.MMDDYY(BUDGETDB_APCHK.CHECK_DATE))
IS NULL)
Thanks, RajaSekhara Reddy . K

Similar Messages

  • Syndicate only certain Tuple Records

    Hi Experts,
    We are using MDM 7.1 SP03. Is there any way that I can syndicate only certain tuple records?
    Example:
    Customer Master has two Purchase Organization records inside a multi-valued Purchase Organization Tuple. One record uses Purchase Org code = 4100 and the other record uses Purchase Org = 4005. Is there any way to syndicate out only the Purchase org record with code 4100?
    I have tried to use the filtering options in the syndicator: Filter Qualified Links and Filter Multi-valued Lookup fields. This does not work.
    I have the search parameters set to Customer records with Purchase org = 4100, and the customer record has two tuple records (4100 and 4005) the syndicator will push out both records. I only want the 4100 record to push out. Please help!
    Edited by: Matthew Winchester on Feb 3, 2011 5:01 PM

    -These records are not Remote System specific.-
    -The search criteria using expressions do not work-
    Example XML Structure:
    <Account_Group>Z001</Account_Group>
      <Name_1>Test, Inc</Name_1>
      <Search_Term_1>HQ</Search_Term_1>
      <Search_Term_2>Serach One</Search_Term_2>
      <Street>Main Rd</Street>
      <House_Number>300</House_Number>
      <City_Postal_Code>12345</City_Postal_Code>
      <City>Cumming</City>
      <Country>US</Country>
      <Region>GA</Region>
      <Address_Time_Zone>EST</Address_Time_Zone>
      <Transportation_Zone>XXX3432</Transportation_Zone>
      <Language>E</Language>
      <Remote_Key />
      <Tax_Number_2>5464654654654</Tax_Number_2>
    - <Vendor_Company_Code_Data>
      <Company_Code>4005</Company_Code>
      <Reconciliation_Account>4100000</Reconciliation_Account>
      <Sort_Key>009</Sort_Key>
      <Payment_Term>ZD22</Payment_Term>
      <Double_Invoice>X</Double_Invoice>
      <Payment_Term_Credit_Memos>ZD22</Payment_Term_Credit_Memos>
      <Payment_Method>F</Payment_Method>
      <Vendor_Withholding_Tax_Data />
      </Vendor_Company_Code_Data>
    - <Vendor_Company_Code_Data>
      <Company_Code>1700</Company_Code>
      <Reconciliation_Account>4100000</Reconciliation_Account>
      <Sort_Key>009</Sort_Key>
      <Payment_Term>ZD22</Payment_Term>
      <Double_Invoice>X</Double_Invoice>
      <Payment_Term_Credit_Memos>ZD22</Payment_Term_Credit_Memos>
      <Payment_Method>F</Payment_Method>
      <Vendor_Withholding_Tax_Data />
      </Vendor_Company_Code_Data>
    Senario: I export this entire record out using the syndicator. When importing into a different repository is there a way that i can ignore the segment with Company Code 4005, and only create the segment for company code 4100? It would be great to be able to handle this automatically....any sugestions? I need to be able to filter out certain company code records from importing, since there is no way to filter out during syndication, can this be handled using the Import Manager?
    Edited by: Matthew Winchester on Feb 3, 2011 10:27 PM

  • Update DBTAB updating only part of records

    Hello Gurus, Need your help.
    I have an Update Dbtable with Internal Table statement in my ABAP. My IT (Internal table) is a hashed table with same keys and fields as my DB table. Suppose I have 30K records in my IT, ultimately only say 9K records gets updated eventhough all the 30K records exists in the DB table. Next time when I run, it might update 9500 entries but not all again. So this statement is behaving quite badly. Am not doing any Commits, which automatically happens after I run the program. So can you suggest me something, which can solve my issue? or is there anything bad which am doing?
    Regards
    Shrirama

    Here it is.
    Line: -
    <TABLES /bic/ay2ws1za000.>
    TYPES: BEGIN OF ty_docno,
           doc_number TYPE /bic/ay2ws1za000-doc_number,
           s_ord_item TYPE /bic/ay2ws1za000-s_ord_item,
           END OF ty_docno,
           BEGIN OF ty_status,
           doc_number TYPE /bic/ay2ws1za000-doc_number,
           s_ord_item TYPE /bic/ay2ws1za000-s_ord_item,
           rejectn_st TYPE /bic/ay2ws2za000-rejectn_st,
           END OF ty_status.
    DATA: l_is_datapack LIKE STANDARD TABLE OF /bic/ay2ws1za000.
    Data: l_ih_datapack like hashed table of /bic/ay2ws1za000 with unique
    key /BIC/Y_REQSID /BIC/Y_PACKNO /BIC/YRECNO.
    DATA: l_ih_docno TYPE HASHED TABLE OF ty_docno WITH UNIQUE KEY
    table_line,
          l_is_status TYPE SORTED TABLE OF ty_status WITH NON-UNIQUE KEY
          doc_number s_ord_item.
    DATA: ls_docno TYPE ty_docno.
    DATA:  l_answer(1)              TYPE c,
           l_error(1)               TYPE c,
           l_tab1(16)               type c,
           l_tab2(16)               type c,
           l_tab3(16)               type c,
           l_tab4(16)               type c.
    FIELD-SYMBOLS: <ls_datapack> TYPE /bic/ay2ws1za000,
                   <ls_docno> TYPE ty_docno,
                   <ls_status> TYPE ty_status.
    REFRESH: l_is_datapack[],
             l_ih_docno[],
             l_is_status[].
    CLEAR  l_answer.
    clear l_tab1.
    clear l_tab2.
    clear l_tab3.
    clear l_tab4.
    Selecting records to update from 4 tables.
    SELECT * FROM /bic/ay2ws1za000
      APPENDING TABLE l_is_datapack
      WHERE /bic/y_reqsid eq '0003424029' AND
            calquart1 NE '9'.
    SELECT * FROM /bic/ay2ws1za100
      APPENDING TABLE l_is_datapack
      WHERE /bic/y_reqsid eq '0003424029' AND
            calquart1 NE '9'.
    SELECT * FROM /bic/ay2ws1za200
      APPENDING TABLE l_is_datapack
      WHERE /bic/y_reqsid eq '0003424029' AND
            calquart1 NE '9'.
    SELECT * FROM /bic/ay2ws1za300
      APPENDING TABLE l_is_datapack
      WHERE /bic/y_reqsid eq '0003424029' AND
            calquart1 NE '9'.
    Collecting the doc number for lookup.
    LOOP AT l_is_datapack ASSIGNING <ls_datapack>.
      ls_docno-doc_number = <ls_datapack>-doc_number.
      ls_docno-s_ord_item = <ls_datapack>-s_ord_item .
      ASSIGN ls_docno TO <ls_docno>.
      COLLECT <ls_docno> INTO l_ih_docno.
    ENDLOOP.
    Lookup into another table. infact 7 tables appending IT.
    IF l_ih_docno[] IS NOT INITIAL.
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2aa000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item .
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2ab000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2ba000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2bb000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2bc000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2bd000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
      SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2za000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
    SELECT doc_number s_ord_item rejectn_st FROM /bic/ay3ws2zb000
        APPENDING TABLE l_is_status
        FOR ALL ENTRIES IN l_ih_docno
        WHERE doc_number = l_ih_docno-doc_number AND
              s_ord_item = l_ih_docno-s_ord_item.
    ENDIF.
    LOOP AT l_is_datapack ASSIGNING <ls_datapack>.
    updating the fields by reading from IT.
      READ TABLE l_is_status ASSIGNING <ls_status>
      WITH KEY doc_number = <ls_datapack>-doc_number
               s_ord_item = <ls_datapack>-s_ord_item
               BINARY SEARCH.
      IF sy-subrc = 0.
        <ls_datapack>-rejectn_st = <ls_status>-rejectn_st.
      ENDIF.
    ENDLOOP.
    sort l_is_datapack[] ascending by /BIC/Y_REQSID /BIC/Y_PACKNO
    /BIC/YRECNO.
    Delete adjacent duplicates from l_is_datapack[] comparing /BIC/Y_REQSID
    /BIC/Y_PACKNO /BIC/YRECNO.
    l_ih_datapack[] = l_is_datapack[].
    refresh l_is_datapack[].
    refresh l_is_status[].
    refresh l_ih_docno[].
    IF l_ih_datapack[] IS NOT INITIAL.
    Updating the original tables with this new read field.
        UPDATE /bic/ay2ws1za000 FROM TABLE l_ih_datapack .
        IF sy-subrc NE 0.
          write /'/bic/ay2ws1za000-inserted 0 records'.
        else.
          write /'/bic/ay2ws1za000-inserted records successfully'.
        ENDIF.
        UPDATE /bic/ay2ws1za100 FROM TABLE l_ih_datapack.
        IF sy-subrc NE 0.
          write /'/bic/ay2ws1za100-inserted 0 records'.
        else.
          write /'/bic/ay2ws1za100-inserted records successfully'.
        ENDIF.
        break-point.
        UPDATE /bic/ay2ws1za200 FROM TABLE l_ih_datapack.
        IF sy-subrc NE 0.
          write /'/bic/ay2ws1za200-inserted 0 records'.
        else.
          write /'/bic/ay2ws1za200-inserted records successfully'.
        ENDIF.
        UPDATE /bic/ay2ws1za300 FROM TABLE l_ih_datapack.
        IF sy-subrc NE 0.
          write /'/bic/ay2ws1za300-inserted 0 records'.
        else  .
          write /'/bic/ay2ws1za300-inserted records successfully'.
        ENDIF.
        refresh l_is_datapack[].
    ENDIF.
    Line: -
    Most of the times, it update around only 9500 entries.
    Edited by: Sriram k on Jul 28, 2009 7:34 AM I dont know how to show the new lines...:(

  • How to edit only the selected record in Oracle forms 6i

    Hi,
    I have a form which has three control blocks.
    First block is for search criteria, The results in the second block are displayed based on the values entered in the first block. Second block is a multi record block.
    Below is my requirement:
    I want to edit the record in the second block, based on the cursor position.
    For EX: If the cursor is placed on the first record, all the fields in the first record should be in the editable mode.
                  If I move the cursor down, the next record should be editable and the previous record should again go back to non editable mode.
    I have tried using :system.cursor_record, but it's applying the editable property to all fields, irrespective of the cursor position.
    Any suggestions would be of great help.
    Thanks
    Deepthi

    Deepthi,
    Why would you need to do this...it seems unnecessary to me because your user can only edit the record they are physically at.  So, if your user is in record 3 he/she can't edit record 5.
    Now, to the specific issue you are having - if you are using the SET_ITEM_PROPERTY() built-in to make a record "Editable" then what you are seeing is expected results.  The SET_ITEM_PROPERTY() built-in affects ALL instances of a specific item.  If you need to set item instance specific properties then you need to use the SET_ITEM_INSTANCE_PROPERTY() built-in.  However, this built-in does not have the same set of properties that it can set.  Take a look at the Forms Help to compare these built-ins.
    If you must make each record editiable as your user navigates through them here is how I would attempt this.  I must reiterate however, I really don't think this is necessary...but I don't know your requirements .
    1.  Create a Forms parameter to caputure the CURRENT and PREVIOUS Record number.
    I prefer a parameter object over a Global because you can't choose the data type of a Global so you have to cast the value to accurately perform any numeric calculations on a Global.
    2.  Create/update When-New-Record-Instance trigger...
    /* Sample When-New-Record-Instance... */
    BEGIN
       :PARAMETER.Prev_Record := :PARAMETER.Curr_Record;
       :PARAMETER.Curr_Record := :SYSTEM.Trigger_Record;
       IF ( :PARAMETER.Prev_Record != :PARAMETER.Curr_Record) THEN
         -- Make the previous record the user was at Non-Editable...
         Set_Item_Instance_Property('YOUR_BLOCK.YOUR_1st_BLOCK_ITEM', INSERT_ALLOWED, PROPERTY_FALSE);
         Set_Item_Instance_Property('YOUR_BLOCK.YOUR_1st_BLOCK_ITEM', UPDATE_ALLOWED, PROPERTY_FALSE);
         -- You MUST do this for each of the items in the row of your multirecord block.  There is no built-in to set the properties
         -- all of the items in a row...
       END IF;
       -- Now make the current record editable...
         Set_Item_Instance_Property('YOUR_BLOCK.YOUR_1st_BLOCK_ITEM', INSERT_ALLOWED, PROPERTY_TRUE);
         Set_Item_Instance_Property('YOUR_BLOCK.YOUR_1st_BLOCK_ITEM', UPDATE_ALLOWED, PROPERTY_TRUE);
         -- You MUST do this for each of the items in the row of your multirecord block.  There is no built-in to set the properties
         -- all of the items in a row...
    END;
    This sample code is untested and it meant to show you the logic, not the actual functioning code.
    Hope this helps.
    Craig...

  • After Safari 8.0.4 update only certain pages will open - can anyone help me?

    After updating the Safari 8.0.4 security update today only certain webpages will load - ideas anyone?

    Start time: 15:44:32 03/23/15
    Revision: 1302
    Model Identifier: MacBookPro11,1
    System Version: OS X 10.10.2 (14C1514)
    Kernel Version: Darwin 14.1.0
    Time since boot: 1:41
    UID: 501
    FileVault 2: On
    System errors (per sec)
        nsurlstoraged (UID 501, error 1): 123
    Energy (sampled)
        WindowServer (UID 88): 62.08
        com.apple.WebKit.WebContent (UID 501): 7.63
        com.apple.WebKit.Networking (UID 501): 6.30
    Proxies
        HTTPProxy : 127.0.0.1
    DNS: 8.8.8.8 (static)
    Listeners
        cupsd: ipp
    HID errors: 10
    Kernel log
        Mar 22 16:26:19 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff802b0d97b0
        Mar 22 16:26:20 AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Data
        Mar 22 16:26:20 ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
        Mar 22 16:27:02 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 1 on so 0xffffff802b0d97b0
        Mar 22 17:34:28 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff802b0e0000
        Mar 22 18:48:33 sync timed out: 60 sec
        Mar 22 19:07:43 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff8036612b88
        Mar 22 19:07:44 AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Data
        Mar 22 19:07:44 ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
        Mar 22 19:09:12 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 1 on so 0xffffff8036612b88
        Mar 22 19:09:13 AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Data
        Mar 22 19:09:13 ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
        Mar 22 19:09:13 AFP_VFS afpfs_DoReconnect:  connect on /Volumes/Data failed 51.
        Mar 22 19:09:14 ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
        Mar 22 19:09:14 AFP_VFS afpfs_DoReconnect:  connect on /Volumes/Data failed 51.
        Mar 22 19:09:16 ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
        Mar 22 19:09:16 AFP_VFS afpfs_DoReconnect:  connect on /Volumes/Data failed 51.
        Mar 22 19:09:20 ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
        Mar 22 19:09:32 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 2 on so 0xffffff8036612b88
        Mar 22 20:38:02 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff80226403d8
        Mar 22 20:53:24 Can't load kext com.apple.driCouldn't alloc class "AppleThunderboltIPService"
        Mar 22 21:09:31 considerRebuildOfPrelinkedKernel com.apple.kext.OSvKernDSPLib triggered rebuild
        Mar 22 21:21:52 considerRebuildOfPrelinkedKernel com.apple.kext.OSvKernDSPLib triggered rebuild
        Mar 23 13:26:43 USBF:    1904.747    IOUSBCompositeDriver(CompositeDevice)::GetConfigDescriptor - GetFullConfigDescriptor(0) #2 returned NULL, trying ResetDevice and then trying again
        Mar 23 15:37:57 ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff80328247b0
    System log
        Mar 23 15:37:12 sharingd: 15:37:12.304 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:37:20 sharingd: 15:37:20.145 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:37:35 sharingd: 15:37:35.879 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:37:44 sharingd: 15:37:44.879 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:37:51 sharingd: 15:37:51.728 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:37:52 fseventsd: Logging disabled completely for device:1: /Volumes/Recovery HD
        Mar 23 15:37:55 sharingd: 15:37:55.769 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:38:04 sharingd: 15:38:04.613 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:38:08 sharingd: 15:38:08.166 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:38:17 sharingd: 15:38:17.167 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:38:21 sharingd: 15:38:21.233 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:39:19 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Skriptredigerare" for over 1.00 seconds. Server has re-enabled them.
        Mar 23 15:41:09 sharingd: 15:41:09.058 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:41:18 sharingd: 15:41:18.535 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:41:27 sharingd: 15:41:27.878 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:41:36 sharingd: 15:41:36.652 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:41:46 sharingd: 15:41:46.092 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:41:55 sharingd: 15:41:55.504 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:42:02 sharingd: 15:42:02.687 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:42:03 sharingd: 15:42:03.498 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:42:17 sharingd: 15:42:17.946 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:42:26 sharingd: 15:42:26.848 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:42:35 sharingd: 15:42:35.813 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:43:51 sharingd: 15:43:51.711 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
        Mar 23 15:43:56 sharingd: 15:43:56.667 : SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: Activity (Åtgärden kunde inte slutföras. (com.apple.identityservices.error fel 200.))
    launchd log
        Mar 23 15:41:32 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:41:42 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:41:52 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:42:02 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:42:12 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:42:22 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:42:32 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:42:42 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:42:52 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:43:02 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:43:12 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:43:22 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:43:32 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:43:42 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:43:52 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:44:02 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:44:12 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:44:22 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:44:32 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:44:42 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:44:52 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:45:02 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:45:12 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:45:22 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
        Mar 23 15:45:32 org.glimmerblocker.proxy: Service could not initialize: 14C1514: xpcproxy + 14045 [1344][UUID]: 0xd
    Console log
        Mar 21 17:28:34 mdworker: -[__NSArrayM objectForKey:]: unrecognized selector sent to instance 0x7fbc31716d60
        Mar 22 21:06:19 fontd: Failed to open read-only database, regenerating DB
    Loaded kernel extensions
        net.kromtech.kext.AVKauth (2.3.7)
        net.kromtech.kext.Firewall (2.3.7)
    System services loaded
        com.adobe.fpsaud
        com.apple.watchdogd
        com.microsoft.office.licensing.helper
        com.skype.skypeinstaller
        com.zeobit.MacKeeper.AntiVirus
        com.zeobit.MacKeeper.plugin.AntiTheft.daemon
        org.glimmerblocker.proxy
        - status: 78
    Login services loaded
        com.GoPro.GoPro-Importer
        com.apple.cloudd
        - status: -6
        com.google.keystone.user.agent
        com.spotify.webhelper
        com.zeobit.MacKeeper.Helper
        org.glimmerblocker.installer
    User login items
        iTunesHelper
        - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
        Dropbox
        - /Applications/Dropbox.app
        Rowmote Helper
        - /Applications/Rowmote Helper.app
    Safari extensions
        AdBlock
        - com.betafish.adblockforsafari
    iCloud errors
        bird 262
        cloudd 19
        Script Editor 3
        storedownloadd 2
    Continuity errors
        lsuseractivityd 18
    Restricted files: 258
    Contents of /Library/LaunchAgents/org.glimmerblocker.installer.plist
        - mod date: Mar 15 08:30:25 2015
        - size (B): 744
        - checksum: 3541493507
        <?xml version='1.0' encoding='UTF-8'?>
        <!DOCTYPE plist PUBLIC '-//Apple Computer//DTD PLIST 1.0//EN' 'http://www.apple.com/DTDs/PropertyList-1.0.dtd'>
        <plist version='1.0'>
        <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>org.glimmerblocker.installer</string>
           <key>ProgramArguments</key>
           <array>
            <string>/Library/PreferencePanes/GlimmerBlocker.prefPane/Contents/GlimmerBlocke rInstaller.app/Contents/MacOS/InstallerDaemon</string>
           </array>
           <key>Umask</key>
           <integer>18</integer>
           <key>ProcessType</key>
           <string>Background</string>
           <key>StartInterval</key>
           <integer>172800</integer>
           <key>KeepAlive</key>
           <false/>
           <key>WorkingDirectory</key>
           <string>/tmp</string>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.skype.skypeinstaller.plist
        - mod date: Aug  2 09:53:54 2014
        - size (B): 714
        - checksum: 354022165
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.skype.skypeinstaller</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.skype.skypeinstaller</string>
        </array>
        <key>Sockets</key>
        <dict>
        <key>com.skype.skypeinstaller.socket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/com.skype.skypeinstaller.socket</string>
        <key>SockType</key>
        <string>Stream</string>
        </dict>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchDaemons/com.zeobit.MacKeeper.AntiVirus.plist
        - mod date: Aug  2 04:59:23 2014
        - size (B): 455
        - checksum: 4244331265
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
            <dict>
        <key>Disabled</key>
        <false/>
        <key>Label</key>
        <string>com.zeobit.MacKeeper.AntiVirus</string>
        <key>Program</key>
        <string>/Library/Application Support/MacKeeper/AntiVirus.app/Contents/MacOS/AntiVirus</string>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.zeobit.MacKeeper.plugin.AntiTheft.daemon.plist
        - mod date: Aug  2 04:46:29 2014
        - size (B): 443
        - checksum: 3798729423
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
            <dict>
        <key>Disabled</key>
        <false/>
        <key>Label</key>
        <string>com.zeobit.MacKeeper.plugin.AntiTheft.daemon</string>
        <key>Program</key>
        <string>/Library/Application Support/MacKeeper/MacKeeperATd</string>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/org.glimmerblocker.proxy.plist
        - mod date: Mar 15 08:30:24 2015
        - size (B): 987
        - checksum: 2572653149
        <?xml version='1.0' encoding='UTF-8'?>
        <!DOCTYPE plist PUBLIC '-//Apple Computer//DTD PLIST 1.0//EN' 'http://www.apple.com/DTDs/PropertyList-1.0.dtd'>
        <plist version='1.0'>
        <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>org.glimmerblocker.proxy</string>
           <key>UserName</key>
           <string>_glimmerblocker</string>
           <key>InitGroups</key>
           <true/>
           <key>ProgramArguments</key>
           <array>
            <string>/Library/PreferencePanes/GlimmerBlocker.prefPane/Contents/GlimmerBlocke rProxy.app/Contents/MacOS/GlimmerBlockerProxy</string>
               <string>--gb-version=1.6.5</string>
           </array>
           <key>OnDemand</key>
           <false/>
           <key>Umask</key>
           <integer>63</integer>
           <key>KeepAlive</key>
           <true/>
           <key>WorkingDirectory</key>
           <string>/Library/PreferencePanes/GlimmerBlocker.prefPane/Contents/GlimmerBlocke rProxy.app/Contents/Resources</string>
        ...and 4 more line(s)
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist
        - mod date: Oct  9 18:43:08 2014
        - size (B): 807
        - checksum: 3157949687
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.spotify.webhelper.plist
        - mod date: Mar 22 14:21:37 2015
        - size (B): 537
        - checksum: 805144168
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
         <key>Label</key>
         <string>com.spotify.webhelper</string>
         <key>KeepAlive</key>
         <dict>
          <key>NetworkState</key>
          <true/>
         </dict>
         <key>RunAtLoad</key>
         <true/>
         <key>Program</key>
         <string>/Users/USER/Library/Application Support/Spotify/SpotifyWebHelper</string>
         <key>SpotifyPath</key>
         <string>/Applications/Spotify.app</string></dict>
        </plist>
    Contents of Library/LaunchAgents/com.zeobit.MacKeeper.Helper.plist
        - mod date: Mar 14 16:53:48 2015
        - size (B): 619
        - checksum: 1794757485
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <false/>
        <key>EnvironmentVariables</key>
        <dict>
        <key>ZBTimeStamp</key>
        <string>20150305190134</string>
        </dict>
        <key>Label</key>
        <string>com.zeobit.MacKeeper.Helper</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>OnDemand</key>
        <false/>
        <key>Program</key>
        <string>/Applications/MacKeeper.app/Contents/Resources/MacKeeper Helper.app/Contents/MacOS/MacKeeper Helper</string>
        </dict>
        </plist>
    Extensions
        /System/Library/Extensions/JMicronATA.kext
        - com.jmicron.JMicronATA
    Applications
        /Applications/GoPro Studio.app
        - com.gopro.GoPro-Studio
        /Applications/GoPro Studio.app/Contents/Library/LoginItems/GoPro Importer.app
        - com.GoPro.GoPro-Importer
        /Applications/GoPro/Tools/GUIDUFRM_Repair.app
        - com.yourcompany.GUIDUFRM-Repair
        /Applications/GoPro/Tools/StereoModeStatus.app
        - com.cineform.StereoModeStatus
        /Applications/GoPro/Tools/Uninstall GoPro Studio.app
        - com.apple.ScriptEditor.id.Uninstall-GoPro-Studio
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        - com.microsoft.ASApplication
        /Applications/Microsoft Office 2011/Office/Equation Editor.app
        - com.microsoft.EquationEditor
        /Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app:̈r Microsoft Office:
        - N/A
        /Applications/Microsoft Office 2011/Office/Microsoft Query.app
        - com.microsoft.Query
        /Users/USER/Desktop/TPTEST5.app
        - N/A
    PrefPane
        /Library/PreferencePanes/Flash Player.prefPane
        - com.adobe.flashplayerpreferences
        /Library/PreferencePanes/GlimmerBlocker.prefPane
        - org.glimmerblocker.prefsPane
        /Library/PreferencePanes/GoPro.prefPane
        - com.cineform.codec
    Bundles
        /Library/Internet Plug-Ins/Flash Player.plugin
        - com.macromedia.Flash Player.plugin
        /Library/Internet Plug-Ins/GarminGpsControl.plugin
        - com.garmin.GarminGpsControl
        /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
        - com.microsoft.sharepoint.browserplugin
        /Users/USER/Library/Address Book Plug-Ins/SkypeABDialer.bundle
        - com.skype.skypeabdialer
        /Users/USER/Library/Address Book Plug-Ins/SkypeABSMS.bundle
        - com.skype.skypeabsms
        /Users/USER/Library/Application Support/MacKeeper Helper/NoticeEngine.plugin
        - com.zeobit.MacKeeper.plugin.NoticeEngine
        /Users/USER/Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
        - com.Google.GoogleEarthPlugin.plugin
    Bundles (new)
        /Applications/Dropbox.app
        - com.getdropbox.dropbox
        /Applications/Utilities/Adobe Flash Player Install Manager.app
        - com.adobe.flashplayer.installmanager
        /Applications/iMovie.app
        - com.apple.iMovieApp
        /Applications/iPhoto.app
        - com.apple.iPhoto
        /Applications/iPhoto.app/Contents/Library/LoginItems/PhotoStreamAgent.app
        - null
        /Library/Internet Plug-Ins/Flash Player.plugin
        - com.macromedia.Flash Player.plugin
        /Library/PreferencePanes/Flash Player.prefPane
        - com.adobe.flashplayerpreferences
    Library paths
        /Applications/Microsoft Office 2011/Office/MicrosoftSetupUI.framework/Libraries/mbupgx.dylib
        /Applications/Microsoft Office 2011/Office/OPF.framework/Versions/14/Resources/OPF_Common.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/Fm20.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/MicrosoftOLE2TypesLib.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/RefEdit.dylib
        /Applications/Microsoft Office 2011/Office/Visual Basic for Applications.framework/Versions/14/Frameworks/RichEdit.dylib
    App extensions
        com.getdropbox.dropbox.garcon
    Installations
        GoProStudio: 2014-05-30 15:33
        GoProStudio: 2014-05-30 09:52
        Garmin Express: 2014-05-29 08:31
        BankID: 2014-05-27 11:13
        Adobe Flash Player: 2014-05-27 04:52
    Elapsed time (sec): 288

  • Cant update only certain apps, gets linked to a random apple ID that isnt mine, but checked app store and its signed in with my ID. HELP =[

    Im trying to update the facebook app on my iphone 4s, but when i click update .. an apple ID that doesnt belong to me shows up and asks for the password.
    Ive checked that im logged in with my own apple ID in the apps store but somehow it shows up with a different apple ID when i click update.
    I only have one apple ID and therefore could not be the old / new apple ID problem and phone is completely new ...
    Heeelp ><" the bug in the facebook app is very annoying and not being able to update for a month is horrible =[

    How to delete an app ? Press and hold any of the apps and after a couple of seconds or so they should start to shake. Then press the 'x' in the left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. If you don't get the 'x' on any of the apps that you've downloaded (you can't delete built-in apps) then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'. Then buy and download the app with your own account.
    Or how to do something else ?

  • Updating only the last record.

    Hi,
    I have a scenario where we get more than 1 record based on style. Everytime the new record comes in, I need to update the last record inserted. It requires a procedure to do it, but need some help on how to just update the last record only and not all the previous received records.
    Here is the scenario.
    create table test_1 as
    with data_Set as
    ( select 'ABCD' style, 20080101 date_received, 2 duration,20080301 expire_Date from dual union all
    select 'PQRS' style, 20080201 date_received, 2, 20080401 expire_Date from dual
    ) select * from data_set
    so now on next run when i get another record
    insert into test_1
    select 'ABCD' style, 20080401 date_received, 3 duration,20080701 expire_Date from dual.
    now the procedure should insert the incoming record and also update the expire_date for the previous record to a day before date_received for the new record. I am ok doing it when its only 2 records , but when i get another record of same style, i dont want to update all the previous received records. I only want to update the last record on file.
    can anyone suggest?

    STYLE     DATE_RECEIVED     DURATION     EXPIRE_DATE     SEQ_INSERTED
    110427     7/31/2006     0     7/31/2006     2
    110427     9/1/2007     12     9/1/2008     2
    110427     8/2/2008     24     8/2/2010     3
    468130     3/13/1997     0          2
    468130     3/13/1997     12     3/13/1998     2
    468130     1/12/2008     12     1/12/2009     3
    Here is my data set
    and here is the query i use to update, does it look correct?
    update test b
    set ( expire_Date) =
    (select start_date - 1
    from test a
    where (style_no, date_received) in
    (select style_no, max(date_received)
    from test c
    group by style_no
    and a.style_no = b.style_no
    and style_no in ('468130','110427')

  • Update only certains registers

    hi experts,
    I have an ODS with fields:
    material date period price ....
    example:
    mat1 01062006 6 7800euros
    <b>mat2 01062006 6 9000euros
    mat2 01072006 6 9100euros</b>
    How I can update to another ODS2 only the first register grouping material , date ,period? I only want to update the first register, for example:
    <b>mat1 01062006 6 7800euros
    mat2 01062006 6 9000euros</b>
    The third register is deleted because had the same material, period than the second. And the date was to latest. It was the second register of the material2 and period 6. I dont want to update it.
    Thanks a lot

    Correct. maybe its correct!! Im going to test it.
    But I'm looking that only it works if the field is a key Figure.
    I have:
    material - caracteristic
    NumDoc- Caract.
    Society - Caract.
    Date - Caract.
    period - Caract
    price - Key figure
    I have to convert the date to a key figure?
    And if I select 'First Fields', the report only select the first register for period,numdoc, and material?

  • Firefox 3.6.17 crashes after mac updates on snow including java update - only certain pages, like ebay and google crash

    I just updated my snow leopard mac with updates including garageband, iphoto, safari, hp printer, itunes and java. After that Firefox 3.6.17, which had been working fine, crashed after I would open many pages including myebay and igoogle. I tried safe mode and disabling all plugins, but it still crashed. Other pages, like Gmail and ebay before I chose Myebay worked fine, at least on open.
    I downgraded to 3.6.13, but it did not solve the problem, so I upgraded to v4, which I am not thrilled with, but it stopped the crashing. I would rather say in v3.6 (which isn't as good as 3.5). What can I do to resolve this issue so I can return to 3.6?

    Hi Ben,
    First...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If no improvement on rebooting, then...
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Update only one select query field

    hello
    how i can update select query result field in original table.
    update table1 set field_1 from(select field_1 from table 1,table2,table3,table4 where table1.field_1=table1.field_1 and table2.field_2=table3.field_2 and table4.field_3=table1.field_4)
    like that.is it possible!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!can u please help me to rewrite query/
    select query returns result like that from different tables
    lets example field_1 field_2 field_3 field_4
    TIGER 1 V A
    TIGER 2 F B
    TIGER 3 R C
    I need to update 'TIGER' instead of 'LION' in original table.
    THANKS

    Maybe something like
    update table1
       set beast = (select animal
                      from <table_list>
                     where <predicates>
    where beast = 'LION'when your query returns a single row
    or when multiple rows are returned
    update (select t1.beast,t2.animal
              from (select beast,
                           <join_columns_list>
                      from table1
                     where beast = 'LION'
                   ) t1,
                   (select animal,
                           <join_columns_list>
                      from <table_list>
                     where <predicates>
                   ) t2
             where t1.<join_columns_list> = t2.<join_columns_list>
       set beast = animalRegards
    Etbin

  • Trying to copy only certain contents of a folder to another folder

    I tried for a while to get this to work and got close but not quite. Any help would be appreciated:
    1. Get specified finder items -- I select a folder of documents that also has sub-folders with other documents
    2. Filter finder items -- basically there is a large folder for SimCity that I don't want to copy so I tried "name does not contain SimCity"
    3. Copy Finder Items -- copy the results of 2 to a new folder.
    I tried inserting a "get folder contents" before the Filter and the filter then works but then all of the non SimCity contents are copied into the destination folder at its root (i.e. all sub-folders are lost).
    I may try AppleScript but want to give Automator a chance.
    Thanks.
    iBook   Mac OS X (10.4.4)  
    Mac Mini G4   Mac OS X (10.4.4)  

    Hi,
    You can develop a task into the portal that read all your repositories and get that information and then, to save this in another repository.
    Do you need help with this??
    Regards,
    Roberto

  • CCB- SECURITY-Update only certain fields in a Page (MO)

    application: CCB Version 2.2.0
    We have a requirement, the user will not have update access to an entire Screen/Maintenance object, let us consider the example as Account.
    The user should not be able to change any fields in that page. But he should have access to update the update the Bill after Date field in the account screen.
    Any ideas on how to do it.
    We were thinking that creating an Business Object for the Account. For that BO add an application service that the user have access to and then using a BPA(same application service) prompt the user to input the Bill After Date and then updating it through the BO. It doesnt seem to work as the application service in the BO doesnt really support this kind of feature I guess.
    any help on this topic will be highly appreciated.
    Thanks
    Edited by: Har on 20 juil. 2011 03:30

    I think you need to implement user-exit EXIT_SAPMM06E_012 of enhancement MM06E005.
    Look in OSS with seach term MM06E005 to get some examples.
    Note310154 "ME21N/ME51N: Customer-specific check, generating error log" has some examples.
    You should use the macros to set errors/warnings
    Example:
      mmpur_business_obj_id pt_ekpo-id.
      mmpur_metafield mmmfd_partners.
      mmpur_message_forced 'W' '00' '208' text-001 '' '' ''.
    regards,
    JG

  • Updation/insertion of multiple records simultaneously using check box

    Hi,
    I am using Jdev11.1.1.2.0 version. I have the following scenario.
    There is a table in the view.At run time, I need to select multiple records and update those records in the database. So i took check Box as a column in the table.*(I did not associate check box to any of the attributes (columns) in the table.)* After running the application, I selected multiple records using checkbox and submitting them. The check box is returning value as 'false' even for the selected records also instead of 'true'. Because of this we are facing the issue in updating only the selected records. Please suggest your valuable inputs.
    I have written the following code in the backing bean to get the selected rows.
    BindingContainer bindings =BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcIter= (DCIteratorBinding) bindings.get("PttDeliverabvleTrackerEOView2Iterator");
    RowSetIterator depRSIter = dcIter.getRowSetIterator();
    depRSIter.setRangeSize(depRSIter.getRowCount());
    Integer key = depRSIter.getRowCount();
    System.out.println("No of rows is "+ key);
    int rowIndex =0;
    for(int i =0; i<key; i++){
    PttDeliverabvleTrackerEOViewRowImpl row = (PttDeliverabvleTrackerEOViewRowImpl) depRSIter.getRowAtRangeIndex(i);
    System.out.println("Check box value2 "+ this.getSbc1().isSelected());
    if(this.getSbc1().isSelected()){
    rowIndex = i;
    System.out.println("Row Index: "+ rowIndex);
    Please let me know if it is it possible to associate a checkbox to any of the attributes while dragging and dropping the table in the view and update the records?
    I tried selecting the option 'Row Selection' while dragging and dropping the table and changed the property RowSelection->multiple. But it is not serving the purpose of updating multiple records.
    Please suggest if there is any other solution to update multiple records.
    Regards,
    Sreelatha.

    Hi,
    if you added checkboxes to a table, then at runtime the checkbox is stamped, which means that a call to this.getSbc1().isSelected() just returns the state of the last checkbox that is rendered. I don't want to go into the details of ADF Faces table rendering here, but point yu to a blog article that does what you are aiming for using ADF BC: http://sameh-nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html
    Frank

  • Updating only perticular records

    Dear Members,
    I have a problem with one update statement , before discussing my problem please looking to the tables' data as shown below
    Table "hari" data is below
    contract tot
    12 0
    13 0
    14 0
    15 5
    Table "hari_tot" data is below
    contract amount
    12 1
    12 2
    13 1
    13 3
    14 1
    14 4
    15 1
    15 5
    Now please look into my update query
    update hari a set a.tot=(select sum(b.amount) from hari_tot b where a.contract=b.contract and a.contract in (12,13))
    Here i mean to update only contract id 12,13 details, but its going to update all the records in "hari" table data. So 4 updates are happening over here . Finally data will looks in "hari"
    table as below
    contract tot
    12 3
    13 4
    14
    15
    To avoid null update i have modified the the above query as below
    update hari a set a.tot=nvl((select sum(b.amount) from hari_tot b where a.contract=b.contract and a.contract in (12,13)),a.tot)
    After updating the table "hari" result looks as follows
    contract tot
    12 3
    13 4
    14 0
    15 5
    Since i need to update only 100 or 150 records in a table which is having millions of records, if i ran the statements like above, i'm going to achieve my task but unnecessarily i'm going to update all the records. Because of this reason only I'm trying with small tables' data like above
    Could you please let me know the query to update only 12,13 records details, i meant to say only two updates should happen if i run the query and the data should look as shown below
    contract tot
    12 3
    13 4
    14 0
    15 5
    Many Thanks,
    Hari.

    Hi,
    solution was just under your nose:
    UPDATE hari a
       SET a.tot =
              (SELECT SUM (b.amount)
                 FROM hari_tot b
                WHERE a.contract = b.contract)
    WHERE a.contract IN (12, 13)I don't mean to be rude but you were very closed to the correct solution.
    As a suggestion for next posts read SQL and PL/SQL FAQ.
    Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    It's quite useful if you could post CREATE TABLE and INSERT statement of a sample of your data.
    Regards.
    Al
    Edited by: Alberto Faenza on Jan 9, 2013 3:40 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to sort only a selected area?

    I'm trying to sort only a selected area (4 of my 5 columns) and not the entire table. Numbers help is worthless and nothing I've tried works. Any thoughts?

    What Yvan says, with additions.
    As well as copying the data to a second table, sorting it there, then pasting it back into the original table, Numbers lets you select and drag one or more columns from a table, then drop it on the sheet, where it will automatically become a new table.
    Here's an example:
    This is the original 10 column table. We wish to sort columns E, F and G into alphabetical order, while leaving the other columns in their original order. note the four locations where AAA, BBB, CCC and EEE appear in the same line.
    Click on any cell in column E. When the column tabs appear, select columns E, F and G by clicking on the E tab, then dragging to add to the selection.
    When the three columns are selected, click and hold on one of the three tabs, drag up until the columns separate from the table, then drag the selected columns to an empty space on the sheet. Drop to form a new three column table.
    If you now select column A on this table and Sort Ascending, the result will be as shown:
    Note that rows in the three columns moved together. If this is the result you are looking for, skip to the last step. If you want each of the three rows sorted individually, continue from here.
    To sort the three columns individually, each must be in a separate table. Separate them in the same manner as you did to separate the three column group from the original table: Select the individual column, then drag it's tab up until it separates, then left or right as appropriate and drop it to form a single column table. Take care to keep the separate columns in their original left to right order.
    Sort each column in turn.
    LAST STEP
    After sorting, drag each column (or the group of three if you did not sort the columns separately and individually) back to its place in the original table. Click on the temporary table to show the tab(s), Select the column(s), then click and drag a tab to move the column(s) to the original table. As you approach th place they came from, a double blue line will appear to show where the column(s) will be inserted if dropped. Drop at the appropriate location. If you are moving single columns, repeat until done.
    Finished. Note that each of the red columns is now in order. While AAA and BBB remain together, the other 'matched sets' no longer match.
    Regards,
    Barry

Maybe you are looking for

  • Itunes 11.0.2.26 update done, now I can't sync my iPad 3 or iPhone 5 over Wifi

    I just updated to iTunes 11.0.2.26.  I have an iPad 3 (iOS 6.1 (10B141)) and it displays "To enable Wi-Fi syncing with iTunes, connect to iTunes on your computer using a cable and click "Sync with this iPad over Wi-Fi". But the box to "sync over Wi-F

  • To put it in a FOR loop

    Dear anyone, I have written a code which calculates averages for 26 different groups. Attached the sample code in .txt file for reference. I would like to put it in a FOR loop to avoid writing a lenghthier code to calculate averages for 26 different

  • GetResourceAsStream... what is a Resource?

    I'm working on an applet that ships application data (lots of it) in jars. I'm using getResourceAsStream to read the resources from the jars and things seem to be 'fine' but I'm wondering why, everywhere I see samples of getResourceAsStream, its load

  • Split posting of Depreciation

    Good Day, Please help me on how to split the GL account posting of Depreciation using this example Original Asset 1,000 Revaluation 500 Revalued Amount (sum) 1,500 Depreciation for the year 300 On the revaluation, the entry is Dr Asset 500 Cr Revalua

  • Po should not editable after grn

    Dear All My clint wants po should not editable after grn. pls help