Batch Job not Generating Spool No

Hi Experts,
We had a custom program where we are printing multiple invoice in a single go i.e all invoices for a particular sales office are printed in a single spool request. for foreground execution it is running fine. But after creating variant of it on selection screen & submitting the program to Batch job it is not creating spool no when the job is finished what could be the reason.?
Also i would like to tell you that we are asking user to give a invoice no range on the selection screen.
Edited by: priyeshosi on Jan 4, 2012 5:03 PM

Hi priyeshosi ,
       If you use function modules start with GUI_* or  WS_* in your report , then you can't generate the spool.
reason for this, Please check this link,
http://www.sap-img.com/ab004.htm
Regards,
Selva M

Similar Messages

  • Background job not generating spool

    Hi all,
          I am calling a report from another report. The called report will display the final output list.
    Here, the called report will be executed in background.
    here the job is completing but the spool is not generated.

    Hi,
    It seems that the final internal table which has the output data is empty & hence write statements are not executed ( assuming all the write statements are inside a loop).
    Place one write statement outside loop like
    write :/ 'Following is the result :'.
    & check whether spool is generated. If yes, then the problem is of empty internal table.
    You can select the job in SM37 & type JDBG in command prompt to debug a background job.
    Debug & check the issue.
    Best regards,
    Prashant

  • How to schedule a batch job to generate security audit log (SM20)

    May be this is a repeat question for this forum. Apologize, if it is. Is there a way to schedule a batch job to generate security audit log (SM20) automatically and possibly send a message to SAP Inbox or generate a spool request? Release is 4.6C.
    Regards
    Nirmal

    > May be this is a repeat question for this forum. Apologize, if it is.
    You don't need to apologize. You only need to do a very simple search...
    > Total Questions:  18 (16 unresolved) 
    Perhaps 16 of those 18 questions you have not followed up on could have been spared as well?
    Please do the needfull.
    Cheers,
    Julius

  • Batch session not generated in FF67

    Dear All
    I have entered some  transactions in FF67 and then saved it and posted it. My processing type is 2. I have defined the posting keys for BRS and also assigned the GL account. However the system has not generated a batch input session in SM35. In the over view of the statement, system is showing an entry for IN51 as GL posted and IN01 as Not to be Posted . What could be the error?
    Regards
    Sanil Bhandari

    Hi
    With the same  config and figures, the batch session is generated and posted in testing. But in prod envior i am not able to generate the session. More ever, there is no statement with the id in FEBA
    Regards
    Sanil Bhandari

  • Not Generating Spool for my user id

    Initially when i run the transaction CO02 and printing the production order, spool was generating properly. so in next day due to some issues i changed the print program or adobe form then spool was not generating to my user id only, if i print with any other user id i am able to see the spool , so what is the problem for my user id, could any one help in this scenario.

    Hi,
    Adding to Ashwin's point there can be another possibility, go to tcode SU3 and in Defeaults tab check and compare the Spool control Section between your login and the other user login.
    Check if the check box 'Output immediatly' is selected or not.

  • Dynamics AX 2009 MP - Batch Job Not Discovered

    Looking for ideas to resolve issue where Batch Jobs are not discovered and viewable in OpsConsole.
    Confirmed the RunAsAccount is a member of local Administrators group on each DAX node and read access on the DynamicsAX database.  Also enabled monitors for Batch Tasks and Users and waited a day for discovery to run at 12am. Do not see any objects under
    Batch Job/Tasks/Users State Views. Application Object Server state is monitored but state of Application Object Server Computers is not monitored.
    Around the time I enabled Batch Job monitoring, events 4502, 1103 and 31400 began.
    I do not understand the MP reference: "Batch jobs are displayed only when the user who created the job is currently connected to an AOS instance."
    Any help or ideas would be greatly appreciated, thanks.
    A module of type "Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.GroupCalculationModule" reported an exception Microsoft.EnterpriseManagement.Common.DataAccessLayerException: Invalid property name: IsDynamicsInstalledAttribute_D07CDD43_9CEF_478E_B319_44D7528A2843
       at Microsoft.EnterpriseManagement.DataAccessLayer.ParameterizedCriteriaBuilder.GetColumnDefinitionForProperty(String propertyName, QueryDefinition queryDefinition, IList`1 projectedColumnDefinitions)
       at Microsoft.EnterpriseManagement.DataAccessLayer.ParameterizedCriteriaBuilder.ResolveColumnForProperty(ICriteriaContext criteriaContext, XmlReader criteriaReader, Nullable`1 typeContextId, IList`1 projectedColumnDefinitions)
       at Microsoft.EnterpriseManagement.DataAccessLayer.ParameterizedCriteriaBuilder.ParsePredicateWithProperty(ICriteriaContext criteriaContext, Nullable`1 typeContextId, XmlReader criteriaReader)
       at Microsoft.EnterpriseManagement.DataAccessLayer.ParameterizedCriteriaBuilder.ParsePredicate(ICriteriaContext criteriaContext, Nullable`1 typeContextId, XmlReader criteriaReader)
       at Microsoft.EnterpriseManagement.DataAccessLayer.ParameterizedCriteriaBuilder.ParseCriteria(ICriteriaContext criteriaContext, Nullable`1 managedTypeIdContext, XmlReader criteriaReader)
       at Microsoft.EnterpriseManagement.DataAccessLayer.SqlCommandBuilder.CreateWhereClauseFromCriteria(ICriteriaContext criteriaResolver, String criteriaXml, IList`1 internalColumnDefinitions)
       at Microsoft.EnterpriseManagement.DataAccessLayer.SqlCommandBuilder.CreateCriteria(ICriteriaContext criteriaResolver, String criteriaXml, Dictionary`2 parameterValues, IList`1 conditionalRequiredParams, IList`1 internalColumnDefinitions)
       at Microsoft.EnterpriseManagement.DataAccessLayer.QueryRequest.CreateSqlCommandForSelectType()
       at Microsoft.EnterpriseManagement.DataAccessLayer.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.QueryGenerator.ExecuteSnapshotQuery(MembershipRule membershipRule, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.ExpressionEvaluatorForSnapshot.EligibleBySnapshotResults(MembershipRule membershipRule, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.ExpressionEvaluatorForSnapshot.GetRelationshipChangesForSnapshot(MembershipRule membershipRule, Guid groupInstanceId, Guid groupTypeId, Guid relationshipId, IList`1 groupKeyNameValuePairs,
    DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipRuleEvaluator.EvaluateSnapshot(MembershipSubscription subscription, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipRuleEvaluator.EvaluateDifference(MembershipSubscription membershipSubscription, List`1 membershipChanges, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipRuleEvaluator.EvaluateDifference(MembershipSubscription subscription, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipCalculationManager.SnapshotCalculation(MembershipSubscription membershipSubscription, DatabaseConnection databaseConnection) which was running as part of rule "Microsoft.Dynamics.AX.Management.Pack.DynamicsServer.Group.DiscoveryRule"
    running for instance "Microsoft Dynamics AX 2009 Computers Group" with id:"{B20E0F37-C8D3-AFCC-E21E-473B019FD826}" in management group "PRESTOPROD".

    HI,
    It seems a known issue with Dynamics AX 2009 MP. Sorry for the inconvenience.
    http://blogs.technet.com/b/operationsmgr/archive/2009/06/23/known-issues-with-the-microsoft-dynamics-ax-2009-management-pack-for-systems-center-operations-manager-2007.aspx
    Niki Han
    TechNet Community Support

  • MRP batch job not creating planned orders

    Hi Experts,
    Can anyone help with suggestions of where/what to look at with this situation. My MRP background (batch) job is not creating planned orders for materials in certain MRP planning areas as expected, but will create planned orders in other MRP planning areas.   Running MD01 or MD03 creates planned orders for materials in all MRP planning areas of the plant as expected.

    Ben,
    Any time you get a difference between interactive MRP and batch MRP, first look to the planning file.
    Start out by finding some of the discrepant parts (no planned orders are being created) Review for the presence of a planning file entry in MD21. If an entry does not exist, create one in MD20.  If an entry does exist in MD21, but there is nothing in the NETCH/ NETPL/reset ord/reexpl bom cols, then this means no relevant changes have taken place, and NETCH MRP will ignore the parts. You can optionally reset these flags in MD21.
    If you discover that you have one material for which there is nothing in MD21 (no record at all), then you probably have others as well. Run MDAB in Background, which will mass create all the missing entries. Also a good idea to run MDRE in case something has been corrupted.
    Here is [OSS note 205681|https://service.sap.com/sap/support/notes/205681] which explains a bit about the planning file.  Also, See  [OSS 371016|https://service.sap.com/sap/support/notes/371016] which describes a similar problem.
    Rgds,
    DB49

  • Batch job not creating purchase requisitions

    I have a batch job that runs every day at 5 pm.  The point of this job is to run the MRP and create purchase requisitions for materials that have more demand than current supply.
    Programs ran within the jobu2026
    RWPOB001
    RVV50R10C
    RMMRP000
    My problem...
    Purchase Requisitions are not being created for random materials after the batch job has been ran.  When the MRP is run by itself (MD01), ALL materials will have purchase requisitions created for them without fail.  There is no order to it, and no one has kept track of any material numbers that have not had purchase requisitions created, so I cannot check the configuration.
    How I would like to investigateu2026
    1 u2013 Obtain a list of ALL purchase requisitions created in the timeframe AFTER the batch job has been ran
    2 u2013 Export this list into Excel
    3 u2013 Run the MRP manually to create purchase requisitions for ALL materials
    4 u2013 Obtain new list of ALL purchase requisitions created in the timeframe AFTER the MRP was manually ran
    5 u2013 Export this list into Excel
    6 u2013 Compare both lists; remove duplicates, display materials and requisitions that were created AFTER the batch job missed them.
    How would I go about getting a full list of purchase requisitions that have been created within the time frame the batch job has been ran, then export them into excel?  I understand that ME5A is the standard transaction for displaying lists of purchase requisitions, but how would I go about pulling all purchase reqs CREATED within a certain time period?
    Please, include specific SAP transactions and details in your answers.
    Also, if anyone has any good advice regarding how to get to the bottom of this specific issue, Iu2019m open to suggestions.  All good suggestions will be rewarded promptly.

    Cameron Lawrence Dunbar wrote:
    >
    > You mention that RMMRP000 should be ran before requirements planning.  Is it possible that our positioning of the program at the end of the job is causing these issues?  Or is it most likely the varient/parameters of one of these programs?
    >
    > Also, how can I display a list of purchase requisitions CREATED over a certain period of time?
    No, I did not say that RMMRP000 should be ran before requirements planning. I said it is the requirments planning. So you just run it twice if you execute it with MD01 again after this job.
    Running it twice should not end in different results if it is run with the same paramters (selection variants)
    As you are saying you get different results, I think you are running it actually with different entries in the selection screen.
    So you need to compare both selection screens. MD01 is obvious as you see it directly.
    Compare it with the selection variant of the batch job, that you can display  via the menu after you displayed the job in SM35
    ME5A transaction can give you a list of requisitions. alternative you can just use SE16 at table EBAN.
    Edited by: Jürgen L. on Apr 25, 2011 9:08 PM

  • Batch tables not generating the Int. object no.

    HI
    In Batch related tables the Internal object number is not generating.
    Waht could be the reasons
    -ashok

    issue closed as it isnot yet answered

  • Job not producing Spool

    Hi All,
    I created a new job in SM36. When I am running that job it's not producing spool.
    How can I produce spool for a particular job?
    Thanks,
    AB

    Any ideas will really appreciated.....

  • Wrapper program when run in background not generating SPOOL

    I have created Program A which calls internally Program B or C based on the condition. When I run the program B or C independently in Background it generates the spool on completion. But When I run the program A in Background, Spool is not getting generated.
    My requirement is that Spool should be generated when Program A is executed in Background.
    Below is the code of program A:
    PROGRAM A.
        IF p_cons = 'X'.
    *-->Detailed Details of Interim or Final Settlement
          SUBMIT B               WITH  p_vtnr   EQ p_vtnr
                                 WITH  p_setqty EQ p_setqty
                                 WITH  p_test   EQ p_test
                                 WITH  s_abrdat IN s_abrdat
                                 WITH  r2       EQ r2
                                 WITH  r1       EQ r1
                                 AND RETURN.
        ELSE.
    *-->Summary Details of Interim or Final Settlement
          SUBMIT C                   WITH  p_vtnr   EQ p_vtnr
                                     WITH  p_setqty EQ p_setqty
                                     WITH  p_test   EQ p_test
                                     WITH  s_abrdat IN s_abrdat
                                     WITH  r2       EQ r2
                                     WITH  r1       EQ r1
                                     AND RETURN.
        ENDIF.
    Please guide me on this.
    Regards,
    Naveen

    Hi Naveen,
    Check this
    Submit report to job
    submit ztest via job l_jobname
                                   number l_jobcount
                                  to sap-spool without spool dynpro
                                 spool parameters ls_params
                              and return.

  • Afer background job finished, spool was not generated

    hi all
    Afer background job finished, spool was not generated but all background jobs is not
    soem background jobs was created spool.
    even if same user and same backgorund job, sometime generated spool or not.
    how can I solve??
    thanks

    Hi,
    Spool will be generated only spool specification wil be defined for that job.
    Select the job go to steps spool specification you can see the device assigned to it.
    Regards
    Ashok

  • Email Address not visible for output device MAIL in created batch job

    Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
    User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
    Detail in the batch job
    1) In print parameter screen of the step in the batch job
       -Using output device MAIL (output type ZPDF1)
       -inputting email address of receiver in the EMAIL ADDRESS field
    2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
    4) User receives email with pdf file from the batch job.
    How to change/display the email address of the receiver in the created batch job?
    Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
    Email Address Field via Tx. SM37.
    Pls kindly suggest, thank you very much in advance.

    Hi Srirompoti,
    After saving the job if the job has not started then you can follow the below steps to change the Email address.
    1. View the job from Txn SM37.
    2. check the check box for your job that you want to change and goto menu path "Job->change
    3. in the next screen goto "Edit->steps." or press "F6" key
    4. place the coursor on the job and goto menu path "Step->change->print specifications.
    5. here you can change the email address.
    If you are not able change the data then you might not have authorization.

  • Spool request not generated in smartforms printing

    Hii all,
            I have smartform, which was printing properly in QA server and few days back when i tried to get print from Production Server, it is not generating spool request. and in QA also it is not having same as on date.
    is there anythng to check from ABAP side or there is a problem of Basis.?
    kindly give soln for points .
    - Maharshi

    hi Maharshi,
    Gimme some what clear picture abt ur problem.
    What exactly the problem in QA server.
    I mean when it is working properly and when it is not?
    and what Function Modules u have used ..?
    and i wanna know is there any other print forms are working or not. if the other are working, it is not BASIS problem.
    Regards,
    Naveen

  • How to find out batch job failure and taking action:

    Normally We will monitor the batch jobs  through transaction code sm37 for job monitoring. In SM37 we will give a batch job name date and time  as  input. In the first step we will check the batch job for the reason failure or check the spool request for the batch job for failures an help in analyzing the error
    I understand from the my experience is that the batch may fail due to below reasons.
    1.,Data issues :             ex: Invalid character in quantity (Meins) field  >>>> We will correct the corresponding document with correct value or we will manually run or request the team to rerun the batch job by excluding  the problematic documents from the batch job variant  so that it may process other documents.
    2.Configuration issues : Materials XXXX is not extended for Plant >>>> we will contact the material master team or business to correct the data or we will raise sub contract call with support team to correct he data. Once the data been corrected and will request the team to rerun the batch job.
    3.Performance issues : Volume of the data being processed  by the batch job ,network problems.>>>Normally these kind of issues we will encounter during the month end process as there will lot of accounting transactions or documents being posted business hence it may cause the batch job failure as there is enough memory to complete the program or select queries in the program will timeout because of volume of the records.
    4.Network issues. : Temporary connectivity issues in other partner systems :Outage in other partner systems like APO or other system like GTS  will cause the batch job failure as Batch job not in position to connect other system to get the inforamtion and proceed for further steps.Nornmally we will check RFC destination status by running a custom program  weather connectivity between system are in progress or not. then intimate other partner system  for the further actions, Once the partner system comes online then we will intimate the team to restart or manually submit batch job.
    Some times we will create a manual job by transaction code SM36.

    I'm not sure what the question is among all that but if you want to check on jobs that are viewable via SM37 and started via SM36. The tables are TBTCP -Background Job Step Overview and TBTCO - Job Status Overview Table.
    You can use the following FM to get job details:
    GET_JOB_RUNTIME_INFO - Reading Background Job Runtime Data

Maybe you are looking for

  • How to get email and sms alerts in 9i

    Hi, I want to know that is there any method in 9i by which we may get mail and sms alerts whenever anything goes wrong with the database? Thanx

  • Would like the take a look at the innards of PDF files

    I just armed myself with sufficient audacity to start looking at the contents of PDF files, using PDFSpy, CosEdit, and -most interestingly- good old 'vi'. There are (at least) two factors that prevent clear text readability. (1) What is the deal with

  • AutoFill from the Google toolbar has stopped working

    Installed Firefox 4.0 and the AutoFill function from the Google toolbar has stopped working. I receive the following message on everypage I try to use autofill on 'Autofill not available for this page'

  • HT5035 Can you select whether to use a gift card or your credit card when purchasing

    I have iTunes gift cards but don't always want to redeem them. Sometimes I want to use my credit card.  Do you have to automatically redeem the gift cards or can you select credit even if your gift card has a balance?

  • Help - RunTime Computation

    Hi, I got 2 field (FIELD1, FIELD2) on the same form. I want that every time I enter number value on FIELD1 it would add (total) on whatever value that FIELD2 have (runtime if possible). The FIELD1 is an item (not reference to any table column) and FI