Stucked in one background job

Dear all,
I am trying to change one HR workflow for travel request, ii's having two level of approval, I am trying to execute the workflow,  it's working fine till all the approvals but after all approvals there is one activity to create attandance of the employee for the perticular traveling  days and it is a background task activity.
My workflow is getting stucked over here it's showing in process like it's not even giving any error but it's just showing IN PROCESS as status in the log.
I tried all the possibility for this task assigned to the perticular activity,  it is a customized task and also I have tried to execute the method and function modules assigned  to the object BUS2089 which are customized method and function module and are working fine but this activity is not working at runtime.
Can anybody please help me for the same?

Hi,
If you are using any enque deque functionality in that activity then it is not going to work, as I was having the same for attandance updation.
You can also check wheather your task is general task or not, if your task is for user decision and it is not the general task then make it as general task.
If still you are facing the problem then plz send brief notes about the activity and method you are using.

Similar Messages

  • Scheduling one background job inside another

    Hi All,
    Is it possible to Scheduling one background job inside another.? i.e In my Z program I am calling job_open, job_submit, job_close and to execute one standard report in background. And after that I am executing my Z program itself  from SE38 as Program->Execute->Background->Execute Immediately. Is this logically correct? I am asking this because I am not getting the desired result
    Thanks & Regards,
    Neethu.

    HI,
    Check the job steps in SM36.
    First schedule the Standard job and in the job steps schedule the z report.
    Schedule job in chain

  • Delete Spools created by one background job

    Hi ,
    I have a background job which runs every now and then and it creates spools. My requirement is to delete all spools created by this one job only in regular intervals via another program.
    Regards,
    Arun.

    Hi J@Y,
    the spools that my background job is creating should stay in the system for a while for users to go and see it. After a specific interval, say every 30 minutes, i want all the spools created by that one job till that time to be deleted
    regards,
    Arun.

  • Background job is taking lot of time for processing the job.

    One background job - which is processing Idocs is processing a job for more than 2000+ seconds.. and completed tho.
    But this is happening for the past few days.. is there any way to trouble shoot, or find from any logs of this completed job, to find out why it was taking lot of time for processing.
    Can you please tell me the steps of analyzing / trouble shooting why it was taking lot of time daily.
    Regards,
    Satish.

    Hi Satish,
    Run DB stat from db13 it will improve the performance.
    Check number of idocs. You can send part by part, instead of sending huge data.
    Check SM58 logs
    Suman

  • Background job got cancelled for the user ----- Isolation and resolution

    Hi Experts,
    One background job got cancelled for the user I have the Jobname and User...
    Able to view the log information in SM37.
    I am not sure what is the next step to do and how to resolve this issue.
    Could any one please provide me the step by step Isolating the issue and resolving it.
    That would be really greatfull.
    Thank you in advance.
    Regards,
    Prem.

    Hi,
    What the error it was stating in that SM37 job log?
    Pls post that error log, not completely just mention the error here we'll try to help you.
    rgds,

  • 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

  • Parallel (same) background jobs:  Memory and locking issues

    <b>Scenerio:</b>  Multiple concurrent inbound asynchronous XI messages need to be processed in SAP.  We have the XI proxy initiating an RFC. This RFC exports internal tables (essentially the XI payload) to a unique shared memory ID (for each XI message). RFC then submits an abap (submit..and return)  in a background job. This abap reads (via IMPORT) the shared memory ID to get the data then process it.
    <b>Problem:</b>  : When multiple concurrent jobs/abap are running, often, but not always, one of the submitted abaps either gets a non-zero return code from the IMPORT, or the IMPORT from shared memory seems to work fine, but the table contents contains data from the other (parallel) run, even though the memory ID used is correct and unique.
    I have attempted to resolve this by using various methods (memory IDs, SPA/GPA parameter, ENQUEUE) of locking in the RFC (unlocking at end of abap), so that only one background job is executed at a time.  However, the best I can do is having two or three running in parallel.
    So I'm wondering how to solve this memory issue and/or how to make the abap processing synchronous?  Any help appreciated. Thanks.

    There is a limitation on Amt of data you can store in ABAP Memory and SAP Memory .. check those limitation ..per user ..
    also check for Number of external session granted by urr basis ppl...
    it may be possible that only 3-4 session are allowed coz each background process create and external session ..

  • Error in Control Framework: Background job failed

    Hi Experts,
    One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
    Thanks & Regards,
    SKB

    Hello,
    please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
    I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
    HTH,
    Jens Hoetger

  • Triggering a background job of class 'A' from within the ABAP program

    Dear All,
    We are implementing SAP ECC 6.0 on IBM System i, i5/OS V5R4,  SAP kernel 7.00, kernel patch level 173.
    Is there a way to control that when a background job is triggered from within an ABAP program using the : CALL FUNCTION 'JOB_OPEN' statement, the background job is of class A ?
    I know that through transaction SM37, the job class for a background job can be changed manually, but the situation is an outsource company did for us some changes in the native SAP ABAP programs related to some SAP native transactions, and those programs trigger at their end some background jobs, each job running with the name of user running the transaction.
    Through SM37, I can't find a template background job, to be changed to have class 'A'
    The following is an excerpt from the ABAP code, bearing the CALL FUNCTION 'JOB_OPEN' statement :
    FUNCTION z_cs_technical_completion.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(AUFNR) TYPE  VBRP-AUFNR
      DATA jobcount TYPE tbtcjob-jobcount.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname                = 'CS_TECH_COMPLETE'
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
       IMPORTING
         jobcount               = jobcount
    CHANGING
      RET                    =
       EXCEPTIONS
         cant_create_job        = 1
         invalid_job_data       = 2
         jobname_missing        = 3
         OTHERS                 = 4
      SUBMIT zcs_technical_completion
              WITH p_aufnr EQ aufnr
                AND RETURN
              VIA JOB 'CS_TECH_COMPLETE'
              NUMBER jobcount.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = jobcount
          jobname              = 'CS_TECH_COMPLETE'
          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
          invalid_target       = 8
          OTHERS               = 9.
    ENDFUNCTION.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Dear Darren,
    Thank you very much for your cooperation and for your prompt reply.
    Could you please explain to me how to find out the template background job that was first used, or in other words, how things were set up in the first place, i.e. when first the ABAP program was written and executed, there had to be at least one background job created through transaction SM36 ?
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

  • How to delete variant form background job

    Hi,
    I have one background job with 5 variants associated with iy.
    Now i want to remove 2 variant from that background job.
    is it posible???
    if yes then how to do that?
    Thanks,

    Hi.
    Go to SM37, execute report to see it, click on modify, and change steps.
    If you have problems, delete job, and create a new one.
    Best regards.
    Valter Oliveira.

  • Multiple background jobs to fill set-up tables in LO

    Hi,
    Can we schedule multiple background jobs for filling the same set-up table concurrently - obviously with non-overlapping selections.
    ex: one background job for filling order# 1000 to 100,000
         one background job for filling order#100,001 to 200,000
    Both jobs running at same time.
    Thanks,
    Anita S.

    Hi Anitha,
    Yes we can Schedule Multiple Setup Jobs for the same Application wiht the Diff Ranges of selections.
    It is possible and i have tried in our project.
    Egg:-
    We did a Reload of some doc that were missing in BI.
    Did selective deletion of those corrupted data in some Data targetsand filled the Setup tables wiht those selection conditions (in our case 10 diff selection).
    We ran this jobs in Background simultaniously when all the jobes finished we have ran the Full Repair Requests of those 10 selections to those respective data targets.
    Hope this gives you enough clarity.........!!!
    Best Regards,
    VNK.

  • KP97 background job trigger after an event

    In Tcode KP97, need to create a background job which triggers after an event y_plan_event .I need this job to run whenever the event is triggered in R/3 .
    Right now what is happening is I create one background job and it gets released only once.
    Kindly let me know how to go about to make this KP97 job run whenever the event triggers( ie scheduled).
    There is no way i can create Variant for the first screen of Kp97

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    Modify the job in SM37 by making it Event Dependent. Event can be created using transaction SM62.
    <br><br>
    Hope it helps.<br>
    Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
    Please assign Reward Points if I deserve them in your opinion
    </FONT>

  • Doubt on background job scheduling

    Hi all,
    I have one background job scheduled where vf03 tcode is executed.
    I want to know what are the documents updated through this backgroung job schedule.
    Can i know thru SM37 what r the documents updated in the table by running this background job?
    Regards
    cnu

    Hi
    Take the PROGRAMNAME from the table TBTCP related to Background job and
    from the program logic it will be known that what tables are get updated.
    generally when we are using VF01/02 tcodes the tables like VBRK and VBRP are get updated.
    Reward points for useful Answers
    Regards
    Anji

  • Background job stuck while upgrading

    I background job is stuck in SAP while upgrade is running .
    According to upgrade document it should be about 1% .
    Job Name is : RDDCP4TB
    please help how can i proceed further ..
    regards
    sachin

    Hi sachin,
    Need to check couple of things here.
    1.check for the back ground work process.
    2.check the free space in /usr/sap/<SID>/SYS/global .if there is no free space to write the job log then backgorund job will not run.
    3.Also check for the free space in archive log directory
    paste the log for this particular phase so that we can analyze further.
    Thanks and Regards,
    -Bijesh.

  • Hi any one please explain background job scheduling

    Hi any one please explain background job scheduling . Good answer can be rewarded.
    Thanks

    Background jobs are pgms that are scheduled to be run in the Background without user interaction. So this can be done only for Type 1(executable) Program and not for Module-Pool Programs. Typically, a variant is defined and the pgm is run using the same.
    The transaction code is sm36 -Define Background job. Using the Start Condition tab you can define when you want the job to run (specific time or if it has to follow after a particular job is done etc.,) Using the Step tab you can assign the pgm name and variant.
    After the job is scheduled, you can check the status in sm37, along with the Job log and Spool.
    For more info:
    http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm

