Spoo Id not geting created while submitting a program at the background

Hi All,
I am submitting a Z program from other Zprogram.  I am actually creating a JOB and submitting the Z program.  Please find the code below,
LOOP AT pernr.
  CLEAR p_job.
  p_stim = p_stim + 120.
  CONCATENATE'ITSlip' pernr-low p_job sy-datum INTO p_job SEPARATED BY
space.
  CALL FUNCTION 'JOB_OPEN'
    EXPORTING
      jobname  = p_job
    IMPORTING
      jobcount = l_jobcount.
  SUBMIT zpr022_inncometax_report_copy1
    WITH pnptimr6 = 'X'
    WITH pnpbegda = period-low
    WITH pnpendda = period-high
    WITH pnppernr-low = pernr-low
    WITH pnpabkrs-low = 'IN'
       VIA JOB     p_job
        NUMBER  l_jobcount
       TO SAP-SPOOL WITHOUT SPOOL DYNPRO
           SPOOL PARAMETERS ls_params
           WITH immediately = space
              AND RETURN.
  CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
      jobcount  = l_jobcount
      jobname   = p_job
      strtimmed = 'X'
     PRDMINS = 2.
      sdlstrtdt = p_sdat
      sdlstrttm = p_stim.
ENDLOOP.
Once the FM JOB_OPEN is called, I could see the job getting scheduled in SM37.
But after SUBMIT and JOB_CLOSE, the job is removed from SM37.  But when i go and see in table TBTCP, I could see the job but in the LISTIDENT field i could see 0 which means no spool id is getting created.  I want to know why the spool id is not getting created.  Please give me your valuable information.
thanks in advance,
Balaji

PL change your SUBMIT statement as below..
SUBMIT zpr022_inncometax_report_copy1
WITH pnptimr6 = 'X'
WITH pnpbegda = period-low
WITH pnpendda = period-high
WITH pnppernr-low = pernr-low
WITH pnpabkrs-low = 'IN'
VIA JOB p_job
NUMBER l_jobcount
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS ls_params
immediately = space
keep in spool = 'X'
AND RETURN.
~Suresh

