Custom Background Job Cancelling

Hi Folks,
I'm working on a custom development and I'm experiencing some trouble - I would greatly appreciate any help / effort from anyone in providing me with some ideas as to what the cause may be.
Basically my development is made up of two parts - Part 1) A custom RFC used to trigger a custom program in the background - here i'm using job_open / submit program / job_close. This works fine and a job is successfully created to run the custom program
Part 2) - The custom program, running in the background job tries to create a background job  to trigger standard program (f.05) with a variant. Again using job_open / submit program / job_close. However on this occassion when the second background job starts it cancels immediately -  stating "Make an entry in all required fields". . However the variant is fine and all the parameters for the standard program are filled. I can even trigger this program and variant seperately and it works.
Are there conflicts in creating a background job from a background job ? I'm confused as to why this is not working and i would appreciate any help or ideas anyone could give me on this.
Thanks alot for your time.
Regards
DK
Overview
RFC -> Create Background Job # 1 -> Background Job # 1 created successfully - Custom program running in Background Job # 1 tries to run standard program in backgroun - Background Job # 2 created successfully but immediately cancels - Job log message - "Make an entry in all required fields". Job cancelled after system exception ERROR_MESSAGE.

Hi Guys,
Thanks for your answers. The job log does say "Make an entry in all required fields" - but all the required fields are specified under the variant. I can even run this program with the same variant with no problems. I'm wondering what would affect the submit to program to prevent it passing the variant correctly - here is my submit
    SUBMIT sapf100 VIA JOB l_jobnam NUMBER l_jobcnt
    USING SELECTION-SET l_vari
    AND RETURN.
l_vari = Variant Name
l_jobname = job name
l_jobcnt  = job count
here is the message from the job log. your help is appreciated - thanks
10.09.2009 14:22:18 Job started                                                             
10.09.2009 14:22:18 Step 001 started (program SAPF100, variant &0000000000018, user ID XXXX)
10.09.2009 14:22:18 Make an entry in all required fields                                    
10.09.2009 14:22:18 Job cancelled after system exception ERROR_MESSAGE

