Query in process chains

Hello all
I have to use "decision in multiple alternative " process variant in my process chain.
In this i have to use the value which is a exporting paramater of a function module.
i cannot be using "ABAP Program" process variant here since it is a function module and not a report or program.
Can someone tell me how to proceed ?
Thanks and regards,
Chithra.

hi,
if you are using BI7.0 then in the process types itself you have multiple decision process,that will solve your prb.
Ramesh

Similar Messages

  • How to display a popup message in query (through process chain)

    Hi Gurus,
    I need your help.
    I have an input query that triggers an event (through a button) and runs a process chain.
    I would like to show a popup message to inform the user when the process chain is over.
    Using function modules I've been able to show popup messages in the workbench, but I want to display this message directly in Bex Analyzer 7.0.
    Thanks
    Gabbo

    Hi,
    I'm also looking for a solution to display a custom message in the Bex Analyser at logon.
    Using function module in the logon user-exit works but only when loggin to the workbench.
    I don't want to use SM02 (which works in both cases) because I need to display a variable message depending on the user.
    If someone has an idea, I'll really appreciate.
    Best regards and happy New Year to all of you.

  • BW Statistics query with process chain run times.

    Hello Guru's,
    We are using BW 3.5 system and the client have asked if it is possible to create a report in BW based out of the Statistics Cube that shows the current status of the Process Chains .i.e. the start/end time of specific process chains along with some sort of Exceptions to show successfully completed chains as 'Green', chains finishing with errors as 'red' and chains presently running as 'Yellow'.
    I have seen such a report in my previous project, but that was using BI 7.0, I am not able to find such Statistics Info Cube in BW 3.5 which meets my requirements.
    Has anybody created such a report in BW 3.5? If yes, would very much appreciate if you can share your way of approach with me.
    Thanks
    Arvind

    Hi Arvind,
    Yes you can achieve this functionality using BW Technical Content. I already implemented this for one of our client. We have some Standard InfoProviders where in wee can get the Start and End time of chains. You can build a query on these Cubes & Multiprovider and there in create exceptions to reflect which step got completed with in stipulated time limit and which took longer than usual......u can display those time statistics in different colour.
    Here are soem cubes names from BW Technical content which may meet your requirement specification:
    1. 0TCT_C01
    2. 0TCT_C02
    3. 0TCT_CA1
    4. 0TCT_C23
    5. 0TCT_C21
    Hope it helps
    Regards,
    Raj

  • How to handle delta failed process chain steps

    Hi All,
    I have a query regarding process chains were in processstep has delta load and there is dependency between the predeseccor and successor process steps,then
    if the delta load fails due to any one of the following reasons
    1) due to remote_icp locked the prtclr Infoobject the process step is executing .
    2) due to any psa records errors and so on
    Then how to handle delta and see that correct delta records were updated .
    Because again for the nextday loads if the previous delta is incorrect it will give pop-up message that it is not possible.
    If any suugestions pl guide me.
    thanks
    Venkat
    [email protected]

    1)Remove the lock by force from sm12 or wait till the lock is gone.Then see if the delta data has come till the PSA.Mark failed delta load RED and back it out from target.Then read everything in manually from PSA to target.
    In process chains u can go the monitor entry for the failed load by..highlight chain..click log icon..give selection..for proper selection..see the failed node..right click..display messages..click on process monitor.
    Sometimes even if infopackage is run successful manually,next steps in the chain do not kick off.
    Use Siggi's excellent blog on this..(it works really well)
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    2)Make request RED and back it out from target.
    Correct records in the PSA and read everything in manually from PSA to data target.
    Then use Siggi's blog.
    If data hasnt come to PSA do a delta repeat.
    Always check yesterday's chain run about 1-2 hrs before today's chain kicks off.
    cheers,
    Vishvesh
    Message was edited by: Vishvesh

  • Automate Broadcasting thru Process Chain

    We have tested the Broadcast functionality in 3.5 using the Schedule or Execute immediately. Now we need to automate the process using process chain to run after the daily stream completes. We have decided to use the 'Independent HTML file' or 'MIME file', we cannot use workbook as we have not installed the precalculation server.
    Do we need to schedule the 'query or view' to run in the background using Web Application designer ?
    How we need to use the query in process chain as I don't want to use any data target as dependent for broadcasting. I want to run the PC as a stand alone process?
    Please throw some light. Thanks in advance.

    Process has been tested successfully.
    By using event trigger on Data change in the Infoprovider for process chain you can achieve this. In the mean time security has to be set for S_RS_BCS object which allows you to check the Infoprovider in the Broadcasting and when you run the process chain the report will be broadcasted to the recipient.

  • Process chains + enhancements

    hi,
    i have query
    1. process chain excutes in our home pc
    2. can we try enhacement tech in our home pc because when we tried it its moving to short dump and they tcode realted to that enhacement is not working'
    plz its urgent
    anjali

    HI Anjali,
    If i get it well, you have installed BW in your PC, and you want to find out :
    1)Can I Executed Process Chain in Personal PC ?
    If the installation was ok, you wont have any issue in the execution of Process Chain.
    2)Can i do a inhacemente in Personal PC ?
    Idem before.
    What was the Short Dump?
    I thing that you have had some issue during the instalation,and you skip it.

  • Local process chain is failing and i want to run its successor chain

    Hello All,
    I have a query regarding process chain, which is :
    I have a metachain, in which some local chains are existing.
    If suppose local process chain 2 is failing and i don't want to run that i want to run local process 3 directly
    (which is successor of chain 2 ).
    What should i do?
    Regards,
    Dolly

    Hi,
    You can trigger the process chain as below:
    Go to TC SE37 -
    > use function module RSPC_CHAIN_START -
    > execute -
    > put your process chain's technical name in variant  I_CHAIN -
    > Execute -
    > specify job priority
    Cheers
    Chanda

  • How to include Query extractor in process chain

    Hi All,
    According to th requirement I have created Query Extractor using RSCRM_BAPI to upload Query data to application server. 
    Now it has to be included in PROCESS CHAIN.
    Is there any way to include Query Extractor in process chain.
    Or is there any ABAP program which can be used to trigger the my Query Extractor and later this program can be used in process chain.
    Quick reply is much appreciable.
    Thanks,
    Uday.

    s

  • Where will I specify process chain and query time statistics to be loaded .

    I am on BI 7.0. I see on my system, BI Statistics Technical Content has been installed because when I run
    RSDDSTAT transaction under Info Provides I see cubes such as 0TCT_C01, oTC_C02, oTCT_C03,  oTCT_MC01, 0TCT_VC01..
    I also see process chains installed on my system such as oTCT_C2_INIT_P01,  oTCT_C2_DELTA_P01.
    I see various RSDDSTAT* tables being populated on my system as well.
    My questions are:
    1.     How does data gets populated in 0TCT_C01, C02 etc? Is it by scheduling TC process chains or there are other means?
    2.      Where does one specify what kind of statistics will be copied from RSDDSTAT* tables. My IT lead tells me that process chain statistics are not being collected. I also thing query times are not being populated  in 0TCT tables. Where can I specify what should be loaded in these cubes.
    3.     Does ST03N transaction display data from 2.
    THANKS A LOT.

    Hi,
    1.     How does data gets populated in 0TCT_C01, C02 etc? Is it by scheduling TC process chains or there are other means?
    You can find the DataSource in RSA1. For example, 0TCT_C01 is updated from 0TCT_DS01. And you need to schedule process chain 0TCT_C0_DELTA_P01 for query statistics and 0TCT_C2_DELTA_P01 for data load statistics on a regular basis. Of course, as they are delta chains, you need to first run initializaiton chains for just one time before scheduling delta chains. The initialization chains are 0TCT_C0_INIT_P01 and 0TCT_C2_INIT_P01.
    2.      Where does one specify what kind of statistics will be copied from RSDDSTAT* tables. My IT lead tells me that process chain statistics are not being collected. I also thing query times are not being populated in 0TCT tables. Where can I specify what should be loaded in these cubes.
    As I know, the statistics data are first stored in RSDDSTAT* tables. For example, query data are stored in RSDDSTAT_OLAP. And the data are loaded to corresponding cubes when you executing InfoPackages.
    You can refer to this link and search "Recording BI Statistics" in this page:
    http://help.sap.com/saphelp_nw70/helpdata/en/44/3521c7bae848a1e10000000a114a6b/content.htm
    3.     Does ST03N transaction display data from 2.
    Yes. If BI Statistics content are not activate you would be unable to view statistics data in ST03N.
    Let us know if you have other questions.
    Regards,
    Frank

  • Reg: Process Chain, query performance tuning steps

    Hi All,
    I come across a question like,  There is a process chain of 20 processes.out of which 5 processes are completed at the 6th step error occured and it cannot be rectified. I should start the chain again from the 7th step.If i go to a prticular step i can do that particular step, How can i start the entair chain again from step 7.i know that i need to use a function module but i dont know the name of FM. Please somebody help me out.
    Please let me know the steps involved in query performance tuning and aggregate tuning.
    Thanks & Regards
    Omkar.K

    Hi,
    Process Chain
    Method 1 (when it fails in a step/request)
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    How is it possible to restart a process chain at a failed step/request?
    Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
    You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
    Therefore you need to open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....
    Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
    Query performance tuning
    General tips
    Using aggregates and compression.
    Using  less and complex cell definitions if possible.
    1. Avoid using too many nav. attr
    2. Avoid RKF and CKF
    3. Many chars in row.
    By using T-codes ST03 or ST03N
    Go to transaction ST03 > switch to expert mode > from left side menu > and there in system load history and distribution for a particual day > check query execution time.
    /people/andreas.vogel/blog/2007/04/08/statistical-records-part-4-how-to-read-st03n-datasets-from-db-in-nw2004
    /people/andreas.vogel/blog/2007/03/16/how-to-read-st03n-datasets-from-db
    Try table rsddstats to get the statistics
    Using cache memoery will decrease the loading time of the report.
    Run reporting agent at night and sending results to email.This will ensure use of OLAP cache. So later report execution will retrieve the result faster from the OLAP cache.
    Also try
    1.  Use different parameters in ST03 to see the two important parameters aggregation ratio and records transferred to F/E to DB selected.
    2. Use the program SAP_INFOCUBE_DESIGNS (Performance of BW infocubes) to see the aggregation ratio for the cube. If the cube does not appear in the list of this report, try to run RSRV checks on the cube and aggregates.
    Go to SE38 > Run the program SAP_INFOCUBE_DESIGNS
    It will shown dimension Vs Fact tables Size in percent.If you mean speed of queries on a cube as performance metric of cube,measure query runtime.
    3. --- sign is the valuation of the aggregate. You can say -3 is the valuation of the aggregate design and usage. ++ means that its compression is good and access is also more (in effect, performance is good). If you check its compression ratio, it must be good. -- means the compression ratio is not so good and access is also not so good (performance is not so good).The more is the positives...more is useful the aggregate and more it satisfies the number of queries. The greater the number of minus signs, the worse the evaluation of the aggregate. The larger the number of plus signs, the better the evaluation of the aggregate.
    if "-----" then it means it just an overhead. Aggregate can potentially be deleted and "+++++" means Aggregate is potentially very useful.
    Refer.
    http://help.sap.com/saphelp_nw70/helpdata/en/b8/23813b310c4a0ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/60/f0fb411e255f24e10000000a1550b0/frameset.htm
    4. Run your query in RSRT and run the query in the debug mode. Select "Display Aggregates Found" and "Do not use cache" in the debug mode. This will tell you if it hit any aggregates while running. If it does not show any aggregates, you might want to redesign your aggregates for the query.
    Also your query performance can depend upon criteria and since you have given selection only on one infoprovider...just check if you are selecting huge amount of data in the report
    Check for the query read mode in RSRT.(whether its A,X or H)..advisable read mode is X.
    5. In BI 7 statistics need to be activated for ST03 and BI admin cockpit to work.
    By implementing BW Statistics Business Content - you need to install, feed data and through ready made reports which for analysis.
    http://help.sap.com/saphelp_nw70/helpdata/en/26/4bc0417951d117e10000000a155106/frameset.htm
    /people/vikash.agrawal/blog/2006/04/17/query-performance-150-is-aggregates-the-way-out-for-me
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/0dbf65e04311d286d6006008b32e84/frameset.htm
    You can go to T-Code DB20 which gives you all the performance related information like
    Partitions
    Databases
    Schemas
    Buffer Pools
    Tablespaces etc
    use tool RSDDK_CHECK_AGGREGATE in se38 to check for the corrupt aggregates
    If aggregates contain incorrect data, you must regenerate them.
    Note 646402 - Programs for checking aggregates (as of BW 3.0B SP15)
    Thanks,
    JituK

  • Can you run a Query in a Process Chain?

    As part of a data validation process chain, I need to run a query and send the results by email.  I've created the query (with the exception) and set it up in information broadcaster to be sent by email.  I thought that I would be able to just drop in the "Exception Reporting" process into the process chain and be able to select the query to run.  Needless to say, it don't work that way.
    If anyone has ran a query in a process chain, please let me know how you did it?
    Also if someone knows how the "Exception Reporting" process in RSPC works, please share?
    Thanks

    Patel, we may be able to rethink our approach and use the event data change that was mentioned in the document you sent.
    I was hoping to be able to do everything from within a process chain.  Does anyone know how to use the "Exception Reporting" process that is available in RSPC?  Is it a leftover from the 3.X days that can't really be used in 7.0?

  • Query or Workbook or Web Template-Process chain

    Hai Friends,
                   I want to broadcast reports.Which type of the report is more attractive among Query or Workbook or Web Template?Suppose if we select Workbook as type,will it support for process chain which will create to automate the broadcasting process?On every data change will the workbook automatically changes it's data.Usually we will do layout settings ONLY for workbook.Will all the settings remain same when the new data is changed every month?
    Please, reply me with ur valuable answers
    Thanks
    Mohan Chand Reddy A

    Hi Mohan,
    You can use either of them for broadcasting, just check the requirement with your business. And using process chain you will raise an Data change event and in your broadcast setting you will have to mark the option i.e. Broadcast on data change.
    So whichever queries or workbooks have that setting on the particular Infoprovider. And once you raise the data change event for that Infoprovider through process chain, all the reports will be broadcasted.
    Regards,
    Durgesh.

  • How to run a query as part of process chain on regular basis ?

    Friends,
    I'm in BW3.5
    I would like to execute a particular query as part of a process chain on regular basis. Could you please let me know how could this be done ??
    The intention is to cache the query memory each time the respective cube is loaded.
    Thanks
    Venkat

    Hi,
    You have to create a broadcast setting and mention the distribution type as export to cache.
    Set other attributes of the broadcast setting as required.
    Then in the process chain use the process type trigger event data change for broadcasting and mention the infoprovider name which has been loaded by the process chain.
    The broadcast setting is scheduled to execute on the data chage event of its base infoprovider.
    So when the process chain runs this event process, an event is fired which executes the broadcast setting, which will load the cache..
    Regards,
    Sunmit.

  • RSCRM_BAPI Query output in Process Chain

    Hi,
    I am using RSCRM_BAPI to get the query result into table and from this table i am extracting data into another infoprovider.
    Here i am planning to schedule this RSCRM_BAPI Execution in Process Chain,i don't have any option to include this in Process Chain.
    Can anybody help me regarding this issue
    Thanks
    Madhu

    Hi Madhu,
       I dont think option is available to include RSCRM_BAPI in Process Chain.
    Hope it Helps
    Srini

  • Re: Statistics Query for Total runtimes for Process Chain incorrect

    Hi Guys,
    I am building a Query for Total runtimes for Process Chain Statistics. I used the Cube 0TCT_MC21 for Query - 0TCT_MC21_Q0101.
    I dragged in Keyfigure section - startdate, end date, Start time are all correct and fine but the End time (0TCTENDTIM) is coming incorrect. Is something else i should use to get the End time?
    Please let me know if any suggestions?
    Regards

    Just check if the end times are in GMT ?? usually happens with timestamps....

