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

Similar Messages

  • How to find process chain using background job in sm37

    How to find process chain using background job in sm37

    Better is to select the job.
    Select (Define) Step (s) or F6.
    Select the line and Menu Goto>Variant.
    The variant contains the name of the CHAIN and its VARIANT.
    Success
    We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
    We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
    We could not find the scheduled job via SM37.
    Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
    We delete these entries via function BP_JOB_DELETE....
    Edited by: Jack Otten on Jul 9, 2010 2:50 PM

  • Is it possible to delete a running background job programatically?

    Hi Gurus,
    is it possible to delete a running background job programatically? if yes how can we do that?
    Thanks in advance

    Or as sais by Sandeep you can use that fm.
    Before calling that select the required data from table TBTCO and pass to the fm.

  • Download(xls) file fm ABAP using background job

    Hi,
    My request is how to download(xls) file fm ABAP using background job. ( Daily 3 times download )
    Pls advise...

    Hello Rajesh,
    Actually it is not the function module WRITE_DATASET but command OPEN DATASET. Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/content.htm
    Also for this please contact your ABAP collegues. It is their job and they should have the expertise.
    Regards.
    Ruchit.

  • Setting format for spool requests in background jobs, for emails

    Hi,
    Don't know if this is the correct forum, but I'll give it a go (will appricate info regarding what forum is applicable otherwise.)
    For some periodical background jobs that we run in ECC, we have in the job set up that a mail group of people to receives the spool request via mail. Vi have used this a few years now. When we recently uppgraded from R/3 to ECC, the format of the spool request sent as mail attachment changed from .txt to .htm. This is however not the problem for us.
    We now have a scenario with a daily mail report, i.e. delivered as an attachment (htm-format) in our email system (Lotus Notes).
    So far so good, and nothing really new about this, except the changed format.
    What the users want is to print this report. It can be done, but it is a wide report, so it cuts the report in three pieces, as there is no automatic sizing to landscape printout and/our automatic sizing to one page. The best solution would be if it automatically was set up to landscape + automatically fit page size. Which format (.txt .htm .xls .pdf...) we receive the file in, is not really important, as long as we can print it directly without having to reformat it. Now we have to save the file to excel manually after we receive it, and then format the excel sheet. Just for printout purpose, so it is annoying work.
    Any solution available? (preferrably without coding)
    BR,
    Niclas

    Hi NTR,
    If you are using FM REUSE_ALV_LIST_DISPLAY to print your ALV Report it has got a paramter IS_PRINT in which you can pass your format type. Below is the field name where you have to pass your format type.
    IS_PRINT-print_ctrl-PRI_PARAMS-PAART
    Regards
    Bala

  • How to delete/deactivate a background job.

    Hi Gurus!
    Is there any way to delete a background job?
    I have a send job which sends email notifications to internet mails.
    I want to deactivate or completely delete the job.
    Please guide on what to do.
    I'll give points for answers.
    Regards,
    Vhong

    Hi,
    To delete the job, go to sm36, choose 'own jobs' and delete your job.
    As I experienced Selecting and deleting the job in sm37 does not delete the job, but just delete the scheduled or released job in database.
    P.S:
    It is kind of weird that, each time you schedule and save a job, it is scheduled in background. Even if you want to change the step definition and you save, you will see that the job is scheduled for the second time with the latest version. The last save does not cancel the previous job schedule. So you have to do it manually.
    Hope this helps
    Derya

  • Setting layout to a report in background job

    Hi.
    Does anybody knows how I set layouts dynamically to a report output, given that such report is scheduled to run once a day in a background job?
    It would work for me, either: through SM36 or coding JOB_OPEN / JOB_SUBMIT / JOB_CLOSE (or any other option, if available).
    My requirement is to execute every night few reports, each with their corresponding variants and layouts.
    Something like:
    RUN <report1> VARIANT <variant1> LAYOUT <layout1> JOB <job>. (it would output and xls file).
    RUN <report2> VARIANT <variant2> LAYOUT <layout1> JOB <job>. (it would output another xls file).
    RUN <report3> VARIANT <variant3> LAYOUT <layout2> JOB <job>. (it would output a 3rd xls file).
    How should I do to inform variant and layout parameters?
    Thank you.
    Rafael.

    I think I didn't make myself clear in my explanation. Sorry about that.
    My question is, I can create a new field in selection-screen specifically to layout and it would work. However, as I'm running it in background, the ALV will not be shown and the output file must be the export of the ALV with the layout (if in XLS, it'd be even better, but in .CSV would work as well). I just don't think it would work with a .TXT output, because there's no way to reflect the layout in a .TXT file.
    Is there any way of having the ALV inside the output file (saved in the server, in background processing)?
    Thank you so much!
    Edited by: rvsilvax on Nov 30, 2011 3:45 PM

  • How to delete variant form background job

    Hi,
    I have one background job with 5 variants associated with iy.
    Now i want to remove 2 variant from that background job.
    is it posible???
    if yes then how to do that?
    Thanks,

    Hi.
    Go to SM37, execute report to see it, click on modify, and change steps.
    If you have problems, delete job, and create a new one.
    Best regards.
    Valter Oliveira.

  • Saving spool request  in PDF format  using background job

    Hi,
    We have some important jobs which create spool requests. My requirement is to save those spool requests either on front end  or on application server in pdf format. I tried with  program RSTXPDF4 but i can save those files only when pdf conversion is done online and I want it to run in background  as some of the spool request have more then 3000 pages and also i'm not looking for ABAP development.
    It is fine with me to save it in text format but some of the spool request have around 3000 pages and  i cannot save the whole request in one shot using option system->list->save->local file
    It is appreciated if someone has any alternative for the above one.
    Regards,
    Chaitanya

    Hi,
    Just check Is it solve your purpose... When you are creating background jobs mention your email / user id as spool list recipient...
    I think you will recv. the spool output in the mailbox in pdf
    Edited by: Mrinal Das on Jan 3, 2011 2:37 PM

  • Archive data of using DART : Job lock problem in table TSP01

    Hi ,
    I'm facing problem while archiving from Production system to UNIX using DART.
    Using TC: FTW1A to data extract, once data has extracted, we need to do verifaction progess through TC. FTWE1(run a BG jobRTXWCHK4) and FTWD(BG Job RTXWCHK2).
    When I am running TC: FTWD(BG Job RTXWCHK2)to verify, it was holding an extensive lock on the TSP01 table for long period of time which blocking others processing with this table, So We need to terminate this job. For the time being solution is to run this job during weekends.But I want solution for this.
    Is any boby can help me in this problem?
    Regards,
    Nupur S Jaipuriyar

    Locking a row that does not exist can be difficult.
    On most database you can lock an entire table through "LOCK TABLE <table>", however this may be extreme. Potentially you could also insert an empty row into the table with the id that you want to lock, then you would have a write lock on the row until you commit the transaction.

  • In BDC using background job scheduling

    Hello Experts,
    I have taken one input field if i enter some number in that field according to that it will run the bdc for that please help .
    If any thing possible please send the sample code.
    Regards

    Hello Experts,
    I have taken one input field if i enter some number in that field according to that it will run the bdc for that please help .
    If any thing possible please send the sample code.
    Regards

  • Automatic Mail not getting generated through background job

    Hi Experts,
    We have set up a job variant with spool recipients. We are getting the automatic mail if the job is getting finished successfully. But we are not getting the automatic mail if the job is in cancelled status. Earlier we used to get the mail even if the job is in cancelled status. We are not sure if there is any setting which would restrict the automatic mail based on the job status.
    Appreciate your help in this regard.
    Thanks and Regards,
    Ranjani.

    Hi,
    Just for a work around, try checking the SAP user inbox for the user who has scheduled the background job.
    I don't there  is any seperate configuration in Spool List Recipient for the canceled jobs. We need to confirm that the email ids provided in the Spool List recipient are correct and the background job creates a spool request even if it is canceled.
    Also if possible try deleting the existing background job and create a new background job with the same parameters and valid email id's maintained in the Spool List recipient.
    OR
    Without deleting the existing background job, parallely create a new background job with the same parameters and valid email id's maintained in the Spool List recipient. If it works then delete the old background job.
    Thanks
    Harish

  • Background job not automatically poopulating Dependant Demand

    Hi Users,
    We've recently set up a POS & PA using the DP-BOM selection and characteristics, manually created PPM's and generated CVC's using the BOMS. All of this is set up fine in our SCM 7.0.
    The background job has created the forecasts for the ouptput products but NOT the input product.
    Now if I call up the parent material, and then choose to show the input products the dependant demand is generated. If I now return to the material with the dependant demand, it now shows the demand from the parent.
    Or, if the forecast is genereated interactively, then the dependant demand is poopulated.
    Is there an automated method to populate the dependant demand when using background jobs? I would like to think that we don't have to query every sales BOM parent in DP and drill into the input products to load the dependant demand?
    Please let me know if there is an easier way to do this as part of the background processing.
    Thanks
    Edited by: Paul_111 on Mar 31, 2011 4:20 PM

    Hi Andand,
    Thanks for your reply and sorry if my post is confusing.
    As far as the PPM with imputs A & B, output C - I have this relationship working and calcuclating demand in DP no problems.
    If I now add a new PPM combination inpput X, Y and output Z. Create the BOM CVC and TSO so its all set to go. Add to selection profiles and background jobs.
    Now, if I run the background job to create the forecast and this runs successfully. Now I check my products.
    Z has the forecast generated, X & Z have no dependant demand showing.
    The only way I've found that pushes the demand to X & Z is:
    - open product Z in demand planning and then choose the option to show input products from the header
    OR - from demand planning, select the univariate forecast to run interactively.
    My issue:
    The background job (if run alone) does not push the forecast on Z to X & Y.
    And if I show the input products or create forecast (as bove) the dependat demand is shown on X & Y.
    This is going to be a slow process if we have to do this everytime we run the backgound job.
    What am I missing when running the background job?

  • Report to cancel released background jobs

    Hi Folks,
    Can anyone guide me whether there is any standard report/program where i can delete/cancel the background jobs already released/scheduled? We can cancel individual job using SM37, but i need to cancel "n" number of jobs at one slot.
    Thanks in advance.
    Regards,
    Shiva

    Siva,
    can plz tell me how to change or reschedule the time on background job ?
    Dilip

  • Scheduled TMS_ # TMS_TP_IMPORT  background jobs fail with error code 0232

    Is anyone else having the problem we've just encountered since upgrading to ECC 6.0 and CRM 2007, where once setting up the automatic import ALL background jobs, to have all of the Transport Change Requests imported into the Q-Prod testing systems automatically, fail after several successful runs?
    After setting up the automatic import background job to run every 15 minutes, the first few run successfully (importing any transports as it should), then the transports stop being imported.
    The background jobs continue to run, but have the following in the job log overviews CRM 2007 - "Could not start transport control program tp". R\3 ECC 6.0 - "Transport control program tp ended with error code 0232".
    Only by deleting the background job and recreating it (or manually importing) from STMS, can the transports continue to be imported. Although I have noticed that there are multiple tp.exe processes started, which need to be deleted before the STMS and TMS Background jobs work again.
    The:
       DB is SQL Server 2005
       disp+work is at version 7000.150.14.48855
       R3Trans is at version 7000.149.14.47907
       tp is at version 7000.144.14.39594
    Any suggestions on how to cure this for good?

    Thanks All
    FYI
    SAP first suggested the following notes: 19466, 1150361, and to add a Startup profile parameter rfc/use_gwstart = 1. Which was only partially successful.
    I guess it had more to do with RFC processes hanging than it did with the tp, which was fixed in a later kernel patch level.
    I've upgraded the kernel to the latest (70000.181.0.0) and my problem was fixed.
    Ken

Maybe you are looking for

  • How to set image in background as background image in view

    hello experts, i am writing small program in that i have one view , with one group box i want to set an image which should appears as a background image for that view , also i want to appear the group on that image in foreground. i have no clue how t

  • Rebate Manual accruals

    Hi, when rebate is active and is sales dependent, for every invoice processing, an accrual is posted. The accouting entry is to debit the accrual account and credit  the "provision for accrual". When Manual accruals happens , i need to know the follo

  • Problem of  loading the Manifest file

    Hello Friends, I have developed a project in J2SE.I am creating a JAR file of it but I am facing a problem in doing that. My Problem is The Manifest File I have created is not loading by the JVM. I have created the Manifest file which contains the fo

  • Nokia x6 problems

    Since i got the phone at the beginning of march, i've had nothing but trouble. The internet browser closes without warning, it starts deleting when i'm in the middle of texting someone, i tried to delete some songs that had saved twice and it won't h

  • ThinkPad X201 vs new model X series??

    Hi, could you please give me your opinion. if you buy new thinkpad, would you go for X201 or new model X series? almost same price. as i am classic ThinkPad fanatic i love x201 but price is high considering it is old model. what would be your idea? t