Table for background job spool list ?

i know the table for spool request : TSP01
But how should i link it to background job name ?
i want the link between background job name and spool request.
TBTCPV is the view but it stores only one spool request.....rather than multiple spoolreq generated by background job..

Hi,
Table TBTCP has the Spool Request field PLIST field as well as Jobname JOBNAME field in it. Youc an link them together.
Regards,
Anji

Similar Messages

  • Background Job  & Spool List Recipient not receiving all pages

    I have a program that is run during our nightly cycle and is scheduled in SM36 with a spool list recipient designated for the report to be delivered to the user's SAP Inbox.  The job completes successfully and creates a report that is over 100 pages.  The user is only receiving 10 pages in their SAP Inbox.  Is this a Basis system setting?  Can we changes this on a per user basis?
    Thanks,
    Holly

    Hi Holly,
    it's sound like the <b>SAP-Note: 329537</b>
    Symptom
    If a batch job creates a spool and sends it to a recipients, only the first 1000 lines are sent.
    Other terms
    SAPOffice, spool list recipient
    Reason and Prerequisites
    For performance reasons, the output sent to SAPOffice is limited to 1000 lines.
    Solution
    If you wish to send spools longer than 1000 lines in Releases > 4.6B, proceeed as follows:
    1. Apply the support packages or correction instructions mentioned in this note.
    2. Create the following two entries in table TSPOPTIONS with transaction SE16:
                  option: BTC_FIRSTLINE value: < desired value, probably 1>
                  option: BTC_LASTLINE  value: < desired value, e.g. 99999>
    1. Call function module RSPO_OPTION_FLUSH with value NAME = '*'.
    Please note that this change may impact performance, depending on the selected line interval.
    In Releases < 4.6C or if you are not able to apply the support packages or corrections, you can accomplish this with a minor code change.
    In program RSBTCRTE, change the parameter sent to the function module
    RSPO_SPOOLJOB_TO_OFFICE as follows:
    call function 'RSPO_SPOOLJOB_TO_OFFICE'
         exporting
          rqident              =
    spo_list_id
             first_line         
    = 1
    last_line            =
    1000            "<<<  Delete
            last_line            =
    99999           "<<<  Insert
            receiver           
    = recipient_object
             mail_title         
    = document_data-obj_descr
          exceptions

  • Mail not being sent for background job spool

    Hello All,
    I have created a back ground job by adding a mail id in the spool receipient list. The job has finished successfully and spool is created but the mail has not been sent I have checked SOST transaction and no mail has been sent to this mail id.
    This is only happening for some jobs other jobs are able to successfully send the spool as mails to the mail id's mentioned in spool receipient list.
    I would like to know why this is happening only for some jobs and how can I check the whether mail has been generated or not.
    Your replies will be greatly appreciated.
    Thankyou,
    Ranjan

    Hi
    To check whether mail is generated you can create dynamic break-point with SAAB transaction.
    Using this transaction you create a memory area for your jobs where you can load any data value of your report..
    Probably something goes wrong with COMMIT of Mail Function module system.
    Hope to help..

  • Tables for background job details

    hi
    iam having a job name
    i want to know the program name associated with this job or the events related to this job.
    Iam not able to see this job in SM37/ SM36
    any other way to find this

    DId you check all available statuses and did you remove all not-required criteria from SM37 starting screen
    Remember there are some jobs that purge logs and definitions of old jobs as well as job statistics.
    (Jobs starting with SAP_REORG_JOBS)
    To look for job statistics -> SM37 -> select job -> Goto -> Job Statistics
    (So if you don't see the job in SM37...)
    Regards,
    Raymond

  • Spool error for background job

    Hi All,
    I have scheduled one job in sap for a report.I have made a distribution list via tcode SO01.
    I have given this distribution list to the SPOOL RECEPIENT section in SM 36.
    The job is running successfully but is giving the following error and not sending emails to the distribution list.
    The error is :-
    "Spool list of step 1 could not be sent due to error 7".
    Does anybody has any idea about this error?
    Please help its a production issue.
    Thanks in advance
    Vivekanand Meghmala

    Look at SAP note : 760838
    Symptom
    Background job spool lists are not sent.
    Other terms
    RSBTCRTE, RSPO_SPOOLJOB_TO_OFFICE, SO_DOCUMENT_SEND_API1
    Reason and Prerequisites
    1. The jobs in question have recipient references in table TBTCO but these have no equivalent in the Business Object Repository.
    2. An error occurs when sending in the spool or in the Sapconnect layer.
    Solution
    This note does not provide a direct solution to the problem but it does provide a source code enhancement that you can use to create more trace information about the cause of the error. When you copy and execute a job with spool list recipients, trace messages are output when errors occur.
    After implementing the correction instructions, use transaction SE91 to create the following message:
    Message class: BT
    Number: 347
    Text: Spool list of step &1 could not be sent due to error &2.
    In detail, the error numbers mean:
    1 = Spool request does not exist (or no longer exists)
    2 = Spool request does not contain any data
    3 = Empty page area selected
    4 = No authorization to send the request
    5 = Access to the spool request is not possible
    6 = Read error in the Temse layer
    7 = Spool request could not be sent (sending problem)
    8 = Incorrect request type
    9 = Other

  • Spool not generated for background job

    Hi all!
    I have a Zprogram that does some validation and submits the data to transaction ME59 using SUBMIT statement. The program is running fine in foreground.When it is scheduled for background, the spool is not getting generated. I know that if a program contains SUBMIT statement, the spool will not be generated when run in background. But is there a way to make it work? The client requires the exact output that we get in foreground.

    Hi,
      All spool requests will be stored in TSP01 table
    TSP01 - Spool Requests
    field name for Spool request number is RQIDENT
    Hi,
    Take a look at OSS Note 422136 which states:
    "2. You can only store one spool request even if a step generates several spool requests during processing. The application is responsible for a "spool overview" in this case. If a step generates several spool requests during processing, only one request can be stored. In this case, the application report should issue the number with a message when writing a spool request so that it is then displayed in the job log."
    Also take a look at OSS Note 519059 which further supports the case that you must capture the individual spool numbers as they are being created (i.e. within the job step's program). The note contains the following:
    8] Question: How are the spool requests assigned?
    Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview
    <b>Reward points</b>
    Regards

  • Job failure ( report RFFDKU00 scheduled for background job)

    Hi Experts,
        When iam scheduling the report RFFDKU00 for background job. Job is getting cancelled with status "ABAP/4 processor: DBIF_RSQL_SQL_ERROR" . when iam obesrving this job it is going to dump at this select query
    "     select ausbk belnr gjahr bzkey buzei
    033370                  from vbsegs into table t_vbsegsfields
    033380            where bukrs in r_bukrs
    033390            and not ( fdlev = space
    033400                  and fdgrp = space
    033410                  and fdtag = init_date
    033420                  and fdwbt = 0 )
    033430            and not saknr in r_cm_sk   "
    Can anyone helpme to deal with this issues ,
    thanks in advance,
    Kranthi

    note 167301 might help.

  • What data is stored in the CC Background Job Spool File?

    What information is stored in the location referenced in the CC Configuration/Miscellaneous setting of 'Background Job Spool File Location'?  Our test and production versions of this system are configured the same, with both pointing to the same location on their respective servers.  However the test location shows a virsa/bgJobSpool folder in it containing multiple files while our production system shows this location as empty.
    Both versions seem to be working OK.  We are running backgrounds jobs in each (risk analysis, management reviews, rule generation, etc.) and seeing results.
    We updated to the GRC 5.2 a few months ago and are currently on SP9.  This issue came up during a system audit, so we need to come up with an explanation for the differences.
    Thanks.

    I had reviewed that SAP note previously, but it does not seem to help any with our situation.  We are running ad hoc background risk analysis jobs frequently and can always see the results.  Everything seems to work fine from the application side, we just don't see the logs where we thought they should be over on the server.
    From the outside, it looks like maybe it is ignoring the configuration setting and is still using the default location for the log.  Does it need to be on the same drive as the application?  I believe our application and the default location are both on our E drive, but we want to put the location for this and the Alert Log on the D drive.
    Thanks.

  • Has anyone put the RAR Background Job Spool on a different server?

    We are on GRC 5.3 SP 13.
    Has anyone put the RAR Background Job Spool File Location (assigned in the Miscellaneous configuration section) on a server different than the one that the GRC Frontend/Java system is on?
    I currently have it assigned to a folder on the GRC server, but it is running out of space.  I am having a problem getting the users to delete old reports as they say they need to keep them for internal Audit controls.  They are also resisting downloading the reports (more work for them).  I have been told that we cannot easily increase the file space on the GRC server (would basically have to purchase more storage and rebuild the server).
    I was thinking about moving the folder over to our virtual storage area, were file size can be more easily expanded.  I haven't found any documentation that says the folder has to be on the GRC server, but I also haven't seen any examples of where it has been put on a different server.
    Has anyone done this, and did you run into any problems?
    Thanks.

    Hello Bob,
    I got your point. Probably there's no recommendation about this, because the recomended practise is to delete or archive the spools as suggested in note : Note 1511027 - Periodic clean up of spool files
    If you have a requirement to keep these files "online", I think the option to save them to a network drive is fine. I haven't tried it for this specific scenario. You have to take into account:
    - Specific user to connect to FileServer
    - Availability of the FileServer. If the FS is down, the RAR job will cancel.
    - Performance. I mean, write to a local disk is not the same to write to a network drive. This point is very difficult to measure,   because it depends on a lot of things like network speed, server load, etc.
    Maybe someone has already implemented it and gives you more hints.
    Cheers,
    Diego.

  • Date and time for background job

    Hi,
    I am creating a program with out selection screen . This program runs based on date and time . so I need to create a table
    with date and time fileds.
    Program runs based on FROM DATE FROM TIME  TO DATE  TO TIME....... FROM DATE and FROM TIME  will get it from ztable and TO DATE & TO TIME values as SY-DATUM & SY-UZEIT. In the end I will update sy-datum and sy-uzeit values in the custom table to get the values ( Use it for from date from time ) for next run of the program.
    This program is mainly used for background job so how do we get the values of from date and from time for the first run of the program ? how do we update the latest date and time details by deleting old date and time details.
    Thanks ,
    Vinay.
    Edited by: Vinay parakala on Apr 22, 2010 9:18 AM

    First of all, I'll suggest to maintain TVARVC instead of doing it in custom table unless you need a complete log.
    As per my understanding, you are trying to fetch some records based on the time period(Delta loads).
    So, you will do an initial run to load the complete data then you will run it for time periods. For example,
    1st Load- 01/01/1991(earliest date possible) - today's date say 03/22/2010
    2nd load- 03/22/2010 - today's date
    so on............
    You have to move the to date values to from date values and to date value needs to be updated by the latest one for each load.
    Do you have any dependency on background job? Please let me know if my understanding is correct or specify your requirement in detail.

  • Send/export the background job spool in Excel (in MHTML format) in ECC 6.0.

    Hello All,
    I have a requirement to send/export the background job spool in Excel (in MHTML format) in ECC 6.0. Please help.
    Thank you.
    Nalini

    Hi Jigar,
    Thanks for your response.
    Anything is like download to desktop or email is fine. But in MHTML format.
    We can download the ALV report in MHTML spreadsheet format when we run the program online. But the program is running for long time and going to dump.
    So i scheduled it as background job and downloading the output in  .HTML format. But user wants the spool/report output in .MHTML spreadsheet format.
    I can write the code. Instead of changing the existing program I would like to know is there any way (from standard SAP) that I can get the background spool in MHTML spreadsheet format.
    Thanks,
    Nalini

  • Variants for background jobs

    You need to schedule and automate batch jobs in an organisation. There will be multiple variants and multiple steps within same batch jobs. The variants are date dependent and needs to change every day. You need to automatically change the variants every day and schedule the jobs. Also check for the failures in the jobs. Apart from that Once the jobs in one server example : R/3 server ends the jobs in BW servers should be triggered automatically. Explain all steps with proper T codes and also provide a dry run example. Also provide all the table used for the variants purpose.
    Please help on this,thanks
    Narendra

    Hi Narendra,
    The background jobs are scheduled depending on the requirement with specific variants which are both date specific and even specific sometimes. These variants are created for the programs or reports which are run in the background job ,These variants are stored in VARID table for client specific variants and
    VARID_CI for client independent. For most of the times all these jobs are maintained in some job scheduling tools so that they automatically inform about job failures and processes can be automated.In our organisation we use UC4 for background job schedulign and it controls the process as you are looking for.
    Please award points accordingly
    With Regards,
    Junaid
    Message was edited by:
            muhammed junaid

  • Userexit or BADI for program *RMMRP000* for background job

    Hi,
    We are scheduling background job for MRP through SM36 using program  RMMRP000 or Through Transaction MDBT (MDBT is calling program RMMRP000) which creates PR (through background job).
    I want to default one field in PR (PO Price field in valuation tab in PR default to gross) using any userexit or BADI.
    Can any body suggest me userexit or BADI for program RMMRP000 for background job
    Regards.

    Hi,
    1. The below are the List of  Userexit for this MDBT t.CODE.
    2. But i dont see any one helping to resolve your issue.
    3. May be you should lookg at the Userexit for me21n or relevant Purhcase requisition creation transaction.
    reg
    dsk

  • Function module for background jobs email

    hi abaper's
                     i hace to create a function module for background jobs this function module have to send an email automatically when a background job is assigned or processed in background.
    thnks n regards
    pardeep kumar

    hi dear
    open this site
    https://weblogs.sdn.sap.com/pub/wlg/781. [original link is broken] [original link is broken] [original link is broken]
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 8, 2008 12:48 PM

  • SQL trace for Background jobs

    Hi
    Can anyone suggest how to find the SQL trace for background jobs.
    Thanks in advance.
    Regards
    D.Vadivukkarasi

    Hi
    Check the transaction ST05.
    Plz Reward Points if helpful

Maybe you are looking for

  • 'Default Risk Limit' tab is not appearing in FTR_CREATE !!!

    Hi I encountered the problem related to Default Risk Limit is not appearing in T.Code: FTR_CREATE while creation of Financial Transaction. I have done the following activities 1. Activation of Default Risk Limit Check 2. Define Limit Types 3. Activat

  • How do I know if my purchase worked?

    I used money from a gift card to buy a season pass for a Tv series.  It seems like my balanced has not changed and I have no indication anywhere that the purchase worked.  I am afraid to try the purchase again because I dont want to buy the same thin

  • OBIEE Oracle VM

    Hi, I'm trying to deploy the OBIEE VM provided by Oracle http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html I have downloaded all 11 archives (and unzipped them with 7zip), as well as the ovf file. I also have instal

  • Can I disable These In My Task Scheduler?

    Could someone tell me what these are in my task scheduler and if I need to them or can I disable them? PCDEventLauncher -- On event -Log:Application, SourceC-Doctor Launcher, EventID:1 PCDoctorBackGroundMonitorTask -- At 10:00AM on day 5 of Jan, Feb,

  • 1 form, 1 table, multiple PHP/SQL UPDATES

    Hi guys, I'm hoping you can help me on this one I would like to submit multiple entries from a form after hitting one submit button, but am having no luck. MySQL Table name: nwbps_class Fields: nwbpsclass_id, class, nwbpsclass_welcome, nwbpsclass_ord