Background Job Run - Error Msg

Hi all,
When i run my report as background job it is failing.
In report i have checked one condition n if that do not satisfy it will give error. but in any situation the background job fails though condition satifies but the spool is getin created.
when i debug the report it gives no error in that report but after it gives System message '' Job cancelled after system exception ERROR_MESSAGE''.
any guidelines will be appreciated...
regards,
vikas.

thankx for your reply..
it is not giving me any dump or something neither my report contains any popup window.
thing is that i am checking one error value at the event END-OF-SELECTION and giving some error mesg depending upon that.
when i check this in debug mode in background mode itself (thr' JDBG or SM50) the value of error mesg is empty...so idealy the report is executed fine but when after words i go for F8 it gives me that error message.
regards,
vikas

Similar Messages

  • Background Job  running long time.

    Hello All,
    One of customer background job running for long time more than 11 hours, but usually this jobs get completed within 4 hrs.
    I have checked in WP trace file, it shows "WP has reached abap/heaplimit=40000000".
    This is the Value I can see in RZ11. Now it is not possible to change the value.
    Frequently facing this problem, please guide me to solve this issue.
    Regards
    Vinay.

    Hi
    First of all, abap/heaplimit is the limit of memory usage by a WP.
    Follwing is the documentation from help.sap.com
    The value of the parameter should be between 10000000 (10 MB) and 2000000000 (2GB), the recommended default setting is 40000000 (40 MB).
    The objective is to have the least number of work process restarts as possible, without a swap space bottleneck occurring.  The heap memory allocated by the work processes has to be released again.
    As shown in the graphic, the value of abap/heaplimit should be smaller than abap/heap_area_dia or abap/heap_area_nondia, so that the dialog step that is running can still be executed. This prevents the work process from working against the operating systemu2019s swap space limit if there is a programmed termination of the work process.
    So,Do the above checks. And importantly check the memory utilizations at the time of running your job and check whether any other job was also running at the sametime.
    Increasing the parametes is not a good idea.. If you continuously face this issue then only think of parametes. As u said ,this problem is not happenng too often.
    Hope this is useful

  • Background job running for a long time - trace is not capturing.

    hi guys,
    My background job runs for more thatn 4 hours.  some times. (normally it completes withing one hour)
    i tried to trace using st12 ....and executed this program. but not got complete trace report of 4 hours.
    what is the best way to trace long running programs like this.
    is there any alternative for this...???
    regards
    girish

    Giri,
    There is no need to trace a program for the full 4 hours. There is usually just one piece of rogue code causing the problem, and it can be identified quite quickly.
    If I were you I would just watch the job run via SM50, to see if it lingers on any database tables. Also check if the memory is filling up - this is the sign of a memory leak.
    You can also try stopping the program (via SM50 debugging) at random points, to see what piece of code it is stuck in.
    The issue should reveal itself fairly quickly.
    Tell us what you find!
    cheers
    Paul

  • What client is background job running in?

    Hello all,
    Is there a way to tell which client a background job listed in SM37 is running in? Can't seem to find that information in the job nor any tables. I thought that you could only see the jobs that are running in the client you are logged onto too but that's not the case.
    Thanks,
    Tom

    Hi,
    For checking the client for particular background job which is runnig can be cheked by.
    Go to SM37- enter the particular job name and the details eg: username and the job start and end  condition. Execute this.
    Now on top go to Setting->Layout->Change Layout->
    On right side u can find the hidden fields-select client from that and bring it to change layout ie. left part. and press copy.
    This will change the layout of ur report and u can see the client number for that particular background job running.
    U can do this by using * also while mentioning the jobname.This way you do not have to open every job to find out.
    Hope this will be of some help.
    Thanks
    Ruchika
    Edited by: Ruchika Kapoor on Jul 2, 2009 2:04 PM

  • Export of report/query to a file for background job runs

    I have a requirement to automate the export of a report or query to a file  so when a background job runs a  new file is generated to the drive. 
    This cannot be a customized solution for 1 report, it must be able to adapt to other reports or queries as well.
    Any help will be highly appreciated.
    Thank you,
    Thamina

    Hi,
    SAP have created a standard program RSTXPDFT4 to convert your Sapscripts spools into a PDF format.
    Specify the spool number and you will be able to download the sapscripts spool into your local harddisk.
    It look exactly like what you see during a spool display.
    Please note that it is not restricted to sapsciprts spool only.  Any reports in the spool can be converted using the program 'RSTXPDFT4'.
    Regards,
    Pavan

  • Background job message error

    Hi everyone,
    I have an alv report.when the user clicks a toolbar button on alv report some transaction runs in the background.When the user again clicks again the same button while still the background job is running i need to pop up a error message saying that already background job is running for this  routine.How can i do that?any sample code please?
    Thank you.

    HI,
    If the user Press the Button, then check whether the background is running , if the nackground is running then raise a pop-up and give a mesage saying that 'A background program is still running'.
    to check whether the Background is running or not ---> Goto Table TBTCO, then give the Job name and get the status, if the status is still running then give the message, if the status is completed then run the job
    Regards
    Sudheer

  • SAP R/3 Enterprise : Background job run on application servers

    Hello All,
    For our SAP system (SAP_BASIS 620, SAP_ABA 620,SAP_APPL 470), there are 5 application servers and one central instance.
    We have a  Background job that connects to external non sap system for data delivery via RFC of Type "G" i.e.HTTP Connection to Ext. Server with port 443 . RFC works fine.
    In transaction STRUST, SSL certificates are also installed to enable the https connectivity from R3 system.
    Our current issue is that background jon runs on one of the application server correctly and is able to transfer that data to external system. However if same job runs on other 4 application server, it fails to connect to external server and throws error:
    RFC Destination XXXX not defined
    407 Unknown error
    Failed to store the XML content
    Error in the XML document: 1301540.xml
    407 Unknown error
    This is very starnge for us .RFC is working correctly every time but background job works on one AS and not on other AS.
    Where and What can be the difference in application servers.
    Please help to send in ur replies. Thanks
    Edited by: Chetna  Verma on Apr 27, 2011 1:46 PM

    Hi,
    Is there a firewall between the non SAP system and the SAP system ? It could be that firewall rules have only been set for one only of the SAP application servers ?
    Did you check the HTTP connections from each application server ?
    Did you check that the ICM is running on each SAP application server ?
    Regards,
    Olivier

  • Background job running slow

    Hi,
    Suppose any background job is taking much more time than required so how to speed up the job without chaning the master data.
    Regards,
    Prabhat Sahay

    Hello,
    If your job is a DP job, please refer to SAP note 864950 and follow the suggestions in the note.
    Basically. there're following points:
    1)If the job is relevant to planning book/data view, make sure only needful key figures are loaded in the data view.
    2)Macros should only be executed on detailed level, except when aggregate level execution is also necessary.
    3)Try not to use navigational attributes.
    4)Make sure the consisteny of the planning area by:
       /sapapo/ts_lcm_reorg
       /sapapo/ts_lcm_cons_check
    5)If you use fixed aggregates, they may affect the performance very much.
       Try to deactivate them and run /sapapo/ts_lcm_cons_check before the job (if the job changes relevant data).
       Then activate and fill the fixed aggregates afterwards.
    Best Regards,
    Ada

  • Background job abend error

    Hi all,
    my background job abends with following errors.
         1. Error when assigning SID: Action VAL_SID_CONVERT table Z......
         2. Activation of M records from DataStore object Z...... terminated
         3. Process 000002 returned with errors.
    Can anyone help me out regarding this.
    Thanks.

    there seems to be a problem with the SID table of your master data. test it with RSRV and repair any errors.
    if this doesn't help return to the forum

  • GRC AC 5.3 - Sync Mode background job running for days.

    We have the following performance issues on the GRC System.
    1- Please note that the sync mode background job has been running for DAYS.
    My question is if I  truncate table virsa_cc_prmvl;  (which stores all the analysis results), will my GRC system be effected.
    2- Secondly we have a job analysing roles, which causes the performance to go down. And due to we have a extremely high number of roles, we would like to know if there would be a way to improve the analysis for roles. Is there any parameter modification in GRC / J2EE/ backend related to roles?
    Details of our roles:
    - we have more than 60000 roles in our system
    - 75 % of the roles are not assigned to any user (is there a way to avoid these roles? these roles are not put in order so too tedious to choose roles individually or by range.
    3- We are running a job with four risks and it's taking more than two minutes per user (we've got 10.000 + users in total)
    How can I resolve this performance issue.
    4- What is the recommended size of the batch for user sincronization. Should I use 1000 or 10,000 (based on our above environment).
    Thanks,
    Haleem

    Hello, Abdul!
    How you have solved a problem?
    Thank you a lot.
    Best regards,
    Denis Gaykov

  • RAR5.3 - Alert Generation background job repeatedly errors out

    Hello,
    We have an Alert Generation job that we've set up to run daily on
    PR2/150 strictly for the Transaction Usage Report. We do not
    use Alerts so the only parameter we set for this job is "Generate
    Action Log." The job will run anywhere from 2 to 4 hours before it
    errors out. Every time this job, this process overflows its allotment
    on the backend of 4GB and consequently creates a system dump. The job
    is just too big.
    We've reviewed the powerpoint "Risk Analysis and Remediation Alerts,
    Jayne Gibbon, Director of GRC Support, August 15 2008"
    This powerpoint basically says Alert Generation jobs should run every 1-
    4 hours, otherwise they can get very large. We applied note 1015921 to
    change the Last Run Date in order to decrease the size of the job. The
    farthest we were able to set the Last Run Date back and have the alert
    generation job run successfully was 2 minutes. This is unacceptable for
    us as we need the jobs to at least run for 1 hour time periods.
    What can we do to ensure our alert generation jobs complete
    successfully in a manageable time period?
    Any info or guidance would be greatly appreciated!
    Jes Behrens
    Edited by: Jes Behrens on Jan 20, 2009 10:47 AM

    there seems to be a problem with the SID table of your master data. test it with RSRV and repair any errors.
    if this doesn't help return to the forum

  • How to get spool from background job run?

    Hello,
    I have this situation and need help on how to resolve:
    I have RFC FM which called from another system, in that FM I am submitting BDC section as a batch job by report RSBDCSUB. The problem is that this job may run for 1 or 2 hours and my RFC call will be close by that time. How can I bring the result of my batch job run back to the calling system in this case? Will appreciate any hints.
    Thank you,
    Glenn

    Hi
    After you the Job completes. Use the spool ID and fetch the Spool list using the report RSPOLST2.
    You can download the spool job using the Function module RSPO_DOWNLOAD_SPOOLJOB.
    Thanks
    Dev

  • Background Job Running long time in Production system ???

    Hi guys,
    I have custom report which runs normally in 20 minutes.  i am executing this report every day.  but when i execute the same report yesterday it took 5 hours.
    i did the performance trace ....the sql statements are in acceptable range only. i don't see any major time consumption. 
    since it's in production system  we can't debug the active job....
    can u guys, throw light on this issue.
    Note : there are many posts related to this already in the forum, but not helps to resolve my issue.
    Regards
    Girish

    Giri,
    You can use STAD (or older one SE30) to have a trace of the program if you have that access and will be a great help in finding the problem.
    If you can't due to some reason, then next time job runs for long (while in ACTIVE state), check SM50 regularly to see that the is process hanging on a table fetch, check that any of the DB table is not getting frequent locks in SM12.
    Also, you should check that if your job does any table update, is there any new index created in prod system for that table.
    If you can't find anything, then take the necessary access in Prod from basis temporarily and debug the job to find exact issue.
    Regards,
    Diwakar

  • Background job running

    Hi Friends,
       I need to run a standard program(report) in background immediately from my custom program(report)  and I need to pick up the output report(standard) table values back to my custom program.
    Is it possible? if so Can you pls suggest the solution for the same
    I am trying with submit with job statement, but it is only scheduling the job and it is not running immediately. If it runs immediately also I need to pick the values of standard program to my custom program
    Thanks in advance
    pavan

    Hi Pavan,
    In this scenario where you want to run the standard report in background from the custom report,the only solution is to schedule the job(any method) with the custom report as the starting point and then use Submit with the values in it and then Use Return along wth it.
    OR else use Exporting List to Memory with Submit and Return.
    And then,use the Function Module "Importing From Memory" and pass the data from the standard report to the internal table.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Background job scheduling popup msg

    Hello,
    We have a custom program calling the Function module "MRM_INVOICE_RELEASE_UPDATE".
    If we run the custom program in the foreground I'm getting a popup saying No entries made in reference field
    Now if we run the program in background, How will this be handled as there is no one to OK  the popup.
    Does this have any effect on the job?
    Regards,
    Lucky.

    Hello,
    But this is not a BDC, and it is a normal report which calls this function module.
    does this popup effect the program execution, like data wise or the time wise?
    I'm getting the Log like this in my DEV server.
    09.02.2010 06:22:04 Job started                                                                              00           516          S
    09.02.2010 06:22:04 Step 001 started (program ZFSCAN_PROCESS_GR, variant COMP_3001, user name <&&&&&>)      00           550          S
    09.02.2010 06:22:05 *No entries made in reference field *                                                      F5           866          E
    09.02.2010 06:22:06 Job finished                                                                             00           517          S
    Regards,
    Lucky

Maybe you are looking for

  • How do I load a video screensaver into my Apple TV?

    I was in the Apple store yesterday, and noticed that the display Apple TV in the store would start playing a promo video as it's screensaver. I want my Apple TV to play a personal video as its screensaver. Does anyone know how to do this? Is it some

  • Zen Vision M...USB Device Not Recognized

    My Zen Vision M 30g?is no longer recognized by my computer. I get the following message: "USB Device Not Recognized: One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it." I haven't changed anything on

  • HT2693 app ireconcile

    I purchased the app iReconcile from the app store.  It was workinbg ok then I decided to sync and purchased a 6 month of enabling sync. I just tried to sync both iphone and ipad and lost all data on both.  HELP how do I get my data back

  • Deleted audio segment leaves blank space that I can't remove

    I had a 5 min song and after adding pictures for a slide show, I found I only needed 2:30 of the audio clip so I split it at the end and deleted the unwanted end segment of the song. However, there is now a blank space for 2:30 left! I went to clip m

  • What's the easiest way to back up and restore my hard drive to a new HD

    I'm going to upgrade my hard drive to a larger one on my MacBook. I have an external backup drive. What is the easiest way to save all my data (documents, emails, etc) and applications and restore them to the new hard drive in my MacBook? I have Leop