Same spool number for same job on mutilple days

Hi all,
We have daily Batch job which runs at 9:00 PM for a 1 variant and with 2 variant after first job is done.
On 11/05 we have got one spool number 845411 for the spool  and on the 11/09 for the same job we got the same spool number for 2 jobs , and the data is also showing as 11/05 only and the spool creation date is showing as 11/05 and modified on 11/10...
This is happening for only 1  batch job, we have checked the other  jobs all are fine with different spool #, we have checked spool number range and every thing is fine.
Please suggest   what can be the reason for this scenario...
Thanks,
Subhash.G

Hi Subhash,
Check the print parametes of the job, can be seen under steps --> double click on program --> print properties. There we have option to select new spool number.
So every time the job runs it will have a new spool number. Hope this helps.
Regards
Sushant

Similar Messages

  • Getting only one spool number for every print out

    hi guys,
    when i execute my customize program i suppose to get a form in my screen, showing customer statement, when I exicute customer A out put as expected with 5 pages but after that if i exicute customer B which is supposed to be 3 pages but I am getting 8 pages which is including first out put also, its repeating same spool number for every thing and keep on adding every page , please let me know where to see for this ?? 
    for spool request    RS38L_FNAM
    and to display         'COM_SE_SPOOL_DISPLAY'

    Change ur table declaration as shown below, replace the word <b>TYPE</b> with <b>LIKE</b>
    DATA: BEGIN OF i_final OCCURS 0,
    srno TYPE i, " Serial no
    anln1 LIKE anla-anln1, " asset code no
    txt50 LIKE anla-txt50, " Brief Description of Assets
    txa50 LIKE anla-txa50, " Further Description
    ktogr LIKE anla-ktogr, " Asset Class No.
    ktgrtx LIKE t095t-ktgrtx, " Asset Class Name
    sernr LIKE anla-sernr, " Serial Number
    invnr LIKE anla-invnr, " Assets Identification No
    menge LIKE anla-menge, " Qty
    meins LIKE anla-meins, " UOM
    raumn LIKE anlz-raumn, " Location
    lifnr LIKE anla-lifnr, " Vendor
    liefe LIKE anla-liefe, " Capitalisation Date
    aktiv LIKE anla-aktiv, " Date put to use
    g_kansw LIKE anlc-kansw, " Opening Gross Block
    b_kansw LIKE anlc-kansw, " Additions during the period
    b_answl LIKE anlc-answl," Deductions/ Adjustmentsduring d period
    g_total LIKE bsis-dmbtr, " Closing Gross Block
    d_open LIKE anlb-afabg, " Dep on opening block
    d_sold LIKE anlb-afabg, " Dep on assets sold/written off
    d_add LIKE anlb-afabg, " dep on additions during the period
    afabg LIKE anlb-afabg, " Total dep for the period
    cd_sold LIKE bsis-dmbtr, " *** Dep on assets sold
    cd_asst LIKE bsis-dmbtr, " *** Dep on assets written off
    cd_dep LIKE bsis-dmbtr, " Total *** dep on deductions
    ccd_dep LIKE bsis-dmbtr, " Closing Acc Dep
    a LIKE bsis-dmbtr, " WDV of assets sold
    b LIKE bsis-dmbtr, " Selling Price
    c LIKE bsis-dmbtr, " Profit / (Loss) on sale
    d LIKE bsis-dmbtr, " Loss on write off
    e LIKE bsis-dmbtr, " Opening WDV
    f LIKE bsis-dmbtr, " Closing WDV
    END OF i_final.

  • How to execute a same sequence number for the resulting dynamic rows

    Hi friends,
    I have a sequence and trigger(which will fire id for each and every row insert).
    My scenario is, If i update more than 5 rows at a time means, i need to set a same sequence number example(1) for all the 5 rows.
    Next time, if i update another 5 rows means, then i need to set a same sequence number (i.e) 2 for the next 5 rows.
    So, my updation will be dynamic(may be 2 ,5, 10 rows at a time), But i need to set a same sequence number for one of the column for all the rows that i update.
    Next time, if i update another set of rows means, then i need to set only the next sequence number(i.e) 2(assume that previously updated sequence for the before set of rows is 1) for another set of rows.
    Like that sequence has to update in a sequential manner for more than one set of rows in that column.
    How to achieve it friends.
    example
    id-----------------name
    1-------------------A
    1-------------------B
    1-------------------C
    1-------------------D
    1-------------------E
    2-------------------D
    2-------------------E
    2-------------------F
    2-------------------G
    3-------------------H
    3-------------------IBrgds,
    Mini

    Hi,
    You forgot to mention your version.
    If you want a trigger based solution, then in 10g you need two triggers
    1. A statement level trigger that takes sequence.nextval into a dummy variable that will not be used.
    2. A for each row trigger that uses sequence.currval.
    In 11g you should be able to write a single, composite trigger.
    If you want a solution with no triggers, it could look something like
    SQL> create sequence s start with 10;
    Sequence created.
    SQL>
    SQL> create or replace function s_wrapped
      2  return number
      3  as
      4     v number;
      5  begin
      6     select s.nextval
      7     into v
      8     from dual;
      9
    10     return v;
    11  end s_wrapped;
    12  /
    Function created.
    SQL> create table tab1 as (Select level x, cast(null as number) y from dual connect by level <= 5);
    Table created.
    SQL> update tab1
      2    set y = (select s_wrapped from dual)
      3   where x <= 3;
    3 rows updated.
    SQL> commit
      2  /
    Commit complete.
    SQL> select *from tab1
      2  /
           X          Y
           1         10
           2         10
           3         10
           4
           5
    SQL>Regards
    Peter

  • I will be upgrading from Windows XP, service pack 3, to Windows 7 Ultimate. Will I be able to use the same serial number for CS5 I am currently using on Windows XP on Windows 7 Ultimate? THANKS

    I will be upgrading from Windows XP, service pack 3, to Windows 7 Ultimate. Will I be able to use the same serial number for CS5 I am currently using on Windows XP on Windows 7 Ultimate? THANKS

    You should be able to. Just deactivate your copy of CS5 on your old computer. Open one of the applications and choose Help > Deactivate.
    Use your original install discs or a backup of your install file to install on the new computer. Or download here:
    Other downloads

  • Create spool number for sap script

    how to create a spool number for a SAP script. What is the program name which we should modify to write the code logic for spool creation for the tcode ME9F ?

    Hi,
    Spool Request in Transaction SP01 and there by generated a Spool Request Number.
    Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
    The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
    Output request: From the point of view of the SAP spool system, an output request outputs the print data of a spool request to a particular output device.
    Multiple output requests may exist for a single spool request. Each represents an instance of the output of the same spool request. Each of these output requests may have different attributes, such as the target printer or number of copies.
    By differentiating between spool request and output requests, the spool system provides a means of storing the data temporarily.
    You will get the spool no. in the parameter JOB_OUTPUT_INFO after calling the smartform function module in print program. The spool ids of the prints is stored in table JOB_OUTPUT_INFO-SPOOLIDS.
    Also if this spool is being generated internal to your program, then SY-SPONO should have the value.
    You need to create an Adobe Form Application, get the data from the backend based on Spool request number.
    You can create an application in Webdynpro, wherein when you click on a button and the Adobe Form is displayed with all the data from the backend and you should be able to print it.
    Does that answer your question ?
    Cheers,
    PANKAJ

  • How  to  crate a spool number for the abap program

    hi
    how  to  create a spool number for the abap program

    Hi,
    Check this thread
    how to create a spool requset for 'z program'.
    Regards,
    Satish

  • Get spool number for delivery output.

    Hi,
    Is it possible to get the spool number for a print output type generated for a delivery? I use the Tcode VL02N to view the output types generated for a delivery. I want to use this spool number to generate a PDF file.

    Hi,
    The below mentioned link shows how to get the Spool Request Number for the Output type and convert it to PDF and download. It uses mainly NAST and CMFP table.
    Link: http://wiki.sdn.sap.com/wiki/display/ABAP/GettingSpoolRequestNumberfortheOutput+type

  • Get Spool number for Smartform

    Hi All,
    I have created a smartform to print the POs created through ME21n. I have changed the config to use this smartform when a PO is changed/created. Everything is working fine. All I need is the spool number for each of the PO this is being printed. Can you please let me know how I can achieve this through the FM for smartform?
    I AM USING 4.6C.
    This is how I am using the function module
      CALL FUNCTION FM_NAME
           EXPORTING
                CONTROL_PARAMETERS = CONTROL
                OUTPUT_OPTIONS     = OUTPUT
                USER_SETTINGS      = ' '
                EKKO               = L_DOC-XEKKO
                PEKKO              = L_DOC-XPEKKO
                DRUVO              = L_DRUVO
           IMPORTING
                JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
           TABLES
                EKPO               = L_DOC-XEKPO
                PEKPO              = L_DOC-XPEKPO
                XAEND              = IT_XAEND
           EXCEPTIONS
                FORMATTING_ERROR   = 1
                INTERNAL_ERROR     = 2
                SEND_ERROR         = 3
                USER_CANCELED      = 4
                OTHERS             = 5.
    All your inputs are greatly appreciated.
    Thanks!
    Sandeep

    Hi,
    JOB_OUTPUT_OPTIONS is of type SSFCRESOP, which does not have a SPOOLIDS field/table.
    I knwo that the function module SSF_CLOSE returns the spool id in a table. But, I am not sure how to use SSF_OPEN and SSF_CLOSE. Can you please throw some light on how I can use these to get the spool numbers?
    This is what I have right now.
      JOB_OUTPUT_OPTIONS-TDDEST = ITCPO-TDDEST.
      JOB_OUTPUT_OPTIONS-TDNEWID = 'X'.
      L_FORMNAME = TNAPR-FONAM.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                 FORMNAME           = TNAPR-SFORM
                FORMNAME           = L_FORMNAME
           IMPORTING
                FM_NAME            = FM_NAME
           EXCEPTIONS
                NO_FORM            = 1
                NO_FUNCTION_MODULE = 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.
      CALL FUNCTION FM_NAME
           EXPORTING
                CONTROL_PARAMETERS = CONTROL
                OUTPUT_OPTIONS     = OUTPUT
                USER_SETTINGS      = ' '
                EKKO               = L_DOC-XEKKO
                PEKKO              = L_DOC-XPEKKO
                DRUVO              = L_DRUVO
           IMPORTING
                JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
           TABLES
                EKPO               = L_DOC-XEKPO
                PEKPO              = L_DOC-XPEKPO
                XAEND              = IT_XAEND
           EXCEPTIONS
                FORMATTING_ERROR   = 1
                INTERNAL_ERROR     = 2
                SEND_ERROR         = 3
                USER_CANCELED      = 4
                OTHERS             = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        SELECT RQIDENT RQOWNER RQCRETIME FROM TSP01 INTO TABLE IT_TSP01
        WHERE RQOWNER = SY-UNAME.
        IF SY-SUBRC = 0.
          SORT IT_TSP01 BY RQCRETIME DESCENDING.
          READ TABLE IT_TSP01 INDEX 1.
          SPOOLID = IT_TSP01-RQIDENT.
          PERFORM PROTOCOL_UPDATE USING '320' SPOOLID SPACE SPACE SPACE.
        ENDIF.
      ENDIF.
    The SELECT part is wrong, I need to replace this code to get the correct spool numbers.
    Thanks in advance.
    Sandeep

  • How to find Spool number for a 2 steps background job.

    Hi All,
    How to find spool number (and also the background job name ) for a 2 steps background job.
    in the table TBTCO i can see step numbers but i dont get the spool number. Is there any link between TBTCO and TSP01.
    Also after getting the spool number i need to drill down on ALV report. I hard coded the spool number and was able to drill down using BDC and call transaction but when i press back button it is not returning to the ALV report.
    Thanks,
    Shiva.

    Which one creates the spool? (first one I guess)
    What kind of spool? (WRITE, sapscript, smartform, pdf...)
    Do you use special statements like NEW-PAGE, or other things?
    Are you sure that the spools are generated by these jobs? (did you compare the spool generation times and job run dates to be sure...)

  • Can I use the same serial number for mac and pc?

    My problem is that my mac is falling apart and I don't know how long it's still working - can be hours or can be months. I'm not sure if my next computer is mac or PC, so I'd like to know if the same serial number can be used with both mac and PC? I have understod that I can delete the program from my old computer and then use the same serial number in my next computer (Is it working that way?). So if I now buy a lisence for mac, can I use the same lisence later with PC?

    Riisar for retail copies of the software you would need to complete the process detailed in Order an Adobe product platform swap or language swap.

  • Can I use the same serial number for windows and mac?

    Hi
    I brought the Adobe Creative Suite 6 DesignandWeb Premium for windows and have been using fine on my PC. I now want to by a MAC laptop - can I use the same serial number and just go online for the MAC version download?

    Swap Windows <-> Mac http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l

  • Can I use the same trip number for several travelers?

    Hi everybody.
    This is my question... We need (in travel expenses) to use any field in order to group (add) several trips made for several travelers (in same dates).
    Expl: several travelers made the same trip (with different receipts and costs). We need to create a "supra-level" group (which could help our user to summarize, authorize, etc).
    I have made some tests changing the trip number assignment (in trip schema) to external one. The system seems not to have any problem if I assign the same trip number to several travelers (please, could you tell me if this is correct?).
    I´m not sure this could be the best solution, because I have one question... If I have travel request and travel expenses... can I assign external range numbers to the travel request? (how can I do it?).
    Please, could you tell me something about this? (if this is not correct, could you tell me if it´s possible to create a new field to do this?)
    Thanks!!!!!!

    Hi,
    As mentionned in an earlier response, you cannot assign the same trip number to multiple employees.
    If you are looking to group together similar claims based on the type of travel which was done, you can always use any of the following fields which can be made 'available' on the entry screen.  That is the 'Activity Type' or the 'Trip Type Specific' or the 'Trip Type Enterprise'.  By creating categories of types of travel, you can then use these values as selection parameters in your reports to isolate specific costs related to specific activities.
    For example, you know that many employees will be traveling for a specific conference and you want to be able to report on the total cost of that conference, you could create an Activity Type and ask employees to complete the field with the appropriate value when completing the claim.  Then you could create a report on that Activity Type only.
    Another option would be to use Internal Orders.  Create an internal order, have the employees assign their costs to the IO and then run a CO - IO report.
    Depending on how 'permanent' your employee groupings are, you could also use some fields on Infotype 17 to assign different employees to different employee groupings.  These employee grouping values are also available as selection parameters in the reports and can allow you to isolate groupings of individuals. 
    It all depends where you want to create the grouping....
    Hope this helps you somewhat...
    Regards,
    Roxanne Dore
    Travel & FI Consultant

  • Same invoice number for two delivery documents

    Dear Folks,
    We are having the following business flow:
    Contract- S.O.- Del- PGI- PI- Excise Invoice- Commercial Invoice
    Now The system is generating the same commercial invoice number for two delivery documents.
    1.The two deliveries have 40 and 50 MT of materials respectively.
    2. The proforma invoices are separate for both and have quantity 40 an 50 MT respectively. Excise Invoice is also diffrent and of right quantity for both of deliveries.
    3. In one of the delivery (40 MT) it is showing aditionally "Confirmation of service" in document flow.
    4. But while doing commercial invoice the system created a single invoice with quanitity 50 MT ONLY.
    5. In the document flow of both deliveries it is showing the same invoice number.
    Please advice.
    Thanks in advance.
    Raghu

    Hi Raghu
    In standard settings,system always tries to combine the deliveries into one invoice if they have same Payer, Billing data, Destination country,Payment Term and same Incoterm.
    This is controlled by the routine "001" in the copy control table "Delivery to Billing" (t.code VTFL).
    Possibly, in your case, the above criterias are same and routine is "001" in the copy control table.
    If you want separate invoice for each delivery, then in the copy control table (t.code VTFL), go to item level and in the field VBRK/VBRP field put routine "003" and save it.
    Now, system will create separate invoice for each delivery even if the above criterias are same.

  • Same batch number for different order materials

    Hi, pls advise can we assign same batch no's for different production order finished products?

    Yadav,
    Yes, it is possible to assign the same batch number to different production orders in the Order Goods Reciept tab.  If you are not maintaining any batch in this field then you can manually create a batch in MSC1N and use the same when making GR using MB31 or MIGO.
    Regards,
    Prasobh

  • Creation of same personnel number for different company codes

    Hi All,
    I am having the requirement to cerate same personnel number under different compant codes.
    Eg. There are 2 company codes MO10 and MO20 for the same country
    Personnel number- 0100000023 should exist for both company code MO10 and MO20.
    Please help.
    regards,
    Gaurav

    Dear Roger,
    Thanks for replying, I have been waiting for this. We are a group  of copmanies with the name of orient and have  four different  companies and currently  using one payroll area Z1 for payroll processing for  OEL; company code 1000. we have these company codes 2000, 3000 and 4000 for rest three companies and want to use same payroll area Z1 for processing payroll of these three companies. is that possible to do in SAP HCM if yes then how?
    Can you please guide on this? Look forward for your response.
    Stay Blessed,
    Waqar

Maybe you are looking for

  • When I click on browse to add a picture in an email in hotmail, it does nothing?

    since downloading firefox/mozilla I cannot attach a picture in an email. I click on browse to pick the photo and nothing happens. == This happened == Every time Firefox opened == I switched from IE over to firefox

  • EJB-Archive for getting Data from the DB

    Hello, I want to get data from the Database. I created a EJB-Project with an Entity Bean and a Session Bean. The jar-Archive that I generated is corrupt. Is that normal? Can you provide me with information on database acces? In ABAP it would be a pie

  • Mac pro delay again ?

    its been more than one month since i ordered  a customise mac pro and my dealer told me there will be delay in orders does any one facing the same ?

  • Anyone have a link to download 7.6?

    I really am getting tired with all of the network connection issues with 7.7. Ever since I installed it, it's been nothing but one problem after another. If anyone could please post a link for itunes 7.6, it would be greatly appreciated.

  • Smart Collection not letting me click Save

    Hello, I have no smart collections or regular collections created. I am trying to create a smart collection containing all the photographs with the keyword Goofy in them. 1. I click "Create new smart collection" 2. Look in: 'my photos' folder 3. Crit