Similar Messages

  • Trying to resolve 'error 45' sparsebundle could not be created while trying to use Time Machine to back-up to an external wireless harddrive

    Hi,
    I have been trying to resolve a repeated 'error 45' (Macbook Pro. sparsebundle could not be created) while trying to set up back-ups to run via Time Machine with an external wireless hard drive (Goflex Home by Seagate). I either get that message or a 'sparsebundle is already in use message. Anyone else come across this?

    neillhowell wrote:
    I've noticed that when Time Machine runs, that a  folder called Data  at /Volumes/ appears while Time Machine is trying to back up. I think it's making the sparsebundle to transfer to the Time Capsule.
    Yes, exactly.  It makes one sparse bundle per Mac.
    It's possible the TC's disk is too full for a new sparse bundle, or there may be some other problem.
    Via the Finder, locate the existing sparse bundle (see the pink box in Time Machine - Frequently Asked Question #17 if you're not sure how to do that).  See how large it is (plus how large anything else that may be there).  If the total is very near the size of the TC, that may be the problem.
    If not, a clue may be lurking in your logs.  Use the widget in #A1 of Time Machine - Troubleshooting to display the backup messages from your logs.  Locate the backup in question (probably the first one displayed), then copy and post all the messages here.

  • Collaboration Area is not being create while 2 envelop RFx Creation by Purchaser

    HI,
    Collaboration Area is not being create while 2 envelop RFx Creation by Purchaser hence Default folders (External Area/Internal Area ) are not appearing :
    Following roles are assigned to Purchaser on ECC System :SAP_CFX_USER, /SAPSRM/ST_PURCHASER
    Following roles are assigned to Purchaser on cfolder System :SAP_CFX_USER
    Following roles are assigned to RFC User on ECC System :
    SAP_CFX_ADMINISTRATOR
    SAP_CFX_COL_CREATOR
    SAP_CFX_COMP_CREATOR
    SAP_CFX_USER
    What could be the other root cause for this bug ?

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

  • Error While Submitting Concurrent Program

    Hi all,
    While submitting Concurrent Program in HRMS to check the Seeded Output,I am getting the following Message
    app-fnd-00314 invalid printer ( not print ) and print style (ZA PS Portrait) combination.
    Could someone please tell me How could I figure it out.
    Thanks & Regards

    914618 wrote:
    Hi all,
    While submitting Concurrent Program in HRMS to check the Seeded Output,I am getting the following Message
    app-fnd-00314 invalid printer ( not print ) and print style (ZA PS Portrait) combination.
    Could someone please tell me How could I figure it out.
    Thanks & RegardsWhat is the type of the concurrent program?
    Are you printing to specific printer or to noprint?
    Please see the solution in these docs.
    Accrual Reconciliation Report Errors With APP-FND-00314 Invalid Printer And Print Style Combination [ID 564009.1]
    Cash/Bank Book Report Error APP-FND-00314: "invalid printer and print style inloc_bacs” [ID 551975.1]
    Quarterly Tax Return Worksheet (Form 941) Fails With APP-FND-00314 [ID 307701.1]
    Thanks,
    Hussein

  • While using a BDC in the background for some documents its hanging.

    Hi All,
    I had used BDC call transaction program and i am scheduling the program in the background. Normally it works fine but for some quotes it hangs and takes a long time. So its not going to other quote. Any solution how to kill the hanged quote and goto next one?

    Well, then you need to determine why (for which orders), the process is hanging. Compare with other orders, do a performance check, etc. There is no way for us to determine what the problem in this particular case is. We just don't have enough information to help you out here.

  • Hi there, i've just updated safari 5.0.6 for my macbook pro (os x 10.5.8), but i've not been able to install any programs from the extension gallery. Appreciate any advice?

    Hi there, i've just updated safari 5.0.6 for my macbook pro (os x 10.5.8), but i've not been able to install any programs from the safari extension gallery. Appreciate any advice?

    but i've not been able to install any programs from the safari extension gallery
    In order to use the Safari Extensions Gallery you need to upgrade to Snow Leopard v10.6
    See system requirements here:  http://www.apple.com/safari/download/
    If you want to upgrade to v10.6, make sure your Mac meet's Snow Leopard's - Technical Specifications
    Purchasing available here >  Mac OS X 10.6 Snow Leopard - Apple Store (U.S.)

  • Do I have to close all background apps (i.e. apps which appear in multitasking) before turning off my iPad? Is it safe to shut it down while having these apps in the background?

    Do I have to close all background apps (i.e. apps which appear in multitasking) before turning off my iPad?
    Is it safe to shut it down while having these apps in the background?
    When you shut down operating systems like MS Windows or Mac OS, they automatically close your active applications before shutting down, is this true for iOS 7?

    stedman1
    lizdance40
    Thanks, I do appreciate your immediate response to my question.
    BUT your answers revealed an explicit controversy about background apps ... close them to save power and performance OR don't bother to close them as they are idle or inactive!
    This dispute is resolved by APPLE in the following link:
    http://support.apple.com/kb/ht5137
    My original question was: Is it necessary to kill background apps before shutting down my ipad to avoid any harm to the apps or the OS?

  • GENPC in ESTOH table not geting updated while creating report.

    Hi Guys,
    I am trying to create a report but once the report is created it is going to generation running status.
    I checked table ESTOH where all the item comes once areport is created. There is a field called GENPC in ESTOH table which logically should get filled with the Generation server automaticallly.
    The issue is that field is not geting updated with server value.
    But if i edit the table and fill the field GENPC with server name , it is then getting prcessed correctly and report is getiing generated.
    My question is why GENPC in table ESTOH  is not getting updated automatically when a report is created.
    Regards,
    Anoop

    Hello Anoop,
    could you please indicate which release you are using (ECC 6.0 with or without activated Enh.PAck 3).
    Are the WWI Work Processes running as scheduled (work processes ?); is the dispatcher running normally ?
    Have you checked transaction CG5Z ? Here you should see immediately which generation server should generate the WWI document.
    Normally it is like you have explained. You generate a report (from g02) and in the background the dispatcher dispatches this to a WWI work process which takes over the further activities. Then the data is collected and passed on to the WWI server. THen the report is build and the WWI document is passed back to SAP R/3. Im an not sure at which point of time the WWI document get the  "unique id" in DMS (what means is the number generated before the WWI is asked to generate something or is it generated if the document has been passed bacK.
    Do you have the problem always with the same generation server? Is this always the same specification and generation variant language combination?
    During the process the normal status net is used. If you check Cg50 you should be able to control the progress of generation.
    The normal status net is like this:
    SW => RR => GP => GS => CO => RE => HI (refer to http://help.sap.com/erp2005_ehp_04/helpdata/en/a7/288aa30a6c11d28a220000e829fbbd/frameset.htm
    Example of a Status Network for Reports )
    If you have the status "generation possible" and nothing is happening any more in most case there is some trouble with SAP => RFC => WWI destination.
    Therefore check in additiion WWI version, RFC connections etc.
    With best regards
    C.B.
    Edited by: Christoph Bergemann on Jul 22, 2010 8:30 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:39 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:45 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:45 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:46 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:46 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:47 PM
    Edited by: Christoph Bergemann on Jul 22, 2010 8:48 PM

  • BP not getting created while creating employee

    Hi,
    When I Hire an employee a BP should be created for it. It used to happen earlier in the system but after we moved to another system this is not working.  Can someone please let me know the necessary config for this?
    I've the following settings:
    HRALX   ONUMB  = 2
    HRALX   OSUBG = MD
    The MD number range is from 90000000 to 9999999999. Should this number range be internal or external?
    When I use the HR_SYNC_PERSON report for an employee I get the error as
    "Determination of connections to object 'BP' of 'CP' '50000201' failed"
    "Object of type 'US' with ID '1122' does not exist or is inconsistent"
    "Determination of connections to object 'BP' of 'O' '50000101' failed" etc
    Also I need to upload the employee master data using LSMW and BP does not get created with LSMW also? Is there some specific config while using LSMW?
    Please help.

    Whenever you are uploading employees using LSMW, you need to run program HR_SYNC_PERSON.
    Pls refer to the following thread for further info:
    Assignment: Business partner for person '50000029' is not unique
    Regards,
    Dilek

  • Got ORA-00933: SQL command not properly ended while submitting BIP Report

    Hi All,
    I have got the subjected error while submitting the XML report concurrent Program in R12.
    I have used lexical parameters in my data template and build the where clause in before report trigger.
    If i commented this lexical parameter thing in Data template and ran the report it was working fine...
    I have enabled the "debug_mode" property in Data template and i could see the query in log but the lexical parameter is coming as '&P_WHERE'. So I couldn't find that from where the error is coming...
    Please help me on this ....
    Regards,
    Kalidoss

    post what do you have for lexical parameters
    plz see
    Re: Lexical Parameters in WHERE clause giving error
    Re: lexical parameter in bi report

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • How do I create a mouseover hotspot that changes the background color?

    I'm creating an image gallery and want to know how to allow the viewer to change the background of the page with a mouseover hotspot.
    How would I go about doing this?
    Thanks in advance for any help.

    I'm not entirely sure I understand your question, but the following CSS technique changes a background image on hover.
    CSS Sprites:
    http://alt-web.com/DEMOS/CSS-Sprites.shtml
    This changes foreground images on hover:
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    And this changes images and opacity on hover:
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Gallery.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Creating a infotype 0014 automatically in the background when 0008 changes

    Hello All-
    We have a wagetype on Infotype 0014 and when we create a record with this wagetype then it is having a balance wagetype in IT0015 so IT0015 with balance wagetype will automatically popup when we create a record in IT0014 and this is because of the the wagetype config.
    When ever IT0008 changes we want to create a new IT0014 with the wagetype in question and a new record in IT0015 also.
    But when I tried this Dynamic actions I can pass parameters to IT0014 and do it in the background, but I can not control IT0015 as this is comming automatically from the wagetype config.
    We are trying to write a custom code to achive this by BDC recording in PA userexit -> PBAS0001 but its not working. Is there any other way or any other user exit to do this??
    Thanks-
    Chakri.

    I've done this type of thing with BAdi definition HRPAD00INFTY (this is a more recent BAdi so you may need to check if it exists in your system) during the IN_UPDATE method.  In this BAdi, I check to see if I need to create a new IT0014 and if I do, I submit an external program which eventually calls the HR_MAINTAIN_MASTERDATA function after a number of complicated calculations - it's quite a few steps but it does work.
    In my case the CATS transfer into infotype 2002 which is run in background will kick off an update on IT0014 in the case of a certain time type being entered.  By keeping it in infotype 2002, it also allows our payroll group to manually add entries there as well and this process will still work.
    Hope this helps.

  • Had an avg problem (still unresolved) now firefox does not come up at all but something in the background is working once I clicked on it - windows XP

    I had/have avg toubble and now firefox will not start. I uploaded a new version but made no difference. If I click on it the time symbol comes up for a few seconds and than nothing. When I restart the computer though a small window comes up alerting me not to end the programm till it scaned it. So I figure after clicking on it something must be running in the background. But no symbol comes up on the dectop or in the application manager.
    Any ideas?
    Regards Franz

    I had/have avg toubble and now firefox will not start. I uploaded a new version but made no difference. If I click on it the time symbol comes up for a few seconds and than nothing. When I restart the computer though a small window comes up alerting me not to end the programm till it scaned it. So I figure after clicking on it something must be running in the background. But no symbol comes up on the dectop or in the application manager.
    Any ideas?
    Regards Franz

  • @XmlRootElement is not getting creating while binding XSD

    I am trying to bind XSD using XJC binding compiler (JAXB RI 2.0). While creating Java classes, it is not adding the annotation @XmlRootElement.
    Because of this I am facing errors "@XmlRootElement missing" while marshalling and unmarshalling the XML documents.
    But I tried the samples available with JAXB, those are working fine, ie creating @XmlRootElement annotations.
    The following is the XSD I am using (I didn't attach the included XSDs, I can provide if necessary). It is creating the java class HotelResRequestType, but without @XmlRootElement.
    I am not sure whether the problem is in XSD or somewhere.
    Earlier reply on this highly appreciated.
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="http://www.opentravel.org/OTA/2003/05" elementFormDefault="qualified" version="2.001" id="OTA2005B" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:include schemaLocation="OTA_HotelCommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_HotelReservation.xsd"/>
         <xs:include schemaLocation="OTA_CommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_AirCommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_SimpleTypes.xsd"/>
         <xs:include schemaLocation="OTA_CommonPrefs.xsd"/>
         <xs:include schemaLocation="OTA_HotelPreferences.xsd"/>
         <xs:include schemaLocation="OTA_Profile.xsd"/>
         <xs:include schemaLocation="OTA_VehicleCommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_AirPreferences.xsd"/>
         <xs:annotation>
              <xs:documentation xml:lang="en">All Schema files </xs:documentation>
         </xs:annotation>
         <xs:element name="OTA_HotelResRQ" type="HotelResRequestType">
              <xs:annotation>
                   <xs:documentation xml:lang="en">Sends a request for a ..... </xs:documentation>
              </xs:annotation>
         </xs:element>
    </xs:schema>
    Thanks,
    Senthil

    Hello Anand,
    POTEXTHEADER-PO_NUMBER
    POTEXTHEADER-PO_ITEM      = 00000
    POTEXTHEADER-TEXT_ID        = 'F01'
    POTEXTHEADER-TEXT_FORM  = '*''
    POTEXTHEADER-TEXT_LINE    = 'YOUR TEXT'
    John.

Maybe you are looking for