Automate Archiving Jobs

Hi
We wanted to run the Archive jobs every year by Company Code and Object wise.
We have around 7 sales companies  and 10 objects so we have to run 70 jobs Every year. So we wanted to automate this process so that we dodnt need to eneter the texts etc and schedule the jobs every year.
But these are the problems which we are facing:
1.If we wanted to Archive SD_VBAK object for the ABC Sales org , then we need to enter some text( some thing like "ABC Slaes org 1999 Year Sales docs")  in the varaint(this can done using table TVARVC(By using Dynamic variants).
2. But after the jobs, we need to change the Spool paramaters,where in we will select the output device,Storage Mode as " Archive " only,     and Text same as which I used earlier in step .1.
But how can we make this Text field to get the value from TVARVC or somewhere ? Sicne its Popo-up box.(This spool text will be the Archove File name ,which will be displayed when we are reading the Archives.)
Can somebody help to advice what are ways to Automate the Archive jobs( so that users doenst need to run these 70 jobs manually every year by entering Text and spool text etc..?
We are running on SAP 4.7 version.
Thankyou

SARA is the tcode for archive objects

Similar Messages

  • Schedule archiving jobs

    Hi,
    We are trying to schedule periodically the archiving jobs for several objects.
    To be more specific, we begin with MM_EKKO archiving object and we would like to chain the 3 steps : preprocessor the write, then delete.
    Chaining delete after write is easy : In "technical Setting", we just have to tickle "start automatically" in the "delete jobs" parameters.
    But how to chain automatically write step after preprocessor ?
    Obviously, I tried usual options in SM36 and used "after job" parameter. But what job can I enter as the job name  for precprocessor is automatically generated by SAP and changed at every new job (the date and time are included in the name, e.g :  ARV_MM_EKKO_SUB20110406163238) ?
    Do I need to use an exernal third party scheduler to do this ?

    Serge,
    I have been researching on your query lately and have put accross this question to some Archiving Experts at my end. Hopefully, will come up with a full-proof solution.
    But in the meantime, if you have a sandbox or if you can do a research, please do the following:
    1. In SARA, under the TECHNICAL SETTINGS tab go to the VERIFY ARCHIVE FILES box.
    2. There just click on the following, Before Deleting, Before Reading and Before Reloading.
    3. I think this BEFORE READING box could be a solution.
    4. And for deletion check the START AUTOMATICALLY option.
    Please try this and let us know. If solved, okay and if not then I will reply back after conveying from the experts.

  • Scheduling of Archive jobs

    Hi,
    i really need to apologize here, but i did not found an appropriate forum to ask this, neither a forum for ADK archiving development kit nor a forum about XBP (intercepted jobs). If there is a froum for asking questions like this you can slap me for that
    The archiving object is configured to schedule the ARVSTO jobs automatically which we want to keep to spread the load over a certain time and not to have a bunch of archiving jobs always running at a specific time.
    In this system we do not have a connection to a central job scheduling tool due to license costs.
    The problem is that sometimes ARVSTO jobs are scheduled exactly at the time where our IXOS serving is going down for 15 minutes for maintanence.
    I'm now looking for ANY possibility to avoid that ARVSTO jobs are scheduled between 4 and 5 o'clock. I hat a look at OSS notes 458670 and 604496, with those notes i can avoid that the jobs are starting automatically but i need an external job scheduler or i need to start them manually. I dont have a job scheduler and i dont want to do this manually.
    I had a look at report RSARCHD to do a modifaction but as far as i can see this one is only scheduling the ARVDEL jobs.
    So does anyone have an idea to solve this? Even if it is a modification, or en enhancement, a BADI or en exit, i dont care.
    Thanks in advance.

    Create one procedure and write all your logic which you want to schedure.
    Please execute the below block to set the job.
    Please change ### with Your PROCEDURE NAME WITH PARAMETER.
    'SYSDATE+1/1440' = Indicate that your job execute every minute..
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => '###'
    ,next_date => to_date('17/02/2010 12:54:32','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'SYSDATE+1/1440 '
    ,no_parse => TRUE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    commit;
    Edited by: user10594896 on Feb 16, 2010 11:28 PM

  • Problem while Scheduling Archive Jobs from SXMB_ADM

    Dear all,
    I am using this blog to delete and archive messages.
    /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2
    I have configured Retention periods from SXMB_ADM and there by scheduled Archive Jobs through SXMB_ADM itself.
    Now when i check in SM37, after Archive jobs scheduled , i am not able to see 2 jobs as described in this Blog.
    i am able to see only one Job with name "SAP_BC_XMB_ARCHIVE200"
    Please assist me what might be the problem
    Regards

    Hi Ganesh,
    Thank you for replying. Once this SAP_BC_XMB_ARCHIVE200 is finished, one more job has been generated
    ARV_BC_XMB_WRP20100602112115. But this is not for deletion . it is doing archiving
    When i check the log, SAP_BC_XMB_ARCHIVE200 contains the program as RSXMB_ARCHIVE_PLAN
    and ARV_BC_XMB_WRP20100602112115 job contains the program as RSXMB_ARCHIVE_MESSAGES
    There is no job generated for deletion of Archived ones.
    >>Deletion job starts automatically if in archiving setting u have selected START AUTOMATICALLY option for deletion .
    Could you please let me know where this should be done while doing Archiving jobs??
    Regards

  • Oracle 11g automatic archival // maintaining historic data

    Hi Group,
    We are planning to get Oracle 11g.
    I want to know if Oracle 11g has the capability to do automatic archival?
    My requirement is,
    few of the tables in our application will have lot of records (data) and after some days/ months it might slog the performance cos of the table/db size, and also the old data will not be of much interest (but data cannot be purged/deleted until some years). Hence want to archive the old data (trigger conditions specified by the user) and will be needed to bring data back programatically whenever the user queries for the data belonging to that particular period(archived data).
    Is there a feature available in Oracle to just specify the data to be archive and bring it back by giving a date/time input.

    Hi,
    First, this looks like a job for Oracle partitioning.
    What is your motive for archiving? Improved performance? Cheaper media?
    I want to know if Oracle 11g has the capability to do automatic archival? Sure, but you would have to script it yourself. Many shops do time-based rollover archiving with partitioned tables:
    http://www.dba-oracle.com/t_partitioned_tablespace_archiving.htm
    it might slog the performance cos of the table/db sizeNo, not if you are properly indexed . . . However, table partitioning can speedup queries against large tables with "partition aware" SQL:
    http://www.dba-oracle.com/t_partition_sql_index_ss_hint.htm
    want to archive the old data (trigger conditions specified by the user) I would not use triggers, schedule a job instead:
    http://www.dba-oracle.com/t_archiving_data_in_file_structures.htm
    needed to bring data back Sorry, back from where? You are archving to disk, right?

  • Script to automatically archive messages on Server

    I'm trying to train SpamAssasin and have set up junkmail and notjunkmail accounts on OS X Server. SpamAssasin alledgedly runs through its "training session" every morning at 2:15 am.
    I'd like to set up a cron/launchd/whatever job to automatically archive the inboxes of those accounts to some other location when spamassasin is done with them so they're not re-scanned the next day. Ideally "move" the messages to an 'archive' folder.
    Anyone care to walk me through how to do something like this on OS X Server? Or perhaps a better way of handling this?
    Thanks!

    A correct POP3 server will leave the messages on the server unless you explicitly deleted them.
    Some POP3 servers assume that once you've "read" a message, you've downloaded it to your
    machine and stored it there, so it's safe to remove it from the server. For some servers that
    do this, "rsetbeforequit" solves the problem. If that's not working for your server, you might
    need to ask your server vendor about it.
    To be sure rsetbeforequit is doing what you expect, examine the protocol trace. Consider posting
    an example trace here, or send it to me at [email protected]
    I'm not sure how Thunderbird is causing the server to leave the messages; how have you
    configured Thunderbird?

  • Archiving Job. Running and no file..

    Hello all!
    For a some cubes (not for all!!!) I have problem.
    Archiving job write to log
    DROP VIEW "/BI0/0302712378"                                                 
    SQL-END: 15.01.2007 12:09:29 00:00:00                                       
    Selection conditions for the archiving request were checked successfully    
    Archiving session 000012 is being created                                   
    And it is all... Job running up to 48 hours and no files created...
    Other cube have not problem:
    28.12.2006 12:04:49 SQL-END: 28.12.2006 12:04:49 00:00:00                                   
    28.12.2006 12:04:49 Selection conditions for the archiving request were checked successfully
    28.12.2006 12:04:50 Archiving session 000010 is being created                               
    28.12.2006 12:04:52 Path: /Archive/                                                         
    28.12.2006 12:04:52 Name for new archive file: archive_BW_1228_0.120452.GOLOD
    28.12.2006 17:09:09 Name for new archive file: archive_BW_1228_0.170909.GOLOD        
    Help me.
    Thanks.

    Hello,
    Please ask in the
    Visual Basic .Net Language forum on MSDN if you want a program.
    If you are creating a script or batch file, I'd ask in
    The Official Scripting Guys Forum!
    Neither place is a good place to go to if you want someone else to do the work for you.
    If you want hints or suggestions to improve what you already have, then the above suggestions are valid.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How can I stop Mail from automatically archiving every incoming and outgoing email?

    Mail is automatically archiving every incoming and outgoing message, and then synch'ing that with my iPhone -- thus sucking up all available memory.  I have never asked it to automatically archive everything, and can't figure out how to stop it.  Any ideas?

    Launch Mail.
    Mail > Preferences > Accounts > Advanced
    Uncheck the box beside "Include when automatically checking for new messages".
    Do it for all accounts if you want.
    Best.

  • Disable Outlook Integration-Automatic Archival Feature

    Greetings,
    I'm trying to find a way to disable Adobe X Standard/Professional's feature of Automatic Archival of e-mail in Outlook 2010.
    We have a no-archiving policy in our organization, and this feature permits users to very easily circumvent the policy (and locking outlook from making its own archive)
    I don't want to disable the entire Outlook toolbar (I've done this, and while it will work, it removes other adobe features in outlook that I would like to retain.)
    I have already looked in the Adobe Configuration Tool, and the AIM for Acrobat, and unfortunately, i cannot find reference to this feature and how to disable it/remove it from the toolbar.

    I'll clarify.
    The Adobe Customization Wizard X doesn't reveal any way to disable this part of the add-in installs (in my case Adobe X Standard)
    The feature also isn't listed in the Preferences Reference (AIM) available at:
    http://learn.adobe.com/wiki/download/attachments/46432650/AIM.air
    Here's a pic of the ribbon, and the button that I need to disable when deploying Acrobat X Standard to my users.
    (in some way other than simply removing it from the ribbon manually, user by user).
    Message was edited by: GovernmentGreg

  • How to enable automatic archiving?

    Hi!
    This is about Oracle 10.2.0.4 on Solaris.
    First the most important information.
    SQL>archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination ?/dbs/arch
    Oldest online log sequence 12
    Next log sequence to archive 12
    Current log sequence 17
    SQL> show parameter recov
    NAME TYPE VALUE
    db_recovery_file_dest string /data/MVS_P0/reco01
    db_recovery_file_dest_size big integer 98G
    recovery_parallelism integer 0
    SQL> show parameter archive
    NAME TYPE VALUE
    archive_lag_target integer 0
    log_archive_config string
    log_archive_dest string
    log_archive_dest_1 string
    log_archive_dest_10 string
    log_archive_dest_2 string
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    NAME TYPE VALUE
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string enable
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    NAME TYPE VALUE
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 2
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    remote_archive_enable string true
    standby_archive_dest string ?/dbs/arch
    The problem
    When I do a 'alter system log switch' the lines below are shown in the alertlog:
    Errors in file /data/MVS_P0/admin/bdump/mvs_r1_arc0_12115.trc:
    ORA-16014: Message 16014 not found; No message file for product=RDBMS, facility=ORA; arguments: [6] [12]
    ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [6] [1] [data/MVS_P0/redo01/log06.rdo]
    SQL> select recid, completion_time, name from v$archived_log
    RECID COMPLETIO NAME
    1 23-JUL-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_07_23/o1_mf_1_1_48gf98jq_.arc
    2 23-JUL-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_07_23/o1_mf_1_2_48gfjvq1_.arc
    3 28-JUL-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_07_28/o1_mf_1_3_48vf0cns_.arc
    4 02-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_02/o1_mf_1_4_497pys3n_.arc
    5 06-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_06/o1_mf_1_5_49mfqbrb_.arc
    6 11-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_11/o1_mf_1_6_4b16ml0y_.arc
    7 17-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_17/o1_mf_1_7_4bhd48pc_.arc
    8 21-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_21/o1_mf_1_8_4bvlck3b_.arc
    9 22-AUG-08 /data/MVS_P0/reco01/arch/1_9_660770425.dbf
    10 22-AUG-08 /data/MVS_P0/reco01/arch/1_10_660770425.dbf
    11 22-AUG-08 /data/MVS_P0/reco01/arch/1_11_660770425.dbf
    11 rows selected.
    It looks like the archives are not written, or I can not find them. I check $ORACLE_HOME/dbs/arch and /data/MVS_P0/reco01 but it is not there. It worked before, but the person who configured it is on holiday. I know that I did 'something' that created archives (check the last three lines above), but that is somehow not working anymore.
    Can someone help me by finding the archives?
    (I need to make a online copy to create a standby-database, that is quite hard without archives. ;-))

    The query above does not show errors:
    DESTINATION STATUS FAIL_DATE VALID_NOW ERROR
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    9 rows selected.
    I have set the log_archive_dest_1 to location=/data/MVS_P0/reco01/arch reopen=5
    When I archive manually, the archives are written to /data/MVS_P0/reco01/arch

  • Outlook: How to update folders in automatic archive function

    When using the automatic archive function (pdf maker, single portfolio of emails) in Outlook 2010 we have the following problem:
    Once set the email folders and subfolder structure of our archive remains at the status of its first setting. This means every time we rerun the archive function NEW folders/ subfolders (added after initial setup) will NOT be included!
    Is there any way to automatically update the subfolder structure (e.g. below a main project folder) every time we rerun the archive function???
    Otherwise this function is totally useless as any change in our Outlook folder structure is not reflected in the archiving functions, which means NEW folder and their contents are not archived!
    We have like 20 projects with different archive paths we now have to archive manually each time we backup.
    Thank you for your help!
    Jan

    RSA1
    Go to the "Modeling" tab
    Go to the "Source Systems" object type
    Find your Source System
    Right-Click on the source system
    Choose 'Transfer Exchange Rates'.
    Your BW Administrators team should have this function set up as a daily batch process.

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

  • How archiving jobs (WRI) on specific server

    I have one database and two application servers. Whenever I start archiving jobs (WRI) are created on database server. I would like to push archiving on one other application server(but do not know how to do that). If i shedule job(..SUB..) and force it to an application server  (long lasting) WRI jobs are being executed againon database server. How to avoid that
    In trx "Sara"->customizing->Cross archiving Objects Customizing: Technical settings there is an setting "Server group for Background Processing" but I do not know what to set as Server Group Name(is it an logon group out of smlg or?). Setting like server_<SID>_<Inst.nr.) is not correct.
    Please help

    Hi,
    You have to maintain the server group in transaction SM61--> button "Job Servergruppen"   (nice english transalation !)
    Regards,
    Olivier

  • Archive jobs / Delete job

    I have some questions regarding Archiving / Deleting..
    1) What are the implication of not setting 'DELETION' category parameters in 'Specific configuration'.
    2) How do I delete the messages that are archived? Will 'Delete job' handle this also?
    3) Also I had archived some messages using Archiving job.. When try to lookup this message using 'Archived XML Messages (Search using Archive), I get a list of Archived messages. When I click on any of this messages, I get "Could not find message in archive" message.

    hi,
    - did you activate SAP_BC_XMB info structure?
    - did you do all the configuration?
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/80553b4d53273de10000000a114084/content.htm
    BTW
    you can also fill activated information structure retrospectively for already existing archives:
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/11afaad55711d2b1f80000e8a5b9a5/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Billing document automatically archiving

    this is the error comming wen i m creating the billing and saving it
    its automatically archiving how to solve this issu
    please help
    if ned i ll provide more information....
    Billing document 90000022 does not exist
    Message no. VF041
    Diagnosis
    The billing document you specified does not exist.
    This document was possibly archived.

    Hi Panda,
    If your Billing document is archived then you can see that document by different screen:
    1. Goto SARI -->Click Archive explore --> Mention SD_VBRK -->then enter the billing document no in the billing no selection field. This will help.
    2. Goto SE16 --> Enter Billing document no in proper selection field then billing document is displayed.
    3. Goto VF07 --> Enter Billing document no in proper selection field then billing document is displayed.
    Hope this will help you.
    -Thanks,
    Ajay
    Message was edited by:
            Ajay Kumar