Maybe you are looking for

  • How do you print the entire contents from a data field?

    I have a simple Acrobat form that was sent to me and one of the data fields employs a scroll bar because it contains more text than the field can hold. How do I print my document so that it prints everything in that field, not just was is visible? Th

  • Unable to convert sender XI party  to an IDOC Partner

    Hi,      We are doing a IDOC-File scenario for which we got this error Unable to convert sender XI party http://sap.com/xi/XI / XIParty / UK to an IDoc partner .The receiver is a party. We have already set the adapter specific atttributes for the rec

  • How to display image that's in a table (BLOB datatype) in  apex 4.0 report

    I have an image that is in a table and I'm trying to get it to display in a report. The upload takes place on 1 page and the report is on another page. The source for the report page is as follows: select firstname, lastname, decode(nvl(dbms_lob.getl

  • Itunes error Download Only and try installing manually

    I cannot update iTunes to v 10.5  I get the error message which I dont understand: "Errors ocurred while installing the updates.  If the problem persists, choose Tools > Download Only and try installing manually" I'm currently running iTunes to v 10.

  • Execute Class using MBeans...

    Hello, Sorry for my bad english... I have a two classes called ShutdownJoltsClass and StartUpJoltsClass on my local WL server. These classes allow me to execute PoolManagerStartUp and PoolManagerShutDown at server startup time and shutdown time respe