ABAP error in deleting archived messages

Hello all,
We seem to be having a problem when deleting archived messages.
The archiving background jobs runs periodically (SAP_BC_XMB_ARCHIVE....).
The first part works fine ARV_BC_XMB_WRP...., and i can view the list of the message ids that have been archived in files.
The second bit ARV_BC_XMB_DEL... fails to due a runtime error "NO_DDIC_TYPE":
check for dictionary type
  rel_name = me->get_relative_name( ).
  if me->is_ddic_type( ) = ABAP_FALSE or rel_name is initial.
    raise no_ddic_type.
  endif.
Has anyone come across the above error?
Object BC_XMB has been activated, but i have unable to fill it.
Any input will much appreciated.
Thanks,
Dimitris

Hi Samanay,
The fields included in the infostructure are Message Id , Pipeline Id, Message Version, Time Stamp.
Values for Offset processing is K and for File nema e processing is K.
Key fields are Message id, pipiline id, message version.
I apprciate the effort.
Dimitris

Similar Messages

  • Delete Archived messages files

    Hi,
    I am using filesystem to archive XI messages.
    I want to delete the old archived files from the filesystem,
    as the filesystem is getting fill with old data.
    I don't want to keep archived files which are 6 weeks old.
    I can delete the files at OS level. But thats not a proper way
    of doing it.
    I am not sure where can I configure this in SAP.
    If some knows a method then please let me know.
    Thanks and Regards,
    Arundeep Singh

    Hi Ahmed,
    The below link in your given thread does have sth related
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6c2af1f6-0a01-0010-7cb5-a554afb0f03c
    But it doesnot answer my question.
    I will clarify my question again in more detail.
    I want to delete the Archiving session data, index data for the archives and the archived files stored in filesystem.
    I want to delete all the arvhived sessions related data which is 6 weeks old. This taks should be possible by using some job, which I can schedule daily with a variable for 6 weeks.
    I hope this make my question more clear.
    Thanks and Regards,
    Arundeep Singh

  • Delete Archived Messages

    Currently, My Mail Archive is about 3GB.  I would like to export this to an external drive then delete the items in the Achive Folder on my computer to reduce the install footprint.
    1.     If I export the mail, can I get at it again by importing the exported mailbox
    2.     If I delete the mail in the Archive Folder in Mail on my MacBook Pro, will I still be able to access the mail on my external Hard Drive?
    3.     Will deleting the Archived mail affect the other saved messages in other mailboxes I have created, like Family or Friends or some other folder?
    Thanks for your thoughts and advice
    Dave

    Hi Ahmed,
    The below link in your given thread does have sth related
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6c2af1f6-0a01-0010-7cb5-a554afb0f03c
    But it doesnot answer my question.
    I will clarify my question again in more detail.
    I want to delete the Archiving session data, index data for the archives and the archived files stored in filesystem.
    I want to delete all the arvhived sessions related data which is 6 weeks old. This taks should be possible by using some job, which I can schedule daily with a variable for 6 weeks.
    I hope this make my question more clear.
    Thanks and Regards,
    Arundeep Singh

  • Deleting XI Messages - Abap dump in Delete job

    Hi all,
    I would like to know if we could directly delete xml messages without archiving. We are working on a sandbox system.
    I tried to schedule a delete job  ARCDEL_Delete_20080612115401 / 11540100.
    It cancelled giving an abap dump CALL_FUNCTION_NOT_FOUND.
    the abap dump is as follows:
        The function module " " is called,
        but cannot be found in the library.
        Error in the ABAP Application Program
        The current ABAP program "ARCDEL_DELETE_PARA" had to be terminated because it
         has
        come across a statement that unfortunately cannot be executed.
    Any idea why a function module with no name is called?
    Thank you.
    Regards,
    Raghavan

    Hi Raghvan,
    There are few ABAP report for that
    RSXMB_DELETE_MESSAGES
    RSXMB_DELETE_ARCHIVED_MESSAGES
    check this blog for reference :
    /people/gourav.khare2/blog/2007/12/21/mass-cancellation-of-error-messages--xi
    Sachin

  • 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.

  • Error delete archive job - BROKEN_URI_EXISTS

    Hello!
    I'm having trouble removing Jobs archiving status Warning. I'm created a new home path and join Archive Path Properties a new folder, restarted JOB it worked, But i can not remove a Background Job status Warning error BROKEN_URI_EXISTS. In the XML DAS Administration when you click Unassign an error occurs:
    Error while unassigning archive path /px1/xi_af_msg/ from archive store ARCHIVE MESSAGES; check application log of back-end system: java.lang.Exception: 598 _ASSIGN_ARCHIVE_STORES: _ASSIGN_ARCHIVE_STORES: I/O-Error while deleting collection 3iwjupqcfmi6jcuzaaaaazzg2g: Archive store returned following response: 598 I/O Error java.io.IOException: Error while deleting collection //sapmnt/PX1/global/xi/px1/xi_af_msg/2014/07/3iwjupqcfmi6jcuzaaaaazzg2g/ java.io.IOException: Error while deleting collection //sapmnt/PX1/global/xi/px1/xi_af_msg/2014/07/3iwjupqcfmi6jcuzaaaaazzg2g/
    But this path //sapmnt/PX1/global/xi/px1/xi_af_msg/2014/07 no folder 07 and no files.
    Please tell me how to stop and delete jobs with the status Warning
    Best regards,
    Rinaz

    HI Rinaz,
    Check if your PI system is in the SP pointed in this note  1624448 - BROKEN_URI_EXISTS error when editing archiving job
    Regards.

  • Error while deleting master data (Message no. RSDMD118)

    Dear all,
    I am performing a test to create and delete new Company Codes in Consolidation Workbench.
    Creation of new Company Codes went on successfully but deleting them give me the following error message upon saving:
    Error while deleting master data
    Message no. RSDMD118
    Since they are new Company Codes, they have not been used and stored in any BW cubes. Any idea on why BCS prevents me from deleting them?
    Appreciate assistance to troubleshoot and resolve this error.
    Thank you.

    Thank you both for your replies.
    I am sure those are not the case here as I deleted the Company immediately after creating it.
    Just to make sure, I performed "Where-Used List" again and BCS confirmed that it is not being used anywhere:
    Use of: Company UAT1 UAT Company 1
    Number of Uses Found: 0 
    However, the same error message was displayed again after I tried to delete the Company and save the configuration. Still can't find any solid reason behind this.

  • How to delete the archived messages?

    Archiving is setup and running in our PI systems.  ( I used the SDN doc, "Archive and Delete Messages in SAP. XI: A Step-by-Step Guide") 
    I'm now looking to automate the deletion of the archived messages (NOT the deletion of the original message in the DB, but the data that has been written out to the O/S -- the actual archived data file.
    Any pointers on how to accomplish this?
    Thanks in advance.
    -Joe Rufo

    The archive job creates the files in the files system you configured. These files contain the archived messages..
    What you can do is run periodic jobs to deletes files which are older than a certain date...
    If there are certain types of messages you want to hold on for a longer period...then archive them seperately... and run a different batch job to clear the files...
    regards,
    Arvind R

  • Error while deleting data source : Message RSO414

    Hello Guys,
    We have activated data source 2LIS_04_PKKANBAN and entire standard BI content . When i tried to extract data, i got 0 records initially and after that i came to know that some functions needs to be activated in ECC to extract KANBAN data.
    We activated some function and deleted & filled setup tables for KANBAN and i can see data in RSA3 (368 Records). Then i tried to extract data into SAP BI. it took  me 20 minutes but ended with error. "Data Source needs to be activated again as it was changed (We just activated one function only) nothing changed to data source" I activated data source again in ECC and replicate on SAP BI side but i am not able to get it in activated mode.
    I tried to activate it manually and it takes 20-25 minutes but i am not able to activate it and getting error "Error when activating DataSource : MESSAGE NO  RSO414 " "Error when resetting DataSource 2LIS_04_PKKANBAN to the active version". i also can't delete data source as when i try to delete it, i get the error "ERROR WHEN DELETING DATA SOURCE : MESSAGE NO RSO414" .  What to do in this situation ?
    Regards,
    Komik Shah

    Hi Rahul,
    I tried it but it didn't help me.
    Also there is no FM in SAP BI called RS_DATASOURCE_ACTIVATE_ALL. I have activated  data source in my ERP system  and replicated same on BI side as we don't have standard Transfer Rules or Transformation, i can't use RS_TRANSTRU_ACTIVATE_ALL .
    Regards,
    Komik Shah

  • NW ABAP - Error Message: Signal c00 received by operating system

    Hi,
    I have a problem starting the NSP instance. I have installed JAVA trial and then ABAP Trial.
    The SAP Management Console form the JAVA Installation recognizes the ABAP Installation and adds an Application Server entry.
    Starting the JAVA instance is no problem and obviously has to be done before starting ABAP.
    But when I start the ABAP instance named NSP I received the first time two error messages:
    - SAP-Basis System: Operating system call getservbyname_ failed (error no.   0  ) and
    - SAP-Basis System: Signal c00 received by operating system
    I got rid of the first one by prociding according to SAP Note Number: 39227:
    - I added the entry "sapmsNSP 3600/tcp " to my service file (%windir%/system32/drivers/etc/services)
    after that at least the process msg_server.exe started properly
    the disp+work.exe remains unstartable throwing still the second error message at me. Another message can be seen in the Syslog which is not marked as an error:
    "SAP-Basis System: > 3 possible network problems detected - check tracefile and adjus"
    Anybody an idea how I can get the ABAP instance running ( I hope I don't have to uninstall the JAVA instance )?
    Thanks for your help
    Torsten

    Hi,
    What's the instance numbers of your two SAP systems?
    If you first installed the Java system it's normally 00 and 01 for SCS and Java Instance. The ABAP system has to have an higher number (I always use a number +10 as the other instance e.g. 10 for the ABAP system to be on the save side).
    Seems your ABAP system now use the message Server of the J2EE Engine (sapmsNSP 3600/tcp) Check the profile of your ABAP system, there you will find the right entry for the message server to connect too.
    Hope this helps a little bit.
    Regards,
    Daniel

  • Can't delete certain emails from Mail.  Instead, I get the message "An error occurred while moving messages to the mailbox, etc."

    Can't delete certain emails from Mail.  Instead, I get the message "An error occurred while moving messages to the mailbox, etc."  The problem appears randomly.

    I had the same problem, and it was solved by going to the Mailbox menu and selecting "rebuild."

  • Error: Could not find message in archive

    Hi All,
    I have set up archiving for xml messages in XI.
    The jobs run fine and it archives messages into a file.
    when i select the file using "<b>Archived XML Messages</b>" option in sxmb_moni, it shows me all the messages in the archive file but when i click on "Display Archived Versions", I'm unable to see the payload.
    I get an error message "Could not find message in archive"
    Please help!!
    Regards,
    Sidharth

    Hi All,
    Thanx for your support. I have resloved the issue myself. The archive object BC_XMB was not activated, and i activated it. Now I'm able to view the archived messages successfully.
    Regards,
    Sidharth

  • Error When reading Archived XML Message

    I am having the next issue reading the archived messages (error msg: Could not find message in archive).
    can anybody help me.
    my problem is the same that this topic.
    Problems with reading archived Messages
    Any suguest please?
    Regards
    RP.

    Hi Sudharshan/Cornelius,
    Thanks for your support. I am glad that my inputs were helpful.
    Shudarshan, what do you mean by the process?
    If you are talking about the arhiving process, then it is very huge topic
    in itself. You can find that in help.sap.com.
    But in this specifc case, what happens is that to made archiving possible,
    there are different objects involved. e.g Archiving object, read write methods, Infostructures etc. In our case, the infostructure objects is in "inactive" state. Which seems to be a mistake from the SAP side. All we need to do is activate that object. And we are done.
    Actually I also had the same issue, and I found this thread with few threads with no answer :-(.  Then I just went deep into it and I found this "mistake"
    It is just yesterday, when I cracked this issue by myself. I decided to put in the thread.
    again I am happy my efforts were useful to you people.
    Thanks and Regards,
    Arundeep Singh
    001-416-828-1307

  • Archive instead of delete gmail messages in Mail

    Does anyone know of a way to force Apple Mail to archive messages rather than move them to the trash. I'd like to be able to keep my Inbox clear but keep a copy of all my messages. At the moment the only solution I've found is to drag the message to the "all mail" folder but this is rather laborious.
    Ideally when I'd like an archive button or keyboard shortcut so that when I've finished with an email I can quickly archive and move onto the next message.
    I understand it is possible to do this with Thunderbird but I like the mobileme syncing of notes from my iPhone with Mail.
    Thanks

    I have a similar question regarding how to save deleted messages from a .me mail account (IMAP). I like to keep my inbox limited to one page of e-mails. Rather than drag the e-mails that I have read to some on my Mac folder, I prefer just to delete them. It is much faster. However, now mobile me is permanently erasing the trash after 30 days. This has resulted in several months of lost e-mail which is now unobtainable. I have a cloned backup, Time Machine, and Mozy–none of which seem able to restore the old e-mail. There is a preference in mail which has an option to never permanently erase deleted messages. Apparently this does not apply to mobile me.
    Is there any way to delete messages from the inbox and not have them go to the trash but rather preserve them forever on my Mac or on mobile me? Or, do I have to individually drag each one over to a folder to preserve them?
    Thanks

Maybe you are looking for