Maybe you are looking for

  • Upgrade to 4.0 - asking for 'follow-up activities for middleware'?!??!!

    HI, My upgrade from 3.1 to 4.0 has been going smoothly up to now. It stopped in phase REQ_BBWPCRM now asking me to perform the actions in the chapter 'Follow-up activities for the Middleware' in the documentation 'Upgrade Guide - CRM 5.0'. No mention

  • Can't find SD version of HD movie purchase.

    I've purchased the HD version of 'The grand budapest hotel' movie. However I can't find a way to download the SD version which should come in addition for free. I've changed my preferences to SD, unchecked the 'download HD version when avaliable' and

  • Using simple functions in JSP

    Hi to all, I would to use simple functions in my jsp page. I 've created the function with the tags <%! ... %> My problem is that i don't succed to call there from the page. How i can to do ? I've tried also with java beans but i'm not very clever wi

  • Sync DB on WIN CE 4.2

    I want to distibute on my PDA (WIN CE 4.2) the DB tha i have created with msql on my PC. When i run th Packaging Wizard application to distribute the DB on PDA i have a problem.In the second windows, where i must select the device type (Win32, PPC200

  • Problem With Bank Logins

    I have two Macs - one a laptop. Both run 10.4.3, both have Safari 2.0.2 (416.13) with the same security settings. Both connect to the internet with Apple Airport Extreme wireless cards via an original (Graphite) ABS. My bank allows you the option to