Messages are NOT deleted from tables XI_AF_MSG and XI_AF_MSG_AUDIT

Hello,
I set the retention period to 7 days (1 week)
I also set the default ARCHIVE and DELETE jobs and ALL are working fine.
However, messages with OLD dates are NOT deleted from the tables XI_AF_MSG and XI_AF_MSG_AUDIT.
These tables 32GB in the DBD table space.
I tried to use the URL:
http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
BUT to NO avail.
How do I DELETE or ARCHIVE these messages ?
============================================
Here are some more details on the content of the tables (I took into account 1 MONTH retention):
db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='SUCC' and TIME_STAMP < '2007-09-10 00:00:00'"
      28947
  1 record(s) selected.
db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='ERR' and TIME_STAMP < '2007-09-10 00:00:00'"
      13243
  1 record(s) selected.
db2 "select count(*)  from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='NDLV'"
       1048
  1 record(s) selected.
db2 "select count(*)  from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='DLVD'"
          0
  1 record(s) selected.

Hi,
First, thank you VERY much for answering.
Now to your questions:
1. When using the URL:
http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
    I did NOT get any ERROR messages.
    Thousands of messages where DELETED successfully.
    However, the number of rows in XI_AF_MSG_AUDIT did NOT reduce.
2. I used the default archiving and deletion customizations and jobs.
   However, I ran them manually a few times a day with NO change in the
   number of rows in XI_AF_MSG_AUDIT
   What do you mean by "customized any Archiving for adapter Engine" ?
. In RWB, I do see the default job is running
Have you customized any Archiving for adapter Engine or You are using default arciving which runs every 24 hrs.
3. I did ser the retention period for the adapter engine messages in visual admin in seconds...
Please, advise further.
Kind regards,
Gil

