PI 7.1 Archiving - Delete

hi Team,
We have PI 7.1 production environment and planning to implement ARCHIVING & DELETE for Integration Engine, Adapter Engine and Business Process Engine based messages.
I had referred to 'How to arhive & delete' doc that highly available in SDN but few question after going through the doc.
1. If a interface flagged for ARCHIVING then all messages in complete message status gets automatically Archived
2. And if interface not flagged for ARCHIVING then all messages of those interfaces gets automatically Deleted
Ofcourse on these both the cases, the corresponding action takes place only provided the retention period candition meets.
1. But Wondering, How about the messages that NOT successfully processed? Somewhere in SDN i red the NOT completetly proccessed messages require to be first 'Cancelled' and then they get marked for ARCH so that it gets archived! So in this case, both 'Synchronous" and "Asynchronous" not completely proccessed messages have to be marked for 'Cancel' before they get Archived?
2. Keeping this aside how the not completely processed archving, Why we need to archive the messages that are not completely proccessed in PRODUCTION environment?
3. In regards to 'NOT Completely processed' messages, I agree to certain extend that "All these have to be removed" from Database so that we gain disk space that helps improve the performance also? Please share your knowledge.
4. Either Archiving or Delete mechanism has any dependance or functional variations on Synchronous and Asysnchronous?
I highly appriciate all those add their knowledge here to clarify
Regards
Sekhar

Dear Sekhar,
let me go through your questions step by step...
1. But Wondering, How about the messages that NOT successfully processed? Somewhere in SDN i red the NOT completetly proccessed messages require to be first 'Cancelled' and then they get marked for ARCH so that it gets archived! So in this case, both 'Synchronous" and "Asynchronous" not completely proccessed messages have to be marked for 'Cancel' before they get Archived?
This is almost correct. Canceling is required for asynchonous messages in error state only. By canceling a message its state changes from error to final and this it is allowed to be archived. In contrast synchronous messages are final right when processing fails.
Please note: archiving applies to asynchronous messages only. It is a general decision by SAP to not archive synchronous messages.
2. Keeping this aside how the not completely processed archving, Why we need to archive the messages that are not completely proccessed in PRODUCTION environment?
Once an asynchronous message enters the central Intergation Server(IS) or the local Integration Engine(IE) XI/PI takes over responsibility for this message. Canceling a message means a serious violation of the EO/EOIO protocol. This violation needs to be documented in productive environments for the purpose of tracebility.
3. In regards to 'NOT Completely processed' messages, I agree to certain extend that "All these have to be removed" from Database so that we gain disk space that helps improve the performance also? Please share your knowledge.
I am not quite sure that I got the point. For each message entering the IS/IE SAP has to provide a guided procedure to reorganize this message. For successfully processed messages this is done by standard house-keeping jobs for archivng and deletion. For messages in error state there are basically two ooptions:
(1) restert message after error has been fixed;
     -   if message processing is sucessful this time, we are back to normal
     -   if message processing fails again, we are in the very same siutation as before
(2) cancel messages; this males the message 'final' and then it is treated like sucessfully processed messages.
Thus, this is all about defining an end point in the lifecycle of each message.

