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

Similar Messages

  • Issue while scheduling job of Delete program of Archiving Object

    Please help me.
    I am working on SARA and clicked on delete program for Purchase Order.
    When the job was executed, i checked logs and i found that there is some error and the job was cancelled.
    The main problem is when i checked the EKKO table, the entries were also deleted which should not happen.
    The Error Log was:
    Job started
    Step 001 started (program RM06ED47, variant SAP&PROD, user ID ABAPUSER)
    Archive file 001273-001MM_EKKO cannot be processed because of its status
    Job cancelled after system exception ERROR_MESSAGE
    Can anyone suggest me what shud i do to avoid such scenario??

    i know that..but  i was working in production mode and the data got deleted when the delete job status = cancelled..
    Usually when delete fails, the data isnt deleted but this time the data got deleted which is wrong i guess..

  • Delete job failed in IDOC archiving

    Hi Gurus
    Delete job for IDOC archiving failed with the following error.
    "Job started
    Step 001 started (program RSEXARCD, variant PROD_DELETE, user ID CTMBATCH)
    Archive file 002558-001IDOC is being verified
    Operating system message: Permission denied
    Archive file 002558-001IDOC does not exist
    Error during verification when accessing archive file 002558-001IDOC
    1 archive file(s) were not successfully verified
    Job cancelled after system exception ERROR_MESSAGE "
    I checked the status of the job in management , and it says Write and Storage is successful.  I checked for the archive file and it is present in Exchange directory.
    As the error message states that "Operating system message:Permission denied", so I am expecting that It should be related to some authorization for the directory. Or might be if authorizations has been modified for uid which. But I am not sure on this. How can I confirm this on SAP level ??
    This job is a weekly job but it failed this time. What else should I check?
    Please let me know if anyone has encountered similar issue before. I wish to know the reason for this error and the resolution to it.

    Hi,
    based on your description I am not quite sure if this is really a question on DMS. Could you please provide more details about which IDOC type do you use and maybe some error message number. This would help to clarify the reason faster.
    Best regards,
    Christoph

  • Delete program in Archiving

    Hi Experts,
    As we are planning to do SAP Archiving project, we are doing some dummy archiving. I have done the delete program with single material using archiving object MM_MATNR. and created the archive files also. Now I want to delete it but it is not deleting the material. I checked the Background job log, and it is showing the bellow error:
    15.06.2014 11:03:53 Job started                                                                   
    00      
    516     
    S
    15.06.2014 11:03:53 Step 001 started (program MMREO110N, variant HARI_MATERIAL, user ID VTGBASIS) 
    00      
    550     
    S
    15.06.2014 11:03:53 Start of data processing                                                    
    KEN_01    
    004     
    S
    15.06.2014 11:03:53 Operating system message: No such file or directory                           
    BA      
    161     
    S
    15.06.2014 11:03:53 Job finished                                                                  
    00      
    517     
    S
    But the directory is remain same in ARCHIVE_GLOBAL_PATH variable. How to solve these strange issues?
    Asad

    Hi Sriram,
    Our Platform: OS/400, DB2
    The Archive Link is: /QNTC/172.16.31.10/Asad/<FILENAME>
    where \\172.16.31.10\Asad is windows based share.
    See the below image:
    Where write has been finished.
    But Delete job not finished while.
    the job log for delete program:
    15.06.2014 11:03:53 Job started                                                                   
    00      
    516     
    S
    15.06.2014 11:03:53 Step 001 started (program MMREO110N, variant HARI_MATERIAL, user ID VTGBASIS) 
    00      
    550     
    S
    15.06.2014 11:03:53 Start of data processing                                                    
    KEN_01    
    004     
    S
    15.06.2014 11:03:53 Operating system message: No such file or directory                           
    BA      
    161     
    S
    15.06.2014 11:03:53 Job finished                                                                  
    00      
    517     
    S
    Asad

  • Issue in Archive Deletion

    Hi All,
    We have performed archiving in Production system for one DSO in multiple sessions. Multiple files were created for an entire year of data which has been archived.
    The status of the archive sessions are showing as ''Write Complete''
    Now the issue is whenever we try to execute the deletion program we are not able to select the individual session. I know that once you complete the write activity you can select a session to perform the deletion from the active table of the DSO. This deletion job is similar to the selective deletion which we perform normally.
    Our problem is that we are not able to select any of the sessions (the checkbox is not visible ). Has anyone faced any similar kind of issue before.
    Please let us know you thoughts...

    check if below is useful.
    For deletion, [http://help.sap.com/saphelp_nw04/helpdata/en/c6/914754a56df14fbf0bb4fd6e06a3bc/frameset.htm]
    Creation: [Creating a BW Archive Object for InfoCube/DSO from Scratch and Other Homemade Recipes(SAP%2520Network%2520Weblogs)]

  • How archive infostructures are filled when the delete program runs(sd_cond)

    I could not find a suitable forum for this, hence posting it here. I need to know how the ZARIX tables get filled in SAP Archiving. As far as I know, they are filled automaticlaly when the delete job runs, but I could not find any code in SD_COND_ARCH_DELETE program.
    My issue is that my delete program did not fill one of the infostructures which was active and this infostructure corresponds to the zarix table. On the other hand, this infostructure got filled manually(verified in zarix also).
    Wondering how this could have happened. Can this be because multiple delete jobs are running creating various sessions. This is mainly with reference to the SD_COND archive object.

    Hi,
    There is a separate program to fill infostructures as when you fill them manually (Transaction SARJ, Environment -> Fill Structure) a new job is triggered. Have a look at the job that ran when you filled your infostructure manually and analyse the program that ran.
    There should not be any problem in filling the infostructures due to several archiving sessions running at the same time. If you face the same issue again, see if any of the archiving jobs (write, store, delete) failed for any reason. If all the jobs finished successfully but an infostructure didn't get filled then have a look for any OSS note related to this issue. If you can't find anything, raise an SAP message as the infostructures have to get filled automatically as otherwise there will be no access to the archived data.
    Hope this helps.

  • 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

  • I have a problem with my mac  i have too many  archives and programs and i want to delete all files and start at the begin my mac with out do format

    i have a problem with my mac  i have too many  archives and programs and i want to delete all files and start at the begin my mac with out do format

    I do not recommend reformatting your harddrive and reloading your software.  This is a Windows thing. On an older mac it may be difficult to find all your software again.
    Best to have greater than 2gig of free space.  Many posters to these forums state that you need much more free space: 5 gig to 10 gig or 10 percent of you hd size.
    (0)
    Be careful when deleting files. A lot of people have trashed their system when deleting things. Place things in trash. Reboot & run your applications. Empty trash.
    Go after large files that you have created & know what they are.  Do not delete small files that are in a folder you do not know what the folder is for. Anything that is less than a megabyte is a small file these days.
    (1)
    Run
    OmniDiskSweeper
    "The simple, fast way to save disk space"
    OmniDiskSweeper is now free!
    http://www.omnigroup.com/applications/omnidisksweeper/download/
    This will give you a list of files and folders sorted by size. Go after things you know that are big.
    (2)
    These pages have some hints on freeing up space:
    http://thexlab.com/faqs/freeingspace.html
    http://www.macmaps.com/diskfull.html
    (3)
    Buy an external firewire harddrive.
    For a PPC computer, I recommend a firewire drive.
    Has everything interface:
    FireWire 800/400 + USB2, + eSATA 'Quad Interface'
    save a little money interface:
    FireWire 400 + USB 2.0
    This web page lists both external harddrive types. You may need to scroll to the right to see both.
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    (4)
    Buy a flash card.

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

  • How to mark an IDOC for deletion?

    Hello,
    How can I mark an IDOC for deletion?
    Thank you for sharing your experience.
    Kind regards,
    Linda

    1st way:-
    IDOC Related programs
    1. Archive RSEXARCA and RSEXARCB
    2. Delete RSEXARCD
    3. Read archiveRSEXARCR
    4. Restore RSEXARCL
    2nd way:-
    use FM EDI_DOCUMENT_DELETE .
    pass the IDoc Number to it and delete the one which you want.
    3rd way:-
    use the tcode WE11 or program RSETESTD to delete an IDOC
    but iDocs don't actually get deleted, just flagged with a deleted status (68). Transaction BD87 can do it, it does depend though on the existing Status of the iDoc though.

  • Runtime error DBIF_RSQL_INVALID_RSQL on BW Idoc archiving.

    Hi Experts,
    I am facing one issue while performing IDOC archiving in BW system.
    While running write program with RSEXARCA, I am getting ABAP dump DBIF_RSQL_INVALID_RSQL
    with a exception CX_SY_OPEN_SQL_DB. 'Error in RSQL module of database interface' as a short text.
    Please let me know what could be the problem.
    Regards,
    Mohan.

    Hi,
    You can try to implement the latest DBSL patch in order to solve this. You can implement the latest Kernel and DBSL patches from the links below.
    -> http://service.sap.com/patches
    -> Support Packages and Patches - Entry by Application Group
      -> Additional Components
       -> SAP Kernel
    Regards,
    Rafael

  • Long runnning IDOC Archiving jobs

    Hi Techies,
    Long runnning IDOC Archiving jobs: ARV_IDOC_WRI* are being observed in PRD system with Avg runtime > 150,000 sec.
    Job Details:
    Main Program: RSEXARCA
    Parameter: IDOC ALL MONTH
    These jobs are also resource consuming & extensively using CPU & Memory.
    For info: These jobs are getting finished but only after long runtime.
    Some SQL stmts observed while this job-execution:
    SELECT
      "OBJKEY" , "OBJTYPE" , "LOGSYS" , "ROLETYPE" , "ROLEID" , "UTCTIME"
    FROM
      "SRRELROLES"
    WHERE
      "CLIENT" = :A0 AND "OBJKEY" = :A1 AND "OBJTYPE" = :A2#
    SELECT
      "MANDT" , "DOCNUM" , "COUNTER" , "PAGENO" , "TIMESTMP" , "PAGELG" , "VARDATA"
    FROM
      "EDI40"
    WHERE
      "MANDT" = :A0 AND "DOCNUM" = :A1
    ORDER BY
      "MANDT" , "DOCNUM" , "COUNTER" , "PAGENO"#
    SELECT
      "DOCNUM" , "DOCREL" , "STATUS"
    FROM
      "EDIDC"
    WHERE
      "MANDT" = :A0 AND "UPDDAT" >= :A1 AND "UPDDAT" BETWEEN :A2 AND :A3 AND "DIRECT" BETWEEN :A4 AND :A5 AND
      "STATUS" = :A6 AND NOT "MESTYP" IN ( :A7 , :A8 , :A9 , :A10 , :A11 , :A12 , :A13 , :A14 , :A15 , :A16 ,
      :A17 , :A18 , :A19 , :A20 , :A21 , :A22 , :A23 , :A24 , :A25 , :A26 , :A27 , :A28 , :A29 , :A30 , :A31 )
    Please suggest as to how the job runtime can be reduced.
    Awaiting for your reply.

    Hi,
    Since the variant used is fetching data for the entire month, you could try splitting the jobs and have multiple runs instead.
    You can also try to schedule the jobs when there is minimum system load, incase its not already done.
    As far as the program is concerned, if this is standard program, there is little scope for tuning.
    You can always check for related index quality and statements with high CPU costs to better understand why the job is running for such a long duration.

  • Maintain the variants for the deletion program

    How to Maintain the variants for the deletion program  during Document Archiving

    Try this.
    Execute SE38 and Select the program name ( Archiving )
    Click Variant and Click Change Icon
    and entry the new Variant and click Create icon and save with your own values
    Ensure that System setting from the menu bar Settings - User Specific Settings PopUp Screen - Repository infosystem Tab  - All Selection Criteria
    Hope this Helps
    Thanks
    S.N

  • Maintain the variants for the deletion program first

    Hello Experts,
    When i am trying to archive documents through SARA Transaction, am getting the following error  "Maintain the variants for the deletion program first".
    Awaiting your early reply..
    Rgds
    Ramana

    You get this message because there is a new program being used for this archive object.  In addtion to adding a comment to the default variant, it would be wise to test the program in your QA system and review OSS for any updates.

  • Generating an IDOC while deleting the shipment

    Hi All,
           We have to generate an IDOC while deleting a Shipment.Is there any option available to create an IDOC while deleting the shipment? or any program is available.
    Thanks in Advance.
    Rajarajan.

    Hi ,
    You can use the user exit
    USEREXIT_DELETE_DOCUMENT
    User exits in the program MV45AFZZ
    and in this user exit you can write code to trigger your IDOC. You can use any of the flowwing IDOC
    SHIPMENT_CHANGE01 Change Shipment
    SHIPMENT_CREATEFROMDATA01 Create Shipment
    SHIPMENT_CREATEFROMDATA02 Create Shipment
    SHPMNT01 Shipment
    SHPMNT02 Shipment
    SHPMNT03 Shipment
    SHPMNT04 Transport
    SHPMNT05 Shipment
    Cheers
    VJ
    Some points would be nice if it helps..
    Message was edited by: Vijayendra  Rao

Maybe you are looking for

  • Help! Import from Handycam Mini dvd to ANYTHING!

    Hello, sorry if this has been asked dozens of times before. I searched for recent posts but none seemed to cure my problem. I am trying to get files from a sony handycam mini dvd camera (I know, I know. It's not mine) into an editing program. Final C

  • Sudden Media Card error..?

    Hello everyone. For the past few weeks, my media card in my BB 8900, which has been working fine before this suddenly started, has now been displaying the following error message whenever I unplug it from my wall-charger or my USB connection cord tha

  • HT4623 Cannot get iOS 7 to download

    Hi everyone, I have an iPod Touch 4, and I cannot seem to get the iOS 7 update via direct connection to iTunes or via regular WiFi. Any ideas of what to try? I'm stuck in iOS 6.1.3 at the moment.

  • How to increase font in safari on ipad mini

    Can you increase font size when in safari on ipad mini

  • Premiere Pro Not installing

    I downloaded the Master Collection, and every program installs fine except for Premiere Pro. I'm not sure why it doesn't work and I don't recall any specific error messages besides " Premiere Pro will not install" Here are my computer specs: OS: Wind