Monthly process chain ran twice

Hello Friends,
I have a scenario where I need to find the reason why a Monthly process chain which is supposed to run once a month ran twice on a particular month on the same day.
I have already checked the relevant process chain using the transaction ST13 or the program /SSA/BWT which provided me the information that the first run was not executed as a part of the relevant Meta chain which has pulled all the relevant records into the target and the chain was successful.
The chain ran for the second time as a part of its Meta chain as per the schedule which ended up with a failure due to the duplicate records.
Now if I view the log, I could view only the latest user (i.e) ALEREMOTE and not the predecessor user information to find out who has scheduled the chain or the chain has got executed automatically due to some other predecessor chains.
I hope, we can get the whole logs via SM37 / SLG1, but has anyone experienced?
Do we have any table or an other way by whihc we can identify the user?
Regards,
Vinoth V

Hi,
This might be a possibility - the process chain failed in a step, and the process link was set to move to the next step even in case of errors (link colour is red). Upon repeat, the already executed steps will be executed again.
Regards,
Rakesh

Similar Messages

  • Process Chain Running Twice

    HI!!
    I ran by error twice the same PC, now in the maintenance log, I found 2 logs, in the first one the Start step is in green and the others steps are in gray, in the second log the start step is in yellow. In the Displaying messages in found this:
    This message means that step 001 is currently being started. The
    additional parameters give further details on the step itself:
    As far as I understand I have to delete the second log, but no idea how to do that.
    Is this the solution? or anyone knows another way?
    Thanks & Regards

    Hi,
    First and foremost let me advice you to be very careful while doing this.
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Refer
    Re: Kill a Job
    Re: Killing a process chain.
    Regards,
    JituK

  • Process chain triggered twice

    I have a triggeed a process chain twice.
    The flow of the process chain is like this:
    from PSA to ODS full load----
    from ODS to Cube delta load.
    There is selection criteria at infopackage to ODS with createdon.. ie for ex: if we run today, the from date is sy-datum-2 and to-date is sy-datum. We ran the process chain twice on the same day and the selection is same for the full load to ODS.
    Please suggest is there any impact of  this.
    Req

    Hi Swaroop,
    Are you using the BI7.0 flow or BW3.x data flow?
    What is the time duration in which the PC is triggered 2dn time?
    How many times the PC runs in your system per day?
    loading data till DSO with full load will not cause any issue as the DSo will over write the records, comming to delta load from DSO to IC -- first time the delta records will be updated and the next run if at all if there are any delta records then those records will be uploaded or else it will transfer 0 records.
    I don;t thik there is any problem in your case.
    Regards
    KP

  • COPA full load monthly process chain

    hi guys,
    our COPA delta does not work. So we need to automate monhly COPA data extraction. is there any FM that can show the monthly fiscal year peiord i.e 01 = july ?
    lets say: this month is march 2010, so my Infiopackage Period/year field will automatically take 09.2009
    I need FM that can generates 09.2009

    You can use DATE_TO_PERIOD_CONVERT. Pass date and fiscal year variant as input.

  • Process chain Has ran two times

    Hell Gurus,
    I have some problem with my process chain,It is running through Based on Event,some time that process chain running two time,I dont know why its happens,Please any one can give me solution.
    Thanks in Advance........
    Sekhar Reddy.

    Hi Sekhar......
    For the Option display schedule job option...u hav to open the chain in Planning view..........Open the chain through the tcode RSPC1.........then automatically it will open in Planning view...
    You hav said that this Process chain is event based.....from where this event comes...........is that event triggers from another process chain.......or it is time based event.........
    I think I got it...............that day u hav triggerred the event manually.........after that the chain triggerred and the event collector got reset..........then again when actually the event triggerred ........it again triggerred the chain........u hav already told that there was problem in system performance........so may be that event got trigger late...........again as usual next day also that event got trigger.......and again ur chain ran..........due to this ur chain ran twice that day................
    Just check whether the event is part of any event collector or not.........to check this copy the event..........go to SE16 >> RSEVENTHEAD..........there in the Event field give the event .........then execute............u will get the event collector name............if u r unable to find in this table..........search in the table RSEVENTCHAIN..........the copy the event collector.........then go to RSA1OLD(if u r in BI7.0.......otherwise RSA1).........click on the Tools button in the top.........check the event collector...................
    If u r unable to find in both the chains..........that means it is a single event..............then go to SM37........select the event from the or after event: field...........in the job field put BI_PROCESS_TRIGGER.......then check for this event how many times this trigger chain run on that day and the next day..........Then u wll understand.........
    Hope this helps.......
    Regards,
    Debjani.......

  • Why the process chain always run twice when triggered from R3?

    I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain.  But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time.  Does anybody knows the answer? 
    And also I would like to know the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain.  In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used?   If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top.  If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right? 
    Thanks a lot and everyone's idea is greatly appreciated!

    Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain.  If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...".  There should only be one scheduled job with name BI_PROCESS_TRIGGER.  If there is more than one, then when triggered, it would execute more than once at the same time.  If there is only one job, then maybe your R/3 program is triggering the event more than once? 
    As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job.  These start conditions determine when or how the Process Chain is to be executed.  You also have control over frequency.  These start conditions determine the scheduling of the Start Process of your Process Chain.
    When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain.  BW controls the triggering of these jobs based upon how the processes in the Chain are linked.  All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_...  If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains.  Each job represents one of the processes within your process chains. 
    Does this help?
    Another tip might be to trigger the event manually in BW (use tx SM64).  If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
    Message was edited by: George Shannon

  • BPM Process chain takes long time to process

    We have BI7, Netweaver 2004s on Oracle and SUN Solaris
    There is a process chain (BPM) which pulls data from the CRM system into BW. The scheduled time to run this chain is 0034 hrs. This chain should ideally complete before / around 0830 Hrs. <b>Now the problem is that every alternate day this chain behaves normally and gets completed well before 0830 hrs but every alternate day this chain fails…</b> there are almost 40 chains running daily. Some are event triggered (dependent with each other) or some run in parallel. In this, (BPM) process chain, usually there are 5 requests with 3 Delta and 2 full uploads (Master Data). The delta uploads finishes in 30 minutes without any issues with very few record transfers. The first full upload is from 0034 hrs to approximately 0130 hrs and the 2nd upload is from 0130 hrs to 0230 hrs. Now if the 1st upload gets delayed then the people who are initiating these chains, stop the 2nd full upload and continue it after all the process chains are completed. Now this entire BPM process chain sometimes takes 17 -18 hrs to complete!!!!!
    No other loads in CRM or BW when these process chains are running
    CRM has background jobs to push IDOCS to BW which run every 2 minutes which runs successfully
    Yesterday this chain got completed successfully (well within stipulated time) with over 33,00,000 records transferred but sometimes it has failed to transfer even 12,00,000 records!!
    Attaching a zip file, please refer the “21 to 26 Analysis screen shot.doc” from the zip file
    Within the zip file, attaching “Normal timings of daily process chains.xls” – the name explains it….
    Also within the zip file refer “BPM Infoprovider and data source screen shot.doc” please refer this file as the infopackage (page 2) which was used in the process chain is not displayed later on in page number 6 BUT CHAIN GOT SUCESSFULLY COMPLETED
    We have analyzed:--
    1)     The PSA data for BPM process chain for past few days
    2)     The info providers for BPM process chain for past few days
    3)     The ODS entries for BPM process chain for past few days
    4)     The point of failure of BPM process chain for past few days
    5)     The overall performance of all the process chains for past few days
    6)     The number of requests in BW for this process chain
    7)     The load on CRM system for past few days when this process chain ran on BW system
    As per our analysis, there are couple of things which can be fixed in the BW system:--
    1)     The partner agreement (transaction WE20) defined for the partner LS/BP3CLNT475 mentions both message types RSSEND and RSINFO: -- collect IDOCs and pack size = 1 Since the pack size = 1 will generate 1 TRFC call per IDOC, it should be changed to 10 so that less number of TRFCs will be generated thus less overhead for the BW server resulting in the increase in performance
    2)     In the definition of destination for the concerned RFC in BW (SM59), the “Technical Setting” tab says the “Load balancing” option = “No”. We are planning to make it “Yes”
    But we believe that though these changes will bring some increase in performance, this is not the root cause of the abnormal behavior of this chain as this chain runs successfully on every alternate day with approximately the same amount of load in it.
    I was not able to attach the many screen shots or the info which I had gathered during my analysis. Please advice how do I attach these files
    Best Regards,

    Hi,
    Normally  index  creation or deletion can take long time in case  your database statistics are not updated properly, so can check  stat  after your data loading is completed and index generation is done,  Do creation of database statistics.
    Then try to recheck ...
    Regards,
    Satya

  • Error in the Process Chain

    Hi,
    Im getting following error in the Monthly Process Chain :
    "A type "Attribute Change Run" process has to follow process "Execute InfoPackage" var.ZPAK_D3VOS4BQNK1QJ98G29CU8EWFE in the chain"
    Please advise...
    Regards,
    Anuja

    Hi,
    You need to add the "Attribute Change Run" process type after the infopackage load in the PC.
    I assume the infopackage loads Master Data.
    Thanks.

  • Process chain is running even after the 'No Schedule After' date

    Hi Experts,
              On 19th sep, we scheduled a process chain where the scheduled start date is 20th sep, 07:30:00 and no start after date is 22 sep, 00:00:01. The periodic value is 'Daily' and there is no restrictions for this load.
             But yesterday the process chain ran at 7. We checked tbe jobs that triggered and found that the start date and no start after date is changed to 21 and 23 respectively.
            But the last changed date for the process chain is 19th sep only.
            Anyhow, we removed the process chain from schedule. But, I want to know the reason for this load that loaded even after the 'No start after' date.
           Please help me to know why this issue happened...
    Regards,
    Yokesh.

    I also have been caught by this option once : the "do not start after" is here to avoid problems of scheduling : let imagine your system can be stopped, for any reason, so the scheduling will be postponed. In this case, it avoid, for instance, to load data during the day. It's not for running a PC for only a certain period of time.

  • Process Chain Status Red, DTP status yellow, DTP is green from inside

    Hello All,
    I have a problem where the  Process Chain  status is red, but the process(DTP) status is yellow.
    When I right click on the yellow process there is no error message and the DTP is green in Process Monitor.
    But the chain did not complete and the rest of the process steps are grey.
    After 20 minutes the Process Chain ran again(automatically after new data arrived) and this time without errors and it went green.
    My question is, how to proceed with the red Process chain and complete the further process and make it green.
    Regards
    Alex

    hi,
    There are scenarios where you need to change status of a process chain or a particular step in process chain.
    You might need to change the status in the cases where we need mark these steps successful so that dependent steps get processed. There are other scenarios where one needs to change the status of a single step in the process chain or status of whole process chain.
    Step by step instructions on change process chain status
    1. Right click on the failed step in the process chain monitor and go to displaying messages
    2. Go to u2018Chainu2019 tab and note down variant, instance and start date
    3. Go to SE16 and the table RSPCPROCESSLOG and enter variant, instance and start dates from step 2 and note down log_id, type, variant, instance.
    4. Go to SE37 transaction and execute the function module RSPC_PROCESS_FINISH and enter the values from step 3 and enter the new status u2018Gu2019 in status field and execute the FM
    5. This sets the status of the process chain (PC)
    After you set the status using the FM, go to the monitor screen of the process chain, you will notice the changed status. Now dependent steps in the process chain will start running
    Thanks

  • Process Chain Runtime

    Hi, Where can I tell how long a Process Chain Ran?  I see the RSPC tables, but nowhere can I see how long the chain ran for?  Do I need to add up the duration of the individual steps?  I'm in BW Version 3.5..
    Thanks!

    Hi Sriram,
    Could you please provide more details. In ST03N, it doesn't list any process chain in the left hand side pan. The only tree available are 'Workload', 'Detailed Analysis', 'Load History', 'BI Aorkload' and 'Collector and Performance DB'.
    Also, is there any configuration needs to be done to use ST03N to display process chain run time.

  • Indexes Error n Process chains?

    Hi,
    I get an error in the "create Index" in Process chain for a cube.
    Error says " Creating/Deleting index not allowed for that infocube"
    The same Process chain ran fine before..But the problem occured only this time.
    Any info on this please..
    Thanks,
    Sai.

    Wat exactly do i have to look in DB02.
    I clicked on missing indexes..and it shows as 20 missing secondary indexes on the same infocube..
    Is that causing problem..If yes then how do i correct it..
    Thanks.

  • How to identify who ran the last process chain?

    Hi all,
    How to identify, who ran the last process chain for a PROCESS CHAIN NAME xyz in the production system?
    Thanks

    Hello,
    Go To RSPC1 give your process chain name (Go to  LOG View ) there  you will get Date selectin screen (give This Month and last Month or as per your reqirement) there you can see who ran the process chain with ID.
    Regards,
    Edited by: Subbu_Amar on Oct 13, 2010 5:01 AM

  • Selective deletion based on Calendar Year/Month in process chains

    Hi all,
    I have a requirement from the business wherein I have to delete the past months data before I load the same data into 6 infocubes using a process chain.
    I checked the forums to understand how selective deletion is used in a process chain and I have come to know that RSDRD_DELETE_FACTS program or DELETE_FACTS Tcode can be used to generata a G* program that performs the deletion.
    I am to integrate this generated program in my process chain. I have 0CALMONTH(Calendar Year/Month) as the time characteristic in all my infocubes and therefore the only time characteristic available for selective deletion.
    My problem is that I am unable to create a dynamic selection for the Calendar Year/Month such that it takes the previous month.To be exact I am unable to use the "D" option in the Selection Variable column for this characteristic.
    Please can somebody help me out with this.

    Hi,
    Use this ABAP program code in your Process Chain...
    Type Pools
        TYPE-POOLS: rsdrd, rsdq, rssg.
    Local Internal Tables
        DATA: lit_msg     TYPE rs_t_msg,
                    lit_sel     TYPE rsdrd_thx_sel.
    Local Work Area
        DATA : lwa_sel_kf1     TYPE rsdrd_sx_sel,
                   lwa_range_kf1  TYPE rsdrd_s_range.
    Local Constants
        CONSTANTS :    lc_i(1)      TYPE c  VALUE 'I',
                                 lc_x(1)      TYPE c  VALUE 'X',
                                 lc_eq(2)     TYPE c  VALUE 'EQ',
                                 lc_kf1(11)   TYPE c  VALUE '0CALMONTH'.
        CONSTANTS :   lc_cube      TYPE rsddatatarget VALUE 'Z_C21'.
    Delete Existing cube records
    Key Field 1 (CALMONTH)
          lwa_range_kf1-sign    = lc_i.
          lwa_range_kf1-option  = lc_eq.
          lwa_range_kf1-high    = space.
          lwa_range_kf1-keyfl   = lc_x.
          lwa_range_kf1-low     = <Value of CALMONTH>.
          APPEND lwa_range_kf1 TO lwa_sel_kf1-t_range.
          CLEAR  lwa_range_kf1.
           lwa_sel_kf1-iobjnm = lc_kf1.
          INSERT lwa_sel_kf1 INTO TABLE lit_sel.
          CLEAR : lwa_sel_kf1.
    Selective Deletion through FM
          CALL FUNCTION 'RSDRD_SEL_DELETION'
            EXPORTING
              i_datatarget      = lc_cube
              i_thx_sel         = lit_sel
              i_authority_check = space
              i_mode            = lc_c
              i_no_enqueue      = lc_x
            CHANGING
              c_t_msg           = lit_msg
            EXCEPTIONS
              x_message         = 1
              inherited_error   = 2
              invalid_type      = 3
              OTHERS            = 4.
          IF sy-subrc = 0.
            REFRESH : lit_sel[],
                      lit_msg[].
          ENDIF.
    Thanks,
    Saru

  • How to schedule Process Chain with Full Update for the past closed month

    Hello,
    I have an HR-BN benefits transactional data extractor - http://help.sap.com/saphelp_nw70/helpdata/en/08/b01d3cf8aa101ce10000000a11405a/frameset.htm
    One of the selection fields for that extractor is calendar year/month 0CALMONTH and it is a full update extractor.
    SAP recommends running this extractor once a month after the month has been closed.
    If I were to include this update/extract into my process chain, would it be possible to automate the process in a way where the process chain is scheduled to execute once a month (I know how to do that), but that also only pulls values for the past/closed CALMONTH (as if it had a variable value of which would be automatically set to the last closed month when pchain is run)? As I mentioned 0CALMONTH is one of the selection criterias in the infopackage for that extractor.
    let me know how I might be able to do that.
    P.S. we are on BI 7.0/2004s
    Thank you

    For Calmonth selection in infopackage you can use the SAP-Exit OLAP Variable 0CMLMON (Last Month)
    select Type "7" ("OLAP Variable")
    and in Details of Type screen, Select OLAP Variable "0CMLMON" Which is SAP-Exit variable for Calmonth, that returns the last month from the current system-date.
    If variable 0CMLMON is not active, you need to activate it from Business content.
    Assign pts if helpful.

Maybe you are looking for