Process Chain Log Maintenance

Hi All,
In my project we maintain an load status excel sheet to document all the timings of process chain running in our window.
We were maintaining only the start time of process chain (we get from RSPCM), now the requirement has changed and customer wants us to mention the end time of each process chain.
Since we have good amount of process chain running it is becoming really hectic to take timings for each PC.
Procedure we are following to take the end time is that through RSPCM we go to every PC and take the timing of last process in the PC.This takes lot of time.
Please suggest from where we can exact log of start and end time of every PC.Are there any table from where we can see the start and end time???
I am waiting for the valuable inputs......
Regards,
Kshitij

try following ABAP...
*& Report  ZBI_PROCESS_CHAIN_STATUS_EMAIL                              *
  Program uses parameters and selection options to analyze and/or    *
  email the status  of the BI process chains.                        *
Selection-screen help:                                               *
1) Process Chain (ID)                                                *
       Enter the name of process chain to analyze.                   *
       If you leave this field blank, all the process chains will    *
       be picked up.                                                 *
2) Process Chain Date Selection                                      *
       Enter the Process Chain Date.                                 *
3) Status of Process Chain                                           *
       Enter the Status of Process Chain to analyze.                 *
       If you leave this field blank, all the status will            *
       be picked up.                                                 *
4) Send email?                                                       *
       Mark this checkbox, if you want to send email notification    *
5) Email recipients                                                  *
       The list of people to be notified is entered here. At least   *
       one email address is required.                                *
*Modification Information:                                             *
Date      Mod User ID      CTS Number    Description                 *
*05/01/08   Shalin Shah                    Original Coding Date        *
REPORT   ZBI_PROCESS_CHAIN_STATUS_EMAIL
         NO STANDARD PAGE HEADING MESSAGE-ID 00
         LINE-SIZE 255
         LINE-COUNT 55.
Variable Declaration for selection screen                            *
DATA:
  gs_RSPCLOGCHAIN   TYPE rspclogchain,             "PC ID
  gs_RECEIVER       TYPE SOMLRECI1-RECEIVER,       "Email ID
  gs_BATCHDATE      TYPE RSPCPROCESSLOG-BATCHDATE, "Date
  gs_RSPC_STATE     TYPE RSPC_STATE.               "PC state
Selection-Screen                                                     *
SELECTION-SCREEN BEGIN OF BLOCK om1 WITH FRAME.
SELECT-OPTIONS p_CHAIN  for gs_RSPCLOGCHAIN-CHAIN_ID default 'ZBWC_MAIN' NO INTERVALS. "Process chind ID
SELECT-OPTIONS p_datum  for gs_BATCHDATE default  sy-datum. "Process chain date
SELECT-OPTIONS p_Status for gs_RSPC_STATE NO INTERVALS. "Process Chain status
SELECTION-SCREEN END OF BLOCK om1.
SELECTION-SCREEN BEGIN OF BLOCK om2 WITH FRAME.
PARAMETERS: p_Email AS CHECKBOX.       "Send email?
SELECT-OPTIONS: s_mail FOR gs_RECEIVER lower case NO INTERVALS. "Email address
SELECTION-SCREEN END OF BLOCK om2.
AT SELECTION-SCREEN.
  If Send email is checked, makes sure at least one email address is entered.
  if p_Email = 'X'.
    READ TABLE s_mail INDEX 1.
    if sy-subrc <> 0.
      MESSAGE e001 WITH 'Please enter at least one email address'.
    ENDIF.
  ENDIF.
  loop at s_mail.
    if not s_mail-high is initial.
      MESSAGE e001 WITH s_mail-high 'is not valid. Please enter with no intervals'.
    endif.
  endloop.
START-OF-SELECTION.
END-OF-SELECTION.
Variable Declaration                                                 *
for composing email object
  DATA: OBJCONT LIKE SOLI OCCURS 10 WITH HEADER LINE. "Email object
  DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE. "Email address
  DATA: DOC_CHNG LIKE SODOCCHGI1.   "Data of an object which can be changed for email
  DATA: ENTRIES LIKE SY-TABIX.      "Count
  DATA: NAME(15).                   "Sapce for email name
  DATA: temp_message(120) type c.   "temp message space
  DATA: psubject(72) type c.        "Email subject
  DATA: temp_time(27) type c.       "temp space to PC start and end time
  DATA: pc_end_time(8) type c.      "PC end time
  DATA: pc_start_time(8) type c.    "PC start time
  DATA: pc_run_date(10) type c.     "PC run date
  DATA: pc_duration(8) type c.      "PC duration time
  DATA: pc_temp_end_time type TIMS. "temp space for pc end time
  DATA: pc_temp_end_date type DATS. "temp space for pc end date
  DATA: pc_temp_duration type TIMS. "temp space for pc duration
  DATA: pc_status(72) type c.       "PC status