Similar Messages

  • While deleting project from CJ20N entries are not deleted from table PRPS

    Hi,
    I am deleting project from CJ20N then from PROJ table entries are getting deleted but WBS element entries are not deleted from table PRPS.
    Any deletion Flag should also be checked?
    Thanks in advance!
    Regards,
    Jyoti

    Hello,
    Thanks for reply !
    My problem is I am deleting project and WBS Elements from CJ20N but WBS element entries are not deleted from PRPS table.
    Why they are appearing in PRPS table and how it can be deleted?
    Thanks !

  • Persistent messages are not deleted from JMS store

              Hi,
              I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              a servlet that posts a message to persistent JMS queue, which will be eventually
              consumed by an MDB. Even though consumption is successful, the message is not
              deleted from JMS store.
              The message will be redelivered after server restart and is still not deleted
              from JMS store. I verified this using file store and JDBC store. The messages
              actually stay in the JMSSTORE table till doom's day.
              I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              was used in all cases.
              Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              message. WLS 6.1 sp4 didn't log this information.
              I'm running WLS 6.1 on WinNT and Win2000.
              Comments?
              b r
              Juha Räsänen
              

    I've am having exactly this problem with wl 5.1....
              I first saw it with 5.1 sp8....
              In the release notes for 5.1 sp10, the following CR was fixed, which seemed
              like it might have been my problem:
              CR 45915
              Fixed a JMS problem with messages begin left in the queue after received messages had been acknowledged. When a high volume of
              messages was sent to a queue and a consumer retrieved those messages and sent them to another queue, the messages were not being
              removed from the first queue even though they were acknowledged.
              We upgraded to 5.1 sp12, and it appeared that the incidence of that problem was reduced.
              However it still occurs once or twice a week, with 5.1 sp12....
              My situation is a little bit different, in that my consumer retieves a message, and sends another
              message to the SAME queue instead of another queue as described in the CR above...
              It does happen under heavy load, etc....
              Don't know if this has been reported and identified for wl 5.1 sp12 or not...
              It is of course a really difficult to deal with bug....
              Jason
              "Juha Räsänen" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi,
              > I'm experiencing some unexperienced JMS store behaviour with WLS 6.1 sp 4. I have
              > a servlet that posts a message to persistent JMS queue, which will be eventually
              > consumed by an MDB. Even though consumption is successful, the message is not
              > deleted from JMS store.
              >
              > The message will be redelivered after server restart and is still not deleted
              > from JMS store. I verified this using file store and JDBC store. The messages
              > actually stay in the JMSSTORE table till doom's day.
              >
              > I couldn't reproduce the case with WLS 6.1 sp 3. Exactly the application code
              > was used in all cases.
              >
              > Subsequently I ran the same case with various ServerDebug DebugJMSXXX-flags set,
              > and discovered that WLS 6.1 sp3 logs 'asyncDeleteL' and 'ZZZDelete' for the consumed
              > message. WLS 6.1 sp4 didn't log this information.
              >
              > I'm running WLS 6.1 on WinNT and Win2000.
              >
              > Comments?
              >
              > b r
              > Juha Räsänen
              

  • Messages are not deleted from the DB

    Hi, in the OCS Database, as i understand, all the messages that are deleted goes to a collection folder (id=4). The Problem is that none was deleted so far from it! All the old messages are still archived on the DB and i want to erase them all, how????
    Luis

    Dear nitin_ngm,
    this information on database platform in use is essential!
    In that db2 version, there is no native "truncate table" statement (this statement is executed at the very end of a table switch), and the DBSL implemented the abap truncate statment using the following DB2 native commands:                                                                               
    "IMPORT FROM /dev/null of DEL REPLACE INTO <table name>"                                                                               
    In SAP enviornment, the default behavior of the above command does not release the physical storage associated with an object because of the following database registry setting:                                                                               
    <i> DB2_TRUNCATE_REUSESTORAGE=IMPORT [DB2_WORKLOAD]
    Hence, an offlince table reorg is necessary after the truncate.                                                                               
    For a detailed description of this registry variable DB2_TRUNCATE_REUSESTORAGE, please refer to the following IBM online doc:
    [DB2_TRUNCATE_REUSESTORAGE|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.regvars.doc/doc/r0005669.html|DB2_TRUNCATE_REUSESTORAGE]
    You should be able to free the space via ALTER TABLESPACE ... REDUCE MAX
    See related information under the following link.
    [ALTER TABLESPACE ... REDUCE MAX|http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.sql.ref.doc/doc/r0000890.html|ALTER TABLESPACE ... REDUCE MAX]
    Best regards,
    Harald Keimer
    PI Development Support
    SAP AG, Walldorf

  • ALV messages are not deleted

    Hello all,
    Once again I have a problem with my ALV and the management of error messages.
    When I report a message in my ALV "check_data" method, I use the following code :
          lo_message_manager->report_attribute_error_message( message_text   = l_msgtext
                                                              element        = lr_element_alv
                                                              is_permanent   = abap_true
                                                              attribute_name = ls_tbc-att_name ).
    And at the beginning of my process I always clear the existing messages using :
      lo_message_manager->clear_messages( INCLUDING_PERMANENT_MSG = abap_true ).
    However, when I make two inputs, the messages from the first input are not deleted.
    Is it a bug ? Am I missing a step ?
    Impossible to find any thread in this forum or any OSS Note about that type of error.
    Thanks in advance
    Guillaume

    Hello Guys,
    I guess my post is not interesting anyone...
    I would like to add one more thing:
    When I have error messages on my first input, and if there are other error messages on the same cell at the second input, all error messages of the first input are deleted except the messages regarding the modified cell, that's why I end up with two error messages for the same cell.

  • N9 IMAP4 messages are not deleted on the server

    Emails deleted on N9 are not deleted (nor marked for deletion) in IMAP4 account on the server? I can see "unprocessed" emails in modest/evolution/thunderbird/webmail (after resync) which I have already deleted on the N9. I have deleted the account, set it up again on the N9, these deleted messages are there back (just like all other email clients and webmail show them). Need this feature working, otherwise email on N9 is useless. Paul

    Hey Hey, I fixed my N9 IMAP mail!!!
    First off, when I sent mail, I noticed it wasn't going to my primary Sent folder, but a legacy folder on my IMAP server called "Sent Messages".
    Even after deleting this folder from the server, mail still was not captured to the correct "Sent" folder and I still got the connection error messages on every Sync.
    So I cleaned house on my IMAP server and deleted all kinds of old folders like:
    .INBOX/Sent
    .INBOX/Trash
    BadTrash
    OldTrash
    OldSent
    Sent Messages
    Then I removed and re-added the IMAP account on my N9, and BANG it works!
    No more connection error messages, sent mail goes to the correct place, and deleted messages are deleted from the server.
    Obviously, the problem as previously stated in this thread is when the N9 client initially connects to an IMAP account. It seems to latch onto the first Trash and Sent messages it finds, even if you don't use those folder.
    In my case, it latched onto "Sent Message" for sent, and some invalid file for Trash (hence the connection error messages).
    Much better now, but I can't help to wonder what kind of IMAP logic is lacking on the N9 that Modest had on the N900 to have these kinds of problems....

  • Emails are not delete from the handheld/server

    Hello,
    Our client has Blackberry 8330.
    Emails are not deleted nor from the server nor from the phone. Maybe there any other setting set? Or are these settings set wrong?
    Thanks you
    He has these settings:
    under Messages - Options - General Options, there's this field for "Keep message for" --> 2 months
    The Options >Email reconciliation
    Delete On: Mailbox & Handheld
    Wireless Reconcile: ON
    On Conflicsts: Mailbox Wins

    Endriuska wrote:
    It looks like it only synchrozines mailbox to handheld(if deleted from mailbox, will delete from handheld), but will it delete from mailbox if the email is deleted from handheld?
    As discussed in the KB I linked for you, it depends. If, in the top grid, there is a YES in the Wireless Deletion column for the subject email service AND you have further configured, as per the KB you found, for deleted item reconciliation, then yes it should delete from the server when you delete from the HH.
    Note that there may be a time lag, however -- deleted item reconciliation tends to be one of the lowest priority activities inside of both BIS as well as the email providers systems...I've seen it take up to 24 hours (not normally, but that's the extreme that I've witnessed).
    Further, I believe that the on-HH setting for "Keep Messages" should have no effect on the server...deleted item reconciliation is a function of the end user actually deleting from the HH...not the auto-removal by virtue of this setting.
    Hope that helps!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • PL/SQL log messages are not printing from Java concurrent program

    Hi,
    I have a strange issue while submitting the Java concurrent program through PL/SQL.
    I have a PL/SQL concurrent program which will invoke the Java concurrent program inside the package by use of "FND_GLOBAL.SUBMIT_REQUEST". It worked and submitted successfully. From that Java concurrent program we are calling some other PL/SQL packages and printing some log messages over there. But problem here is the request is only printing the Java log messages in view log but not the PL/SQL log messages.  But if I submit the Java concurrent program directly from SRS form at that it is printing both Java and PL/SQL log messages.
    I am just wondering how the log messages has not printed. Please provide your inputs to solve this problem.
    Thanks
    Suriya

    I'm adding log messages in the package body , but these messages are not printing after completion of concurrent prog.
    Any suggestions.
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Data Test :');Do you have COMMIT in your code?
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%27FND_FILE.PUT_LINE%27+AND+commit&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • On my iPhone, my messages are not deleting, and freezing my phone

    I've been trying to delete some of my conversations from my iphone 5, but every time that I do and close the messages app, the entire list goes blank and freezes my phone. Also, whenever I tried to send a new message the message wouldn't send. Then I restarted my phone, and opened the message app again, and all of the messages that I tried to delete showed up again. I've been trying to do this for about a month now, with no luck. I updated to the iOS 8.1.2 software update, but it still does this every time.
    Is there any way to fix this? I've tried deleting the messages and then syncing my iPhone, but it still doesn't work. I'd rather not do a reset and lose all of my messages. Thanks!

    Have a look at this solution:  There are apparently more users suffering from phantom photos that cannot be deleted:  Changing the date makes the photos in "Recently deleted" visible again:
    txforeverMar 5, 2015 6:38 PM Re: More photos in settings than photos app shows
    Re: More photos in settings than photos app showsin response to morganfaith6
    I managed to get rid of the phantom usage. Restoring iPhone and resetting the phone settings/data do not work for me.
    I had to move the Date on my phone earlier by 1,2,3 months and found the phantom photos in the Recently Deleted Folder. Next, I deleted the photos manually from the Recently Deleted Folder and the usage got freed up from my iPhone.
    Hope this works for you

  • Messages are not dequeuing from ECX_outqueue table resulting in huge size of database.

    EBS Tech Stack :- EBS R12
    Release :- 12.1.3
    Oracle Database 11.2.0.2
    SQL> select count(*) from ECX_OUTQUEUE;
    COUNT(*)
    118405
    We are not using OTA(Oracle Transport Agent) in our current setup. This problem started from September 3, 2013. Also we are not using any XML gateway for this.
    Kindly let us know How I can get that what is the origin of the data and why its not dequeing.

    Are there any exceptions in the table? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=ECX_OUTQUEUE&c_owner=APPLSYS&c_type=TABLE
    Have you tried to rebuild the related queues as per https://forums.oracle.com/thread/2593111 ?
    If this doesn't help, please log a SR.
    Thanks,
    Hussein

  • TS4153 few files and folder are not deleting from trash folder

    i am trying to delete all files and folders from the trash folder by clicking  empty securely, but its not deleteing the files anf folder. please suggest how to clean the trash folder by deleteing all the deleted files and folder.

    Securely deleting items in Trash writes Zeros over the data so that it is completely eradicated.
    This will take quit a long time depending on how much data you have in Trash.
    Unless there is data that needs to be rendered unrecoverable in the Trash, you could choose to just delete the files and folders with out the secure option.
    Once you have Emptied the Trash unsecurely you can always use disk utility to Securely Erase Free Space on the Drive.

  • So if iMessages deleted from one device are not deleted from others why not recover deleted iMessages from iCloud?

    I accidentally deleted ALL the messages from my wife from my iPhone, nearly all of them iMessages.  Yet, I can see all of them on my iMac and on my MacPro.  Indeed, there is a discussion item (https://discussions.apple.com/message/21313040#21313040) that confirms that messages are deleted and maintained independently on each device, even though they are all ultimately resident only in Apple's cloud.
    I would dearly love to have all of them back on my iPhone.  Yet, reading about 20 or so discussions here, the only way to recover them would be a recovery from my iTunes backup.  I have a somewhat recent backup, but I'll still lose about 100 messages that way.
    So, if all the messages are still in the cloud, why CAN'T I recover them directly from the cloud to my iPhone?  Any ideas?  Any software?  Is this an App just begging to be built??
    Thanks

    It depends on the type of email account you are using, not on iCloud.  If you are using an IMAP or exchange account, when you delete from one device, it is deleted from all devices.  If you are using a POP (POP3) account, it won't.  (iCloud email, Gmail and Yahoo are all IMAP accounts.)

  • Deleted hotmail emails from my iPhone are not deleted from my iMac

    Hi,
    After I have deleted my hotmail emails from my iPhone they are not automatically deleted from my iMac.
    They delete from my hotmail account but not my iMac.
    Also when I set up my hotmail account to my iPhone all of my email files transfered to my iPhone automatically, they didn't transfer
    to my iMac.
    Help!!!!
    Thanks.

    Thanks for the help.
    I have set Hotmail to (Do what my other program says—if it says to delete messages, then delete them.)
    Still no joy, tried to delete an email from my iMac and its still on my iPhone and Hotmail inbox.
    Any other ideas?

  • Messages are not dequeing from the Queue

    I am using Oracle Advanced Queueing.
    PL/SQL API for enqueue
    JMS API for Dequeue Messages asynchronously (register listener and using onMessage())
    It is multi consumer queue.
    The program used to work fine. Now, it has stopped. Now, we can enqueue as
    many messages as we want. The subscriber does not recieve any messages. BUT,
    once we disconnect subscriber and connect again, the subscriber gets all the
    messages in the queue. You can repeat this N times.
    I sent this java program and sql scripts to Oracle support and they ran it successfully in their environment. So it appears to be some weird environment problem.
    Question:
    Did anybody have problem like this?
    Does anybody have any ideas about what to check in Oracle/Java client environment?
    We use Java SDK 1.2.2, thin JDBC drive and Oracle 8.1.7
    Thanks for reading this message.
    Vlad.
    null

    EMON is running:
    oracle 1105 1 0 Apr 28 ? 0:03 ora_emn0_wmdev
    And there are two trace files, but nothing interesting inside (they don't change when I run java client):
    -rw-r--r-- 1 oracle dba 107 May 2 18:01 PLSExtProc_agt_5404.trc
    -rw-r--r-- 1 oracle dba 107 May 2 18:06 PLSExtProc_agt_7021.trc
    PLSExtProc_agt_5404.trc
    Remote HO Agent received unexpected RPC disconnect
    status 1003: ncrorpi_recv_procid, called from horg.c
    PLSExtProc_agt_7021.trc
    Remote HO Agent received unexpected RPC disconnect
    status 1003: ncrorpi_recv_procid, called from horg.c
    null

  • Messages are not transferring from PI to SRM

    Hi,
    Here the  land scape is ECC -PI-SRM, The messages transfer to ECC TO PI, But  messages not transfer  from  PI-SRM ,the scenarios  are Idoc-idoc & Idoc -proxy ,Here  all RFC  connections are working  fine, . In SRM side - T-code  sldcheck  getting the error -  function call  returned  exception code  3, and in SPROXY  T-CODE -  ESR  components are  not displaying, could please provide help .
    Regards,
    seetharam.

    Hi M Joshi ,
    Please check the below :
    1) One RFC of type H to point to PI with all the details.
    2) Define the role of the business system in the server that you want to see(Sxmb_Adm)
    3)Connection between Business System and System Landscape Directory.
    3a)RFC destination LCRSAPRFC of type T for SLD connection.
    3b)RFC destination SAPSLDAPI of type T for SLD connection.
    4)Maintain the SAP J2EE Connection parameters for LCRSAPRFC and SAPSLDAPI in SAP J2EE Engine
    5)Maintain SLD access details in Transaction SLDAPICUST.
    Please refer the section 1.3.1, 1.3.2, 1.3.3 and 1.3.4 in the document(as linked provided below)
    SLDAPICUST should point to the SLD host server. If you have a central SLD installed on the Dev server, then it is ok that it is using the host and port of the Dev server.
    PIAPPLUSER is the normal user that is used in trx SLDAPICUST (the user must have the role SAP_XI_APPL_SERV_USER).
    'Lastly, will the gateway Server of SAPSLDAPI and LCRSAPRFC will be the same for both DEV and QAs systems in XI?'
    For proxy configuration, refer the following link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0ac1a33-debf-2c10-45bf-fb19f6e15649?QuickLink=index&overridelayout=true
    you can also check the assignment between the Business System , technical system and the software component versions in the SLD.A object would only be visible in the SPROXY of an Applicaion system if the corresponding SCWV is installed on the business system.
    To add :
    Go to the landscape view in the SLD.
    Select the Technical System Link
    Search your Technical system as Application system
    Click on the same
    A  tabbed screen appears in the bottom.
    Go to installed software tab.
    Click ADD NEW PRODUCT
    Add your product here. 
    Also check the business System assignment in the similar way.

Maybe you are looking for

  • Form opening for some users but not others

    I created a form with an area for the recipient to simply type their name, save the document and email it back.  This works for some but I have a user getting an error message: "This document does not allow changes to be saved.  Any changes you have

  • Black spot on camera pictures

    black spot appears on camera pics as well as front of screen. No dirt on eye in back of unit. Just a black speck on miidle right of screen. Thank you!

  • Is it possible to release Process Order  with Material Shortage

    Hi All, We are using PP-PI & still wants to have behavior of the PP prod order i.e. Release Process Order with Material shortage. Is it Possible. Regards, Jatin

  • SAP - BO XI Newbie

    I know a bit about both SAP and BO both and wanted to understand how these products would work. 1) If I have a) BI Query and b) Oracle Table/View can I combine them in the same BO XI universe and have user report against that universe using either Vo

  • Pc games on iMac

             Must I install windows ?  I don't need it .  I simply want to be able to try a particular game .  They seem to be pc only . Is there a recommended emulator or converter ,  to enable pc games on iMac .     What would be the best recommended m