How to find out spool number from a jobname.

Hi,
If I know the jobname and jobcount how to find the spool number of it. Jobname and Jobcount are in table TBTCO and spool number is in TSP01. Is there any link between these tables.
Your help will be appreciated.
Thanks & Regards,
Soumya.

Hi,
Check the below link
[Re:Spool request;
Regards,
Surinder

Similar Messages

  • How do find out the number of rows

    how to find out the number of rows of as all tables in a schema with one sql statement

    Hi,
    What u can try doing is...
    declare
    numrows number;
    begin
    for i in (select tname from tab)
    loop
    execute immideate 'select count(1) into numrows from ' | | i.tname ;
    dbms_output.put_line(numrows);
    end loop;
    end;
    Hope this helps. This works only in 8i. So if u need to do the same in 8.0 u have to use dbms_sql pkg.
    The logic is same but the way u open ands execute the code is a bit diff.
    Best Of Luck.
    Regards,
    Ganesh R

  • HOW TO  FIND OUT TABLE DESCRIPTION FROM JDBC?

    HOW WILL FIND OUT TABLE DESCRIPTION FROM JDBC?

    Have a look at ResultSetMetaData
    getColumnCount()
    getColumnName(int)
    getColumnTypeName(int)
    getColumnDisplaySize(int)
    ***Annie***

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

  • How to find out the Number range object for Incident number

    How to find out the Number range object for Incident number ?
    CCIHT_IAL-IALID
    regards,
    lavanya

    HI, an example.
    data: vl_num type i,
          vl_char(6) type c,
          vl_qty type INRI-QUANTITY,
          vl_rc type INRI-RETURNCODE.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '01'
        OBJECT                        = 'ZRG0000001'
       QUANTITY                       = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = vl_num
       QUANTITY                      = vl_qty
       RETURNCODE                    = vl_rc
    EXCEPTIONS
       INTERVAL_NOT_FOUND            = 1
       NUMBER_RANGE_NOT_INTERN       = 2
       OBJECT_NOT_FOUND              = 3
       QUANTITY_IS_0                 = 4
       QUANTITY_IS_NOT_1             = 5
       INTERVAL_OVERFLOW             = 6
       BUFFER_OVERFLOW               = 7
       OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    vl_char = vl_num.
    write vl_char.
    Regard

  • How to find out the number of songs in my iTunes 11 library

    How to find out the number of songs in my iTunes 11 library

    Welcome to the Apple Support Communities
    To see the number of songs, go to View menu > Show Status Bar, so the number of songs you have will appear at the bottom of the iTunes window

  • How to find out asset number in SAP

    Hi,
    Please let me know how to find out asset number based on the depreciation document number.
    Regards,
    Bhaskar Suruvu

    In the FI document header text / line item text you found back the asset document number like:
    AFB01200900101-0000000001
    In the table ANLP you can found back the document number -0000000001
    On this way you can make the link

  • How to find out IODs number for Cisco AP model 1602

     Hi All
             i have 5 cisco AP with model 1602, i need some help on how to find out the IODs from the device, the reason to do this is to add all the AP to our solarwinds server, hope you can help, Thanks !
    Keith

    we are using Stand Alone, as how to find out the IODs from the device, as i have already enable snmp on the AP, and has been added to the solarwinds server, and below is what solarwinds replied, how to obtain OID ?
    Yes, your AP device can now be monitored even the interfaces, availability, CPU, memory, etc., however you mentioned that you also want to monitor the clients of your AP, the client's ip address, the name of the clients and other resources. 
    In order to do this, we need to use the Universal Device Poller, we will manually configure NPM to poll the other resources of your AP, that's why we need the OID. 

  • How to find out cellular number on ipad

    I have forgotten my cell number that m using for 3G on my ipad 2. Please let me know how to find out cell number on ipad 2

    Make sure that your Cellular Data button is turned on:
    CELLULAR DATA>CELLULAR DATA = ON
    Then the number should show up where Diavonex indicated above

  • How to find Outbound Idoc number from inbound Idoc number.

    Hi,
    I have one inbound Idoc in my system, then
    How to find the  idoc number from the system which sends that idoc(Outbound Idoc number).

    Hello
    You can use fm SREL_GET_NEXT_NEIGHBORS for this purpose.
    Scenario: An EDI purchase order is received by SAP-XI and forwarded as Inbound ORDERS IDoc to R/3. SAP-XI generates an (outbound) IDoc number which differs from the (inbound) ORDERS05 IDoc in the R/3 system.
    Calling fm SREL_GET_NEXT_NEIGHBORS with the following parameters:
    OBJECT-OBJKEY = <IDoc number, 16-digits>
    OBJECT-OBJTYPE = 'IDOC'
    MAX_HOPS = '99'            " <<< get all links
    I get the following result:
    0000000000133906                                   IDOC       CUSTOMER   OUTIDOC
    0000000000407402                                   IDOC                  INIDOC
    000000370383                                       BUS2012    CUSTOMER   OUTBELEG
    0010057944                                         BUS2032               INBELEG
    Outbound IDoc number
    Inbound IDoc number (ORDERS05)
    PO number
    Sales order (created from inbound ORDERS IDoc)
    Regards
      Uwe

  • How to find out spool requist number respective Sales Order

    hi,
    I need spool number respective to Sales Order, after print out script.While taking print out of sales order by selecting respective output type  i am able to get spool request number in table TSP01 .Upto eveything fine .But how to find this spool  request number is belongs to that Sales order.
    Regards,
    Eswar

    SELECT * FROM tsp01 WHERE
                 rq0name = sy-repid  AND
                 rq1name = d_suffix1 AND
                 rq2name = d_suffix2 AND
                 rqowner = sy-uname.
              WRITE:/ 'Spool request issued',
                    /  'Spool Number:', tsp01-rqident,
                    /  'Spool Name  :', tsp01-rq0name,
                    /  'Suffix 1    :' , tsp01-rq1name,
                    /  'Suffix 2    :', tsp01-rq2name,
                    /  'Owner       :', tsp01-rqowner,
                    /  'Device      :',tsp01-rqdest,
                    /  'Copies      :', tsp01-rqcopies,
                    /  'Processed   :', tsp01-rqpjreq.
              SKIP.
            ENDSELE

  • How to find out the number of threads created under java vm at runtime

    our application seems to have hit the max number of threads that can be created under vm and the vm will just hang after that. that behavior seems to be consistent from an article that I read earlier.
    I wonder any way that java app can find out the number of threads currently created under vm?
    thanks in advance!

    If you are not starting an extra thread group you can use the Thread.activeCount method. But this willnot return all the threads, as there are some jvm threads, i.e. garbage collector. Also if you are running on a Unix type operating system then you can send a signal to the jvm to give you a thread dump, i think the signal is sighup.
    If the application is hanging i would of thought that you have a deadlock situation rather then the JVM not being able to create new threads, roughly how many threads should be running ??

  • How to find out the number of fields in generated proxy structure?

    Hi All,
    Can anybody help me to find out the number of fields in generated proxy structure in back end system along with controller fields.
    i know how to get number of fields in XI system but i want the number of fields in back end system when we generate proxy including automatically generated controller fields.
    Thanks in advance.
    Regards,
    Ujwalkumar

    U mean u want to know at runtime?
    Get the output from ur proxy as a string, count the number of "<" characters and divide it by 2. :-P
    Of course, you'll have to treat the header fields separately.
    Regards,
    Henrique.

  • How to find out the user from the Jobs queue in Report server

    Hello All!
    I have a doubt about finding out the user from the scheduled jobs queue. Say I go ahead and schedule a report on Reports Server how can I find out the user name. When I view the jobs using showjobs I could see that the DBMS_JOBS table has a column under "Job Owner". But it invariantly shows it is "rwuser". So is there a way to find out which user has scheduled which job?
    Regards
    Shobha

    hi,
    The below tables will give only the name .
    USER_ADDRS
    USER_ADDR
    USER_ADDRP
    USR02
    i think you need email address .
    you can use this Tcode : su01d
    and give the user name and excute it
    i hope it will help you.
    Ram
    Edited by: Ram velanati on Jun 30, 2008 6:57 PM

  • How to find out histotry command from other session

    Hi gurus,
    I use RHEL 5.4
    Some user log onto server with root and make change at some files. How can I find out history command from other session with the same user.
    history command is just give me history commands of my own session.
    Thanks
    Ch

    The file which holds the commandline history is .bash_history in the home directory of the user.
    So in the case of root, /root/.bash_history
    Please mind that if you log in as root, or become root your session will add to that file as well.
    Another issue with the history file is that when multiple sessions are logged in, every session writes in its own version of the same file. So the last one "wins", which means that version is the one which is truly stored.
    If files are changed, a find command with the 'mtime' parameter should be helpful.

Maybe you are looking for

  • Safari will not quit when I want to restart.

    This problem repeats itself everytime I want to shut down or restart. I have to use Force Quit in order to restart or shut down. I"m using Safari version 7.0 (9537.71) on Mavericks (10.9). I have removed all Safari extensions and the problem is still

  • How to use BAPI Program for change workcenter in co02?

    Hi  Abapers.        Anybody please tell me how to change the workcenter in CO02 using BAPI Programe.       Please give me sample of this.        I will give urs reward of points. Thanks Regards, S.Muthu.

  • Hot Sycn. in Palm

    I am writing palm application using j2me CLDC midlet. The application requires persistent storage of data, which I use RMS api to handle. However, the application also requires hot sycn. of data between palm and desktop PC. Does j2me CLDC midlet have

  • MacBook Pro Won't Start Up after USB power draw...

    My WD external drive was connected to my MacBook Pro while operating from battery. An onscreen message appeared about drawing power from the USB device and the computer shut down, now it won't restart. The power adapter won't even light up when I att

  • Now i am unable to download any link file or torrent file or any link or any song , it is simply not responding

    before a month i used to download a song or any thing which supports DAP or the regular download by firefox, but now i am unable to download even a torrent file . while attempting it is simply not responding. so that now i am using safari, or some ot