Similar Messages

  • Message archiving/deletion in PI 7.1

    Hi All,
    I'm new to SAP PI. We have newly implemented PI 7.1 in our landscape. We have installed PI in HP UX 23 with oracle as the database.
    We have configured the messge archival/deletion in our PI production server. We have allocated a dedicated file system to store the archived messages. Eventhough we have maintained the path of the archival_interface, no messages are archived in this drectory.
    We are using synchronous interfaces and while executing the report ( RSXMB_SHOW_REORG_STATUS  ) as per the note 872388, the report says that there are more than 1700 messages to be archived. But no messages are getting archived in the path mention as of now.
    I think we have missed out some steps while configuring the archiving process. Can somebody help me with the steps involved in PI integration engine message archival/deletion.
    Your timely help will be much appreciated.
    Thanks in advance.
    Regards,
    Varadhu

    Hi,
    Go to transaction "SXMB_ADM" on the ABAP stack of your XI installation. Go to "Integration Engine Configuration" and click on tab "Specific configuration". Check if you have the parameter "LOGGING_SYNC" enabled (It should have a value 1). In case it is not present, please create this entry and have the default value as "1". This will enable you to view all sync messages on sxmb_moni.
    Thanks,
    Sidhartha

  • Issue with Archiving & Deletion of messages in PI ,SXMB_MONI messages

    Hello experts
    I am  working on Archiving & Deletion of messages in PI ,SXMB_MONI, i have fallowed all the steps which are avialable in /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2, but the messages still there in SXMB_MONI.
    please help me to resolve this issue.
    regards
    chandra

    Hi Krish
    i have fallowed steps like....
    in SXMB_ADM
    >>>step 1: Define the interface for archivng and retnetion period
    >>>step2):Schedule Archive Jobs,
    after this i have checked the in SM37 the jobs got sheduled and released after that it showing finished.
    >>>step3):ARV_BC_XMB_WRP<date> (archiving, step 1)
    ARV_BC_XMB_DEL<date> (archiving, step 2)
    here i am getting message like "0 XML messages got archived".
    "0 XML message for deleated".
    I have doubt in SXMBPMAST  table here when i check the status of interface , ITFACTION field is containing the value INIT and if I understood correctly it job deletes only those messages where ITFACTION is set to DEL.
    We are actually trying to delete the messages avoiding archiving but what I am seeing is we cannot delete error messages and for them we must have to go through archiving. Please correct me if I am wrong.
    Thanks
    Chandra

  • Archival/Deletion of messages in XI 3.0 SP23

    Dear All,
      We need to carry out a data deletion/purging activity at our XI box, where no archival/deletion policy has been incorporated ever. As a preparatory measure, I need to have some guidelines for the activities as under,
    1. While defining an Archival policy, is there any recomendation from SAP or others that message archival exercise has to be carried out first, before proceeding with message deletion? To be more precise, can we directly delete/purge the messages without archiving them? What will be the impact of such an exercise on the XI system?
      This point may sound confusing but the reality is that we do not have enough H/W to carry out an activity of Archival and Deletion.
    2. What is the SAP recomendation/best practice in this regard?
    3. Although we are defining the Archival/Deletion policy now, we need to purge data that is 3 years old and we do not require them any more. What would be the best practice to carryout this activity?
    Thanks and regards,
    Sugata Basu

    Hi Sugatada,
    is there any recomendation from SAP or others that message archival exercise has to be carried out first, before proceeding with message deletion?
          No as per my knowledge..
    can we directly delete/purge the messages without archiving them? What will be the impact of such an exercise on the XI system?
         This wholly depends on requirement...if the data is too old...you can directly delete it..no need to archieve..
    What is the SAP recomendation/best practice in this regard?
      you can set these values which close to best practice...
    Retention period for both synch and asynch
    msgs without error awaiting deletion : 180 days
    msgs without error awaiting archieving : 45 days
    retention period for history entris for deleted msgs : 30 days
    in XI we have 2 types of action:
    (1) deletion of XML messages (without prior archiving)
    (2) archiving of XML messages with subsequent deletion
    SAP_BC_XMB_DELETE* for type (1)
    SAP_BC_XMB_ARCHIVE* for type (2)
    Regds,
    Pinangshuk.

  • Seeburger message tracking archiving / deleting question

    Hello,
    We are using Seeburger 1.7 with XI 7.0 for our EDI translations..We store information in Seeburger Message Tracking for our business requirements.I would like to know how these entries could be archived(Compressed) and stored or deleted after certain days so that we wont max up our storage..?
    Any suggestions are appreciated.
    Thanks in advance!
    Larry

    Prateek,
    Thanks for your response.Yes,I could find the "Archive Configuration" option..when I click that it shows me a screen saying show master data with two items with check boxes (Document Types & Archiving Systems)..On clicking the details of them I see set of parameters which shows the profile and the document type..not sure how to proceed from here to set up any archiving / deletion..any help is appreciated..
    Regards,
    Larry.

  • Archive / Delete Q-INFO records

    Hello ,
    Which object in sara code should i use/create to archive/delete Q info records ?
    Thx in advance .

    Hi
    I am not very sure about archiving of the Quality info record but
    Deletion is possible only by putting the Deletion Indicator to the same in T code QI02 screen -->"deletion Screen"
    I hope this will add some value.
    Regards
    Sujit

  • Archiving  & Deleting the Cost center line items

    My requirement is to delete the line items in the cost cneter as of today, but when i tried to archive & delete the Cost center line items using CO_item,i aam sucesfull in deleteing the past data, but the data of the last month and currenct month i was unable to ........
    when i tried in the spro>img>controlling>general ontrolling>archiving>prepare archiving for co line items
    i set the resident time to 0,but i was unable to delete the line items.what colud be the reason and what is the way to delete the currenct data also from the system.
    your earlier reply surely appreciated .......

    Hi Rajesh,
    I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
    Check the following links:
    For Archiving
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm

  • RSEXARCD: Idoc archiving deletion program issues

    Hi,
    I have two queries:
    1. The Idoc archive deletion program, RSEXARCD, when executed in background, terminates when there are no archive files to process (as seen in SARA). How can we prevent this? Our deletion jobs are scheduled weekly, but sometimes there are no archive files created from the archive write program RSEXARCA.
    2. Secondly, how can we process multiple archive files using this program RSEXARCD in background? Currently, it processes only one archive file at a time and takes up the oldest unprocessed archive file. Also, would like to know how it gets this information of the oldest unprocessed archive file?
    Thanks.

    if a program terminates, then you should look into the dump to see the root cause and follow the instructions. e.g. search for OSS notes with the metioned terms
    I just searched with the terms "archiving idocs termination" and found 12 notes with program fixes.
    Further, the program names you mentioned are not the most recent programs.
    Have a look into OSS note Note 582828 - IDoc archiving: Standardization
    maybe you will not have your problems anymore if you use the new programs

  • Setting up archive delete functionalities using background job

    Hi,
    Through SARA transaction there we can set up a archive delete job by selecting the files, job timing details. Instead of this, we want to set up this functionality using a background job as per the variant and timing requirements.
    Is there any option to set up a background job of archive delete functionality by selecting the files through a program or function moduel. Please suggest me if anyone has done this in previous.
    Thanks,
    Siva

    Hello,
    Take a look at OSS note 205585 which describes how to schedule archive delete jobs indirectly using program RSARCHD.
    Hope this helps.
    Best Regards,
    Karin Tillotson

  • Online Archive - Deleted Items Folder

    Hello,
    I have setup retention policy and tags.  It seems to be working okay, almost.  A default retention tag applies which archives items after one year.  This seems to be working ok for folders such as inbox, and sent.  However, it does not
    seem to be working for the deleted items folder.  
    I've also created personal tags to archive after various periods.  Users try to apply those personal tags to the Deleted Items folder, but the managementAssistent never listens to that personal tag on the deleted items folder.  Personal tags do
    work for other folder (custom and inbox, etc).  And the managementAssistant does run as expected... just not on the deleted items folder.  This happens for another (6 month personal tag to archive deleted items folder), and same for my mailbox (1
    week personal tag to archive deleted items folder).
    Any suggestions?
    Drew

    Hi,
    Deleted items folder is managed by "Deleted Item Retention" Either on DB level or mailbox level
    http://technet.microsoft.com/en-us/library/ee364752(v=exchg.141).aspx

  • Mac Mail downloading archived, deleted and trash email from my Gmail account.

    I just purchased a new MacBook Pro Retina - retiring my old MacBook. When I synced Gmail with my Mac Mail all archived/deleted Gmail is coming in like new into my Mac Mail Inbox. This was never the case before. Any idea how to stop this? It's downloading thousands of emails in the order I received them.

    Turns out a hard reset did the trick

  • Issue about GP Archive&Delete functionality

    Hi,
    When using Guided Procedures in the Portal, how can I found out were the GP Archive&Delete functionality (to clean up old proccess instances) is porformed?
    Cheers,
    Fernando

    Hi,
    If you are looking for the tool to perform Archiving and Deletion management of GP processes, then below would he help link for your reference.
    [http://help.sap.com/saphelp_nw70/helpdata/en/a4/114a42a597b430e10000000a155106/frameset.htm]
    If this is not what you are looking for then kindly provide more details on your query.
    Thanks & Regards,
    Swapna Priya.

  • Gmail [Archive],[ Delete],[ Older]

       Is there a way to remove the Gmail bottom Menu Boxes [Archive],[ Delete],[ Older] " ?  These boxes take up a good part of the screen and should have been in with the menu choices with the Menu button, not while reading your Gmail.  Then, you should be able to choose the Menu Button and choose your options.   Am I missing some reason why it is this way ?

    There is no way to remove these buttons from your Gmail screen. 
    Thanks, 
    Roy_B

  • SXMSCLUP (Archive/Delete) - Undo space in LOB

    I've openned a ticket with SAP, but I figured I would get additional input
    My SXMSCLUP LOB segment continues to grow. We are successfully running the archive/deletion process successfully. We've noted that even though data is deleted is  still saved in the LOB segment; I believe this is the source of the unexpected growth.
    SXMB_ADM there is a parameter Deletion PERSIST_DURATION HISTORY; the lowest this can be set is 7 days. (We generate tons of messages mostly due to FSCM Credit Worthiness calls).
    How are others managing this table in a highly transactional system? This table is constantly in flux, I'm not sure why SAP would put data in a lob segment given the amount of changes.
    *I have logging turned on, unfortunately its "all or nothing" if I could avoid logging the FSCM calls it would be a great help, but I have not seen the functionality to "choose" which messages to log.
    Thanks

    Hello,
    Maybe thread in the PI forum would help further:
    http://forums.sdn.sap.com/thread.jspa?messageID=10834963
    Also, check the following blog:
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18817
    Regards,
    Eduardo Rezende

  • Archive/delete table SXMSPMAST with MSGSTATE = 1 or 23

    Hi experts,
    In table SXMSPMAST how to change the Message Status(MSGSTATE) 1 & 23 to 3?
    Because Archive/delete job is not cleaning messages from table SXMSPMAST with Message Status(MSGSTATE) = 1 & 23.
    I already tried using RSWF_XI_UNUSED_MSGS.
    Regards

    Hi,
    Here are a few tips on how to delete messages, and also enable messages for deletion which are not in final state.
    To release messages in unarchivable statuses: http://host:port/MessagingSystem/archiving/reorgdb.jsp
    Schedule following reports weekly (depending on your error handling and reporting procedures for your system this might not be possible in your production system):
    RSXMB_CANCEL_MESSAGES
    RSXMB_CANCEL_NO_COMMIT_MSG
    RSXMB_CANCEL_NOT_REST_MESSAGES
    RSXMB_CHECK_ITFACTION
    RSWF_XI_INSTANCES_DELETE
    SXMS_REFRESH_ADAPTER_STATUS
    In addition you have the following reports dealing with enabling messages for archiving deletion
    u2022     RSWI_REGENERATE_WI2OBJ (uncheck u201CDisplay modeu201D and set for relevant dates)
    u2022     SXMS_REFRESH_ADAPTER_STATUS -     Success: all msg with adapter status 001 changed to 006 (archivable)
    u2022     RSWF_XI_UNUSED_MSGS (recommended not to run in production to avoid loosing data)
    RSXMB_SHOW_REORG_STATUS shows number of messages scheduled for archiving/deletion
    RSXMB_SHOW_STATUS shows number of messages per message status, and adapter status for messages with message status = 003 (Processed successfully)
    RSXMB_CHECK_MSG_QUEUE fixes inconsistencies by changing the message statuses 001, 009, 012 and 016 to 014/021.
    Hope this helps!
    Br,
    Kenneth

Maybe you are looking for

  • Hard Drive "Input Output" Error When Attempting to Format

    A friend just gave me a nice PowerBook that seems to be in need of a fresh OS and when attempting to format the hard drive I am getting an "Input Output" error.  Any suggestions to overcome this issue and format the drive?

  • Class, interface, or emun expected.

    When I compile to code I get 60 "class, interface, or emun expected errors. I know that this error usual means that there is a bracket out of place or missing. I went through and add line comments that link the opening and closing brackets together.

  • How to upload in ASCII format

    I need to learn how to upload a .pl to the cgi-bin in ASCII format. Is there a way to get Dreamweaver8 to do this automatically? Thanks chartoonz

  • STANDARD BEHAVIOUR OF INSPECTION TYPE 03

    Hi All, I am implementing  Inprocess Inspection Points for a Material. 1) I have enabled QM view of MM with Inspection Type 03. 2) I have created Routing and assigned Inspection Characteristics for operations. When I release the Production order, I h

  • What file format is needed to import images files from Lightroom or CC directory?

    I have tried accessing psd, tiff and jpeg files to import them into Adobe Shape.  All have received an error message saying that the file format isn't supported. What file format should I be using for my images in order to import them? Thank you!