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

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

  • Exact Steps to schedule a background job a specific time daily :

    Dear  All,
               Please let me know  the whole process involved in schedule a background job a specific time daily. what is calender id. I could not understand what it has given in SM36.
    Thanks in advance.
    Rgds
    Prem.

    Hi prem
    this is complte procedure for ur requirment.
    Scheduling Background Jobs 
    Use
    You can define and schedule background jobs in two ways from the Job Overview:
    Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
    The Job Scheduling Wizard. This is best for users unfamiliar with SAP background job scheduling. To use the Job Wizard, start from Transaction SM36, and either select Goto ® Wizard version or simply use the Job Wizard button.
    Procedure
    Call Transaction SM36 or choose CCMS ® Jobs ® Definition .
    Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
    Set the jobu2019s priority, or "Job Class":
    High priority: Class A
    Medium priority: Class B
    Low priority: Class C
    In the Target server field, indicate whether to use system load balancing.
    For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
    To use a particular application server to run the job, enter a specific target server.
    If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
    Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
    Define the jobu2019s steps by choosing Step, then specify the ABAP program, external command, or external program to be used for each step.
    Save the fully defined job to submit it to the background processing system.
    When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
    pls give points if it is usefull
    Regards
    Saimedha

  • 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

  • Select query running long time

    Hi,
    DB version : 10g
    platform : sunos
    My select sql query running long time (more than 20hrs) .Still running .
    Is there any way to find sql query completion time approximately. (Pending time)
    Also is there any possibilities to increase the speed of sql query (already running) like adding hints.
    Please help me on this .
    Thanks

    Hi Sathish thanks for your reply,
    I have already checked in V$SESSION_LONGOPS .But it's showing TIME_REMAINING -->0
    select TOTALWORK,SOFAR,START_TIME,TIME_REMAINING from V$SESSION_LONGOPS where SID='10'
    TOTALWORK      SOFAR START_TIME      TIME_REMAINING
         1099759    1099759 27-JAN-11                    0Any idea ?
    Thanks.

  • Is index range scan the reason for query running long time

    I would like to know whether index range scan is the reason for the query running long time. Below is the explain plan. If so, how to optimise it? Please help
    Operation     Object     COST     CARDINALITY     BYTES
    SELECT STATEMENT ()          413     1000     265000
    COUNT (STOPKEY)                    
    FILTER ()                    
    TABLE ACCESS (BY INDEX ROWID)     ORDERS     413     58720     15560800
    INDEX (RANGE SCAN)     IDX_SERV_PROV_ID     13     411709     
    TABLE ACCESS (BY INDEX ROWID)     ADDRESSES     2     1     14
    INDEX (UNIQUE SCAN)     SYS_C004605     1     1     
    TABLE ACCESS (BY INDEX ROWID)     ADDRESSES     2     1     14
    INDEX (UNIQUE SCAN)     SYS_C004605     1     1     
    TABLE ACCESS (BY INDEX ROWID)     ADDRESSES     2     1     14
    INDEX (UNIQUE SCAN)     SYS_C004605     1     1

    The index range scan means that the optimiser has determined that it is better to read the index rather than perform a full table scan. So in answer to your question - quite possibly but the alternative might take even longer!
    The best thing to do is to review your query and check that you need every table included in the query and that you are accessing the tables via the best route. For example if you can access a table via primary key index that would be better than using a non-unique index. But the best way of reducing the time the query takes to run is to give it less tables (and indexes) to read.
    John Seaman
    http://www.asktheoracle.net

  • Analyze a Query which takes longer time in Production server with ST03 only

    Hi,
    I want to Analyze a Query which takes longer time in Production server with ST03 t-code only.
    Please provide me with detail steps as to perform the same with ST03
    ST03 - Expert mode- then I need to know the steps after this. I have checked many threads. So please don't send me the links.
    Write steps in detail please.
    <REMOVED BY MODERATOR>
    Regards,
    Sameer
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 12:14 PM

    Then please close the thread.
    Greetings,
    Blag.

  • 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 Jobs running for long time.

    Dear All,
    I had done the Homogeneous System Copy on my ECC 6 QA System successfully by restoring the offline backup of Production system. My system is up & running but  I have some Performace issues in the system. I also observed that some jobs are running since long time & most commonly i got the below line in the BGD Trace "WP has reached abap/heaplimit = 40000000 bytes".
    I search for the notes but couldn't find anything.
    Please help me to resolve this issue.
    Below is the Trace :-
    trc file: "dev_w7", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ
    M sysno      12
    M sid        UBQ
    M systemid   370 (Solaris on SPARCV9 CPU)
    M relno      7000
    M patchlevel 0
    M patchno    52
    M intno      20050900
    M make:      single threaded, Unicode, 64 bit, optimized
    M pid        16335
    M
    M
    M Mon Nov 10 19:01:10 2008
    M  kernel runs with dp version 210000(ext=109000) (@(#) DPLIB-INT-VERSION-210000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ThInit: running on host UBSQAS
    M  calling db_connect ...
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@UBQ on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x1067f1be0 0x1067f96a0 0x106809e38
    C  Attaching to DB Server UBQ (con_hdl=0,svchp=0x106809d68,svrhp=0x10680c0b8)
    C  Starting user session (con_hdl=0,svchp=0x106809d68,srvhp=0x10680c0b8,usrhp=0x1067f9eb8)
    C  Now '/@UBQ' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=0x106809d68,usrhp=0x1067f9eb8)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@UBQ on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x1067f1be0 0x1067f96a0 0x106809e38
    C  Starting user session (con_hdl=0,svchp=0x106809d68,srvhp=0x10680c0b8,usrhp=0x1067f9eb8)
    C  Now 'SAPSR3/<pwd>@UBQ' is connected (con_hdl 0, nls_hdl 0).
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  Database instance UBQ is running on UBSQAS with ORACLE version 10.2.0.2.0 since 20081109
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20081110 190110 UBSQAS
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
    I  MtxInit: 7 0 0
    M  SHM_PRES_BUF###(addr: 0xffffffff6c400000, size: 4400000)
    M  SHM_ROLL_AREA##(addr: 0xfffffffe56000000, size: 134217728)
    M  SHM_PAGING_AREA##(addr: 0xfffffffe50000000, size: 67108864)
    M  SHM_ROLL_ADM###(addr: 0xffffffff7000a000, size: 2672386)
    M  SHM_PAGING_ADM##(addr: 0xffffffff77a00000, size: 656416)
    M  ThCreateNoBuffer##allocated 572152 bytes for 1000 entries at 0xfffffffe48004000
    M  ThCreateNoBuffer##index size: 3000 elems
    M  ThCreateVBAdm##allocated 12176 bytes (50 server) at 0xffffffff77900000
    X  EmInit: MmSetImplementation( 2 ).
    X  MM diagnostic options set: 0
    X  <ES> client 7 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 7, WP_CNT = 12, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0xfffffffe42000100, size: 30000000, end: 0xfffffffe43c9c480)
    B  dbtbxbuf: Buffer TABLP (addr: 0xffffffff6b800100, size: 10240000, end: 0xffffffff6c1c4100)
    B  dbexpbuf: Buffer EIBUF (addr: 0xffffffff65800108, size: 4194304, end: 0xffffffff65c00108)
    B  dbexpbuf: Buffer ESM   (addr: 0xffffffff65000108, size: 4194304, end: 0xffffffff65400108)
    B  dbexpbuf: Buffer CUA   (addr: 0xfffffffe4b01e108, size: 3072000, end: 0xfffffffe4b30c108)
    B  dbexpbuf: Buffer OTR   (addr: 0xffffffff64800108, size: 4194304, end: 0xffffffff64c00108)
    M  rdisp/reinitialize_code_page -> 0
    M  icm/accept_remote_trace_level -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0x106ab5bb0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0xfffffffe4b30e070
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0xfffffffe4b30e548
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2168 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A Mon Nov 10 19:01:11 2008
    A
    A     PXA
    A  PXA INITIALIZATION
    A  PXA: Fragment Size too small: 73 MB, reducing # of fragments
    A  System page size: 8kb, total admin_size: 11048kb, dir_size: 10992kb.
    A  Attached to PXA (address 0xfffffffe20000000, size 300000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA INITIALIZATION FINISHED
    A     PXA
    A
    A  ABAP ShmAdm attached (addr=0xfffffffe60590000 leng=20938752 end=0xfffffffe61988000)
    A  >> Shm MMADM area (addr=0xfffffffe6083edd0 leng=140480 end=0xfffffffe60861290)
    A  >> Shm MMDAT area (addr=0xfffffffe60862000 leng=17981440 end=0xfffffffe61988000)
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  ThrCreateShObjects##allocated 12676 bytes at 0xffffffff77700000
    N  SsfSapSecin: putenv(SECUDIR=/usr/sap/UBQ/DVEBMGS12/sec): ok
    N
    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF trace level is 0 .
    N  ===...SSF library is /usr/sap/UBQ/DVEBMGS12/exe/libsapsecu.so .
    N  ===...SSF hash algorithm is SHA1 .
    N  ===...SSF symmetric encryption algorithm is DES-CBC .
    N  ===...sucessfully completed.
    N  =================================================
    N  =================================================
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    W    ipl_Init(): wp task type is 4:BTC, skip initialization
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.
    B
    B Mon Nov 10 19:30:28 2008
    B  dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):
    B   max_blocking_factor =  15,  max_in_blocking_factor      =   5,
    B   min_blocking_factor =  10,  min_in_blocking_factor      =   5,
    B   prefer_union_all    =   0,  prefer_join                 =   0,
    B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   1,
    B   convert AVG         =   0,  alias table FUPD            =   0,
    B   escape_as_literal   =   1,  opt GE LE to BETWEEN        =   0,
    B   select *            =0x0f,  character encoding          = STD / <none>:-,
    B   use_hints           = abap->1, dbif->0x1, upto->2147483647, rule_in->0,
    B                         rule_fae->0, concat_fae->0, concat_fae_or->0
    M  SecAudit(RsauShmInit): WP attached to existing shared memory.
    M  SecAudit(RsauShmInit): addr of SCSA........... = 0xffffffff78500000
    M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 0xffffffff78500768
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 0xffffffff785007a0
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 0xffffffff785007ac
    A
    A Mon Nov 10 20:04:25 2008
    A  WP has reached abap/heaplimit = 40000000 bytes
    A
    A Tue Nov 11 02:25:41 2008
    A  generated report /1BCWDY/BSAEKROD3IX58HSBOTLJ==CP         with fingerprint 1078C98BF377F2618A7F4843DE257FC8   50556
    Tue Nov 11 02:36:40 2008
    actual OCI-type (1) of OUT-variable 0 differs from cached statement (96) ==> reparsing
    sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR
    prep=1,lit=0,nsql=0,lobret=0,#exec=455,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0
    IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    SELECT /*+ FIRST_ROWS  */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\
    T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;
    actual OCI-type (96) of OUT-variable 0 differs from cached statement (1) ==> reparsing
    sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR
    prep=1,lit=0,nsql=0,lobret=0,#exec=2,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0
    IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    SELECT /*+ FIRST_ROWS  */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\
    T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;
    Tue Nov 11 02:36:42 2008
    actual OCI-type (1) of OUT-variable 0 differs from cached statement (96) ==> reparsing
    sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR
    prep=1,lit=0,nsql=0,lobret=0,#exec=3,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0
    IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    SELECT /*+ FIRST_ROWS  */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\
    T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;
    Thanks,
    Shambo

    Hi Shambo
    have you checked the oracle parameters as per the sap note 830576,and also the backup which you have taken is a logical backup,in that case you have to run the update database statistics either from DB13 or BRTOOLS
    also check ST04 and also ST02 to do a  performance tuning
    I believe its more Database Parameter issue
    regards
    George Varghese

  • Auto message  restart job take long time to run

    Dear all,
    I have configre the auto message restart job in sdoe_bg_job_monitor
    but it take long time to run.
    i have execute the report i have find out that it is faching records from smmw_msg_hdr .
    in the table present 67 laks records are there.
    actually it is taking a lot of time while getting data from the table
    is there any report or tcode for clearing data in the table.
    I need ur valiuble help to resolve the issue.
    Regards
    lakshman balanagu

    HI,
    If you are using oracle database you may need to run table statistics report (RSOANARA) to update the index. The system admin should be able to this.
    Regards,
    Vikas
    Edited by: Vikas Lamba on Aug 3, 2010 1:20 PM

  • How to run ABAP Function Module in Background Wchich Takes Long Time to Run

    How to run ABAP Function Module in Background FOR LONG TIME
    I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE
    RSDRT_INFOCUBE_DATA_COPY.
    I used SE37 and then executed the module, I supplied  the parameters on the form which opped-up and then  program started running. . Program was however interrupted after 10 minutes by ABAP. How can I run  it in background without interruption?
    THANKS A LOT.

    Hi,
    You can call this FM in a program and run that program in background.
    Regards,
    Raju

  • Batch job taking longer time then expected

    Hi All,
    We have a scheduled batch job which run at 11:30 pm daily.
    When user did testing in UAT environment , it took 56 hrs to complete.But now when they run the same batch job in production system took more than 80 hrs.
    FYI : The production server RAM(40GB approx) is more than UAT server RAM (4 GB).
    Can anyone plz help to explore.
    Thanks in advance.

    Please post:
    The exact version of Oracle (10gR2 is not a version, 10.2.0.5 is a version).
    The platform and OS you are using.
    Any differences in init.ora parameters (including double underscore parameters you see in create pfile from spfile).
    Any differences in kernel parameters.
    Any differences in hardware (including network). For that matter, what hardware, how is swap defined.
    Any differences in how the data was originally loaded (for example, production data entered over time online, UAT imported).
    Any differences in what else is running.
    How and when you've collected statistics.
    It's not even twice as long, so it could be a relatively obscure difference that is your bottleneck. You have more ram, so it could be something like, you are cpu bound because you are thrashing a larger SGA, and not letting the cpu service i/o when it needs to. Statspack or AWR may give a clue about that, as can OS tools.
    Remember, you can see what is happening on your system, we can't. So you have to tell us for us to help you. Cut and paste is more believable than you typoing in stuff. Use the tag before and after any output you post.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

Maybe you are looking for

  • APEX_UTIL.EDIT_USER Procedure do not work correctly in APEX 4.0.2.00.07

    Hi, I created user in Apex system without privileges. Next I want to provision privileges using APEX_UTIL.EDIT_USER Procedure. But when I try to set p_developer_roles param to ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL in web interface of apex I

  • Remote desktop broken after 10.9.3 update

    After the 10.9.3 update, remote desktop is completely broken... The ard status monitor display : Apple Remote Desktop is disabled. I try a clean install (app + system library coreservice remote management + user library pref ans aap support deleted.

  • New to Leopard Server

    Hey everyone, I'm really new to Leopard server and would like just a moment of your time to walk me through the setup process. I don't understand some of the installation steps. What I want to do is use my mac mini as a server. I want to use all the

  • VO4 Error - not again....

    3 months after having my VO4 problems fixed, like a bad smell - its back ! Took BT two weeks to sort last time due to alleged "faults on the line"... Anyway reset the hub by the standard buttion, the concealed reset button and by the power socket - a

  • I need help with my wifi sync, please?

    I am trying to sync a single band from my laptop to my iPhone. This is my new laptop and I have no transfered all my music from my old computer onto here, so I can not sync through the cable or else I will have to remove all my exsisting information