Process Chain background jobs

Hi All,
we got a typical issue in Process Chain,  every day process chain triggers in the midnight, and yesterday morning It got failed while activating DSO for HR data,  and we observed that the jobs are running in the background for longer time (there are 3 jobs related to HR still running since around 24 hours). In order to run the following processes which are no way related to HR, we made turning red to Finish (to skip this process - using Function module RSPC_PROCESS_FINISH) to make sure other reports work perfectly. yesterday PC ran successful expect HR data.
Today morning we observed that the jobs are still running and also PC gets stopped in deleting contents of HR (after this we are loading HR DSO) . the process neither failed nor success. we checked in Sm37 and observed that job related to Delete content of HR data is also still running and in active status.
it is not allowing us to skip the process as we did for the HR DSO. So we thought to kill the job and Killed the JOB of delete content of HR data, and tried refreshing in Process Chain. But the variant is empty now and process stopped at before the Delete contents (which are another deleting cubes) now the process is at delete contents of CUbe (which is before step to the delete HR DSO), if we right click and check the options it is showing display variant and display messages.
We repeated the Process chain again it stopped at delete content HR DSO(back ground job running again and running longer time), the process is at delete contents DSO HR, (showing the box half filled).
how to skip this delete contents of HR data DSO, because we don't want to stop all the following processes(which are not related to HR) and how to make my PC ran successful (expect HR) to make my report working perfectly expect HR reports
Thanks in advance,
Teena
Edited by: Teenab on Feb 10, 2011 10:42 AM
Edited by: Teenab on Feb 10, 2011 10:43 AM
Edited by: Teenab on Feb 10, 2011 10:45 AM
Edited by: Teenab on Feb 10, 2011 10:50 AM