Maybe you are looking for

  • Problem with laptop and docking station

    Hello. We have two laptops with two docking station. Both laptops w/ docking have the same problem: When the computer is turned off, and its still connected to the docking station, the fan in the computer start to run really fast. The fan goes on for

  • XSLT Mapping changes Required

    Hello Experts, I got one change requirment, where the name filed in the idoc contains special character (like semi colon) in between the name, I want to put double quotation for that special character at XSLT mapping. Eg: Input Name:   Ravi ; Kumar O

  • SE78 - Sapscript / Smartform

    Moved to correct forum by moderator Ladies and Gentlemen, I am investigating graphics upload into SAP for use in sapscripts / smartforms.  The format that I am currently researching is TIFF.  I have previously used SE78 and have had an option to uplo

  • Adobe Updater Glitch after 10.5.2

    I have been running Adobe CS3 on my new Mac Pro (early 2008) without any real issues for the past couple weeks. The only problem is "Updates" was grayed out in the Help Menus ever since I switched to Leopard OS (10.5.1). I just ran the Combo-Updater

  • OAM Error : Enable JavaScript to use OAM Server.

    Hi Friends, I see following script when I try to access a resource protected using OAM in Mozillla and Safari browsers. <body onLoad="document.myForm.submit()"><noscript><p>JavaScript is required. Enable JavaScript to use OAM Server.</p></noscript>Th