RSPC_LOG_DELETE unscheduled Process Chain Jobs????!!!

Hi, I executed RSPC_LOG_DELETE for the 1st time in my DEV and QA Systems and it looks like it somehow unscheduled my Process Chain Jobs!  Has anyone else experienced this or know why this would have happened?  
It is a good thing I did not run this in my production system thinking it was an innocent program that would just clean up my logs.
We executed it manually and used a date to leave the most current 3 months of logs.
Thanks for any helps!

Hi,
When you run the program, RSPC_LOG_DELETE, it deactivates teh steps in the process chain. if it is deactivatiing the start variant of the PC, tehn it means , the PC will be descheduled.
So, whenever you run this innocent program, it will happen, and you have to actioate and schedule your process chains
Hope this helps
Shilpa

Similar Messages

  • How can I know who Unscheduled Process Chain

    Hi,
    I am looking for a way to know who unscheduled process chain.
    After looking in forum I got to know about Table TBTCO but there are huge no. of entries in that.
    Above that I need to know about a chain that was unshceduled on 4th May can I give that selection while looking in TBTCO Or any selection related to Process chain name ? Please suggest.
    Let me know if there is altogether other way to find this out.
    Thanks in Advance

    Hi,
    It is not possible to trace who have de-scheduled the chain....we can de-schedule the chain in two ways.......
    open the chain in the Design View --> In the top "Execution" tab --> Remove from schedule.......(In this case the whole chain will turn in grey)
    If someone do this then there will be no log........
    Secondly, right click on the "Start Process " in the Design View --> Display Scheduled Jobs --> from there delete the released job......In this case also there will be no trace...........no log.........(In this case only the start process will turn in grey, rest of the chain will be in green colour only)...
    Now as I have explained the colour difference from there you can understand that how the chain was de-scheduled ....in which method...........
    But you can't trace that who has done it......
    Regards,
    Debjani.......

  • Removing the "target server" from process chain jobs

    Dear SAP Community,
    Please note we are on BW version 3.5
    We have a very large number of process chains that are used to load data in the production environment. Many of those process chains have a "target server" specified, so that the jobs will run only on the central instance.
    A new application server has just been added to the environment, and we want to remove the "target server" definition so that the dispatcher will be free to load balance the process chain jobs.
    We can see the attributes for each process chain are stored in a table called RSPCCHAINATTR.
    Please let me know: can we update the value of field SERVER in table RSPCCHAINATTR, to set it to blank using SQL-PLUS ?
    And then can we run a /$sync to bring these changes up into the application layer ?
    This would save tons of time & manual effort, and it would set the target server to blank for all of the process chains at once, instead of clicking manually so many times to clear the value for each process chain.
    Please let me know if we can take this approach ? Is there any chance of the process chains becoming inactive by doing this ?
    We want to set the "target server" = blank in all cases, instead of manually clicking into each and every process chain.
    Please let me know, thanks.
    Keith Helfrich
    Edited by: Keith Helfrich on Aug 17, 2010 11:45 AM

    Check tcode RSBATCH, If I'm not wrong all process types are assigned to central server. Remove that server name and save.
    Now, If u execute process chain, system will prompt you assign server/host name. To skip this follow the below.
    Again use RSBATCH, under 'Background and Parallel Processes' tab, click 'Switch Off F4 Popup for Server/Host/Group', enter * (star) under Users for 'Users for Whom NO Server/Host/Group Popup Should be Processed'.
    Now, If u execute process chain, it should run on either of servers.
    Since u added Appln Server, best bet would be creating a server group. See the below link.
    How to run Process Chain jobs WITHOUT a target server

  • Process Chain Jobs

    Dear All,
    We run our Process Chain Daily 3 times. but we found that on R/3 side our BW Process Chain jobs gets bydefault Job Catagory as 'C' due to other load on R/3 our jobs are placed in 'Released' if we make it as 'A' jobs get Active is there any option to make BW Process Chain Jobs bydefault Jab Class 'A'?
    Regards,
    Omkar

    Hi Friend,
    let me know , whether the jobs are V3 or what in R/3. if the jobs are V3 , as per schedule these will run in R/3 side.
    as per me, when the process chain start in BW side, it send a request to start extraction job in R/3
    if the PC triggers by any job from R/3, once the job completed in the R/3 it will shows as completed and it will be scheduled/release state for the next run.(as per the schedule)
    i think no need to make it as C / A.
    let me know, what exactly u r facing the problem
    i hope it will help you
    regards.
    Rambabu

  • 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 stop process chain job in middle

    Hi,
    I have designed process chain ,to trigger following sequence of jobs
    Step 1 Switching from Transactional cube to Basic cube and Vice versa.
    Step 2 Loading data from Transactional cube to basic cube.
    Step 3 Buffering the Scorecards.
    My question is From Step1.
    where i am using one ABAP program as process type( ABAP program functinality is it will switch Transactional cube to Basic cube if there is any yellow request in Transactional cube,If there is no yellow request in the Transactional cube,it should stop from step 1 it self,  but I wrote a code to throw error to stop the job, in that case in sm 37 I am able to see cancelled job of this process I don't want to see cancelled job in SM 37 since this prcess chain  has been sheduled for every 1 hour, is there any way to stop this job to not to proceed successive process. please give me some input from ur side
    Thanks in advance.
    Best Regards
    Shiva

    Hi Shiva,
    This is what we have done here:
    1. Change the ABAP process type from "Process ends non-specifically" to "Process ends successful or incorrect" from Settings => Maintain Process Type.
    2. Copy SE37 function "RSPC_ABAP_FINISH" to a Z-function. Add state as the input parameter and pass that to l_s_log-state and i_state (In Function Call).
    3. Now in your program if you want to execute further step call this Z-function with status "F" else with "R" and give your ABAP Variant Name as the other input.
    Let me know if you need more help.
    Regards,
    RB

  • Process chain jobs struck in released state

    Hi,
    We have a strange problem with process chains, After the process chain is
    triggered in the middle of the PC, one of the process step job is getting struck
    in released state and not moving to active, what might be the probelm, please suggest.
    Thanks.

    Hi....
    Actually this issue sometime happens due to more number of active jobs in the system.........If the number jobs running is huge.........then there will be no free work process.........and all the jobs will stucked in release state only......
    Also due to poor system performance also we face this issue.......check ST04 if there is any locks or deadlocks.......Also check ST22 for shortdumps and check the system log in SM21.........
    This also sometimes happens due to memory problem.....
    You can manually trigger the event to make the job active ..........Right click on the process>> Go to Display messages >> from the chain tab copy the After event and With Parameter.............go to sm64.............search the after event >> click on execute>> give the parameter and execute............it will start the job.............
    U can also use the Function module BP_EVENT_RAISE............go to SE37 >> BP_EVENT_RAISE >> Click on Text/Execute.........give the copied event and parameter and execute.......
    Hope this helps........
    Regards,
    Debjani.........

  • Can not delete job for BW process chain.

    I can't kill or cancel this job.
    this job status keeping "Killing" during 2 days.
    sub-job was completed.
    How can I force delete this job?
    Job 29006 - CCMS job BI_PROCESS_ODSACTIVAT (GBD/100) Actions
    Description CCMS job BI_PROCESS_ODSACTIVAT (GBD/100)
    Job Id 29006
    Parent Job 29005 - BW Process X0DMMB52_ACTIVATE (GBD/100)
    Definition SAP_CcmsJob
    Comment This job represents a monitored SAP batch job. The SAP batch job runs under control of the SAP batch system.
    Owner Subject Redwood System
    Status Killing
    Files 
    Name Size 
    log 23895 Details u2026
    Queue GBD_Queue
    Process Server GBD_ProcessServer
    Forced Process Server GBD_ProcessServer
    Priority 50
    Start time Requested: Sep 12, 1:43:19 PM, Actual: Sep 12, 1:43:19 PM (0:00:00:000 difference)
    Requested Start Time Type User Set
    Next Submit Base Time Sep 12, 1:43:19 PM
    Scheduled Start Sep 12, 1:43:19 PM
    Run time Sep 12, 1:43:19 PM - Sep 12, 1:43:43 PM (0:00:24 elapsed)
    Remote Information 
    Remote System SAP GBD 100
    Remote Status Finished
    Remote Id J/RFCUSER/BI_PROCESS_ODSACTIVAT/13430000
    Remote Event RSPROCESS
    Remote Creation Time Sep 12, 1:43:00 PM
    Remote Run Start Sep 12, 1:43:19 PM
    Remote Run End Sep 12, 1:43:43 PM
    Parameters 
    Job Definition Parameter In Value Out Value 
    JOBNAME BI_PROCESS_ODSACTIVAT   Details u2026
    JOBCOUNT 13430000   Details u2026
    CLIENT 100   Details u2026
    SAP_USER_NAME RFCUSER   Details u2026
    SHOWLOG Y   Details u2026
    SHOWSPOOL Y   Details u2026
    DELETE_JOB N   Details u2026
    Creation Time Sep 12, 1:44:01 PM
    Last Modification Time 9:48:41 PM
    Edited by: Park Jeonghwan on Sep 19, 2008 3:02 PM

    Hi Park,
    From what you describe I am assuming that the you had a BW Process Chain running from CPS and then decided to kill it.  This autoamtically created a child job that's supposed to stop the Process Chan in SAP that should have, once complete, updated the parent job from it's 'Killing' status to 'Killed'.  Now you find that the BW Process Chain in SAP is/was stopped, the CPS child job has also completed and yet your Process Chain job in CPS still has a 'killing' status.  Because it is stuck in this status you cannot do anything with it, i.e. none of the scheduling options in the Redwood Explorer are active.
    Assuming the above interpretation is correct then you probably have only one option and that is to force an update in the Repository itself.  I also assume you're using either v6.x or v7.x.
    To confirm the status of the current job in preparation for the update you can do the following query in the Redwood Shell when logged in as SYSJCS:
    select status from rws_job$ where job# = <the job number of the job currently in a 'killing' status>;
    This should return 1 row and the value for status should be 'G'.
    To update the status you can use the following command from the Redwood Shell when logged in as SYSJCS:
    update rws_job$ set status = 'K' where job# = <the job number of the job currently in a 'killing' status>;
    To confirm your update was successful before finally committing use the first query again..
    select status from rws_job$ where job# = <the job number of the job which previously was in a 'killing' status>;
    This should return 1 row and the value for status should be 'K'.
    You can now commit the change or rollback if you've made a mistake
    commit;
    Normally it is not recommended that CPS users modify any of the underlying tables so you may want to check with support that they are ok with you executing this command.
    You may also want to check that you have the latest Service Pack for CPS as this may mitigate this kind of issue from appearing again.
    Regards,
    Simon

  • 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.

  • Error while activating Process Chains

    Hi all,
    while activating the Process Chains, i am getting the following error "Job BI_PROCESS_PSAPROCESS could not be scheduled. Termination with returncode 8"
    when i double click on the error msg, i got the following help msg: "
    <i>Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_PSAPROCESS under user ALEREMOTE.</i>
    Can any one please show some way to solve this problem? please do this favor, i have been suffering with error for a long time.
    Points will be given
    Thanks
    Ganesh

    Hi,
    Just analyze the error message that you get while activating the PC, don't give any server name.If you are trying to run process chain using Flat file, it won't work,
    and you should have source system R/3 or you have own datasources in BW system itself at that toime you can use PC to extract data. If your source system is Flat ile, it won't work. other wise you should place your flat file in application server, using AL11 tcode.
    <b>OSS : 511475</b>
    <b>Symptom</b>
    You cannot schedule or perform any batch jobs with the BW or source system background user.
    The error RSPC 065 occurs in the process chains:"Job could not be scheduled, termination with return code 8"
    <b>Other terms</b>
    RSPC065
    <b>Reason and Prerequisites</b>
    The user type is
    "CPIC" up to 4.6B
    "Communication" as of 4.6C
    This user type may not execute or start any batch jobs, irrespective of the user authorizations.
    <b>Solution</b>
    Set the type of background user to
    "Background" up to 4.6B
    "System" as of 4.6C
    This user type corresponds to the "Communication" type and may also perform background functions.
    Through the Customizing, the BW user is automatically created by mistake as a communication user.Depending on your BW system release, you can solve this problem as follows:
    BW 2.0B
               Import Support Package 24 for 2.0B (BW2.0B patch24 or SAPKW20B24) into your BW system. The Support Package is available once note 456551 with the short text "SAPBWNews BW 2.0B Support Package 24", which describes this Support Package in more detail, has been released for customers.
    BW 2.1C
               Import Support Package 16 for 2.1C (BW2.1C patch16 or SAPKW21C16) into your BW system. The Support Package is available once note 456566 with the short text "SAPBWNews BW 2.1C Support Package 16" has been released for customers.
    BW 3.0A
               Import Support Package 8 for 3.0A (BW3.0A patch08 or SAPKW30A08) into your BW system. The Support Package is available once note 452632 with the short text "SAPBWNews BW 3.0A Support Package 08" has been released for customers.
    <b></b>

  • Failing at ACR step in process chain?

    Hi,
      Could any body explain on this topic?
    In process chain job mostly the chain was failing at ACR(attribute change run) step. that it is materdata ACR step.i want permanent solution for this step? I want find why this ACR step is failing weekly twice not regularly.
    So,plz any body help on this..
    Thanks&regards,
    Goodyear.

    What is happening here is that while the ACR process is trying to run in one chain(the main MD chain) most probably another chain is already getting kicked off before the MD chain and its ACR process is RUNNING while the main MD chain's  ACR process is trying to kick off.
    -Try to have sufficient spacing between the process chain batch scheduling runs so that 2 ACR processes NEVER clash.
    -An ACR process while running,locks the MD tables and so no MD loads on those said infoobjects should kick off while the ACR process is running.
    -goto Tools->Attr/Change run.It does contain a short log of the past ACR runs.Maybe u can get details about..at which day/time ACR process taking long time.
    -Recommend that u have single ACR process at the end of the MD load chain.U can even have a meta chain having all MD chains as local chains and then put an AND collector from the local chains and map it to a ACR process.Right click on the ACR process and then insert the list of all MD infoobjects that are being loaded in all the local chains.
    cheers,
    Vishvesh

  • Authorizations setting for running the process chain

    Hai
    Iam planning to run the process chain for loading the data into ODS. But i dont have authorization for it.
    so what are the authorizations i need to run the process chain in my system. And how can i set all those authorizations to my user-id.  I have all authorization rights .
    Pls let me knw
    kumar

    Hi,
    Authorizations for Process Chains
    Use
    You use authorization checks in process chain maintenance to lock the process chain, and the processes of the chain, against actions by unauthorized users.
    ·        You control whether a user is allowed to perform specific activities.
    ·        You control whether a user is allowed to schedule the processes in a chain.
    The authorization check for the processes in a chain runs when the system performs the check. This takes place upon scheduling or during synchronous execution. The check is performed in display mode. The check is performed for each user that schedules the chain; it is not performed for the user who executes the chain. The user who executes the chain is usually the BI background user. The BI background user automatically has the required authorizations for executing all BI process types. In attribute maintenance for the process chain, you can determine the user who is to execute the process chain.
    See also: Display/Maintenance of Process Chain Attributes ®  Execution User.
    Features
    For the administration processes that are bundled in a process chain, you require authorization for authorization object S_RS_ADMWB.
    To work with process chains, you require authorization for authorization object S_RS_PC. You use this authorization object to determine whether process chains can be displayed, changed or executed, and whether logs can be deleted. You can use the name of the process chain as the basis for the restriction, or restrict authorizations to chains using the application components to which they are assigned.
    Display/Maintain Process Chain Attributes
    Use
    You can display technical attributes, display or create documentation for a process chain, and determine the response of process chains during execution.
    Features
    You can display or maintain the following attributes for a process chain:
    Process Chain ® Attribute ® ...
    Information
    Description
    ( Rename)
    You can change the name of the process chain.
    Display Components
    Display components are the evaluation criterion in the process chain maintenance. Assigning the process chains to display components makes it easier to access the chain you want.
    To create a new display component, choose Assign Display Components in the input help window and assign a technical name and description for the display component in the Display Grouping dialog box that appears.
    Documents
    You can create and display documents for a process chain.
    For more information, see Documents.
    Last Changed By
    Displays the technical attributes of the process chain:
    ·        When it was last changed and who by
    ·        When it was last activated and who by
    ·        Object directory entry
    Evaluation of Process Status
    If you set this indicator, all the incorrect processes in this chain and in the overall status of the run are evaluated as successful; if you have scheduled a successor process upon error or always.
    The indicator is relevant when using metachains: Errors in the processes of the subchains can be evaluated as “unimportant” for the metachain run. The subchain is evaluated as successful, despite errors in such processes of the subchain. If, in the metachain, the successor of the subchain is scheduled upon success, the metachain run continues despite errors in “unimportant” processes of the subchain.
    Mailing and alerting are not affected by this indicator and are still triggered for incorrect processes if they have an upon error successor.
    Polling Indicator
    With this indicator you can control the response of the main process for distributed processes. Distributed processes, such as the load process, are characterized as having different work processes involved in specific tasks.
    With the polling indicator you determine whether the main process needs to be kept until the actual process has ended.
    By selecting the indicator:
    -         A high level of process security is guaranteed, and
    -         External scheduling tools can be provided with the status of the distributed processes.
    However, the system uses more resources; and a background process is required.
    Monitoring
    With the indicator in the dialog box Remove Chain from Automatic Monitoring?, you can specify that a process chain be removed from the automatic monitoring using CCMS.
    By default CCMS switches on the automatic process chain monitoring.
    For more information about the CCMS context Process Chains, see the section BW Monitor in CCMS.
    Alerting
    You can send alerts using alert management when errors occur in a process chain.
    For more information, see Send Alerts for Process Chains.
    Background Server
    You can specify here on which server or server group all of the jobs of a chain are scheduled. If you do not make an entry, the background management distributes the jobs between the available servers.
    Processing Client
    If you use process chains in a client-dependent application, you can determine here in which client the chain is to be used. You can only display, edit, schedule or execute the chain in this client.
    If you do not maintain this attribute, you can display, edit, schedule or execute the process chain in all clients.
    Process variants of type General Services that are contained in a process chain with this attribute set will only be displayed in the specified client.
    This attribute is transported. You can change it by specifying an import client during import. You must create a destination to the client set here in the target system for the import post processing (transaction RSTPRFC)  The chain is activated after import and scheduled, if necessary, in this client.
    Execution User
    In the standard setting a BI background user executes the process chain (BWREMOTE).
    You can change the default setting so that you can see the user that executes the process chain and therefore the processes, in the Job Overview. You can select the current dialog user who schedules the process chain job, or specify a different user.
    The setting is transported.
    The BI background user has all the necessary authorizations to execute all BI process types. Other users must assign themselves these authorizations so that authorization errors do not occur during processing.
    Job Priority
    You use this attribute to set the job priority for all of the jobs in a process chain.
    Hareesh

  • Process Chain Review Question: function module/ABAP program/Event

    Hi,
    1. Can you tell me a bit more about function modules such as RSPC_CHAIN_ACTIVATE_REMOTE
    2. What are function modules in general terms. i.e.  What is their role?
    3. How do I see all function module available?
    4. When is function module used instead of ABAP program?
    5. How do they help in the support and monitoring of Process Chains?
    6. I am getting confused over the following under process chains “job”, “event”, “function module” and “ABAP Program”
    Thanks

    2. What are function modules in general terms. i.e. What is their role?
    Function module return a value ( most of the time), they return some value either a single value of rane of value or even a table. Example: FM to return fiscal period gieven the fiscal vaeiant and system date.
    3. How do I see all function module available?
    Go to Se37 and this is function builder. You will find FM starting with RS* more useful. You cna also create your own in Se37.
    4. When is function module used instead of ABAP program?
    In addtion to answer I gave in 3 above, program is used to check some logic and update some tables or give screen output.
    You may note FM is also a program.
    5. How do they help in the support and monitoring of Process Chains?
    As I said, for monitoring chains, use Sm37  and logs in RSPC.
    6. I am getting confused over the following under process chains “job”, “event”, “function module” and “ABAP Program”
    I am not clear what are you looking for.
    You cna schedule a FM or a program to run in a chain. Is that what you mean?
    Ravi Thothadri

  • PROCESS CHAIN TO BE EXECUTED by SM37

    Hi all,
    can we execute process chain through SM37. We have requirement to execute Process chain immediately which is already in Released (Night  10 PM)status. But i did as , selected the Job and gave the selection immediately in SM37 but executed successfully but the relesed (Night  10 PM) status of the same job canceled.
    can we have any option to execute the process chain job in SM37  rather than executing in RSPC.
    pl help me in this regard.
    Thanks
    Pinky Reddy

    in RSPC, schedule the job... while scheduling put the time you want to execute the process chain.
    in SM37, you can then change the job time..

  • How to kill the process chain

    hi,
        I have question how to kill the process chain during running.
    thank you.

    Hi
    If the process chain is running in background,
    goto <b>SM37</b>
    Give * in the jobname
    Give the username who scheduled the process chain
    Job status - check the check boxes - SCHED, relased, ready, active
    click <b>execute</b>.
    It displays all the process chains that, scheduled & running.
    You can select the process chain that need to be stopped & click STOP active job or ctrl+F1.
    Hope this helps!
    Kindly award points for all useful answers.
    If you post the BW related queries in the <b>BI general</b> forum, you will get more answers.
    Best regards,
    Thangesh

Maybe you are looking for

  • Route in TMG

    Hi If i Route Traffice from External to internal . Why TMG is automaticaly routing Traffic from Internal to External. Is to some issues with configuration ?

  • Anyone knows how to make the songs in the playlist in order?

    I transfer the music from itunes to ipodmini, then I found out in the playlist i created in ipod, they are not in order: like from top to bottom, displaying track 04, track 03 instead of displaying track 03 track 04... How do I modify the song order

  • Week numbers in Numbers

    Numbers on iPad give me wrong weeknumbers for dates in 2011, but right for dates in 2012. Strange?! What could be the reason?

  • Lost over 2,000 songs.

    I have boughten over 2,000 songs, but when I went to download them there was zero songs in my purchased... Someone please help me!!!!!!!!!!!!! How do i get my songs back???

  • IChat Server: Receive error what transferring files

    I was testing sending a file from home to work and the transfer failed. However I was able to transfer a file from work to home. I have port 7777 opened up on the server's firewall. This is the error message: raise CannotListenError, (self.interface,