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

Similar Messages

  • Table-Process chains

    Hi All,
    Is there any table for Process chains i.e to get all Process chains and Infopackages/InfoPackage groups included in it?
    Thanks

    Hi Murali,
    Process chain related tables are start with RSPC*.
    Thanks
    Sundar

  • Extract Process Chain ID/Name that an embedded ABAP program is run from?

    Hi all,
    I have created some Process Chains in SAP BW where I have incorporated some ABAP program Process Types that uses the same ABAP program.
    In these embedded ABAP program Process Types I need to extract the name of the Process Chain it runs from (ID, Technical Name, Descirption).
    Is there any way this is possible to do?
    One solutions that is not possible to implement (due to parallell runs of process chains that uses the same ABAP program) is the following:
    search in table RSPCVARIANT for your program as follows
    - field TYPE = "ABAP"
    - field FNAM = "PROGRAM"
    - field LOW = <program name>
    take the value of field VARIANTE and use this in table RSPCPROCESSLOG (enter a date selection for BATCHDATE as well)
    take the most recent entry (should be the one you're actually running at that moment)
    via field LOG_ID, retrieve CHAIN_ID (technical name of your process chain) in table RSPCLOGCHAIN
    So my question here is:
    -Is there any way to extract the Process Chain ID/Name that an embedded ABAP program Process Type is run from?
    Thanks beforhand for your feedback!
    regards
    Oddmar

    Hi Erik,
    I am stuck up with a similar requirement, wherein I have an ABAP program in my process chain and I need the technical name of the process chain in the ABAP program at run-time.
    Did you get a solution or work-around for this scenario?
    Thanks in advance.
    Regards,
    Chetana.

  • Complex process chain

    Hi,
    I need to create a process chain based on a event.
    From ECC i got a program that sends same event multiple times a day.
    The conditions are given below,
    1. Process chain must be scheduled to wait for the event.
    2. If the event is received between time '020000' and '050000.
        then the proces chain must proceedfurther
       else
       it must not proceed and wait.
    can this be achieved via process type ABAP program or any other best possibility?

    Hey Again. 
    Ok, I think you probably won't be able to do this with the decision between multiple alternatives.  Well, actually you could but it would take some extra work.  I've implemented custom formulas where I am and have created some for checking if a chain is active, a process is active, a chain has completed, etc... To get there though you have to first implement custom formulas.  it isn't difficult and can be extremely helpful (at least I have found them to be).  In case you are interested, here is a link to get you started on that effort (I think it's worth it even if not for this project):
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f095592f-42f7-2a10-6ab1-c836a559b48f
    So, while the solution could very well be done using a mix of custom formulas and the decision element it is probably best to simplify and use a custom abap program.  You have two choices, do this on the ECC side or on BW side. 
    If done in ECC:
    1)  Create log table, or utilize existing one
    2)  Check table... if event has been raised today, then do not raise event again.
    If done in BW:
    1)  Create a chain where starter uses the even and parameter that will be raised from ECC
    2)  Create a custom ABAP program that checks if the chain has run yet today.  If not, it would raise another event to trigger the chain doing the actual processing.  If the chain has run today, the event is not raised.
    While ECC side may seem simpler, you would be completely reliant on them not accidentally triggering the chain twice in one day.  So i would go with doing it on the BW side.  You can definitely check if a chain has run today and also if it has finished successfully.  Here is a list of some process chain related tables that you may find useful:
    RSEVENTCHAIN - Event Chain Processing Event Table
    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
    RSPCCOMMANDLOG - System Command Execution Logs (Process Chains)
    RSPCLOGCHAIN - Cross-Table Log ID / Chain ID
    RSPCLOGS - Application Logs for the Process Chains
    RSPCPROCESSLOG - Logs forthe Chain Runs
    RSPCRUNVARIABLES - Variables for Process Chains for Runtime
    RSPC_MONITOR - Monitorindividual process chains

  • Process chain delete index from TABLE

    is it possible to put a step in a process chain (/rspc) to delete and rebuild indexes from a normal table?
    I can only find a way to do this for cubes... ?
    thanks!

    Hi,
    You have to export the table name and index name using the following str to FM :RSDU_DROP_INDEX
    begin of rsdu_s_index,
        tabname              like ddstorage-tabname,
        indexname            type rsdu_indexname,
        dbidxname            type rsdu_index,
        fieldname            type rsd_fieldnm,    "like dd17v-fieldname,
        type_expected        type rsdu_indextype,
        type                 type rsdu_indextype,
        type_check           type rsdu_check,
        unique_expected      type rsdu_indexunique,
        unique               type rsdu_indexunique,
        unique_check         type rsdu_check,
        partitioned_expected type rs_bool,
        partitioned          type rs_bool,
        partitioned_check    type rsdu_check,
        status               type rsdu_indexstatus,
        status_check         type rsdu_check,
    end of rsdu_s_index,
    so, you need to pass table name and index name through this structure.
    hope it help....
    Regards,
    Raju

  • Process chain tables and tcodes

    Hi frinds,
    can any one send me the process chain tables and tcodes . plzz
    regards,.
    rajesh
    my mail id is [email protected]

    Hi Rajesh,
    Process chain tables:
    RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
    RSPC_MONITOR Monitor individual process chains
    RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
    RSPCCATEGORY Process Type Categories
    RSPCCATEGORYT Texts for Category
    RSPCCHAIN Process chain
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process Chains
    RSPCCHAINT Texts for Chain
    RSPCCOMMANDLOG System Command Execution Logs (Process Cha
    RSPCENQUEUE Dummy Table for Runtime Locks of a Process
    RSPCEXOR Excluding Or: Log Table
    RSPCINFO Special Values for Communication between P
    RSPCINFOT Special Values for Communication between P
    RSPCINSTANCE Generic Instance Storage
    RSPCINSTANCET Texts for Generic Instance-Storage
    RSPCLOGCHAIN Cross-Table Log ID / Chain ID
    RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
    RSPCLOGS Application Logs for the Process Chains (G
    RSPCPROCESSLOG Logs for the Chain Runs
    RSPCRUNVARIABLES Variables for Process Chains for Runtime
    RSPCTRIGGER Variants for the Trigger Processes
    RSPCTRIGGERT Texts for the Trigger Variants
    RSPCTYPESDEP Dependencies for Processes
    RSPCTYPESPROC Attributes of BW processes (RSSM)
    RSPCVARIANT Generic Variant-Storage
    RSPCVARIANTATTR Attributes of a Process Variant
    RSPCVARIANTT Texts for Generic Variant Storage
    Regards,
    R.Ravi

  • Send the OHD database table load details as mail in Process chain

    Hi,
    We have a requirement that after the data is loaded into Open Hub destination we need to send an email to a list of users.
    The mail should contain the Open hub destination name, Calday, Request No, No of records and the message that the load has ended successfully.
    I know how to send an email in the process chain but how to send the details like Open hub destination name, Calday, Request No, No of records in the mail.
    Please suggest.

    Well we got a little idea:
    We have narrowed the req down to the following logic:
    select REQUID,No of records transferre, and the OHD name from RSBKREQUEST table
    where rsbkrequest-requid  = open hub table request
    Also the open hub table should be first sorted in descending order by request ID
    Now the main issue is:
    How to implement this logic and get the details from RSBKREQUEST table and send these details in the mail body.
    This we want to do in the message which is attached to the Open hub DTP load step of the PC. The message will go if the Open hub load is successful.
    In the message we are able to enter the receipient email address but how to add the above mentioned details.
    Actually we are trying to avoid the ABAP code step.
    Please suggest.
    Edited by: Debanshu Mukherjee on Dec 10, 2010 7:45 PM
    Edited by: Debanshu Mukherjee on Dec 10, 2010 7:46 PM

  • Populate Databse Table through RSCRM_BAPI in Process chain

    Hi,
    I am using RSCRM_BAPI to extract a query output in a custom database table in BW 3.5. On the database table I have created a Data Source which will populate the end cube. I have to automate this flow through a Process Chain.
    Please let me know, how can I call RSCRM_BAPI through ABAP in a process variant to load the database table.
    Regards,
    Dibyendu

    Hi,
    Please go thorugh the below link:
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
    Rgds,
    Sonal

  • H how to find  if the psa table is included in psa deletion process chain

    Hi all
    can anybody tell me .
    I have a psa table it's technical name is /BIC/B*
    h how to find  the  above psa table is included in psa deletion process chain or not
    please help me

    Hi
    Ope the PC in RSPC1 -->go to planning view of process chain
    in left side you will find different types of process types.
    under other BW process types folder -->you will find process type "Delete request from PSA"
    drag this into your process chain planning view and customize it based on your requirements.
    check the below article for step by step procedure
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh

  • Table for infopacakges used in process chains

    Hi,
    Can any one disclose me the table name for the infopackages used in process chains??
    Raj

    Another one:
    RSLDPIO Links datasource to infopackages
    RSLDPIOT  InfoPackage Text Description
    RSLDPRULE ABAP source code for InfoPackages
    RSLDPSEL   Hardcoded selections in InfoPackages
    RSMONICDP Contains the request-id number by data target
    RSPAKPOS List of InfoPackage Groups / InfoPackages
    RSSELDONE InfoPackage selection and job program
    From: table that contains the name of infopacks
    Lot of info already available on this in SDN.
    Hope it helps.
    AT

  • Need a table for process chains of when these are scheduled!!

    Hi,
    I had like to have list of all the process chains and their schedules of how often these are loaded and whether been triggered by event or directly scheduled. If periodically scheduled then the period----
    is there any table which can have the information as i said??
    Raj

    Hi....
    process chain tables
    RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
    RSPC_MONITOR Monitor individual process chains
    RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
    RSPCCATEGORY Process Type Categories
    RSPCCATEGORYT Texts for Category
    RSPCCHAIN Process chain
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process Chains
    RSPCCHAINT Texts for Chain
    RSPCCOMMANDLOG System Command Execution Logs (Process Cha
    RSPCENQUEUE Dummy Table for Runtime Locks of a Process
    RSPCEXOR Excluding Or: Log Table
    RSPCINFO Special Values for Communication between P
    RSPCINFOT Special Values for Communication between P
    RSPCINSTANCE Generic Instance Storage
    RSPCINSTANCET Texts for Generic Instance-Storage
    RSPCLOGCHAIN Cross-Table Log ID / Chain ID
    RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
    RSPCLOGS Application Logs for the Process Chains (G
    RSPCPROCESSLOG Logs for the Chain Runs
    RSPCRUNVARIABLES Variables for Process Chains for Runtime
    RSPCTRIGGER Variants for the Trigger Processes
    RSPCTRIGGERT Texts for the Trigger Variants
    RSPCTYPESDEP Dependencies for Processes
    RSPCTYPESPROC Attributes of BW processes (RSSM)
    RSPCVARIANT Generic Variant-Storage
    RSPCVARIANTATTR Attributes of a Process Variant
    RSPCVARIANTT Texts for Generic Variant Storage
    Among all these tables I think.......
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process
    Chains
    RSPCPROCESSLOG Logs for the Chain Runs .........can help you.......
    Regards,
    Debjani........
    Edited by: Debjani  Mukherjee on Oct 21, 2008 1:32 PM

  • Deletion of Dimension Table data in Process Chain Step

    Hi,
    I am trying to delete the InfoCube Contents using a Process Chian.This process is successfully deleting the Fact table contents, but not dimension table contents.
    I need your help to automate the deletion of dimension table contents.
    FYI--
    We are using BW 3.0 B.
    Thanks in Advance.
    Vardhan.

    Hi
    Unfortunately is not possible. I had in the past the same issue and I had also a confirmation from SAP.
    You can use RSRV to delete unsed value, manually or build a program.
    the process chain allows only to delete the fact table.
    regards
    Mike

  • Execute process chain step based on value in a custom table

    HI,
    I have a requirement where i need to execute a process chain step based in the value of a field in a custom table.
    e.g. If ztable-zflag = 'X' then execute next step else stop.
    I am trying to use the decision between multiple alternatives process type, but i guess we can only use formulas in it.
    Also, i created a custom method and called it through the badi RSAR_CONNECTOR, but the same isnt working as expected.
    Would appreciate inputs from the experts.

    Hi,
    Thank you for your response.
    I followed exactly what is written in the document. But when I execute the process chain with the Decision between Multiple Alternatives process type, it fails with an exception message.
    Below is what I have done:
    Below is the code that I entered in the method (Please note that ZPC_CONTROL is the table from which I need to check the value. This table contains 2 fields: Process Chain Name and Flag. My requirement is that when a particular process chain has the flag checked, then the process chain should move ahead):
    Below is the GET method:
    Finally, here is the formula that I have written in the Decision Between Multiple Alternatives process type:
    And the event is Option 2 (which I assume will move the process chain forward if the flag is checked for the process chain ‘TEMP_TEST’)
    Please note that the flag for process chain ‘TEMP_TEST’ is checked in the table ZPC_CONTROL.
    Below is the error in the process chain:
    Please let me know where am I going wrong here. Appreciate your help.

  • Process chain tables

    Hi
    I am creating one z table for sake of monitoring sheet. For that information I need some information.
    In which table I get process chain scheduling details .and where should I get the information weather the process chain run manually or through schedule.
    Praveen

    Below are all tables related to process chains. You should be able to figure out from here.
    RSEVENTCHAIN       Event Chain Processing Event Table
    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
    RSPCCOMMANDLOG     System Command Execution Logs (Process Chains)
    RSPCLOGCHAIN      Cross-Table Log ID / Chain ID
    RSPCLOGS      Application Logs for the Process Chains
    RSPCPROCESSLOG      Logs for the Chain Runs
    RSPCRUNVARIABLES      Variables for Process Chains for Runtime
    RSPC_MONITOR     Monitor individual process chains
    Hope this helps.

  • Process chain flow - based on table values

    Hi,
    I want to control the flow of Process chain run through the values that exist in a field ZCONTROL of Z table.
    I have created an ABAP Program where I access the Ztable to get the ZCONTROL values and have added the program in the ABAP process type.
    Below the ABAP process type, I have added the Process type "Decision between Multiple Alternatives" and created a formula using Predecessor_Parameter function to get the ZCONTROL values.
    The format is PREDECESSOR_PARAMETER( <I_FIELDNAME>, <I_LOW_OR_HIGH>, <I_NUM
    How should I get the I_FIELDNAME value here?
    Please help.
    Thanks.

    Hi Eric / Steph,
    Thanks for your reponses.
    Eric,
    My table has the infopackages name and ZCONTROL field, which contains an indicator "X" or SPACE based the scheduling requirements.  If "X", the Infopackage is scheduled else, it is not.
    In the formula, how will I import the infopackage name.  The custom function can be created with export parameters as ZCONTROL values.
    But when I use the custom funtion, I will need to use the fields on the left hand side and it should have the infopackage name ideally.
    If you get any idea, please let me know.
    Steph,
    I will try your suggestion. 
    Can one ABAP program added as an ABAP Process type in the Process chain, trigger multiple events for different process chains?
    Also, if the infopackages are scheduled, one below the other, if one is not scheduled, will it move to the next one?  Will it go as an error(red) or green?  Should 2 load infopackages process types connected as success or Always?
    Please clarify.
    Thanks.
    Also,

Maybe you are looking for

  • New line character in soap body text

    Hi, Is there aby way to add new line character fir string message in soap body for text message output. like <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">string,3\nstring,3\n</soapenv:Body> whic is not working thanks

  • Documents that I open are immediately "changed" by Indesign

    Since the newest update of Indesign (2014.1), all the documents that I open are immediately "changed" by Indesign for some reason, so I have to save those documents again. If I open a document just to take a look at it and I want to close it, I get t

  • CAPWAP-3-CAPWAP_PAYLOAD_TOO_LARGE

    Any ideas what this means? Nov  2 15:53:42 c1-145-ap 42: AP:000d.28f2.31ea: *Nov  2 22:53:40.582: %CAPWAP-3-CAPWAP_PAYLOAD_TOO_LARGE: Attempt to send capwap packet with payload exceeding max size. Payload Size: 2057, Maximum Allowed Payload: 1700Nov 

  • Are there closed captions or subtitles?

    Are there closed captions or subtitles in iTunes?

  • Quality Certificate Issue with multiple batchs with same delivery note

    Hi, Hi, My Company Business Process: Quality certificates are generated prior to the good receipt through IDOC process. When we  receive the goods, GR should look for existing quality certificates and trasnfer the inspection results to inspection lot


HashFlare