Regarding the output of background job in spool

Hi Friends:
     I have a report.When I run it in foreground, it displays an alv output.
I want to see the output when I run it in background. When I select the job & press on spool, it shows a message that no list available. Please help with the settings to see the output in spool.
Suitable points will be rewarded.
Regards:
Gaurav

Hi,
have a look at this thread:
Re: OO ALV in background job
Best regards.

Similar Messages

  • 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

  • What is the difference between background job and foreground job

    Hi Experts,
    Could you pls tell me
    What is the difference between background job and foreground job
    and where exactly used background jobs...
    Thanks

    Hello,
    Background jobs - without user interaction, scheduled via SM37.
    Foreground jobs - with user interaction (transactions).
    For more information, please read these: [http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbda449911d1949c0000e8353423/frameset.htm], [http://help.sap.com/saphelp_nw04/helpdata/en/73/69ef5755bb11d189680000e829fbbd/frameset.htm] and [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20cb0b44-8f0b-2a10-2381-ca8162bcb5b2].
    Regards,

  • Background Job Processing Spool Retention period

    Hi ,
    In my program i am calling another ABAP program and sumitting the same as a background job(using Job_Submit,Close etc.)
    In this case i can view the Spool generated by the called program(using sm37).
    But this spool exists for a very less period in the system.Is it possible to specify a retention period,as 90 days in my case.?
    Pls Help !!!
    Answers will be rewarded.
    Regards,
    Rohan

    hi Roahn,
    You must set print parameters before the printing process starts.
    When printing lists after creating them, the system uses the print format specified in the print parameters to split the completed list and fit it onto the print pages, truncating it if necessary.
    When printing lists while creating them, the system uses the print format to actually format the list in the program.
    Print parameters are set either interactively by the user or from within the program.
    For each print process, the spool system needs a complete and consistent set of print parameters. In ABAP, the structure PRI_PARAMS (ABAP Dictionary) represent a set of print parameters.
    When passing the print parameters interactively, the system displays a dialog box after starting the report, on which the user has to enter the most important print parameters.
    It's shown below which input field of the Print List Output dialog window conform to which PRI_PARAMS component.
    Input field----
    Retention period
    Component-------PEXPI
    Meaning----
    Number of days for which the system holds the spool request before deleting it. (Default value: 8).

  • Error message supercedes output in background job.

    Hi,
    When I run my ALV report in foreground, the output (of several pages) is correctly presented, and upon clicking "BACK", the screen displays the authorization message "Personnel numbers skipped by database driver : ... Reason 1 : insufficient authorization, no. skipped personnel nos : .." which is expected, as the user is subjected to authorization granted to the user.
    However, when I run the job in background and upon completion, the spool shows only 1 page, i.e. the authorization message above is displayed on the spool output, and the report/output list result is suppressed. Is there a way to get the output of the report instead of the authorization message above ?
    Thank you.
    Regards
    Kir Chern

    Kir,
    This is a common problem which everyone faces when running such reports with Error messages in the background. Any error message that encounters in the background mode would make the job to fail.
    So, what you can do develop your own message class and give the error messages as Information messages. But, as you told that you are running it on PNP Database and you cannot have access to change it I dont think there is another way to achieve this.
    Anyways,
    Try to check the below link
    Re: Background Processing? how schedule job for "System Error" Message .
    Thanks,
    Babu Kilari

  • BackGround Job's Spool Request is having "Waiting" "Frontend unavailable"

    Hello Friends,
    I am facing one problem related to Spool Request, which is generated through Scheduled Background Jobs (scheduled by funcional people).
    The Background Job is having status "completed" when analyzing it. But, its associated Spool Request is showing "waiting" Status, with "Frontend unavailable" as Status Text.
    Here is the brief status of that Spool Request.
    28448     1      300 USER1 00:00 LP01 X_65_80      Frontend unavailable
    in Detail:
    Description          Value
    Status:              Frontend unavailable
    Last event:
    Message:             Request on hold
    Date:                01.07.2009
    Time:                00:00:27
    Job status:          On hold
    Error class:         Delayed
    Area:                Data transfer
    Printout:            Not printed
    The Setting of LP01 O/Device is as followed:
    Output Device        LP01
    Device Type        SWIN SWIN  : Windows printing via SAPlpd
    Device Class      Standard Printer
    Host Spool Access Method       F F: Printing on Front End Computer
    Host printer                     __DEFAULT
    Moreover, the SAP User USER1 is allocated LP01 as Output Device with "Output Immediately" & "Delete After Output" checked status.
    Some Background Jobs are showing the same status for this LP01.
    I have a doubt on allocated O/P Device LP01.
    Any Clue for this issue ?
    Regards,
    Bhavik G. Shroff

    Hello Markus,
    Here , in our Landscape , there is not Print Server. All are taking prints through, Networked Printer and their local connected Printers.
    Can i configure "send to SAP Spooler for now" instead of "Print Immediately "in the Print Specification of those Background Jobs ?
    Moreover, Some Background jobs are sending E-Mails with the processed Reports as an Attachments. They are showing sometime unexpected behavior, in sending emails,  although there is no relation is with this Printing related issue.
    When i am looking into "Overview of Send Orders" of SCOT, some Background Jobs are showing success for sending emails, and some are not showing success, even though All the recipients are same for the scheduled Background Jobs which are running on same time.
    Regards,
    Bhavik G. Shroff

  • How to run the program in background job,program should run in 3 days.

    Dear Gurus,
    i have a program , that program should run approximately 3 days to get the result.
    i scheduled this program as a background job.
    how can i run sto5 t-code for this same program.
    i that case how we can trace the output.
    Experts please help me out.
    Thank u very much.
    Regards
    sudheer

    Hello Sudheer,
    The trace can be set on background jobs by using ST12 transaction. Please make sure that the trace is activated for only few minutes in production environment.
    Contact your basis team to activate trace on background job and the transaction used is ST12.
    Thanks

  • Output of background job

    Hi all.
    I have given a job to run in background and the job was sucessfully run(job status is complete). where i have to see the output the Back ground job ?
    Thanks in advance
    Krish..

    Hi Krish,
    Check in SM37, if status is complete then you can See in SP01 or Can directly go to Spool list from the SM37 only if you select icon(spool).
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • How to submit the report in Background job.

    Hello Friends,
    In the selection screen I have 2 radio buttons one for background Process & other for foreground processing. if the user selects the background processing the program should execute in background and output need to be sent to SAP Inbox.
    Issues:
    1) If I am using the JOB_Submit FM or Report Submit the program is going to infinite loop and many continiously jobs are are being scheduled. How to avoid.
    2) Is there any best possible way to send the mail to SAP Inbox.
    Note: I am using OOALV in my program....
    Thanks,
    Ravi

    Hi,
    the first problem looks like you have an infinite recursion. You just need to avoid background scheduling again. There is a system field sy-batch. So if this field is equal to 'X' then you are already in background mode and you don't need to schedule your background job again. Another way is to split your program in two programs. The first will be responsible for scheduling or executing the second one.
    You can use FM SO_NEW_DOCUMENT_SEND_API1 to send message to workflow inbox. You need to user receiver type B. There are so many posts on this forum about sending emails from ABAP which may help you with implementing this requirement.
    Cheers

  • Background Job Processing/Spool List Recipient

    When setting up a report to run as a background job and setting it up to e-mail the results via the Spool List Recipient button, it always sends the results in htm format. Is there a way it can be e-mailed in Excel?

    hi swapna.
    in scot it is not configured as excel how to do it.to get an attachment in excel format
    thanks in advance

  • Regarding Dead line monitoring & Background Job

    Hi Dear PMs,
    plz let me know regarding Deadline Monitoring (IP30) for Maint plan. Why it is requires? only for scheduling multiple plans at a time or is their any other reason?
    What is the meaning of,
      1. Interval for Call Objects
      2. Rescheduling included
      3. Immediate start for all in IP30 screen.
    Why we need to run Back ground job? - only for scheduling open & save daily in background....or for any other reason?
    requested you to giv in detail...
    Thanks in Advance...
    Amol.

    In short, as the name suggest deadline monitoring is used to monitor deadlines so that any due activity could be done well in time. Deadline monitoring helps you to automatically schedule entries that are due within this period.  With the help of Deadline Monitoring, you could schedule multiple Maintenance Plans at the same time from the same transaction with respect to Plant maintenance. For different modules it could used for different purposes. In MM/WM, it could be used for mass changing the batch status. It is also used in Workflows. W.r.t PM, Using IP10, you are able to schedule maintenance plans individually, so to reduce time delays and increase efficiency, Deadline Monitoring is used. 
    Using F1 help on each of these fields should be helpful.
    Interval of Call Objects specify the duration for which you want to execute monitoring of due entries. For example, mentioning 1 mon here would show me all the maintenance plan due for the complete month.
    Immediate start for all: You can use this indicator to show whether the maintenance plans that correspond with the selection criteria are to be scheduled immediately, or whether a list of the selected maintenance plans is to be displayed.
    Rescheduling Inc: You can use the automatic deadline monitoring to schedule a maintenance plan again or for the first time. If you need to reschedule any maintenance plan after having scheduled it, this indicator must be checked:
    The following link might help you understand:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/3c/abb350413911d1893d0000e8323c4f/frameset.htm
    Executing in Background helps as it does not bother you to open up the ip30 screen and then print the document. The Document is printed automatically without you having to bother about it within the period u specify behind your background job settings. It could be monthly, daily, weekly, yearly etc. etc.
    Edited by: Usman Kahoot on Apr 5, 2010 10:34 AM

  • HOw to find out a report name when you know only the name of background job

    Hi experts ,
    my question is i need to find out teh report name for which i knew only the background job name of the report .
    thanx
    Venky.

    Go to tcode SM37->Give job name and execute->choose tool bar button STEPS (Disply Steps list) ->Then you will get program or command

  • Error while opening the file in Background job in Virsa.

    We are using Virsa 5.2
    I click on the result tab to view the job results.(informer->Background job) I am getting this message.
    Mar 3, 2008 1:49:15 PM com.virsa.cc.comp.GenericRAReportView wdDoModifyView
    WARNING: .\virsa\bgJobSpool\16.i (The system cannot find the file specified)java.io.FileNotFoundException: .\virsa\bgJobSpool\16.i (The system cannot find the file specified)
    Can you please let me know?
    Nothing has been changed including my user profile.
    From,
    PT.

    Hi,
    Here are number of notes that I have listed out to sort some issues on SAP GRC 5.2 .
    There is a note for background daemon issue as well
    Installation
    Note 1009509 - VIRSANH 5.2 Support Packages for BASIS 700
    Note 1022187 - Compliance Calibrator 5.2 Support Pack
    Post Installation
    Note 1022187 - Compliance Calibrator 5.2 Support Pack
    Note 1008500 - VIRSA 4.0 Support Packages for Basis 700
    Note 1060673 - Configuration of SAP Adapter in CC 5.2
    Note 709140 - Recommended JDK and VM Settings for the WebAS630/640/7.0
    Note 1044173 - Recomended Netweaver Setting for Access Control 5.x
    Note 1044174 - Recommendation for CC 5.x running on Oracle 10G Database
    Note 1121978 - Recommended settings to improve peformance in CC 5x analysis
    Note 978536 - Language Configuration for Virsa Compliance Calibrator 5.2
    Issues
    Note 1008500 - VIRSA 4.0 Support Packages for Basis 700
    Note 999785 - CC Background Daemon will not Start
    Note 987386 - Graphics Rendering Issue in SAP Compliance Calibrator
    Note 1009267 - System ID is not available in drop down menu-CC5.1
    Note 1052455 - Error-No relevant language message available in database
    Note 1062037 - java.lang.NullPointerException error in Adapter activation
    Note 1088378 - CC 5.2 - Undeployment of ccappcomp from SDM fails
    Thanks,
    Uday

  • How to merge the outputs of several jobs?

    We have some ECC6 jobs that have some outputs (reports)  that we want to merge the outputs into one report.
    The problem is that how to merge them, then how to email it to some parties?
    Thanks for your help.

    Is there any way to achieve this by configuring?
    I look into SQ00, SQ01, ... SQVI, etc. How do you think about them? The problem is that the output is not written into tables?
    Thanks!

  • Print the order with Background Job

    Hi Gurus,
    I have to print the order on button click in a report.
    i have done the coding and passing the parameters to a stahndard program on  submit.
    but problem is that order is going to spool but not printing the order.
    As batch job not supporting the LOCL,please suggect the alternative to achieve the print.
    Br,
    Surya

    Hi Lokesh,
    Thanks for your quick reply.
    i am using the below code for printing the order with batch job on clicking the button in my report.
         DATA: NAME TYPE TBTCJOB-JOBNAME.
    DATA: NUMBER  TYPE TBTCJOB-JOBCOUNT.
    DATA: PRINT_PARAMETERS TYPE PRI_PARAMS.
    NAME = 'ORDER_PRINTING'.
    CLEAR: RANGE1.
    *REFRESH: range.
    RANGE1-SIGN = 'I'.
    RANGE1-OPTION = 'EQ'.
    RANGE1-LOW = 'BA00'.
    RANGE1-HIGH = 'ZBA1'.
    APPEND RANGE1 TO RANGE.             .
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = NAME
    IMPORTING
    JOBCOUNT         = NUMBER
    EXCEPTIONS
    CANT_CREATE_JOB  = 1
    INVALID_JOB_DATA = 2
    JOBNAME_MISSING  = 3
    OTHERS = 4.
    IF SY-SUBRC = 0.
    SUBMIT SD70AV1A WITH  RG_KSCHL IN RANGE
      WITH  RG_VBELN IN ORDER_TAB
      TO SAP-SPOOL
      SPOOL PARAMETERS PRINT_PARAMETERS
      WITHOUT SPOOL DYNPRO
      VIA JOB NAME NUMBER NUMBER
      AND RETURN.
    IF SY-SUBRC = 0.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = NUMBER
    JOBNAME = NAME
    STRTIMMED = 'X'
    EXCEPTIONS
    CANT_START_IMMEDIATE = 1
    INVALID_STARTDATE = 2
    JOBNAME_MISSING = 3
    JOB_CLOSE_FAILED = 4
    JOB_NOSTEPS = 5
    JOB_NOTEX = 6
    LOCK_FAILED = 7
    OTHERS = 8.
    IF SY-SUBRC <> 0.
    ENDIF.
    ENDIF.
    Please suggest where should i give the printer name.
    fyi.. i am trying to pass the same LOCL name to the job with the FM- GET_PRINT_PARAMETERS with destinamtion 'LOCL'
    Br,
    Surya

Maybe you are looking for

  • My header changes keep being changed in page setup

    For the past few days I have blanked all the headers listed in page setup. I have saved the changes, and to test I exited Firefox and then opened the program and they were still blank. But the next day when I turn on the computer the headers are back

  • I can only open 1 .Ai file at a time from explorer

    Okay.  Googling is getting me nowhere and posting this is a last resort. computer is running: Windows 7 x64 SP1 Creative Suite 5.5 Illustrator 5.1 The problem is: From within Windows Explorer, I can only open 1 Illustrator file at a time.  To get a d

  • Table views  as data source to imported in OBIEE

    I have a data source that consist of tables view and packages and function and I needed to import them into OBIEE physical layer. I never imported tables view into the physical layer , so I will like some help. As far as the packages and functions, h

  • Solaris 10 IPoIB, where to start?

    I have Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] cards in my new Solaris 5.10 cluster (9 nodes). I need to be able to ssh between the nodes via IB (I think using IPoIB). I really don't know where to start in gett

  • Gigafast Wireless adapter question

    I have an Imac 17 inch 1.25 ghz. I bought a Gigfast usb adapter to go wireless. I installed the driver, and followed the guide instructions. When I go to Network it shows the adapterand the IP and Sub addresses but no router address. It does not give