What is Process Chain

Can any body tell me about Process Chain ...Its use in BI

Hi
Process chain is the most efficient way of Data load administration in BW.
A process chain is a sequence of processes that are scheduled to wait in the background for an event. Some of these processes trigger a separate event that can, in turn, start other processes.
A process chain consists of a start process, individual application processes and collection processes.
A process in the context of process chains is a procedure inside of or external to an SAP system with a defined beginning and end.
Types Of Processes
Start  Process
Application Process
Collection Process
with regards,
hari

Similar Messages

  • What is process chain indexes

    hi experts,
    please let me know what are the process chain indexes, why do we need  to drop indexes and create indexes in the process chains
    please respond, 
    chaitu

    Hi,
      drop index will be done for info cube to improve load performance and recreation to improve the reporting perfromance. and this deletion we are doing for cube only the reason is bit map idex will be created on cube which is not good for inserts and updates that is the why we are deleting index on cube and recreating, where as for ODS B-tree index will be created defaulty which can handle inserts and updates well that is the why we are not deleting index of ODS. you can delete cube index when you are loading data manually also for this in info cube manage performance tab select index tab and tick the check boxes for full and delta loads, when ever you do loads to info cube manually you will get a pop up saying that index will be deleted.
    Regards
    Sankar

  • Interview questions in process chain

    hi 
       cany any one send me possible interview questions in process chain and errors with answer.
    thanks in advance
    pradeep

    Hi Pradeep
    1.Procedure for repeat delta?
    You need to make the request status to Red in monitor screen and then delete it from ODS/Cube. Then when you open infopackage again, system will prompt you for repeat delta.
    also.....
    Goto RSA7->F2->Update Mode--->Delta Repetation
    Delta repeation is done based on type of upload you are carrying on.
    1. if you are loading masterdata then most of the time you will change the QM status to red and then repeat the delta for the repeat of delta. the delta is allowed only if you make the changes.
    and some times you need to do the RnD if the repeat of delta is not allowed even after the qm status id made to red. here you have to change the QM status to red.
    If this is not the case, the source system and therefore also the extractor, have not yet received any information regarding the last delta and you must set the request to GREEN in the monitor using a QM action.
    The system then requests a delta again since the last delta request has not yet occurred for the extractor.
    Afterwards, you must reset the old request that you previously set to GREEN to RED since it was incorrect and it would otherwise be requested as a data target by an ODS.
    Caution: If the termianted request was a REPEAT request itself, always set this to RED so that the system tries to carry out a repeat again.
    To determine whether a delta or a repeat are to be requested, the system ONLY uses the status of the monitor.
    It is irrelevant whether the request is updated in a data target somewhere.
    When activating requests in an ODS, the system checks delta repeat requests for completeness and the correct sequence.
    Each green delta/repeat request in the monitor that came from the same DataSource/source system combination must be updated in the ODS before activation, which means that in this case, you must set them back to RED in the monitor using a QM action when using the solution described above.
    If the source of the data is a DataMart, it is not just the DELTARNR field that is relevant (in the roosprmsc table in the system in which the source DataMart is, which is usually your BW system since it is a Myself extraction in this case), rather the status of the request tabstrip control is relevant as well.
    Therefore, after the last delta request has terminated, go to the administration of your data source and check whether the DataMart indicator is set for the request that you wanted to update last.
    If this is NOT the case, you must NOT request a repeat since the system would also retransfer the data of the last delta but one.
    This means, you must NOT start a delta InfoPackage which then would request a repeat because the monitor is still RED. For information about how to correct this problem, refer to the following section.
    For more information about this, see also Note 873401.
    Proceed as follows:
    Delete the rest of this request from ALL updated data targets, set the terminated request to GREEN IN THE MONITOR and request a new DELTA.
    Only if the DataMart indicator is set does the system carry out a repeat correctly and transfers only this data again.
    This means, that only in this case can you leave the monitor status as it is and restart the delta InfoPackage. Then this creates a repeat request
    In addition, you can generally also reset the DATAMART indicator and then work using a delta request after you have set the incorrect request to GREEN in the monitor.
    Simply start the delta InfoPackage after you have reset the DATAMART indicator AND after you have set the last request that was terminated to GREEN in the monitor.
    After the delta request has been carried out successfully, remember to reset the old incorrect request to RED since otherwise the problems mentioned above will occur when you activate the data in a target ODS.
    What is process chain and how you used it?
    A) Process chains are tool available in BW for Automation of upload of master data and transaction data while taking care of dependency between each processes.
    B) In one of our scenario we wanted to upload wholesale price infoobject which will have wholesale price for all the material. Then we wanted to load transaction data. While loading transaction data to populate wholesale price, there was a look up in the update rule on this InfoObject masterdata table. This dependency of first uploading masterdata and then uploading transaction data was done through the process chain.
    What is process chain and how you used it?
    A) We have used process chains to automate the delta loading process. Once you are finished with your design and testing you can automate the processes listed in RSPC. I have a real time example in the attachment.
    for more detail
    Collecting Process Chain Statistics
    /thread/235805 [original link is broken]
    Advice regarding process chains
    creation of process chains
    Message was edited by:
            Kalpana M

  • How to search for a process chain in RSPC ?

    Hi,
    Is there any way that i can find a process chain by giving the name of the variant.
    I know that i can click on the DTP and from there i can go to the process chain if i know the DTP.
    But here my problem is that i have a program which is calling a process chain now i what to what this process chain is doing.
    Is there any way to find it?
    Thanks in advance.
    Reagrds,
    Raghu

    Hi Surendra,
    Thanks for the inputs. Thanks for sharing some useful table names.
    But this haven't solved my issue.
    I have the below mentioned code in a program.
    CALL FUNCTION 'RSPC_CHAIN_START'
           EXPORTING
             I_CHAIN             = 'YPC_VARIANT_FOODS'
           I_T_VARIABLES       =
           I_SYNCHRONOUS       =
           I_SIMULATE          =
           I_NOPLAN            =
          IMPORTING
            E_LOGID             = LOGID.
    Now i want to see the Process chain ( 'YPC_VARIANT_FOODS' ) in RSPC.
    Actually 'YPC_VARIANT_FOODS' is a variant.
    Any way to achieve this?
    Thanks,
    Raghu

  • Error in Process chain execution.

    Pls, i'm getting the following error with my process chain.
    Error TEXT : *************** From HERE ***********
    WARNING 914 ***  EEWO0914W An internal error has occurred. Either the joblog or the job protocol for the following job does not exist:
    Job name: !1
    Job ID: !2.
    +++ EEWO1016I The Process Chain has been stopped:
    Error Text :  *************** Till HERE ***********
    What is process chain doing :  The process loads data from legacy (oracle db)  into ODS and then splits data into 2 cubes, with ODS activation, drop indexes, create indexes, delete PSA at proper places.  The PC is called from a maestro job (TWS Agent : Tivoli Work Scheduler agent).  The TWSA simply calls the PC with no processing at it's end.
    Fyi, When i look at the BW logs, the PC is a success (green), with all data loaded successfully.  In the last step of the PC, i'm creating a txt file (0 byte file) on the server. Even this file is created with correct time stamp (as per log).
    However the TWS reports back the above mentioned error.
    The last message, just before the error is :
    07/24/2010 17/46/37 RSM1                 797Start InfoPackage ZPAK_3XYD134H7BSESPB0MRTCGHNOE  
    For the past few loadings, this behaviour has been consistent.  Could anybody give some lead on this.
    Regards,
    Nagendra.

    Hi,
    Please implement the following two notes to your system:
    1460640 Correction: Synchronous run turns red during log refresh
    1396417 Correction: Status "Red" if request does not exist yet
    As the execution of the chain goes well on the backend, and the issue
    is only reported by the 3rd party program, please get in contact with
    the supplier of the TWS. Normally the external schedulers like uc4 using the
    rspc_api_chain_start to start the process chains, and the function
    module RSPC_API_CHAIN_GET_STATUS to receive the current status
    information about the corresponding runs.
    Thanks & Regards,
    Vipin

  • Hi(Process Chain)

    Hi,
    What is Process chain, and how to use and in which situation we will create process chain plz can anyone explain me.
    Thanks,
    Sheethal

    Sheethal,
    I would love to answer your question. It is realy not a question because it is a huge area itself. There are some help lines, search help.sap.com for process chain and read the threads and links given.
    Just a simple explanation.
    If you are familiar with any other environment even DOS, Windows, Unix or Mainframes.
    It is like a.BAT file in DOS and Windows.
    It can also be compared to shell scripts in Unix environment.
    or exactly like JCL in minframes.
    It helps to schedule different tasks in a sequence of steps.
    The outcome of one step or process can be used to decide the next step or the steps to be taken.
    If you call a process chain as a job, then the job can be scheduled on a particular time or can be started by another event (an action) either with in BW or from external system. But it gets complicated further.
    In simple it is a sequence of predefined process to be executed to do the ETL tasks. It is absolutely necessary to run a enterprise applications, since we talk about SAP BW. It is a must to have in SAP BW shops.
    Also it will make you have sleepless nights and frequent beeps, if things don't go well. One more reason to keep you awake during night times.
    Hope this helps. Award points if useful.
    Goodluck,
    Alex(Arthur Samson)
    Probably the same link is already given, if not use this as well.
    http://help.sap.com/saphelp_nw04/helpdata/en/00/5e261e7547d8479e062d72d68bc9e7/frameset.htm

  • Process chain in APO - batch jobs

    Dear Friends
    what for process chain in APO is used
    For instance in the sytem i noticed
    there are many process chain created
    Daily Master data
    Daily transfer of forcast
    there are so many process chain created
    what for it is used
    can you please give me a clear  idea ..
    Thanks & Regards
    Raj

    Hi
    In APO DP or SNP we have many jobs which have to following certain sequence. For example after loading the sales history only you can generate the CVCs. All these jobs has to start and finish in sequence. In the process chain you can defined or sequence all the your jobs according your need. You can also schedule these process chain as pre our requirement.
    So I will say process chain is better and more flexible way of scheduling and sequencing different jobs in APO. For example In you case you have daily process chain which might be loading the data in different Infoobjects  which are master data.
    Thanks
    Amol

  • Process chains and event collectors

    Hi All,
    I need help in Process chains and event collectors.I joined in new project and this client using process chains and event collectors and they ask me to work on these areas.I didnt work on this as of now So please send any docs on this area and explain the procedure and technology methods behind this concept.I would really appreciate If someone can send me the full documentation on this concept as I couldnt find any  any docs on this.
    Thanks,
    Ras

    Hi Ras,
    Process chains are a sequence of processes to be performed. The are put together in a chain with the necessary dependancies (process A needs to finish before B can start) and conditions (if A and B are successful then C else send an email), and then scheduled. They usually revolve around processes related to data loading: Load, activate, roll up, compress etc.
    Please take a look at this links/threads for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    process chains
    process chains
    Process chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    Process Chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    Re: Ho to make a variable mandatory or optional?
    There are lot of threads available in the SDN....go through them.....hope it really helps you in getting understand what are process chains and Events included in that.
    Assign points if it helps you.
    Regards,
    Sreedhar

  • What would the best process chain look like for this MD data load scenario?

    Hi there,
    I have the following setup. SAP BW connection to external system via DBConnect (DB2 database).
    We have 73 master data text data sources to load either once a week or everyday through process chain. We have not decided on the exact schedule yet.
    All the master data text DataSources pull data from the SAME VIEW created on the DB2 external system:
    VWDEDMASTERDATA
    The structure of the view is the following:
    DEDNAME
    DEDNAMETYPE
    DEDNAMECODE
    DEDNAMEDESC
    DEDNAMELONGDESC
    So, everytime master data text is extracted for all the 73 objects it queries the same view over and over again VWDEDMASTERDATA. We only differentiate in the datasource on the FIELDS tab which InfoObject should DEDNAME map to and then in InfoPackage we filter on the exact object/field to query.
    So essentially, every time we run InfoPackage for master data text object the external system gets queried in the following way:
    SELECT * from VWDEDMASTERDATA where DEDNAME = [FIELD/InfoObject specified in InfoPackage]
    So, if I have to have all 73 objects loaded, essentially the same SQL statement has to execute 73 times. In this scenario, what would be the proper process chain setup that has perfomance in mind? How should the InfoPackages be arranged, in parallel, sequentially, how many in a row, etc?
    Let me know if you need more information.
    thanks

    They would like to send the letters to me
    Depending upon how they send the letters to you and how they expect Acrobat to convert them you could be bordering on a license violation that prohibits you from using your version of Acrobat as a server-based product.
    Adobe offers server based products to convert rtf files into pdf files. Some require your company to run a server, but one seams exactly what they may want. The createpdf service is run by Adobe and seems capable of doing what your company wants.
    https://www.acrobat.com/createpdf/en/home.html

  • What is variant in ABAP Program Process Block in Process Chain?

    I wrote an ABAP program:
    REPORT ZTEST,
    PARAMETERS:  PROC(80) TYPE C.
    I can test this PORGRAM from SE38, it shows me a pop-up screen for PROC and I can enter a value and execute.
    Now I want to call this  program ZTEST from a process chain. In Process Chain Selected a Process u201CABAP Programu201D. It asks me program name and Program variant, I entered Program Name as ZTEST and
    Program variant as a character string HELLO.
    When I execute Porcess Chain, ABAP Program errors saying that variant HELLO not found.
    What is Program variant in ABAP Program Process in Process Chain?
    Thanks,

    Dont get confused here.
    Variant name is not which you are pasing to the program.
    You enter some values inside the variant and you specify the program to take the input from the variant.
    Suppose you have to pass 10 parameters to a program.
    user1 creates a variant " hello1" which contains his own selection for the 10 values
    user2 creates another variant "hello2" which contain his own set of selecion values.
    When we use this program in PC, you can use the variant user1 or user2 as per our requirement.
    please check if you are giving variant as input or the proc value.
    Hope this helps,
    Sri....

  • How to identify what are all the errors appears in process chain,

    Hi all,
    i have a process chain running, but i want to find out what are all the errors that the process chain has thrown
    thanks
    pooja

    Hi Pooja,
    Errors in monitoring:
    SID error
    Reason: If the corresponding master data is missing for the particular transaction data.
             1. Check for the load timing for the respective master data, if it less than an hour  then make the request red and repeat the ip.
             2. If the data is loaded to PSA then you have to delete the request from target and manually push the data to from PSA.
             3. If we are required for selective update then note down the info source from header and find it in RSA1,select the one with ‘Single as postfix’.
             4. Goto ‘data selection’ tab and change the range.
    Tip: change the last 4 digits for from to ‘0000’and the last 4 digit for to     ‘9999’.
            5. Repeat the ip.
             6. In case only of failure in one target goto RSA1 find the PSA, put he request no. and reschedule it.
    Note: IF PSA is present never make the request red rather delete it.
    Replication error
    Reason: Data source replication Failed.
             1. In order to handle this error you should be known to IP, info source and source system.
             2. Goto RSA1, find the data source in the source sys tab.
             3. Right click on the data source and replicate it.
             4. Since all the transformation rules pertaining to this data source need to be reactivated so go to SE38 and execute rs_transtru_activat_all, data source and sys name.
             5. Delete the ‘red’ request from the target.
    Update R not supported
    Reason: The corresponding initialization flag for the ip is lost.
             1. Goto header click on the ip and goto schedule tab and click initialize in the source system, whatever screen appears delete the only request present(the initialization flag).
             2. Goto RSA1, find the ip in the info source (one with the Adhoc initialize flag).
             3. Goto update tab and select ‘Initialize delta process’ try going for ‘with data transfer’.
             4. Reschedule the IP.
    Duplicate Record Error
    Reason: Duplicate error records for the loaded master data.
             1. Goto info package via header or via RSA1.
             2. Goto ‘processing tab’ and change the ip setting, selecting only PSA and ignore duplicate records and re run the ip.
             3. Do remember to change the ip settings back to the original once after the second step.
    ODS activation failure
    Reason: Prerequisites for ODs activation not satisfied i.e. unique key.
             1. Goto ‘maintain variant’.
             2. Check for the ‘QM’ status of the requests in the target they should be green.
             3. Then click the ODS activation tab.
             4. In the screen which appears put the requests for which ODS activation failed.
             5. Activate these and keep on refreshing them until status reverts from green,
    Remember to refresh these requests one at a time.
             6. If requests are red then delete them from target.
             7. Reschedule the IP.
    Note: Never Try activating ODS manually if it is Y1.
    Aggregate Rollup error
    Reason: No aggregate found for the respective rollup.
             1. Click on the variant in which the error occurred.
             2. Goto chain tab and copy the variant and instance.
             3. Run the nestle provided program YBW05.
             4. Put in info in there and put the status as g – ‘green’.
             5. Execute and refresh the status.
    Lock issue
    Reason: The same ip is been locked by other user or may be used by other process chain.
             1. We can see the locked entries and in the transaction SM12.
             2. Wait for the other process to get complete once the ip loads to target in that process then there is no need for running it for the process.
             3. In other case make the request red, when PSA is present then goto environment tab ->schedule->initiate update.
             4. In the box appears select update in the background.
             5. And the manually update the failed IP’s by selecting manual update in the context menu.
    Alfa confirming value error, Time conversion error, Chain didn’t start, Delay due to long running job, Poor system performance,Heirarchy node exist in duplicate.
    Reasons:
      Alfa confirming error: Data format mismatch.
      Time conversion error: Date, time format mismatch.
      Chain didn’t start: A scheduled chain didn’t triggered at the prescribed timing.
    -For all the above error we have to raise a ticket.
    Idoc or TRFC error
    Reason: An Idoc is been stuck somewhere.
             1. Reload the Master Data manually again from Info-package at RSA1.
             2. Release the Idoc.
             3. In the source system level got environment->transaction->Transaction RFC or Data ware housing level.
             4. In the Screen if the status is ‘Transaction Recorded’ it means its stuck goto edit and click Execute LUW or press F6.
             5. If status is ‘Transaction executing’ then it means its fine wait.
             6. Or raise ticket.
    Error Due to short Dump
    Reason: Error due to Short dump could be due to many reasons i.e. memory, table space, lock, error record, page allocation, failed change run.
    Process terminated in the Source system.
               Reason: Sometimes we face that a load has failed due to job Termination at Source System.             
          This happens due to unavailability of the source system or some connectivity problem between source and target systems.
    1.      Make the request red.
    2.      Delete the request from the data target.
    3.      Reschedule the ip.
    4.      If still the job fails raise the ticket.
    And also check in following links:
    Process Chain Errors
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Common Process chain errors
    For Data Load Errors check this blog:
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    Pls assign points if it helps u,
    Thanks & Regards,
    Madhu

  • What is the default time settings in Process chains

    Hi,
    What is the default time settings in Process chains.
    How to set time settings for daily,weekly,monthly loads in Process chains.
    What is the time settings that we have to take care when creating meta chains.
    Thanks,
    Madhu.

    Hi Madhu,
    The Time settings for any PC is done in the start variant of the PC. There is nothing like default time setting. These settings are totally depended on the requirement and system performance. It is a general rule of thumb to load the data during a time when the user activity is minimum as the loading process is going to occupy many dialog as well as background WPs. So, if you schedule them at a time when there are many users on the system, they might feel that the system is slow. Hence, you decide as to what is the best time for scheduling a PC. The same applies to meta chain also. In case of meta chains, you make sure the dependencies of the local chains is also handled. Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Import of Process Chains - What is the best practice

    Hi Colleagues,
    Wish to check on what is considered as a best practice:
    1. Move Process chains to the Production Environment through Transports
    Else
    2. Create them in the production system directly (obviously after having tested the scenario in other envrionments)
    Also would be glad to know if you have some links to posts which have discussions on the errors encountered in transports of process chains.
    Good Day and regards!
    Uma Shankar

    Hi Srinivas,
    Thanks a lot for the reply and the time taken to update this post.
    I will have to try this suggestion and shall update this post. Am now away from the project site, however since i was trying to help a colleague, will forward this reply to him to try it out and seek his observation.
    However a couple of things:
    1. This problem arose when the process chain was transported from Development to the Quality system.
    2. Though the error came up in the transport but when we were trying load the data into the Quality system using this process chain we were able to do so.
    So looks like the error had no impact on the performance of either the info-pack or the process chain. However we were sceptical on the our decision to import this process chain to the Production due to this error.
    However having seen hyour reply i will suggest my colleague to try it out (assuming that this error is still a pending issue) and shall update this post for the benefit of all.
    Good Day and regards!
    Uma Shankar

  • What are process type and process variant in process chain?

    hi all,
    Can anyone explain me what is process type and process variant in process chain ?
    regds
    hari

    Hi Hari,
    this is standard SAP Links, u may understand ....
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    Thanks, KR

  • What is attribute changerun and process chain?

    hi experts,
    what is attribute changerun and processchain. pl explain these two with a business case.
    thanks & regards
    venkat

    Hi Venkata,
    For attribute changerun,
    It's used after you change (add/delete/modify) attribute in the master data. You've to make it in order to have an effect after you modify it.
    To get it :
    1. tcode : RSA1.
    2. Tools -> Apply Hierarchy/Attribute Change
    3. tap on Info-object list button (checking what master data you've modified before).
    4. tap on selection button for type of job
    5. Execute.
    link(s):
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a67ece07211d2acb80000e829fbfe/frameset.htm
    For process chain,
    Using this you can make a flow of process sequentially.
    e.g.
    the flow :
    1. generate program YWS001
    2. get the data from table zcrm001
    3. load data to ods : zods_001
    link(s):
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
    Hopefully it can helps you a lot ..
    Regards,
    Niel
    (Many thanks for any points you choose to assign).

Maybe you are looking for