for report format
  DATA: iColor TYPE i VALUE 0,
        iCount TYPE i VALUE 1.
for saving log of the process chain.
  DATA: I_RSPCLOGCHAIN LIKE RSPCLOGCHAIN OCCURS 0,
        WA_RSPCLOGCHAIN LIKE LINE OF I_RSPCLOGCHAIN,
        I_RSPCPROCESSLOG LIKE RSPCPROCESSLOG OCCURS 0,
        WA_RSPCPROCESSLOG LIKE LINE OF I_RSPCPROCESSLOG.
Report Logic                                                         *
Create email subject for report header
  CONCATENATE SY-SYSID ' - BI load status ->' SY-DATUM4(2) '/' SY-DATUM6(2) '/' SY-DATUM0(4)    ' @ ' SY-UZEIT0(2) ':' SY-UZEIT2(2) ':' SY-UZEIT4(2) INTO psubject.
report header
FORMAT INTENSIFIED COLOR = 1.
  write / .
  write / '*****************************************************************************************************************************************'.
  Write: / '*                                                 ', psubject, '            *' .
  write / '*****************************************************************************************************************************************'.
  write / .
*Fill the header
  OBJCONT-LINE = '****************************************************************************************************************'.
  APPEND OBJCONT.
  OBJCONT-LINE =  psubject.
  APPEND OBJCONT.
  OBJCONT-LINE = '****************************************************************************************************************'.
  APPEND OBJCONT.
Get the log id of the process chain.
  SELECT *
    FROM RSPCLOGCHAIN
    INTO TABLE I_RSPCLOGCHAIN
    WHERE DATUM in p_datum
    AND CHAIN_ID in p_CHAIN
    AND ANALYZED_STATUS in p_Status.
