Urgent : Want to know table stores spools created by a background job

Actually background job executed by me creates 2 spool requests
table - tbtcpv holds only the 1 spool
Can any one tell me the table which stores all the spool created by the background job ?
Need urgent help.....

Guru,
Try with below tables
TBTCO
TBTCO
TBTCP
TBTCR
TBTCS
TBTCJSTEP
TBTCO
TBTCP
Pls. reward if useful..

Similar Messages

  • WHICH TABLE STORES SPOOL REQUEST GENERATED BY BACKGROUND JOB ?

    Background job is generating multiple request.
    i am not able to find the table which stores all the spool request for a particular background job.

    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 generated by it......
    TBTCPV is the view but it stores only one spool request.....rather than multiple spoolreq generated by background job..

  • Delete Spools created by one background job

    Hi ,
    I have a background job which runs every now and then and it creates spools. My requirement is to delete all spools created by this one job only in regular intervals via another program.
    Regards,
    Arun.

    Hi J@Y,
    the spools that my background job is creating should stay in the system for a while for users to go and see it. After a specific interval, say every 30 minutes, i want all the spools created by that one job till that time to be deleted
    regards,
    Arun.

  • Want to know table name of - plant location

    hi frnds
    want to know table name of - plant location
    regards
    raghav.kh

    Hi,
    Try with Table T499S.
    Regards,
    Prabu

  • Problem in getting spool number of a background job.

    Hi all,
    In a Z program I am calling a standard program to run as background job. I need to get the report o/p of the standard program. For this I need the spool no of the background job. Now I am querying on table tbtcp by giving jobname. Program name and run date and getting the spool no. but the cache is that the table is not getting updated with the spool no as soon as the job finishes. It is taking some time to update the table ( The time depends on the no of background jobs scheduled. ). So of we query on the table immediately after the background job finishes we are getting spool no as 0. so I am unable to read the spool into Internal tables. Even the table tsp01 is also behaving in the same way. ( it is taking time to update ) .
    Any pointers to this will be appreciated .
    Regards,
    Shiva....

    This is some prototype that I put together from separate pieces, so it looks funky, but might be helpful. The first step is to SUBMIT the program with EXPORTING LIST TO MEMORY. The next FM reads the list from memory and the next one (optional) converts it to a text format. You might want to search for other FMs in SE37 by 'LIST*'.
    DATA list_tab TYPE TABLE OF abaplist.
    SUBMIT RPR_TRIP_HEADER_DATA
    USING SELECTION-SET 'OLD_LIST'
    EXPORTING LIST TO MEMORY
                  AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    types : t_txt(1000) type c.
    DATA: i_txt2 type table of t_txt,
    i_txt type list_string_table.
    call function 'LIST_TO_ASCI'
    EXPORTING
    *   LIST_INDEX               = -1
       WITH_LINE_BREAK          = 'X'
    IMPORTING
       LIST_STRING_ASCII        = i_txt
    *   LIST_DYN_ASCII           =
    TABLES
       LISTASCI                 =  i_txt2
       LISTOBJECT               = list_tab
    EXCEPTIONS
       EMPTY_LIST               = 1
       LIST_INDEX_INVALID       = 2
       OTHERS                   = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Also check this links:
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/spool-number-of-previously-printed-abap-list-635173#

  • A background job creating/instantiating another background job

    Hi,
    Is there any possibility in SAP, that, a background job can create/instantiate another background job ?
    I have one suce requirement, and not sure if this is possible. Any inputs..
    -DK

    yes you can
    when you create a job using SM36,there is a option for start condition
    in that there is an option for After Job
    just give the job name and when that job completes,this job will trigger off
    http://help.sap.com/saphelp_nw04/helpdata/EN/c4/3a7fae505211d189550000e829fbbd/frameset.htm
    Rohit

  • I want to know about how to create apple id

    i want to know apple id what is reedom code.

    Contact iTunes support: https://getsupport.apple.com/Issues.action

  • 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

  • Spool file of a background job

    Hello Friends,
    In an SAP system, there is a background job which creates a spool file.
    If there is no printer configuration done on the SAP server, how to find the location of this file in the filesystem?
    Thanks & Regards,
    Kunal Patel.

    Hi,
    Thanks for your reply.
    I was able to locate the file in the filesystem.
    Actually I changed a setting in the printer LOCL so that the spool is stored in Global directory.
    But now there is a new problem.
    The spool file in the filesystem is in a very different format as below:
    Could you let me know how to change the format of the spool?
    Command executed:       more : /usr/sap/DHS/SYS/global/100SPOOL/00010000026674 :
    Target host:            unix0006
    COL0N COL0H05.03.2008
    4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    5
    5      5Lene
    5      5Gitte
    5      5Orla Bech
    5      5Janni                                    5We
    4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3 -  P                                              COL0N COL0H05.03.2008
    4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4
    4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    5 ú    5
    5 ú    5
    5 ú    5
    Rgds,
    Kunal.

  • Spool not generated in BAckground Job

    Hi,
    I am trying to schedule RSNAST00 in a background job. My problem is that when the job gets finished i cannot see a spool for the output, any pointers to this issue will be appreciated.
    Regards,
    Sharadendu

    Go to transaction SM37 and check job log.
    It is possible that something is going wrong in your program. I would suggest you to debugg background job.
    To debugg just select job in SM37 and in command window(Where we type T codes) type JDBG and press enter. This will open debugger. Press F7 for approx 4-5 times. Now your program will be opened in debugg and you check why spool is not generated.
    let me know ig this helps.
    Regards,
    Jigar Thakkar.

  • Merge Excel cells when creating file for Background job

    Hi Experts
    I need to create an Excel document and within the excel sheet merge some cells, I can get that done via OLE.
    My problem though comes in with... the Report needs to be scheduled as a background job and therefore OLE does not work!!!
    Does any of you have another solution to merge cells while running in background??
    Your thoughts are greatly appreciated.
    Vic

    Hi Vic,
    You can use the xml transformations for formatting excel. For my case I needed multiple sheets including glossary sheet to be mailed in a particular format , which was achieved by using transformations.
           CALL TRANSFORMATION z_xls_xxx
                SOURCE table = i_tmp_b[]
                RESULT XML wa_xmlstr.
            TRY.
                cl_bcs_convert=>string_to_solix(
                   EXPORTING
                     iv_string   = wa_xmlstr
                   iv_codepage = '4103'  "suitable for MS Excel, leave empty
                     iv_add_bom  = 'X'     "for other doc types
                   IMPORTING
                     et_solix  = l_bin
                     ev_size   = l_size ).
              CATCH cx_bcs.
                MESSAGE e445(so).
            ENDTRY.

  • Want to know table which stores SPOOL LIST RECIPIENT & email addres

    Hi Guys,
    I need to create a report for all jobname & recipient email address. Kindly let me how to find out the recipent's email address for all jobname in TBTCP. I understand that recipent is the distribution list, distribution list has email address.
    JOBNAME ---> SPOOL LIST RECIPEINT -
    > EMAIL ADDRESS.
    thanks.

    Guys thanks for you help and time.
    I am not getting the expected result after doing above steps.
    I will try to clarify the requirement further.
    When I run t-code SM37 and enter following :
    Job name : TXDET-DAILY
    User name :  *
    Job Status : Checked Sched. Only.
    On next screen JOB OVERVIEW. Only one record shows up for job TXDET-DAILY.  When I double click this record, system takes me to next screen where there is button for SPOOL LIST RECIPIENT. When I click this button it displays the recipient is TXDET. TXDET is actually a Distribution list name, maintained in SAP office (SO01).
    When I go in t-code SO01 and click DISTRIBUTION LIST button and then enter shared distribution list name TXDET.
    It gives me 2 email addresses under this TXDET distribution list. 
    [email protected]
    [email protected]
    The spool from the job TXDET-DAILY will be emailed to these 2 email addresses.
    Now I need a report which gives following information.
    Job Name................. Distribution List Name...............Email Address         
    TXDET-DAILY............TXDET......................................[email protected]
    TXDET-DAILY............TXDET......................................     [email protected]

  • Want to know table which stores SPOOL LIST RECIPIENT address in SM37.

    I found that for one of teh job name the value of the field is RECOBJKEY "DLI36000000000176 37000000029574" in table TBTCO.So how to get the SO_KEY value from this.
    thanks again in advance.

    The Basic idea is to get the recipient value from the Job name.I found one way of doing is to
    goto SWO1. enter "RECIPIENT" click test
    click full key. pass the logical system as your own logical system like DRXCLNT500 or what ever, and pass DLI36000000000176 37000000029574 in the key. (copy paste exactly as you pick from TBTCO including the spaces).
    but the first issue using the above option is that i dont see any email values in any of the attributes or i am not seeing into the correct attributes.
    Seconldly, Also i have another scenario where the field RECOBJKEY "USR33000000004760           37000000156636" in table TBTCO for which the above the optino is not working.
    Can somone help on this question.

  • Want to know table which stores the Partition key details

    Hi Experts,
    Could you please tell me if there is way to find out the columns which are part of range partitions of the table. There is a table 'user_tab_partitions' it stores the name of the table and it's partition name. I need to know if there is a similar table/view which stores the partition fields name too.
    Thanks and regards,
    Ashish Soni

    Have you tried..
    DBA_PART_KEY_COLUMNS or
    ALL_PART_KEY_COLUMNS or
    USER_PART_KEY_COLUMNS Views ?
    Message was edited by:
    biswabijay

  • Which table stores the created work-flow event?

    Hello,
    When am executing FM of 'SWE_EVENT_CREATE' in my custom program, its executing with SY-SUBRC = 0, but, am not getting any email to my SAP inbox!
    1) pls. let me know the reason?
    2) Atleast how to know that (where to see, any table) an EVENT is created each successful execution (SY-SUBRC = 1) of this FM/my custom prog?
    Thank you

    Halo Raju
    1 Switch on the event trace using the transaction SWELS. 
    2 Now execute your  program developed . Now switch-off the event trace using the same transaction SWELS. 
    3 Now go to transaction SWEL. Here you can list out the events triggered in the particular period of   time. Here is the event-trace list:
    Regards
    Arshad