Similar Messages

  • Background job canceled in  Solution Manager system

    Dear all expert ,
    Two background jobs canceled in solution manager  system before some time.
    details-
    Background jobs :
                        1 -  LANDSCAPE FETCH
        Program name : RSGET_SMSY
    Job log : Job started
    Step 001 started (program RSGET_SMSY, variant ,
    The SLD server connection is inactive
    Job cancelled after system exception ERROR_MESSAGE
                       2 - SEND_SYSTEM_RELATIONSHIP_TO_SUP
        Program name : AI_SC_SEND_SYSTEM_RELATIONSHIP
    Job log :  
                       Job started
    Step 001 started (program AI_SC_SEND_SYSTEM_RELATIONSHIP, variant ,
    SOL determined as monitoring Solution Manager system
    SAP customer number unknown for installation number 0020606335
    Job cancelled after system exception ERROR_MESSAGE
    please help me , what should i do ?
    I am waiting for your positive response.
    Regards
    Shubh

    hi,
    You can try following ....
    For the job SEND_SYSTEM_RELATIONSHIP_TO_SUP
    Program : AI_SC_SEND_SYSTEM_RELATIONSHIP
    1. Up to Support Package 09:
    a) Start transaction SMSY.
    b) Choose Shft+F5.
    c) Select the system named in the message.
    d) Choose F6.
    e) Select the "System Data in SAP Support Portal" tab.
    f) Using the input help, fill the system number field with the correct system.
    g) Save the data.
    2. Up to and including Support Package 08:
    a) Start transaction SOLMAN_CONNECT.
    b) Select the system in question in the ID field and choose the filter pushbutton.
    c) Select the system and select "Create configuration".
    d) Fill the system number field using the input help with the correct system.
    e) For example, select the "BW GUI Connection" service type.
    f) Carry out all of the subsequent steps of the Configuration Assistant until you see the "Finish" pushbutton.
    This establishes a unique relationship between your system in the Solution Manager and the system number in the SAP Support Portal. Problems no longer occur with this system when the SEND_SYSTEM_RELATIONSHIP_TO_SUPP job is next run. However, the problem may still exist for other systems (in these cases, you should follow the same steps).
    Hope this will help to solve your issue..
    Regards
    Bhuban
    RKFL

  • BWREMOTE background job canceled in sap r/3 system

    Hi my friends,
    Thanks for your help ahead.
    Today I checked the background job in SAP R/3 created by BWREMOTE via SM37. It showed me some jobs had been canceled.
    I displayed its log, the detail message is:
    ==========================================
    Step 001 started (program SBIE0001, variant &0000000083494, user name BWREMOTE)
    DATASOURCE = ZQM_NOT_SHFGRP
    Call up of customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 1,593 records
    Result of customer enhancement: 1,593 records
    Call up of customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 1,593 records
    ABAP/4 processor: SAPSQL_INVALID_FIELDNAME
    Job cancelled
    ==========================================
    Then I displayed the "Long Text" of the job log. It is
    One of the field names in the SELECT clause was not recognized.
    Error analysis
    The SELECT clause was specified in an internal table at runtime.
    It contains the field name "TPR00", but this does not occur in any of
    the database tables listed in the FROM clause.
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "SAPLXRSA " in
    "EXIT_SAPLRSAP_001".
    The main program was "SBIE0001 ".
    Source code extract
    008840 concatenate 'TPR'
    008850 day_temp+6(2)
    008860 ' = '
    008870 ' ''' zshift '''' into
    008880 cond .
    008890 append cond to itab .
    008900 select schkz into i_not_shfgrp-zzschkz from t552a
    008910 where zeity = '2'
    008920 and mofid = 'CN'
    008930 and mosid = '28'
    008940 and ( schkz = 'SFTA' or
    008950 schkz = 'SFTB' or
    008960 schkz = 'SFTC' or
    008970 schkz = 'SFTD' )
    008980 and kjahr = day_temp+0(4)
    008990 and monat = day_temp+4(2)
    > and (itab) .
    009010 endselect.
    I guess that there is not a field named TPR00 in table t552a.
    Next, I opened the 'project management of sap enhancement' via CMOD, entering the project name and chosing 'Display'.
    Then Double click the Components 'EXIT_SAPLRSAP_001', we can see the function module 'EXIT_SAPLRSAP_001'. In the source codes, there is an include program, it is 'INCLUDE ZXRSAU01.'.
    Then, I double clicked the Include program and find the position program terminated. The source codes are:
    ZQM_NOT_SHFGRP *
    when 'ZQM_NOT_SHFGRP'.
    loop at c_t_data into i_not_shfgrp .
    l_tabix = sy-tabix .
    clear :mbatch ,zshift,cond ,zfield, zcharg, day_temp .
    refresh itab.
    if i_not_shfgrp-ausvn is initial.
    else.
    aa = '080000'.
    bb = '160000'.
    cc = '235959'.
    day_temp = i_not_shfgrp-ausvn.
    if i_not_shfgrp-auztv ge aa and
    i_not_shfgrp-auztv lt bb .
    zshift = 'MSHF' .
    elseif i_not_shfgrp-auztv ge bb and
    i_not_shfgrp-auztv le cc .
    zshift = 'LSHF'.
    else .
    zshift = 'NSHF'.
    day_temp = i_not_shfgrp-ausvn - 1.
    endif.
    concatenate 'TPR'
    day_temp+6(2)
    ' = '
    ' ''' zshift '''' into
    cond .
    append cond to itab .
    select schkz into i_not_shfgrp-zzschkz from t552a
    where zeity = '2'
    and mofid = 'CN'
    and mosid = '28'
    and ( schkz = 'SFTA' or
    schkz = 'SFTB' or
    schkz = 'SFTC' or
    schkz = 'SFTD' )
    and kjahr = day_temp+0(4)
    and monat = day_temp+4(2)
    and (itab) .
    endselect.
    endif.
    I found that we got a TPR00 during concatenation. In other words, day_temp+6(2) = 00. But I think it is impossible. I can not explain this.
    Any ideas, my friends. Many thanks.

    select schkz into i_not_shfgrp-zzschkz from t552a
    where zeity = '2'
    and mofid = 'CN'
    and mosid = '28'
    and ( schkz = 'SFTA' or
    schkz = 'SFTB' or
    schkz = 'SFTC' or
    schkz = 'SFTD' )
    and kjahr = day_temp+0(4)
    and monat = day_temp+4(2)
    <b>and (itab) .</b>  => doesn't make sense?!
    endselect.
    endif.
    it seems something got deleted between 'and' and '(itab)'... so, you'll have to recheck the requirements for your select to fill the 'and' statement further.
    so, it should look like
    and monat = day_temp+4(2)
    and <b><some kind of condition that needs to be fulfilled></b>.
    endselect.
    <b><some logic to fill a line in your internal table></b>.
    append cond to itab.
    endif.
    obviously <some kind of condition that needs to be fulfilled> needs to be replaced by a real condition
    and <some logic to fill a line in your internal table> needs to be replaced by some kind of formula
    I assume something like (otherwise it would be really weird to select that field):
    cond = i_not_shfgrp-zzschkz.
    or a formula using the i_not_shfgrp-zzschkz field.
    It would also be a lot better to replace your select ... endselect by a select single as you'll be selecting 1 record only anyways.
    Message was edited by:
            RafB

  • Background job cancelled , where as working fine in foreground

    Hi,
    In selection screen , I have a to provide a file name and execute the program.
    When I execute in foreground its working fine, but where are when I execute in background with variant it shows invalid file name and job cancelled in long text.
    Please suggest me what would be the problem and possible solution.
    Thanks,
    Ameer

    Hi Ameer,
    Add the following condition for running the prgram in Background.
    *****To upload file*********
    IF sy-batch = 'X'.  "-----> If backgroung execution option is selected.
    OPEN DATASET p_filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    WHILE sy-subrc = 0.
          READ DATASET p_filename INTO wa_struc.
          APPEND wa_struc TO itab_struc.
    ENDWHILE.
    CLOSE DATASET p_filename .
    ENDIF.
    *****To download file*********
    IF sy-batch = 'X'.
       OPEN DATASET p_filename1 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
       IF sy-subrc = 0.
        LOOP AT itab_struc INTO wa_struc.
          TRANSFER wa_struc TO p_filename1.
        ENDLOOP.
        CLOSE DATASET p_filename1.
      ENDIF.
    ENDIF.
    Hope this addresses your issue.
    Regards,
    Arnab

  • SAP_COLLECTOR_FOR_PERFMONITOR background job cancelled in SM37

    Dear all ,
    One of the scheduled background job has been  cancelled .
    Kindly check the below loga and Background job details .
    Job name        SAP_COLLECTOR_FOR_PERFMONITOR
    Job class       C
    Status          Canceled
    (ABAP Program
    Name           RSCOLL00
    Variant
    Language       EN)
    Job Log :
    30.05.2010 06:20:32 Job started
    30.05.2010 06:20:32 Step 001 started (program RSCOLL00, variant , user ID DDIC)
    30.05.2010 06:20:37 Clean_Plan:Cleanup of DB13 Plannings
    30.05.2010 06:20:37 Clean_Plan:started by RSDBPREV                       on server PRDCIXI
    30.05.2010 06:20:38 Clean_Plan:Cleaning up jobs of system IRP
    30.05.2010 06:20:39 Clean_Plan:finished
    30.05.2010 06:20:43 ABAP/4 processor: DBIF_RTAB_SQL_ERROR
    30.05.2010 06:20:43 Job cancelled
    Kindly suggest

    Dear all ,
    Kindly check the ST22 error logs .
    Short text SQL error occurred in the database when accessing a table. What happened? The database system detected a deadlock and avoided it by rolling back your transaction. What can you do? If possible (and necessary), repeat the last database transaction in the hope that locking the object will not result in another deadlock. Note which actions and input led to the error. For further help in handling the problem, contact your SAP administrator . You can use the ABAP dump analysis transaction ST22 to view and manage termination messages, in particular for long term reference. Error analysis The database system recognized that your last operation on the database would have led to a deadlock. Therefore, your transaction was rolled back to avoid this. ORACLE always terminates any transaction that would result in deadlock. The other transactions involved in this potential deadlock are not affected by the termination. Last error logged in SAP kernel Component............ "SAP-Gateway" Place................ "SAP-Gateway on host PRDCIXI / sapgw01" Version.............. 2 Error code........... 679 Error text........... "program prodoradb.sapccmsr.99 not registered" Description.......... "TP prodoradb.sapccmsr.99 not registered" How to correct the error Database error text........: "ORA-00060: deadlock detected while waiting for resource" Internal call code.........: "[RTAB/UPD /MONI ]" Please check the entries in the system log (Transaction SM21). If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note. If you have access to SAP Notes, carry out a search with the following keywords: "DBIF_RTAB_SQL_ERROR" " " "RSHOST3M" or "RSHOST3M" "PUT_LOGBOOK" If you cannot solve the problem yourself and want to send an error notification to SAP, include the following information: 1. The description of the current problem (short dump) To save the description, choose "System->List->Save->Local File (Unconverted)". 2. Corresponding system log Display the system log by calling transaction SM21. Restrict the time interval to 10 minutes before and five minutes after the short dump. Then choose "System->List->Save->Local File (Unconverted)". 3. If the problem occurs in a problem of your own or a modified SAP System call.......... " " Module............... "gwr3cpic.c" Line................. 1835 The error reported by the operating system is: Error number..... " " Error text....... " "
    for detail log.
    System environment
    SAP-Release 700
    Application server... "PRDCIXI"
    Network address...... "10.54.145.32"
    Operating system..... "AIX"
    Release.............. "5.3"
    Hardware type........ "000184CAD400"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 8
    Shortdump setting.... "full"
    Database server... "PRODORADB"
    Database type..... "ORACLE"
    Database name..... "IRP"
    Database user ID.. "SAPSR3"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Mar 7 2010 21:00:49"
    create on........ "AIX 2 5 005DD9CD4C00"
    Database version. "OCI_102 (10.2.0.2.0) "
    Patch level. 246
    Patch text.. " "
    Database............. "ORACLE 10.1.0.., ORACLE 10.2.0.., ORACLE 11.2...*"
    SAP database version. 700
    Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5, AIX 1 6"
    Memory consumption
    Roll.... 1217248
    EM...... 0
    Heap.... 0
    Page.... 32768
    MM Used. 1050520
    MM Free. 146024
    and Transaction
    Client.............. 000
    User................ "DDIC"
    Language key........ "E"
    Transaction......... " "
    Transactions ID..... "4BFF227871E00187E10080000A369120"
    In the source code you have the termination point in line 521
    of the (Include) program "RSHOST3M".
    The program "RSHOST3M" was started as a background job.
    Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"
    Job Initiator.. "DDIC"
    Job Number..... 02033500
    In the source code you have the termination point in line 521
    of the (Include) program "RSHOST3M".
    The program "RSHOST3M" was started as a background job.
    Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"
    Job Initiator.. "DDIC"
    Job Number..... 02033500
    Program............. "RSHOST3M"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    rmation on where terminated
    Termination occurred in the ABAP program "RSHOST3M" - in "PUT_LOGBOOK".
    The main program was "RSHOST3M ".

  • Background Job cancelling with error Data does not match the job definition

    Dear Team,
    Background Job is getting cancelled when I run a Job on periodically but the same Job is executing perfectly when I run it manually(repeat scheduling) .
    Let me describe the problem clearly.
    We have a program which picks up files from an FTP server and posts the documents into SAP. We are scheduling this program as a background Job daily. This Job is running perfectly if the files contain no data. But if the file contains data the JOb is getting cancelled with the following messages.
    And also the same Job is getting executed perfectly when repeat scheduling is done ( even for files with data).
    Time     Message text                                                                       Message class Message no. Message type
    03:46:08 Job PREPAID_OCT_APPS2_11: Data does not match the job definition; job terminated        BD           078          E
    03:46:08 Job cancelled after system exception ERROR_MESSAGE                                      00           564          A
    Please help me in resolving this issue.
    Thanks in advance,
    Sai.

    hi,
    If you have any GUI function modules used in the program of job
    you cannot run it in background mode.

  • Background job cancelled due to user validation expired

    Hi Experts,
    One background job is cancelled due to user (owner of the job) validation has been expired. This job is executing for every 1 Hr.
    I don't want to change the user id validation at this movement.but i want to change the owner of the job.
    Please let me know how can change the owner of this background job.
    Regards,
    Reddy V.

    Hi kaushal,
    Thank you for your valuable information.
    I Followed the same below mentioned steps.i.e  I changed the user name and after this i deleted this job from old user. But now this job is not executable with new user id.
    i.e In SM37 T.code > Entered the job name and New user name>Selected all job status but it showing below message
    No job matches the selection critera.
    Please let me know how can i execute the same jod with new user id.
    Regards,
    Reddy V

  • Why Background job cancelled ?

    Hi Experts,
    I developed a report for execution that is taking too much time so i kept it in background job using SM37,
    but it is getting canceled with in an half an hour am not getting why it is canceled.
    so plz assist me to know the reason.
    thanks and regards
    Jani

    Check the Transaction ST22 for dumps.
    Check the Transaction SM21 - for system logs. and also check the connectivity.
    Contact you basis team to check in to the issue to get the root cause.

  • Background Job cancellation-Alert config in Solman

    Team,
    We would like to send an alert to the distribution list or the user whenever a particular background job is getting cancelled.
    Could you please let me know the steps how it can be done in solution manager.
    Regds,
    Satyanarayana N

    Hello,
    I recommend to setup the Job Monitoring of Business Process Montoring from a Job Documentation. The alerts can either generate notifications (E-Mail, SMS) or workflow documents (messages in Support Desk).
    This is demonstrated in a RKT tutorial:
    http://service.sap.com/~sapidb/011000358700001911422008E.sim
    The process is also documented:
    http://help.sap.com/saphelp_smehp1/helpdata/en/8e/3ad6f807e147669036d2a6aed597aa/frameset.htm
    Please also visit our Service Markteplace representation: http://service.sap.com/jsm
    Kind regards,
    Martin

  • Background job cancelled

    Hi Experts
           I have defined and scheduled a background job using variant, but when i try to execute the job, but it is cancelled and gives the job log as follows.
    Job started                                                                                00 516 S 
    Step 001 started (program ZCUT1, variant ZONE, user ID SAP01)  00 550  S 
    ABAP/4 processor: OBJECTS_OBJREF_NOT_ASSIGNED           00  671  A 
    Job cancelled                                                                            00  518  A 
    What could be the reason, pls help me solve it out.
    Thanks in advance.
    Regards
    Rajaram

    HI,
    refer this once.
    There are two ways for you to handle,
    one manually setting up the job through SM36 which is better and convinient,
    secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
    Find below steps in doing both:
    Procedure 1:
    1. Goto Trans -> SM36
    2. Define a job with the program and variant if any
    3. Click on start condition in application tool bar
    4. In the pop-up window, click on Date/Time
    5. Below you can see a check box "Periodic Job"
    6. Next click on Period Values
    7. Select "Other Period"
    8. Now give '15' for Minutes
    9. Save the job
    In SM37 u can check the status of the jobs that u have assigned to background...
    Here u mention the job name or the report name to check the status of the job...
    After mentioning the job name or program name u just execute it.. ( without any name also u can execute then it gives u all the jobs set by your user name..
    the status colud be released,active,finished etc..
    Procedure 2 via Program:
    Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
    DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
    L_RELEASE(1) TYPE c.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = 'ZTEMP2'
    IMPORTING
    JOBCOUNT = P_JOBCNT
    EXCEPTIONS
    CANT_CREATE_JOB = 1
    INVALID_JOB_DATA = 2
    JOBNAME_MISSING = 3
    OTHERS = 4.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
    TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    WITH DESTINATION = 'HPMISPRT'
    WITH IMMEDIATELY = SPACE
    WITH KEEP_IN_SPOOL = 'X' AND RETURN.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = P_JOBCNT
    JOBNAME = 'ZTEMP2'
    STRTIMMED = 'X'
    PRDMINS = 15
    IMPORTING
    JOB_WAS_RELEASED = L_RELEASE
    EXCEPTIONS
    CANT_START_IMMEDIATE = 1
    INVALID_STARTDATE = 2
    JOBNAME_MISSING = 3
    JOB_CLOSE_FAILED = 4
    JOB_NOSTEPS = 5
    JOB_NOTEX = 6
    LOCK_FAILED = 7
    INVALID_TARGET = 8
    OTHERS = 9.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Notification upon Background Job Cancellation

    Hi All,
    We would like to send a notification to responsible person upon CANCELLATION of background job for various reasons.
    What would be the best way to do it?
    I tried to various events of business objects BPJOB/BPJOB_SMAN, with no sucess.
    Will appreciate any guidance in this regard.
    Thanks in Advance.
    Regards,
    Lakshmi Narayana

    HI ,
    You create one Z- Report and Write the following logic in it :-
    1. Give a Job Name as selection selection parameter on the selection screen.
    2. Select all those records from the Table TBTCO where JOBNAME = selection screen job name and SDLSTRTDT - sy-datum and STATUS = 'A'.
       This will return you with all those jobs which were scheduled and canceled on current date. Status 'A' Means Canceled jobs.
    3. Now you use FM 'EFG_GEN_SEND_EMAIL' to send a notification to the required user as per your requirement.
    4. Now Enter all the JOb name which you want to monitor and save one varient for it
    5. Now go to SM36 and Schedule this Z-Report with the created variant and the frequency you want.
    This will Satisfy your requirement.
    Please check and Revert.
    Regards,
    Nikhil Joshi

  • F110 - Background job cancelled

    Bacground job is scheduled for F110 (Payment run program) every night. But the job is failing with the messgae 'Message number not found'. We have recently upgraded to ECC6 version, earlier in older version(4.6C) the job was getting completed with out any errors, now the job is getting cancled with the above mentioned message. Can any one pls let me know why the job is getting failed in new version when all the steps are same to the old version.
    Thanks,
    Raju

    search OSS ... there is some issue on the messages in ECC 6.0
    use search term 'Message 000' and restrict to ur sap system.
    By the way, this doesnt solve your F110 problem but gives you right message as what happened
    Edited by: Sampath Kumar on Oct 26, 2009 10:32 AM

  • SAP GRC AC 5.3 RAR Background jobs are cancelled

    Hi Experts,
    we have newly implemented theS AP GRC AC 5.3 RAR  Help me in troubleshooting the Background jobs cancellation in SAP GRC AC5.3 RAR.. we have reported this issue to customersupport they asked us to upgrade the front end  patch level to Sp15, even we upgraded still i have the same problem.. later we upgraded the backend patch  according to the SAP Note. still the problem is not resolved.
    Latest recommendation they are asking us to uninstall the SMD agent.. and also my java control.exe is showing yellow color
    help me how to resolve the issue.??
    Edited by: n.s.k mohan on May 10, 2011 6:21 AM

    Hi,
    Could you please first change RAR log settings to Java logger then take a restart of the system. After that log for your background will start coming in RAR. Then schedule the job if it fails then paste background job log here.
    Also, in future, please raise GRC related issue in GRC forum so that you can get more replies.
    Thanks
    Sunny

  • 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

  • Back ground job cancelling

    Hello Everyone,
    Our scheduled background job cancel each time in job log log it gives this error message:
    ""ABAP/4 processor: TSV_TNEW_BLOCKS_NO_ROLL_MEMORY"".
    This is a ABAP Memory Message.
    I went into ST22 and saw the error message. System is not able to allocate memory to the data selected from the table( No roll storage space of length 3178504 available for internal storage.). Probably i need increase the roll memory of our server, i think this will done by basis people.or  Alternatly i can process the data by small packets like 1000 records every time.
    So i can i know how can i process the data by small packets like 1000 records every time.
    Need your help.
    Thanks,
    Lasya.

    Hi
    If you can divide the data into two internal tables and later collect into the one internal table, this could solve yuor problem.
    Also you need to make sure that enough memory is available in the system. Check DB6cockpit for that.
    Also there are a lot of correction notes available with SAP for the error"TSV_TNEW_BLOCKS_NO_ROLL_MEMORY"
    Check what the job exactly does, and search for the relevant notes, as there are different notes for different application areas...
    if its a loading job(Infopackage) you can reduce the data packet size of the IP, but that might hamper the loading performance.
    Hope this helps
    Regards
    Shilpa

Maybe you are looking for

  • What to look for when purchasing iPhone external battery?

    Next month I'll be taking a 5 day trip to NYC and I'll be using my built-in iPhone 4 Google Maps GPS a lot, so I'm in the market to buy an external battery. So with that said, what should I look for when purchasing one? I've noticed a lot of these ad

  • Keynote View During Projection

    I recently purchased a mini-DVI to VGA adapter for my MacBook. When I went to play my presentation, it came up on the projector in Rehearse View. Also, as I went back to the Desktop to try and reopen the application, but that didn't work either. Also

  • IBook 4 battery will not charge

    I recently bought a gently used iBook G4 (14.1 1.33) with OS X v10.3.9froma friend. When I bought it the battery was fully charged and working but it has since stopped sharging. I have reset the PMU, NVRAM, PRAM, the adapter light is green, and, when

  • Setting 2xx Status Code in Message Container

    Hello all, is there any possibility to set an HTTP Status code in a message container(/iwbep/if_message_container)? Or to set it in the http response? Regards

  • CS6, using GH2 - ACVHD/MTS files. No sound importing of some clips.

    I'm using Windows 7, CS6. Can someone help with this problem? It's the first time it's happened. On certain GH2/ACVHD/MTS video files, I am not getting any sound imported. But other clips from the same camera and shoot are fine. For example clips 000