Loop at all the selected process chains
  LOOP AT I_RSPCLOGCHAIN into WA_RSPCLOGCHAIN.                  "Loop at all the process chaing log
    CLEAR: temp_time, pc_start_time, pc_end_time.
  Get the run date, start time and end time of process chain form RSPCPROCESSLOG table.
    SELECT *
      FROM RSPCPROCESSLOG
      INTO TABLE I_RSPCPROCESSLOG
      WHERE LOG_ID = WA_RSPCLOGCHAIN-LOG_ID.
  Converts PC time to a given local timezone
    CALL FUNCTION 'STU3_ALERTS_CONV_UTC_2_LOCAL'
      CHANGING
        TIME_T = WA_RSPCLOGCHAIN-ZEIT
        DATE_D = WA_RSPCLOGCHAIN-DATUM.
  Convart date and time to MM:DD:YYYY HH:MM:SS
    CONCATENATE WA_RSPCLOGCHAIN-DATUM4(2) '/' WA_RSPCLOGCHAIN-DATUM6(2) '/' WA_RSPCLOGCHAIN-DATUM+0(4) INTO pc_run_date.
    CONCATENATE WA_RSPCLOGCHAIN-ZEIT0(2) ':'  WA_RSPCLOGCHAIN-ZEIT2(2) ':' WA_RSPCLOGCHAIN-ZEIT+4(2) INTO pc_start_time.
  sort all the process chaing log. Because we just want to get the end time of the last log.
    sort I_RSPCPROCESSLOG by ENDTIMESTAMP descending.
  loop to get the end date and end time for the process chain
    LOOP AT I_RSPCPROCESSLOG into WA_RSPCPROCESSLOG.    "Loop 1 for pc_end_time
      CLEAR temp_time.
      temp_time = WA_RSPCPROCESSLOG-ENDTIMESTAMP.
      pc_temp_end_date =  temp_time+4(8).
      pc_temp_end_time =  temp_time+12(6).
    Converts PC time to a given local timezone
      CALL FUNCTION 'STU3_ALERTS_CONV_UTC_2_LOCAL'
        CHANGING
          TIME_T = pc_temp_end_time
          DATE_D = pc_temp_end_date.
    Convart date and time to MM:DD:YYYY HH:MM:SS
      CONCATENATE pc_temp_end_time0(2) ':'  pc_temp_end_time2(2) ':' pc_temp_end_time+4(2) INTO pc_end_time.
    Get PC end-time and duration
      IF pc_temp_end_time = 000000.
        pc_end_time = '??:??:??'.
        pc_duration = '??:??:??'.
      ELSE.
        pc_temp_duration = pc_temp_end_time - WA_RSPCLOGCHAIN-ZEIT.
        CONCATENATE pc_temp_duration0(2) ':'  pc_temp_duration2(2) ':' pc_temp_duration+4(2) INTO pc_duration.
      ENDIF.
    Exit form the loop once we get end-time and duration
      EXIT.
    endloop.                                        "Loop 1 for pc_end_time
  Based on process chain status assign color and create message
    CASE WA_RSPCLOGCHAIN-ANALYZED_STATUS.           "Case pc status
      WHEN 'R'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Ended with errors on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
        CONCATENATE   ' Ended with errors - ' pc_duration INTO pc_status.
        iColor = 6.
      WHEN 'G'.
      Check if duration = '00:00:00' mark as **Error**
        IF pc_duration = '00:00:00'.
          CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Successfully completed on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
          CONCATENATE   ' Successfully completed - ' pc_duration INTO pc_status.
          iColor = 3.
        ELSE.
          CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Successfully completed on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
          CONCATENATE   ' Successfully completed - ' pc_duration INTO pc_status.
          iColor = 5.
        ENDIF.
      WHEN 'F'.
      Check if duration = '00:00:00' mark as **Error**
        IF pc_duration = '00:00:00'.
          CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Completed on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
          CONCATENATE   ' Completed - ' pc_duration INTO pc_status.
          iColor = 3.
        ELSE.
          CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Completed on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
          CONCATENATE   ' Completed - ' pc_duration INTO pc_status.
          iColor = 5.
        ENDIF.
      WHEN 'A'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Active on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
        CONCATENATE   ' Active - ' pc_duration INTO pc_status.
        iColor = 3.
      WHEN 'X'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Canceled on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
        CONCATENATE   ' Canceled - ' pc_duration INTO pc_status.
        iColor = 6.
      WHEN 'P'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Planned on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
        CONCATENATE   ' Planned - ' pc_duration INTO pc_status.
        iColor = 3.
      WHEN 'S'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Skipped at restart on -' pc_run_date ' (Start->' pc_start_time '  End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
        CONCATENATE   ' Skipped at restart - ' pc_duration INTO pc_status.
        iColor = 3.
      WHEN 'Q'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Released on -' pc_run_date ' @ ' pc_end_time INTO temp_message.
        CONCATENATE   ' Released' ' ' INTO pc_status.
        iColor = 3.
      WHEN 'Y'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Ready on -' pc_run_date ' @ ' pc_end_time INTO temp_message.
        CONCATENATE   ' Ready' ' ' INTO pc_status.
        iColor = 3.
      WHEN 'J'.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Framework Error Upon Completion on -' pc_run_date ' @ ' pc_end_time ' **Error**' INTO temp_message.
        CONCATENATE   ' Framework Error' ' ' INTO pc_status.
        iColor = 3.
      WHEN OTHERS.
        CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Undefined on -' pc_run_date ' @ ' pc_end_time INTO temp_message.
        CONCATENATE   ' Undefined' ' ' INTO pc_status.
        iColor = 6.
    ENDCASE.            "Case pc status
  Append pc log to email object
    OBJCONT-LINE = temp_message.
    APPEND OBJCONT.
  change color and write log
    FORMAT INTENSIFIED COLOR = iColor.
    Write: / iCount, '   ', temp_message .
    iCount = iCount + 1.
    CLEAR temp_message.
  ENDLOOP.                               "Loop at all the process chaing log
Create email subject
  clear psubject.
  CONCATENATE SY-SYSID ' load - ' pc_status INTO psubject.
Fill the subject
  DOC_CHNG-OBJ_NAME = 'URGENT'.
  DOC_CHNG-OBJ_DESCR = psubject.
  DOC_CHNG-SENSITIVTY = 'P'.
Cheeck send email checkbox.
  IF p_Email = 'X'.                      "Check if send email is checked
    DESCRIBE TABLE OBJCONT LINES ENTRIES.
    READ TABLE OBJCONT INDEX ENTRIES.
    DOC_CHNG-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( OBJCONT ).
  Get recipients
    loop at s_mail.
      RECLIST-RECEIVER = s_mail-low.                    "recipient
      RECLIST-EXPRESS = 'X'.
      RECLIST-REC_TYPE = 'U'.                           "internet email
      append RECLIST.
    endloop.
  Send email
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        DOCUMENT_TYPE              = 'RAW'
        DOCUMENT_DATA              = DOC_CHNG
        PUT_IN_OUTBOX              = 'X'
        COMMIT_WORK                = 'X'
      TABLES
        OBJECT_CONTENT             = OBJCONT
        RECEIVERS                  = RECLIST
      EXCEPTIONS
        TOO_MANY_RECEIVERS         = 1
        DOCUMENT_NOT_SENT          = 2
        OPERATION_NO_AUTHORIZATION = 4
        OTHERS                     = 99.
  Write email status.
    WRITE: /.
    CASE SY-SUBRC.
      WHEN 0.
        WRITE: / '*** Email sent to following recipient(s) ***'.
      Loot to get email id's.
        LOOP AT s_mail.         "Loop s_mail to get email address
          NAME = s_mail-low.
          IF RECLIST-RETRN_CODE = 0.
            WRITE: / NAME, ': succesfully sent'.
          ELSE.
            WRITE: / NAME, ': error occured'.
          ENDIF.
        ENDLOOP.               "Loop s_mail to get email address
      WHEN 1.
        WRITE: / 'Too many receivers specified !'.
      WHEN 2.
        WRITE: / 'No receiver got the document !'.
      WHEN 4.
        WRITE: / 'Missing send authority !'.
      WHEN OTHERS.
        WRITE: / 'Unexpected error occurred !'.
    ENDCASE.
  ENDIF.                        "Check if send email is checked
Shalin Shah

Similar Messages

  • Process chain Logs are not  able to view...

    <i>Hi Friends,</i>
                      We are facing a typical problem like this... We are loading master data weekly thru process chain.. The problem is dat for 5 weeks back we have kept back ground scheduling dat this chain needs to get run for every week.. So for the first week it runned successfully and for the second and third and fourth week also itz runned successfully..
                                                       But on the fifth week we got the process chained failed for some errors in Process chain.. We analyzed the errors and But yet to be rectified.. So for 6th week it needz to get runned.. But when am going to check the logs of dat process chain..
                                                        It was not showing any logs on the chains which have runned successfully for the past 4 weeks also, which have runned successfully... And I tried it in logs with givng today and yesterday and One week and This month and last month and tried it with free date also... BUt am not able 2 see the logs..
    Can anyone help me out from this issue..
    <i><b>Thanks & regards
    Aluri</b></i>
    <b></b>

    Have you tried adding the chain to the RSPCM transaction?
    If the chain has run you should be able to see the logs there by selecting the date.
    ~Nathaniel

  • Process Chains log

    Friends,
       I want to see the log for all process chains which are running everyday and time. Is it possible can see the log at one place? Thanks.
    CS.

    Hi,
    You can see by running the program /SSA/BWT.
    Steps:
    Go to t-code, SE38 / SA38 --> give program name /SSA/BWT > Click execute->
    Select "Process Chain Analysis and execute--> Click "Process chains" --> give the date and time you want and execute. EG:
    Start Date : 08.12.2010   End Date   09.12.2010
    Start Time : 00:00:00     End Time   23:59:59
    This will give two days log for process chain which and it ran on that two days.
    (It will give you Both Meta chain & local chain, if you want you can give filter for only main chain by giving "X" in filter)
    Regards,
    Sridevi.

  • HOW to delete old APO process chain logs.

    HI experts,
    Can anybody help me in gettting how to delete the old logs of APO daily delta process chain.
    Is there any standard job or any batch job for the same.
    Regards,
    yatindra

    Hi Yatindra,
    If you are using SCM 5.0, go to Tcode SE38 an run this program: RSPC_LOG_DELETE.
    In the screen you have to specify the date range from which you want to delete the logs.
    I hope this can help you.
    Regards.
    Marín.

  • Log from ABAP program in Process chain

    Hello.
    I have some problem. I wrote the ABAP program and insert this program in process chain. This program a correctly work, but I canu2019t view the steps of work this program. In help:
    You can write logs by outputting success messages. (Error messages terminate the task!)
    Example: MESSAGE s051(rsar) WITH 'Process successfully ended'.
    You can see these logs on the tab page Batch in the detail monitors of the process chain.
    I append this code to my program, but nothing in process chain.
    Help me, please - what code I need to insert in my program so that view this message in a process chain logs?

    We have an ABAP that outputs a message.  The output from the following code is visible when you click on a process chain step icon, and select the middle tab that says "Backg" for background.
    IF sy-subrc = 0.
        CONCATENATE text-005 p_date INTO l_msg SEPARATED BY space.
        MESSAGE i162(00) WITH l_msg.
      ELSE.
        CONCATENATE text-003 p_date INTO l_msg SEPARATED BY space.
        MESSAGE e162(00) WITH l_msg.
      ENDIF.

  • Log for process chain.

    Hello Gurus,
           after my process chain runned today sucessfully, I want to check this running in the log view, but after I chose "yesterday and today" and got into log view, there are only log for "03/05/2010" and "02/26/2010". please how can I get the log for today's running?
    Many thanks,

    Hi,
    If you select the option u201CTodayu201D in date selection it displays todayu2019s process chain log.  I think, you have selected the option u201CThis month and last monthu201D in your case. So, it displayed the logs for date "03/05/2010" and "02/26/2010u201D accordingly and only two runs were done since last month. Please make sure your selections.

  • Emails for process chains

    Hi Friends,
    I need your valuable suggestions for a problem we are currently facing regarding emails in process chains.
    An explanation of the issue is as follows:
    The users who load data (present at different geographical locations Ex. A, B, C) use a custom ABAP program to load and this program only triggers the process chain. The final status of the load is to be communicated back to the users.
    If the email feature of process chain is used and the users list from locations A, B and C is maintained, then users from B and C get emails regarding loads abt C and so on. In other words users from A, B and C have irrelevant emails in their mailbox.
    Also the users have no technical knowledge of BW and hence cannot interpret the Process chain log. So there is another technical team which will receive the detailed email messages.
    All the users need to know is whether the load was successful or not.
    ---Accessing the Monitor using RSMON is not an option
    ---Maintaining email groups is not an option.
    Has anyone faced a similar problem before? If so, how did you resolve it?

    You have now 1 chain that is triggered by A, B and C and they all get e-mail when the chain is finished?
    Create 3 meta-chains C1, C2 and C3. Users A, B and C trigger their respective chain. The actual chain that is doing the work is C4. C4 is a subchain of C1, C2 and C3 so you need to model it only once. At the end of C1, C2 and C3 you can send email to your users.
    C1
    - C1 trigger
    - C4
    - C1 finish & email A
    C2
    - C2 trigger
    - C4
    - C2 finish & email B
    C3
    - C3 trigger
    - C4
    - C3 finish & email C
    You could optionally connect the technical e-mail to the last process in C4. and the user e-mail to C1, C2 and C3.

  • Process Chains - number of records loaded in various targets

    Hello
    I have been trying to figure to access the metadata on the process chain log to extract information on the number of records loaded in various targets(Cubes/ODS/Infoobjects).
    I have seen a few tables like RSMONICTAB, RSPCPROCESSLOG and RSREQICODS through various threads posted, however I would like to know whether there is any data model ( relationship structure beween these and other std. tables) so that I could seamless traverse through them to get the information I need.
    In traditional ETL tools I would approach the problem :
    > Load a particular sequence(in our case = BW Process chain) name into the program
    > Extract the start time and end time information.
    > Tranverse through all the objects of the sequence(BW Process chain)
    > Check if the object is a data target
    > If yes scan through the logs to extract the number of records loaded.
    could I have a list of similar tables which I could traverse through ABAP code to extract such information?
    Thanks in advance

    Hi Richa,
    Please check these tables which may be very useful for you.
      rsseldone,
      rsdodso,
      rsstatmanpsa,
      rsds,
      rsis,
      rsdcube
    I have got a abap code where you can get all the information for a particular request.
    If you need more information goto ST13; select BI TOOLS and Execute.
    hope this helps .....
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on May 15, 2009 11:08 AM

  • Process chains data load

    Can any body help in data scheduling issue
    I am able to load data manually the issue is i selected some of the datafields  in InfoPackage  data selection field and saved .
    i put this Ip in the process chain.now the issue is i don't to load data immediately .. say i want to load the data after 3 hours for this i want to set the time .i did set up in the process chain start variant
    but it is not working can anybody give me the steps in detail please....
    Advance thanks
    Kelvin sam

    Hi Kelvin,
    This should work using the start variant in the chain but of course the infopackage variant will only run if the process
    before was successful (depending on your settings with the links joining the processes in the chain).
    If you right click on the start variant, select 'maintain variant' , on the next screen make sure 'direct
    scheduling' radio button is flagged unless you are using a meta chain as starter process.
    Click on 'change selections' button , on the next screen select 'date/Time' option and here
    you can set the start date and time. You then need to save this setting , select save
    and on the next screen save again. You then need to activate and schedule the
    chain again.
    If this still does not work can you check if there are errors messages generated in
    sm21/st22 or in the process chain log.
    Regards,
    Des.

  • Problem in Process chain data loading

    Hi Experts,
    We have a Process chain in which the lists of jobs are as follows.
    1) BI_TRIGGER_PROCESS
    2) BI_PROCESS_LOADING
    3) BI_PROCESS_ODSACTIVAT
    4) BI_PROCESS_DROPINDEX
    5) BI_PROCESS_LOADING
    6) BI_PROCESS_INDEX
    7) BI_PROCESS_ABAP
         These jobs trigger the PC and load the data to ODS, activate and delete the index for cube and load data to cube and create the index and then delete the file from the FTP.
    The problem is that the Initial job (BI_TRIGGER_PROCESS) is being repeating multiple times because of which the loading is taking place for the same file repeatedly to ODS. one day it was happend repeatedly for 130 times. This is being happening on a randomly basis. We are unable to figure it out the where the problem is. Can anybody help in this regard?
    Thanks.

    Hi Rama,
    Following is my understanding of problem.
    You have Following steps in process chain
    1) BI_TRIGGER_PROCESS
    2) BI_PROCESS_LOADING
    3) BI_PROCESS_ODSACTIVAT
    4) BI_PROCESS_DROPINDEX
    5) BI_PROCESS_LOADING
    6) BI_PROCESS_INDEX
    7) BI_PROCESS_ABAP
    Some times only first two steps repeat multiple times i.e
    1) BI_TRIGGER_PROCESS
    2) BI_PROCESS_LOADING
    In such case you should see the log from process chain log view.
    I believe you should take your process chain out of schedule and reschedule it.
    Also check whether somebody has scheduled the inopackage.
    Regards,
    Ajinkya

  • Calling ABAP Program from a Process Chain

    I am calling an ABAP Program from Process Chain by adding a Process Type u201CABAP Programu201D,
    My ABAP program writes lots of information using write statements.
    I looked in Process Chain Log; I do not see output from Write statement. I am pretty sure my write statements were executed. I also looked in SM37 job log. I do not see any more information.
    Where to see the output generated from ABAP.
    Thanks.

    Hi,
    First find out where your ABAP program the data written.You need to write it into and spool then only you can see it.
    Transaction SP01, you can use the FM 'GET_PRINT_PARAMETERS' in your abap program to write to spool.
    Thanks,
    Ravi

  • Process chain name required for a infopackage

    Hi,
    Is there a table in BW that stores the process chain name and IP's in it. We need to find the names of process chains based on the Info package names.
    Regards,
    Adarsh Mhatre

    Hi Adarsh
    Check these tables
    Tables for Process Chain logs
    RSEVENTHEAD -
    Header for the event chain
    RSEVENTHEADT -
    Header for the event chain
    RSPCCHAIN----
    Process chain details
    RSPCCHAINATTR------- Attributes for a Process Chain
    RSPCCHAINEVENTS------- Multiple Events with Process Chains
    RSPCCHAINT----
    Texts for Chain
    RSPCPROCESSLOG----
    Logs for the Chain Runs
    RSPCRUNVARIABLES----
    Variables for Process Chains for Runtime
    RSPC_MONITOR----
    Monitor individual process chains
    Regards
    Jagadish

  • Object Lock -- Process Chain --- How to Track

    Dear All...
    Working on SCM 4.1
    Daily we schedule the Process Chain , but sometime we get the Object Lock Error.
    To see this error we have to go to process chain-> Log , Steps-->right click , and display message...
    This is manual Process , and we cant keep track of many Process Chain Jobs >Steps>messages??
    Is there any process /way to Track /watch these types of Object Lock Errors automaticaly ??
    as it could reduce our manual activity??
    Thanks in advance..
    Rajesh patil

    HI Rajesh,
    You can get mail on abort of any step in Process chain.
    For that go to edit mode of existing process chain in RSPC. Right Click on Step (for which you need mail) and click on CREATE MESSAGE.
    Click on radio button "Error" so that when ever Error comes you will get mail.
    Hope this helps.
    Vishal..

  • How to reschedule process chain?

    hello experts,
    i just want to know about when we run process chain,if there is an error with some infopackage to load the data into data targets,at that particular time how should i resolve the problem to start the process chain at that situation.
    dilip kumar reddy.T

    Hi Dilip,
    Once an Infopackage in a Process chain fails, you hvae to identify the error message and correct the load.
    After this when you goto the process chain Log you will either See "Repeat" option when you rightclick on the Errored IP or at the Next step. You have to click on the Repeat option to let the process chain complete.
    There are few things that you need to concentrate here.
    Before you press REpeat, please ensure that the error has been corrected and the Load has been successfully loaded into the datatarget.
    If you dont find the Repeat option, and that you have ensured that the Error has been corrected, you can use the following function module to Restart from where the process has failed
    RSPC_PROCESS_FINISH
    For this function module you ahve to supply the
    Process chain name
    Process Variant
    Instance id
    You can get all the above values from the Process chain log, when you rightclick and "Display Messages" and goto the "Chain" tab
    You have to supply Field
    I_STATE = G or F to make the Status of RED to GREEN(completed) so that the process chain continues from the next step in the chain.
    REgards,
    Praveen.

  • Process Chain DD Tables

    Hi, in the RSPC* tables I am trying to figure out how the order is determined for process chain steps(processes).  I see the fields in the process chain log for:
    EVENT_GREEN
    EVENTP_GREEN
    EVENT_RED
    EVENTP_RED
    EVENT_START
    EVENTP_START
    Can anyone tell me how to determine the order of process chain steps using these fields?
    Thanks,
    Ken Murray

    - Process of type 'Trigger' is the first step.
    - The EVENTP_GREEN in this record (in rspcchain table) will have a parameter value for the next step.
    - EVENTP_START record of the next step will have the same value as the EVENTP_GREEN of the prev step.
    This sequence will continue. (EVENTP_GREEN of current step = EVENTP_START of next step)
    This is ofcourse a simple explanation. There are other possibilities (like EVENTP_RED will link to the step that should run if there is an error in current step).

Maybe you are looking for

  • Does the Mini Display port carry audio?

    I am trying to setup a collaboration centre in my school where I would have 4 macbook pros attached to a TV. http://i53.tinypic.com/jkdduw.jpg I was going to buy a KMV and Audio switch to connect all the laptops to the TV but then it occurred to me t

  • Build index on olap's table

    Hi, I am on an OLAP application which has a table having millions of records, and the table doesn't have any index. When checking the data found one particular column has total less than 50 distinct values which likely to be a good candidate for buil

  • Nokia Lumia 1520 signal issues

    Hello I bought my Nokia Lumia 1520 about 3 weeks ago. It has the international Hong Kong version. Since the first day I've been experiencing singnal issues. Sometimes I can't even get a 3G or H+ signal! It keeps dropping on Edge. I tried the same SIM

  • Problem with attributes labels

    Hi All! I try use Busines Componets properties. Exactly attributes labels. I setup labels for each attribute, but no effect on rendering. Anybody have this problem? I use JD 3.1

  • Bootcamp and vmware: same partition?

    Let's say I install windows 7 using bootcamp. If then I install vmware under Mac OS, can I "point " it to the same partition where bootcamp installed version of win 7 is? Or, I will necessary have to reserve another piece of disk and install another