WorkFlow Back Ground Process Running More Time

Hi all,
I have very Big problem it is occured in production i need help vary urgent for this .
Work flow Back Ground Process Running More than 5 hrs,actualy Daily it is running only below 2 min .but yesterday onwords it is running more than 5 hrs.but this workflow back ground process running long time only one item_type='REQAPPRV' REMAING item_types running normaly.
i did have any root cause for this performance issue plz let me know any one for this problem what is the root cause.
Thank's

Reddy,
Go through the following documents, it should be helpful in troubleshooting the issue.
Note: 186361.1 - WF 2.x: Workflow Background Process Performance Troubleshooting Guide
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186361.1
Note: 298550.1 - Troubleshooting Workflow Data Growth Issues
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=298550.1
Note: 566577.1 - Workflow Background Process Has Significant Performance Issues
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566577.1
Note: 743338.1 - Performance Degradation when the Workflow Background Process is Running
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743338.1
Note: 734425.1 - How To Generate Performance Trace for Workflow Background Process?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=734425.1
If this is your production instance and the issue is urgent, I would suggest you log a SR.
Regards,
Hussein

Similar Messages

  • Re: WorkFlow Back Ground Process Running More Time

    Hi ,
    I have a similar situation where Workflow Background Process is running for hours during peak business hours only for item type REQAPPRV.
    Can you please suggest the action plan taken in your case.
    Thanks,

    user12558002 wrote:
    Hi ,
    I have a similar situation where Workflow Background Process is running for hours during peak business hours only for item type REQAPPRV.
    Can you please suggest the action plan taken in your case.
    Thanks,Please post the details of the application release, database version and OS.
    Was this working before? If yes, any changes been done recently?
    Can you find any errors in the CM/Workflow/DB log files?
    Please see the following docs.
    Workflow Background Process Hangs on Deferred = Yes and OM Order Line [ID 817642.1
    Running "Workflow Background Process" During Day Time Hangs For 'OM Order Line' Parameter [ID 564504.1
    WF 2.x: Workflow Background Process Performance Troubleshooting Guide [ID 186361.1]
    How to Recreate a Corrupted Workflow Background Queue WF_Deferred_Table_M [ID 1176723.1]
    Workflow Background Process Takes Long Time to Run After Conversion To ATG Rup5 DB 10g [ID 469702.1]
    11.5.10.4: Workflow Background Process Seems To Take Longer After RUP.4 [ID 560144.1]
    Performance Degradation when the Workflow Background Process is Running [ID 743338.1]
    How Often or Frequent Should You Run Workflow Background Process to Improve Performance for Deferred OEOL? [ID 1308607.1]
    Thanks,
    Hussein

  • Back ground processes, dialogue processes and Process chains

    Hai all,
               I am going through making process chains and I am struck with one thing:
    "How many background process chains and dialogue processes you have during run time"
    This is the problem. I understood everything else except this.The concept says that I have to know what is the capacity of the system, how many background and dialogue processes it could accomodate, how many are left and how many you can use for your process chain.How do we find out this? and could somebody please explain me or refer to documentation about the Back ground processes, dialogue processes and Process chains.
    Thanks.

    Hi Visu,
      You can see the number of dialog and background processes by using transaction SM51 and then double clicking on the server (we only have one but it may be different for each). Our BASIS folks take care of the number of processes as well. And, for us we have a schedule that changes the number at a certain time of day because you tend to need more dialog during the day but more batch at night.
      The transaction to look at and change the settings is RZ03. Then use the menu path Edit->Operation Modes you can select either Configuration or Timetable here. Both give information in different ways. I tend to double click around to see what it might tell me.
      I hope this helps a bit,
    Diane

  • Create back ground processes

    Hi all,
    I want to create back ground processes in BI to trigger my process chain variant.
    Please tell me the steps to create this.
    Please suggest the step by step doc.
    Regards,
    Macwan James.

    hi,
    When you try to schedule and activate a process chain , it will directly create a background job "BI_PROCESS_TRIGGER" which will start the process chain .
    So directly it will assign the process chain to background job.
    If you want to run PC once job finishes then -->, you will find an option while scheduling the process chain. Right click on Start variant and select "maintain variant" --> Select "Change Selections" --> Click on "After Event/After Job". Give the event name in the provided area in that screen. Now your process chain will execute after an event/job which runs in the background.
    Hope it helps
    Lavanya

  • Problem with Back ground MRP Run (MDBT) or MD01

    Hello SAP Experts,
    Issue :- Material is not considering during Automatic back ground MRP run ( MDBT or MD01)
    But when we run MRP in forground (MD02) system is considering the material.
    we have checked both the selection parameter are same for MD01 and MD02 .
    can you help us on this issue ?
    Regards
    Mahesh

    Hi,
    Problem is due to entry in Planing File is missing for that Material.
    Go to MD21 and check whether Planing File entry is maintain for that Materiel.
    If not then maintain it by T.code MD20 (Manual) or you can do it by using back Ground JOB - OMDU.
    Regards,
    Dhaval

  • Back ground processing of the LDAP

    Hi,
    We are on XI3.1, SP2.
    We are using LDAP authentication.
    We wants to know the  back ground processing when a using login to the deski using LDAP authentication.
    Any one please help on this.
    Thanks in advance.
    Thanks & regards,
    Collin Powell.

    When logging with client tools the LDAP logon will be sent from the client, then the username will be authorized by the CMS which will in turn send a number of queries to the LDAP server to verify group membership. The variables include, graphtimeout (set or not) version/patch of BO (this behavior is different in 3.x vs XIR2 and even different in XIR2 SP2 vs SP4.
    If you are not using SSL then all the traffic can be packet scanned using a tool like Micr4osoft netmon or wireshark.
    Regards,
    Tim

  • Regarding back ground processing for excel.

    Hi,
    i want to create the Excel sheet and i want to save in Back ground Processing....
    give me some suggestionss.......................

    This can create any file (spreadsheet/plain text/ dat files). but to add workbooks to the sheet you need to use OLE Object concepts.
    PARAMETERS:    p_terms(256) TYPE c OBLIGATORY,
                p_del(1)     TYPE c OBLIGATORY DEFAULT cl_abap_char_utilities=>horizontal_tab.
    DATA:       lv_str       TYPE string,
          lv_char(256) TYPE c,
          lr_descrref  TYPE REF TO cl_abap_typedescr.
    FIELD-SYMBOLS: <comp> TYPE ANY.
      IF itab IS NOT INITIAL.
        OPEN DATASET p_terms FOR OUTPUT IN LEGACY TEXT MODE .
        IF sy-subrc EQ 0.
          CLEAR : lv_str.
    Header of the file
          CONCATENATE
            'Action'
            'Name'
            'EE User ID'
            'Termination Date'
            'Last Day Worked'
            'End Of Notice'
            'Employee Type'
            'Department'
            'Department_type'
            'Office Location'
            'Manager Name'
            'Has Cellphone'
            'Has Home Office'
            'VP and Above'
           cl_abap_char_utilities=>cr_lf
          INTO lv_str SEPARATED BY p_del.
          LOOP AT itab INTO ls_terms.
            WHILE sy-subrc EQ 0.
              ASSIGN COMPONENT sy-index  OF STRUCTURE ls_terms TO <comp>.
              IF sy-subrc NE 0.
                EXIT.
              ENDIF.
              lr_descrref = cl_abap_typedescr=>describe_by_data( <comp> ).
              IF lr_descrref->type_kind = 'P'.
                WRITE <comp> TO lv_char DECIMALS 2.
              ELSE.
                WRITE <comp> TO lv_char.
              ENDIF.
              SHIFT lv_char LEFT DELETING LEADING space.
              IF sy-index NE 1.
                CONCATENATE lv_str lv_char INTO lv_str SEPARATED BY p_del.
              ELSE.
                CONCATENATE lv_str lv_char INTO lv_str.
              ENDIF.
              CLEAR: lv_char.
            ENDWHILE.
            TRY.
    This statement passes the content of data object to the file specified
                TRANSFER lv_str TO p_terms.
              CATCH cx_sy_file_authority .
                FORMAT COLOR 6 ON.
                WRITE:/ 'No authorization to access the Term file'.
            ENDTRY.
            CLEAR lv_str.
          ENDLOOP.
          CLOSE DATASET p_terms.
        ENDIF.
      ENDIF.

  • Error in BDC Back Ground Processing

    Dear All,
    I am facing problem on while executing BDC program. First i am executing in Foreground method there it displaying errors occured,
    means it showing full discription or error.
    But when i used Back ground processing its displayig the full error discription like "No posting object defined for 1230/ / / " here i need full error discription.
    please do the need full.
    Regrads,
    Srinivas.

    Hi
    In background processing you cannot see the error message, for that you have to write logic for capturing messages.
    Use 'Format_Message' function module so that you can get the complete message and then you can display that on the screen.
    Hope it helps...

  • Back Ground Process In OOABAP

    Hi all,
    How can i process Back ground process on Object oriented
    Thanks Rayeez,

    Hi Rayeez,
    I had a requirement wherein I had to call ALV Grid display in background, here I used OO ABAP and just before creating the custom container I checked IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    You can find similar methods for your OO Class and check if it is initial.
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • Back Ground Processing of Prog.

    Hi All ,
             The report details all production that has been confirmed and is used for the weekly flash figures.
    I am continually getting an ABAP Runtime error with the reason "The program "ZM07 " has exceeded the maximum permitted runtime and has therefore been terminated"
    The report will execute in the background OK but the column info.  for 'COIL COLOR' is missing on the EXCEL file ...
    Any Suggestion regarding this plzz...
    Thanks,
    VInd.

    Hi,
    Usually the Foreground execution( Processing) time is fixed to 5 min. ( Done by Basis. Check your time with Basis guy ). So if processing takes more time, one should opt for Background processing.
    Regarding the COIL COLOR, check the internal table which is passed to the FM to DOWNLOAD. Likely possiblity is that the internal table doesnt have the field.
    Best regards,
    Prashant
    PS : Please reward all helpful answers

  • Error in sql query as "loop has run more times than expected (Loop Counter went negative)"

    Hello,
    When I run the query as below
    DECLARE @LoopCount int
    SET @LoopCount = (SELECT Count(*) FROM KC_PaymentTransactionIDConversion with (nolock) Where KC_Transaction_ID is NULL and TransactionYear is NOT NULL)
    WHILE (
        SELECT Count(*)
        FROM KC_PaymentTransactionIDConversion with (nolock)
        Where KC_Transaction_ID is NULL
        and TransactionYear is NOT NULL
    ) > 0
    BEGIN
        IF @LoopCount < 0
            RAISERROR ('Issue with data in KC_PaymentTransactionIDConversion, loop has run more times than expected (Loop Counter went negative).', -- Message text.
                   16, -- Severity.
                   1 -- State.
    SET @LoopCount = @LoopCount - 1
    end
    I am getting error as "loop has run more times than expected (Loop Counter went negative)"
    Could any one help on this issue ASAP.
    Thanks ,
    Vinay

    Hi Vinay,
    According to your code above, the error message make sense. Because once the value returned by “SELECT Count(*)  FROM KC_PaymentTransactionIDConversion with (nolock) Where KC_Transaction_ID is NULL and TransactionYear is NOT NULL” is bigger than 0,
    then decrease @LoopCount. Without changing the table data, the returned value always bigger than 0, always decrease @LoopCount until it's negative and raise the error.
    To fix this issue with the current information, we should make the following modification:
    Change the code
    WHILE (
    SELECT Count(*)
    FROM KC_PaymentTransactionIDConversion with (nolock)
    Where KC_Transaction_ID is NULL
    and TransactionYear is NOT NULL
    ) > 0
    To
    WHILE @LoopCount > 0
    Besides, since the current query is senseless, please modify the query based on your requirement.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Why does crontab running more times ?

    I have crontab in the following, want to run myapp.pl  "Every 5 min between 13:00 and 15:00" .
    #Minute Hour   Day    Month  Dayofweek command
    #update daily tractions data
    */5    13-15    *    *    1-5        myapp.pl
    But from the log file following I found myapp.pl run more times than I had expected.
    Log:
       started on 2014-01-23 15:05:01
       started on 2014-01-23 15:10:01
       started on 2014-01-23 15:15:01
       started on 2014-01-23 15:20:01
       started on 2014-01-23 15:25:00
       started on 2014-01-23 15:30:01
       started on 2014-01-23 15:35:02
    Any ideas?  Thanks.
    Btw I dont want to use Launch Agent something.

    That will lost the time 15:00 .
    Probably I should write:
    */5 13-14 * * 1-5 myapp.pl
    0        15          * * 1-5 myapp.pl

  • Exe run more times by click icon just like VB program?

    exe made by labview can run more times just like VB program?
    I have completed  the program of display the state of my machine through serial port. The program was designed as show only one machine's state, and if more than one machine's state needs to be displayed, i hope the program can run duplicately or triplicately. Can it be realized?
    Can dynamically called subvi(set ad reentrant  vi) solve my problem? 
    When i try to  run the same subvi with invoke (run vi method),the "Error 1000 occurred at Invoke Node" appeared.
    If the dynamically called subvi  can do, subvis of subvi need to be set as reentrant too? subvis of subvi don't need to share information between different machine.

    The 'subsubVIs' may or may not be a problem. It depends greatly on what they are and what they do. In some cases, making them re-entrant will help. You should read the shipping document called Using LabVIEW to Create Multithreaded VIs for Maximum Performance and Reliability. There is a section in there on re-entrant VIs. There also have been numerous threads in this forum on the subject.

  • Remote  Cube back ground processing

    Hi gurus,
    Is it possible to execute a Query which is on a remote cube in Back ground.
    In my situation: I am loaded the data into the regular cube and then reconciling this cube data with the remote cube data ( which picks the data from R/3 tables using a fucntion module.)
    Is it possible to run this Query in Background job.
    I came accross the sm36 option, but I don't know the exact time when to start the job as the base cube data load should be finished before this query executes and the matter of fact there are 9 cubes which should complete the load and then the respective queries should start exectuing.
    Thank you

    Ohter options are:
    Create a report calling function module RSCRMBW_REPORT.
       Catch: You need to call the FM twice in your report once to initialize with OPEN and second time to run with START (passing values to i_mode)
    Create a report calling function module WEBQUERY
      Catch: You will have to deal with all the HTML generated with the query result

  • What is back ground processing

    what is difference between background and fore ground processing of a report. what are the various methods to execute a report in back ground.  and when we need schedule a report in back ground how shall we handle selection screen parameters.
    thanx in advance.

    Hi,
    <u><i>Background Processing</i></u>
    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.
    Hope the above helps you.
    Regards
    Reshma

Maybe you are looking for

  • Help with PDF settings in InDesign for Newspaper print

    Hi I work for a newspaper and until recently we have done the newspaper layout in Pagemaker. We finally changed to InDesign. I am now at the point where I have to export to PDF. What would be the best to use, export as PDF or printing to postscript?

  • Send sms via smtp

    i want to develop sms application using smtp!! i need help how do i get start.?? is that i only can send plain text message only.??

  • 10g ODM access from jDev 9x?

    I'm wondering if DM4J 9.0.4 working in JDeveloper 9.0.4 is compatible with the 10g database ODM components? If not, how does one work with 10g ODM prior to the release of 10g client components? thanks.

  • Authorised new 2nd Comp but cant play downloaded tunes from itunes store

    Having just bought a new laptop as my old comp died I am having great difficulty getting my music that I have bought from itunes onto this comp. I am getting a message saying authorised comp successful however when i click on one of the songs on itun

  • 648 Max-L * Shuttdown in XP

    When I shuttdown my computer it prompts me that it is safe to shuttdown. I want it to shuttdown by itself. Usually there is a setting for this in BIOS under power management but I cant find it. Do I need to change somethign in the BIOS or XP?