Thank you for the reply,
Yes we can create PC for HR seperately.
Presently the thing is yesterday we din't loaded the HR data (as we skipped the process by forcefully finished the process using FM -RSPC_PROCESS_FINISH) , As the jobs are still running morethan 26 hours. Now DSO HR doesn't have any data, but the process has been stopped at the deleting the content of HR data (our assumption since the HR loading jobs running longertime causing this, job delete content HR is also active and running (while loading it is trying to delete it, so it might be locked)
But we need to skip the process of HR delete content now, inorder to run other process successful, (we can create other HR PC  later) but can you suggest the solution for now.
Thank you,
Teena
Edited by: Teenab on Feb 10, 2011 11:03 AM

Similar Messages

  • Scheduling Process Chains through Jobs

    Hi All,
    I have a question regarding scheduling of process chains using Jobs created in SM36.
    In our project we are not using Meta Chains to run the individual Process Chains.
    Instead jobs have been created for each chain and the jobs are scheduled one after another and dependencies are maintained (e.g. Job A depends on Job B)
    However, on scheduling, we find that even before Job B completes Job A gets triggered and both the Process Chains start running in parallel instead of waiting for the completion of the first Chain.
    Any solution for this ??
    Thanks
    Sam

    Hi,
    I can suggest one method using Events...
    Start
               |
          Load-Cube A
              |
        After Success raise Event (This is Event Program, you need to insert)
    After Event the dependent Process Chain will trigger
    Start
               |
          Load-Cube B
              |
        After Success raise Event (This is Event Program, you need to insert) -->If you need
    Create Events in SM64 and use in below Program..see the sample code.
    REPORT  ZE_SIT_RP.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'ZE_SIT'.
    EVENTPARM = 'ZEP_SIT'.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
      EXPORTING
        I_EVENTID                    = EVENTID
        I_EVENTPARM                  = EVENTPARM
    * EXCEPTIONS
    *   BAD_EVENTID                  = 1
    *   EVENTID_DOES_NOT_EXIST       = 2
    *   EVENTID_MISSING              = 3
    *   RAISE_FAILED                 = 4
    *   OTHERS                       = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Reddy

  • DP process implemented as process chain or jobs

    Hello sapiers:
    I would like to get some examples of how to define PC for DP process like CVC creation, Forecast calculation, snp release.
    I know these are new functionalities but dont know if incopatible with ver 3.5 (that I am using) or the difference (adv/disadv) to define them simply as jobs
    please if possible email me  to [email protected]
    tia
    KCA

    Hi,
    What is the scheduling option that you have selected in the start variant of your process chain? If the chain has been successfully scheduled then you can see that in t-code SM37 under your id, the job for process chain should show as scheduled. If you cannot see anything there then please maintain the start variant properly and rechedule the process chain.
    Regards,
    Arminder singh

  • Process chain - default job name modification

    Hi Guys,
    When we run a process chain which has RA jobs,,,,,the corresponding job names in sm37 will be with name "BI_PROCESS_REPA_BP" .....
            We use the job name in sm37 to spool the file thru abap program....so if 3 RA jobs are run thru process chain,,,,,all 3 jobs of different RA jobs will be with same name in SM37.
    Can we change this job name to something else...
    Please advice.
    Thanks!!!!!!!!

    Hi,
    Which job u need to modify the nems of the process chains?
    All the names which starts with BI_*  are the standard jobs running in BI system...if the same runs thru process chain i guess we cannot change it...
    If it is a manual job running in SM37 then we can change it by copying the job name so tht it comes into scheduling then we can release the same according to our requirement..
    rgds,

  • How to print result of transaction processing in background job?

    Hi experts,
    Could you give me advice how to resolve following task:
    I need to print a list of sales orders (transaction VA05) in background job.
    Are exist standard techniques for this? Or should I create new program (report) and create the job with printing of parameters?
    Thanks for advance

    Hi,
    Define a background job with the program  name  & variant.
    Pass the print specifications as well.
    Best regards,
    Prashant

  • Error in handling Print Params In Parallel Processing of background jobs

    Hi Friends,
    My requirement is to optimize the performance of standard pgm RELEABL1 that takes a long time to complete when scheduled in background,and for that i have created a zpgm which will split the input data and run the jobs in parallel . I am using the submit statement and JOB_OPEN and JOB_CLOSE function modules to schedule the standard prg RELEABL1 in background with the input from my zpgm. The problem here is there is a push button " PRINT PARAMETERS" near the execute button on the selection screen of the standard pgm RELEABL1 in which the printer details have to be mentioned. Whenever i schedule the job in backgroung it throughs an error stating that " Define the Print Parameter First " . I tried my luck with all possible combinations but not able to handle this through my zpgm.....otherwise my pgm works fine. Can someone please guide me on how to handle this print parameters either through submit or what ever way possible.
    Thanks & Regards,
    Balaji.K

    Hi Balaji,
    We have the same performanced problem. 8 processes in parallel, still suffers from bad performance. How many subscribers are there on the system and how many processes do you use ?
    Best Regards,
    Ugur Uygan

  • Process Chain Cancelling in Background Process

    Hello Experts,
    In our production system Process Chain is canceling in background process.
    Please tell me the reason and how to solve this issue.
    Details of Process Chain Background Job
    1. BI_PROCESS_TRIGGER
    Job Step
    No. Program name/command Prog. type Spool list Parameters     User     Lang.
    1  RSPROCESS            ABAP                  &0000000030331 BWREMOTE EN
    Job Log
    Time     Message text                                                                                Message class Message no.
    01:15:07 Job started                                                                                00           516
    01:15:07 Step 001 started (program RSPROCESS, variant &0000000030331, user ID BWREMOTE)                                                      00           550
    01:15:09 Process LOADING, variant ZPAK_451AS94L9YNMVG6A9YUF9IZAC is not scheduled waiting for event RSPROCESS 47XA6NPFYU2DUSU108RURIN1G     RSPC          006
    01:15:09 Job cancelled                                                                                00           518
    2.    BI_PROCESS_ABAP
    Job Step
    No. Program name/command Prog. type Spool list Parameters     User     Lang.
    1  RSPROCESS            ABAP            24193 &0000000026265 BWREMOTE EN
    Job Log
    Time     Message text                                                                                Message class Message no.
    00:28:24 Job started                                                                                00           516
    00:28:24 Step 001 started (program RSPROCESS, variant &0000000026265, user ID BWREMOTE)                                                      00           550
    00:28:32 SQL: 05/15/2008 00:28:32 BWREMOTE                                                                                DBMAN         099
    00:28:32 TRUNCATE TABLE "/BIC/AZWM_O1600"                                                                                DBMAN         099
    00:28:34 SQL-END: 05/15/2008 00:28:34 00:00:02                                                                                DBMAN         099
    00:31:55 Spool request (number 0000024193) created without immediate output                                                                  SY           355
    00:31:55 Processing completed successfully for analysis process ZWM_APD01                                                                  RSAN_PR        021
    00:31:58 Process DTP_LOAD, variant DTP_46VZNUL0G6OB9NQVSVS0L4NTF is not scheduled waiting for event RSPROCESS 46ZDK9I8Z4K5485D5K38BFCIS     RSPC          006
    00:31:59 Job cancelled                                                                                00           518
    Please provide me a solution to move forward.
    Thanks in advance
    Khadar

    Hello Expert,
    I just had setup sand box for BI system.
    we are currently on SP 9.
    We will be importing SP15 shortly..
    I am trying to run a Process chain but it is giving error...
    It's giving the following error..
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_DROPINDEX under user RFCUSER.
    System Response
    Scheduling terminated with return code 8. The meanings of the return codes are as follows:
    SY-SUBRC = 4:
    Scheduling terminated by user
    SY-SUBRC = 8:
    Error when scheduling job (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    Procedure
    Check the system log for more detailed information.
    Execute Function
    Could you please throw some light on it...
    Regards,
    Manmadha

  • Pointers for optimizing system performance (run time) while running DP process chain with parallel processing

    Hi Experts,
    We are running APO DP process chain with parallel processing in our company, we are experiencing some issues regarding run time of process chain, need your help on below points;
    - What are the ways we can optimize process chain run time.
    - Special points we need to take care of in case of parallel processing profiles used in process chain.
    - Any specific sequence to be followed for different processes in process chain - if there is some best practice followed.
    - Any notes suggesting ways to improve system performance for APO version 7 with different enhancement packs 1 and 2.
    Any help will be really appreciated.
    Regards

    HI Neelesh,
    There are many ways to optimize performance of the process chains (background jobs) in APO system.
    Firstly I would recommend you to identify the pain areas (steps) which are completing with more runtimes. Then each one of the step has got different approaches to decrease the runtime.
    Like you may end up with steps like infopackage executions, DTPs, DP mass processing jobs etc which might be running with more runtimes. So now target each one of them differently and find out the ways to optimize. At the same time the approach you follow should be technically possible with basis perspective (system load and utilization) as well.
    And coming to parallel processing, you can use parallel processing for different for different jobs. You can further r explore on the same using parallel processing. Like loading an infocube, mass processing, infopackage execution, DTP, TSCOPY etc.
    Check the below link for more info
    Performance problems in DP mass processing
    Let me know if you require further info.
    Regards,
    Raj

  • Diff in triggering Process chain by FM & Events

    Hi Experts,
    I would like to understand the difference in
    1  Triggering the process chian by Functiton Module RSPC_CHAIN_START
    2. Triggering the process chain by raising the event RSSM_EVENT_RAISE.
    Regards
    Suresh Kumar

    Hi,
    The difference when using either to start a process chain by event is minimal. RSPC_CHAIN_START can be used to kick off any process chain (whether event driven or not) whereas RSSM_EVENT_RAISE is used to generate an event which can be used for more than just process chains (background jobs can also be launched using events for example). So they do overlap in functionality when it comes to launching event driven PCs but also have their own unique functionality as well.
    Hope this helps,
    Regards,
    Gareth

  • How to change local process chains job priority to A?

    hi experts,
    there are process chains are running in BW production system.
    for independent process chain when i forcefully change JOB PRIORITY from C to A last night it was executed successfully with PRIORITY A, but whereas i have meta chain in that there are some local process chains, though i forcefully change the JOP PRIORITY in PRODUCTION TO A, still those local chains were executed with JOB PRIORITY C only.
    Can you tell me the reason and solution to change the local process chain as well with JOB PRIORITY A.
    The metachain with JOB PRIORITY shows my userid, and the local chains shows BW_USER id.
    Regards
    venuscm
    Edited by: venu WAD on Nov 18, 2011 6:37 AM

    Check what's job priority for particular cube in TA RSRT->double click on your chain->menu Process chain->Attributes->Job Priority. Via this you can set priority as you need.

  • How to Execute WebDynpro Applications as Background Job ?

    Hi Gurus,
    We have developed a lot of WDJ applications with component reusage; ie,
    quite a lot of business logic are wrapped in WDJ Components which are
    re-used by other WD UIs.
    Now we'd like to automate some of the processes with background jobs
    and faced with a few problems :
    #1. How can we write a background WD application which can be
    triggered by external mechanism and without presenting any UI?
    #2. If we write the background program in a Java DC, how can we
    invoke existing methods in WD components ?
    Anyone got a clue ??
    Ying-Jie Chen

    Hello Amit,
    > Well I can think of a workaround in this case.If you are aware
    > of the suspend-resume functionality of the WD application then
    > its possible to run the WD application virtually in background.
    [ stuffs deleted ...]
    It sounds like a possible alternative to our requirement, I'll
    spend some time to investigate on the WD suspend-resume mechanism !
    > Also let me know why are you preffering the WD if you dont
    > require its UI
    Our application requires the process to be performed with UI interaction;
    with some instances it should be run as a background job. Either case involves
    RFC calls to backend SAP R/3 and it's easy for RFC access with WD
    Component.  Though it's also possible to use CAF application service for
    RFC access; due to some technical constrains, we did not use CAF
    framework. Therefore it ends up where we are now ...
    Thanks for your tip!
    Ying-Jie Chen

  • How to stop a process chain after the current running process

    Hi experts,
    I try to stop a running process chain, but only at the end of the current process load.
    I try to unscheduled process chain : the job of the current process is killed and the process stop
    I try to execute the programm rspc_process_finsh : same result.
    Actually, I aim at waiting of the current process completion and stop the chain.
    Thanks and regards,
    Bobby

    Hi all,
    Thanks for answer.
    If I resume the situation :
    - Click on Unschedule process chain stop the current process. We have to change the status of the process in Yellow to Red.
    - Go to sm37 to kill the job change the statut in red.
    So there is no way to stop the running of a process chain only after the good or bad end of the last runnning process ?
    Example :
    My chain is running. The process which is running is a DTP loading process. There are 50 packages to load. I decide to click on Unschedule process chain when the package 18 is running.
    If I do that, the loading of package 19 will not start right ?
    So is there a way to wait that the 50 packages are loaded before that the system stop the chain ?
    Thanks in advance,
    Bobby.

  • Small qn in Process Chain

    Dear Guru's
    I need a small Clarification regarding Pchains..
    Suppose i have a process chain in which i have to add a process ''Delete PSA Request'' in this process if i keep 50 PSA's object name, Then will all these PSA data gets deleted parallelly or one after the other.
    Thanks and Regards,
    Dev
    Edited by: Srinivas dev on Jul 7, 2008 10:35 AM

    Hi Srinivas,
    For every process type in your Process chain 1 job is created,so if you include 50 PSA Object names in one process type then there will be one job for the deletion of all.
    I don't think you can create different jobs for 50 PSA deletions in one process type.
    Regards
    Hemant Khemani

  • Background job stoppped in client export

    Dear all,
      I am trying to do client export form one SAP system to other SAP system. I sheduled the client export process in background job,it was running for long time.
    Now when i check in sm50 the BGD process is been stopped , but in scc3 it shows its processing.
    What is the necessary steps i need to start the job without stopping it.
    Kindly Guide me.
    Regards,
    Rakesh

    Hi ,
          I resheduled the process, once again i am getting the same error.
    My Background job is been stopped after few minutes.
    The reason is RFC in background. But i had defined the RFC between the two systems clearly and my customizing and workbench transports is working fine.
    Kindly guide me ,
    Regards,
    Rakesh.

  • Process Chain Steps

    Hello,
    I need to schedule a job using process chain my job details as follows
    PSA(Delta)>DSO(Delta)-->INFOCUBE(Delta)
    Steps as follows
    Start
    Deleting InfoCube Index
    Execute InfoPackage(PSA-->DSO) as Delta Load
    Activate the DSO data
    Execute Data Transfer Process(loading DSO -->INFOCUBE) as Delta Load
    Above procedure is good way to do? any draw backs
    Thanks

    Yes .. for all steps
    Infopackage (delta)--Successful then only Execute one by one
    DTP for DSO (delta) -- when successful do next step
    Activate DSO  -- when successful do next step
    Delete index infocube -- when successful do next step
    DTP for cube (delta) -- when successful do next step
    Create index.

Maybe you are looking for