process chain how to create

Upload: jaguar

Post on 14-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Process Chain How to Create

    1/5

    Process chain

    PROCESS CHAIN

    What do you mean by Process Chain?

    Different set of processes connected like chain we call it as Process chain.

    Tcode RSPC for process chains.

    The main concept is whatever you are able to achieve with event chains, we can achieve the same with process chains. Process chains are more of

    graphical.

    We can automate the execution of any process which can be scheduled in the back ground.

    When compared with event chains monitoring and Creating, Monitoring and Error handling is also easy.

    PROCESS

    Any job which run or performed in the background is the Process like deleting index, creating index, executing info package, roll up, compression, ODS

    activation, set quality status to OK, deleting data in the ODS, and attribute change run all these are Process.

    VARIANT

    The object on which we are supposed to execute the process is called as Variant

    Different types of Process in Process chain or Process type?

    GENERAL SERVICES

    Start Process: Every process chain we build it must start with the start process

    AND (Last): We use AND only when the above specific processes are successful then it triggers my next process.

    OR (Each): We use OR when any one of the above processes is successful it triggers next Process.

    EXOR (First): XOR means AND with OR. When both are successful or both are failed then it triggers next Process.

    ABAP Program:

    OS Command:

    Local Process: We use this when you want to include process chain into another process chain.

    Remote Process Chain: When you have to include process chain o f another server in to this process chain in this server we go for remote process

    chain.

    Workflow (Remote also)

    LOAD PROCESS ANDPOST-PROCESSING

    Execute info package

    Read PSA and Update Data Target: Manual update or reconstruction

    Save Hierarchy

    Update ODS object data (Further update): Data mart

    Data Export into External Systems: Info cube

    Delete Overlapping Requests from Info cube: Pseudo Delta

    DATA TARGET ADMINISTRATION

    Delete Index

    Generate Index

    Construct Database Statistics

    Initial fill of New Aggregates

    Roll up of filled Aggregates

    Compression of the Cube

    Activate ODS object Data

    Complete deletion of Data target

    REPORTING AGENT

    Exception Reporting: Reporting agent means in the reporting agent tab we have exceptions, if we have some package, we can use this process

    type to execute that package in the process chain. Reporting agent execute the report in the background, if there is exception, it sends a mail. We

    have to schedule the package. We can use this package type to schedule the process chain.

    Print in the background:

    Pre calculation web templates:

    http://sapedw.blogspot.com/2011/12/process-chain.htmlhttp://sapedw.blogspot.com/2011/12/process-chain.html
  • 7/30/2019 Process Chain How to Create

    2/5

    Pre calculation of vale sets:

    OTHER BW PROCESSES

    Attribute change run

    Adjustment of time dependent aggregates

    Deletion of requests from PSA

    Reorganize attributes and texts for

    We have got 2 types of chain, one is direct chain and other is Meta chain.

    When we have process chain which can be scheduled directly we call that as direct chain, if we have got a process chain which can not be run directly

    but it can be included into another process chain we call that as Meta chains.

    Every process chain must have start process, and every process must have variant.

    Every block in the process chain, will have 2 things, the first part of the block is the process and second part of the block is variant.

    How to control system such that it does not propose any default chains?

    In the RSPC, in the settings menu you have the option called default chains when you go in to that you will have check box do not suggest process.

    For whichever the process type you see the variant is white, you have to create a variant. For any process types you see the variant being grayed out

    you have to search the variant from F4.

    Different views of Process chain

    Planning View:You can design or change Process chain in planning view

    Checking View: This tells us that the Process chain built is running correct or not

    Log View: Here we can see the log of the Process chain

    How to run the process chain and observe the log?

    In the real time you will find 2 buttons

    1. Activate

    2. Execute

    If we select the process chain and activate the process chain it gets activated when we click on execute button then it runs.

    All the scheduling options of Process chains will be maintained as Variant to the start process.

    Go to the process chain, Select start variant process. Right click and say maintain variant. In this screen, you will have 2 radio buttons 1.Direct

    scheduling 2. Start using Meta chainor API (Application Program Interface contains classes interfaces and methods in form of Packages) means

    do you want to run this chain directly or do you want to include this chain into another chain. If you want to run the chain directly, select the radiobutton direct scheduling and then select button called Change selection to specify Immediate or later. Say immediate. If you want to run the job

    periodically then select periodic job. Hourly, monthly etc, say save. And then say again save at the top one. say back. Now select your chain and

    activate. Now if we activate process chain it gets activated and process chain will also run.

    In real time activation is different and scheduling is different. Now when we schedule the chain it will start running. When it is running we should see

    the log. How to see the log? Select the button log view. We have option like; you want to see the log of today or yesterday. This is log.

    Whenever you create a process chain by default it gets saved under folder called not assigned

    PROCESS CHAIN TO LOAD DATA INTO THE CUBE

    START

    VARIANT FOR PC_1

    INDEXES

    DELETING INDEX OF THE CUBE

  • 7/30/2019 Process Chain How to Create

    3/5

    LOAD DATA

    INFO PACKAGE FOR PROCESS CHAIN

    CREATE INDEX

    CREATE INDEX

    ADJUST

    ROLL UP THE AGGREGATE

    COLLAPSE

    COMPRESSION OF THE CUBE

    ====================================================

    PROCESS CHAIN TO LOAD DATA TO ODS

    START

    START VARIANT PROCESS FOR ODS

    LOAD DATA

    INFO PACKAGE FOR PROCESS CHAIN

    ODSO DATA

    VARIANT TO ACTIVATE ODS

    =================================================

    PROCESS CHAIN TO LOAD MASTER DATA

    START

    VARIANT FOR MD

    LOAD DATA LOAD DATA

    INFO PACKAGE FOR ATTRIBUTE INFO PACKAGE FOR TEXT

  • 7/30/2019 Process Chain How to Create

    4/5

  • 7/30/2019 Process Chain How to Create

    5/5

    RSMO is the Tcode where you can see the status of any info package.

    In BW3.5 we can use Tcode RSPCM, RZ20 and BWCCMS to see the status of any process chain running in the server

    When you go to RZ20 you will have menu called SAPCCMS technical expert monitors. Under this you will have menu called all monitoring contacts.

    Because when you want to manipulate multiple chains at a time, we use these TCODEs in the real time. So double click on moni toring contents. It will

    show the different entries like back ground, data base, process chains etc. Expand process chains you will see the list of all the process chains and

    expand the process chain you like. You can see the log of the process chains. This is actual log id. Double click. It will take you to the log view log of

    the process chains.

    MESSAGING

    Suppose if you have got a very big process chain say 10 processes in it. I need not create message for all 10 processes instead of doing messaging for

    10 processes I can create message in one place. If any process fails I should get mail or message immediately. You have process type called XOR?

    Any one process fails, it triggers. We will connect all the processes to another process type called XOR and for this XOR we will create the message.

    In these processes if any one process fails it triggers XOR, connect it with red so if any one fails it triggers XOR. If my XOR is triggered, it will trigger a

    message.

    Instead of creating messaging for each and every process in the process chain we can connect all the process types to an XOR, and create a message

    for XOR. So if any one fails it triggers XOR will trigger a message.

    Do you know about messaging?

    Say YES.

    What are the recipient type you use for messaging?

    Shared distribution list

    They will ask you did you create messaging for each and every process or only once. You will say for every process but they will ask you are there any

    chance that you can specify failure with single message.

    We can connect all the process types to XOR and we create message with XOR so if any one process fails it triggers a message. Messaging is like

    sending a mail. So instead of monitoring all the chains at a time, whenever there is any failure it automatically sends a mail to inbox and you can just

    look at the mail and respond accordingly. He may not be sending mail only to you. It might be sent to complete BW team, who is working on that

    project. in the real time they are getting it to clients mail id or whatever. BW server would have been configured to your mail server.

    SCOT Tcode can be used to configuring your BW server to your mail server. You can connect to mail, internet or Tele-Fax etc. Like yahoo messenger.

    We can maintain yahoo messenger with mobile and get message there. See you will get message to your mobile. Once I configure my BW to my mail

    server, within the mail server we can give for each mail id we can have mobile number attached to it. So when I say send a mail to this mail id, it

    automatically sends a message to my number also.