Maybe you are looking for

  • Macbook, Mini-dvi to video, TVs

    I bought the mini-dvi to video adapter to use with my Macbook. I plugged it in and connected it to the TV using the yellow wire. The TV (a Toshiba HDTV) does not display correctly.. it's basically just black, sometimes I can see a little green or wha

  • IPod 4 freezing, losing internet connection. Is there any way to fix this?

    My iPod 4 is only six months old, but hasn't been working well recently. Some apps have been saying i dont have internet connection, when i have all 3 signal bars. Then today, it froze up. I restarted it with the Home and Sleep buttons, and then it f

  • Help Please -Need video to NOT automatically load when not using autoplay feature

    Hi, I am hoping someone can help me or point me to the right place to find what I need! I use the standard skins in Flash for putting videos onto a webpage but I am having problems when I use more than one video on a page. I have the videos set to au

  • On Exit Pause doesn't work

    Hi, I have set a slide to pause on exit but it just won't work, it continues to the next slide and pauses. I know I must be missing something obvious but can't think what! Any help would be really apprectiated. Using Cap 7. Thanks,

  • Aperture 3 Software Info

    For somehow, software info is not showing if I am using Aperture to import photos from camera. I have been using Nikon Transfer for all my imports from camera. EXIF info only shows if its transferring from Nikon Transfer but if I am transferring thro