Query Broadcasting - Event Process Chain

Hello BW Gurus and experts...
I need to broadcast same query to different set of users filtered on company codes. Thought process is to create different broadcast settings for each company code and these would be waiting for event which would be triggered by process chain using "trigger event data change for broadcaster" process type..
I have done following so far:
1) Created new setting for query broadcasting. Given email ID's and check marked "Only upon data change" in the setting. Is this the correct setting so report will be broadcasted after event? I have succesfully executed this setting and report is broadcasted directly manually.
2) Created process chain and included event data trigger process type for broadcaster. I successfully executed this chain. When I saw associated messages for this process type, it said that 0 setting waiting for this trigger for this infoprovider. I have checked infoprovider and it is correct.
3) I went to RSRD_ADMIN and tried to search for mysetting. It exists but under direct scheduling and not under waiting for data change event.
I dont want to use ABAP program to trigger reports as I beleive I cannot filter data if I go with this query..(or can I ??)
Any ideas how to make this setting work. I am on BW 7.0 and it is Query and want to broadcast by email or email burst.
My thinking is that I have not done correct config while creating setting.
Thanks for your help in advance.

Hello,
I think you can achieve this with the concept of interrupts:
1) In your meta chain select two interrupt process types one for the first 6 months and the other for the last 6 months.
2) Now in the maintain mode of interrupt you can define a formula to check the month from sy-datum. Here you have the if else condition, you can use it to trigger the further event or not based on the month condition. ( You have to figure out the formula as i cant help it as i dont have system access presently )
As per Mansi you can go for ABAP but it wont be a Meta Chain concept:
1) Create 2 events for botht the PC, put one in each and schedule them periodically as event triggered
2) Create a simple ABAP program. The logic would be as follows:
          data: month(2) type n.
          month = sy-datum+4(2)
          if month LE '6'.
              CALL FM 'BP_RAISE_EVENT'
                to raise event 1 which will trigger forst PC
          elseif month GT '6' and month LE '12'.
              CALL FM 'BP_RAISE_EVENT'
                to raise event 2 which will trigger second PC
          endif.
3) Schedule this program to run daily in the background.
Regards,
Shashank

Similar Messages

  • 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?

  • 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

  • Broadcasting through process chains

    How to broadcast reports to indivdual mailboxs in the company through process chains. say current data should be broadcasted into individual email account every time a new sales order or purchase order is created or by the end of the day , it should automatically trigger the mail with the report. can anyone help on this.

    Hi,
    Here see the blog details.
    The goal of information broadcasting is to distribute the right information, in the appropriate format, to the right people, through different channels, at the right time.
    With the BEx Broadcaster, you can precalculate queries, query views, Web templates, reports and workbooks and broadcast them by e-mail or to the portal. In addition to the precalculated documents in various formats (HTML, MHTML, ZIP and so on) that contain historical data, you can also generate online links.
    Accessing the Broadcaster
    The broadcaster can also be accessed via the Portal through the delivered BI Role.
    You can determine the Scheduling for Information Broadcaster
    Based on a data change event triggered by a process chain.
    Based on a pre-defined time point.
    Freely definable scheduling.
    Steps to Schedule Information Broadcaster based on a data change event triggered by a process chain
    Create the Query in the Query Designer.
    Execute the report in the BEx Web Analyzer.
    Click on u201CSendu201D to create the settings for broadcasting.
    The Broadcast Wizard takes you through a series of prompts where you supply the key information required to develop a broadcast. At any time you can leave the Wizard and use the standard settings dialogs which offer more settings.
    Then schedule the broadcast. If you start the Broadcaster for a query (or template or workbook) that gets data from an InfoProvider that will be selected in the process chain, you can select the InfoProvider for Scheduling.
    Create the process chain and include the event data change, include process type "Trigger Event Data Change (for Broadcaster), itu2019s available under "Load Process and Post -Processing".
    The Process Chain is created including the process types: (1) Start (2) Execute InfoPackage (3) Delta Data Transfer Process (4) Activate DSO (5) Trigger Event data Change.
    When you create the Variant for the Event Data Change, using checkbox we can indicate when the Broadcast should trigger.
    As soon as that InfoProvider is affected by a Process Chain, the Broadcasting is triggered.
    After successful activation you can now schedule your chain. Press button u201CScheduleu201D or menu u201CExecution -> scheduleu201D. The chain will be scheduled as background job. You can see it in SM37. You will find a job named u201CBI_PROCESS_TRIGGERu201D. Unfortunately every process chain is scheduled with a job with this name. In the job variant you will find which process chain will be executed. During execution the steps defined in RSPCPROCESSCHAIN will be executed one after each other. The execution of the next event is triggered by events defined in the table.  You can watch SM37 for new executed jobs starting with u201CBI_u201D or look at the protocol view of the chain.
    You can monitor the Broadcaster from the SOST transaction.
    Note:
    Depending on authorizations, end-users can schedule their Broadcasting Settings.
    Only for those queries which are checked "Execution with Data Change in the Infoprovider" while you schedule, will be triggered by process chain event.
    You may wish to refer the Note on Settings for Information Broadcasting- 760775
    Hope this help you
    Regards,
    Rakesh

  • Information broadcasting through process chain

    Hi,
    I've created ABAP program in process chain to broadcast a report using prec server. and can't understand where to put a receiver email adress?
    Thank you for your answers.

    Hi,
    Including the Trigger Event Data Change (for Broadcaster) process type in process chains that load data allows you to process broadcast settings when data is changed. The Trigger Event Data Change (for Broadcaster) process type is added to the data load processes. In this process type, you can choose the changed InfoProvider for which information broadcasting can be triggered.
    The end users that have created settings for precalculation and distribution in the BEx Broadcaster can specify when scheduling their broadcast settings that the precalculation and distribution be executed whenever there is a data change in the InfoProvider on which the scheduled BI object (query, query view, Web template, report, or workbook) is based.
    Thanks and regards

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

  • 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

  • Information Broadcast - how to get options for process chains?

    Hi,
    I try to find out why I do not get the options to trigger the information broadcast through the process chain.
    Every time I try to schedule an information broadcast, I only see the option to schedule the broadcast by time only.
    I tried by creating/activating a process chain and many more ways - with no success in seeing the desired options.
    Who could help and tell how I get the option "Scheduling Set" / "Execution with Data Change in the InfoProvider"? Do I need some add. piece of software?
    Thanks!

    hi ,
    Check these links regarding information broadcast through the process chain.
    1. [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/296edc90-0201-0010-7982-c6dc0b288296?quicklink=events&overridelayout=true]
    2. /thread/450654 [original link is broken]
    3. broadcasting through process chains
    Regards ,
    Lokesh

  • Broadcaster event data change process step in process chain goes on HOLD

    Hi,
    We have a process step of event data change in process chain for a cube. the broadcaster has some settings built on this to send email whenever data updates happent to that cube.
    It was working fine till last week; suddenly the process started going on sleep or hold mode. i ahve tried deleting old process variant and added new one ...still  the job hangs.
    Also in SOST i can see that the email based on broadcaster setting were sent. Though users havent recieved any. the job logs in SM37 say:
    Job started
    Step 001 started (program RSPROCESS, variant &0000000518457, user ID BIWREMOTE)
    Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCAST4E9S51L2EFE7AXG4IFUKNJW3W with ID 01462600
    Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCAST4E9S51L2EFE7AXG4IFUKNJW3W with ID 01462601
    Submit report for report RSBATCH_EXECUTE_PROZESS failed; see long text
    Submit report for report RSBATCH_EXECUTE_PROZESS failed; see long text
    Submit report for report RSBATCH_EXECUTE_PROZESS failed; see long text
    but when i see the job mentioned in this failed step:
    Job started
    Step 001 started (program RSBATCH_EXECUTE_PROZESS, variant &0000001419141, user ID KRANTUL1)
    Precalculation: initialization started
    Precalculation: processing started
    Precalculate data (fill DataStore)
    Processing data provider DP, query CP_NORDIC_IAN023
    Processing data provider GR4Broadcaster, query
    Calculate documents (build documents)
    Start Precalculation Web Templates with Precalculated Data
    Implementing settings finished
    Precalculation: initialization started
    Precalculation: processing started
    Precalculate data (fill DataStore)
    Processing data provider DP, query CP_NORDIC_IAN017
    Processing data provider GR4Broadcaster, query
    Calculate documents (build documents)
    Start Precalculation Web Templates with Precalculated Data
    Implementing settings finished
    Job finished
    So the users should have recieved the email . we have separately tested sending out emails and it works fine. just that process in process chain doesnt get completed at all.
    the slg1 logs are all successful.
    any pointers what could be wrong ?

    Use process the INTERRUPT if the last precalculation and alert messaging are succesful. Guess it is looping with first precalucatation

  • Information Broadcasting(Event data change in Process chains)

    Hi All,
    Does anyone have experince on the functionality Information Broadcasting ,Can you please help me where we use Trigger event when change in the info provider in the process chains.I want to know when we use the (Trigger event in the Broadcaster) in the process chains,how will it take effect in the Information Broadcasting scheduler screen when we select the particular Info provider when there is any data change(Including an Event data change in a process chain).Can you please elaborate on the topic if any one has used the event data change in the info provider.Can you provide me with steps that would be great help.Answers are always appreciated and rewarded.
    Thanks.

    Hi,
    Usually we trigger an event in SM64 tcode..if u want to create an event u will go for SM62.
    In addition to time- and calendar-based job scheduling, the background processing system supports event-driven scheduling.
    Triggering an event notifies the background processing system that a particular condition has been met. The background processing system reacts by starting any jobs that were waiting for that event.
    Events are not saved. Once an event occurs and triggers any jobs that were waiting for that event, the event is discarded
    U can monitor process chain via Tcode 'CCMS'..
    Information broadcasting allows you to make objects with Business Intelligence content available to a wide spectrum of users, according to your own requirements.
    Go through this
    Information Broadcasting:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/content.htm
    Including an Event Data Change in a Process Chain :
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/0d0e405c538f5ce10000000a155106/content.htm
    Regards-
    Siddhu
    Message was edited by: sidhartha

  • Query on using EVENTS in process chains.

    Hi,
    Process Chain A on completion posts a Trigger using FM - BP_EVENT_RAISE.
    Is there an ABAP program to check for the specific event completion from process chain A. Basically , we need an FM or program that reads the event status ( whether event raised or not ) and accordingly triggers another process chain.
    We need this fuctionality in process chain B coz we would be using an AND condition that checks for the event trigger from process chain A as well as Step 1 in chain B.
    Thanks,

    Welcome to forum.
    Hari,
    1) Let us say ,Process Chain A, will triggger an event EVENT_A for an example.
    instead of one evnt use 2 events, EVENT_A on success and EVENT_B on failure.
    2) Link Program A to EVENT_A and Program B o EVENT_B
    I hope it helps..
    Regards,
    Hari
    if this helps pls.. assign some points..

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

  • Including an Event Data Change in a Process Chain

    There is a step called "_Execution with Data Change in InfoProvider_" in the process of including event data change in a process chain.
    How do we carryout this? should this be done in Bex or in process chain itself?

    Dear Eshwari,
    1) To get the 'Execution on data change' option, you need to have aprocess chain with the 'Event data
    change' process type which contains 'the infoprovider' (The infoprovider, over which the query is created
    which you are trying to broadcast) in the process variant of it.
    2) Further more, additional authorization is also needed in order for the user to see such scheduling options in broadcaster.
    Please assign this authorization object to the affected users.
    BEx Broadcasting Authorization to Schedule  S_RS_BCS
         Activity                       *
         Event ID in Broadcasting Frame *
         Event Type in Broadcasting Fra <== Here you should select*
         ID of a BI Reporting Object in *
         Type of BI Reporting Object in *
    3) Please also ensure the user has not only the Busines Explorer role but also Business Intelligence role in Portal,
    Regards,
    Arvind

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

Maybe you are looking for

  • Calling Stored Procedure with JSTL

    Hi All, How to call Sql Server Stored Procedures from a jsp page ? who can help me please. Is possible in JSTL? Thanks, Atena

  • I just want to create music without this hassle! I use to love my Logic set

    REALLY hate to bother you guys! I have been away from my home studio for a bit and have fallen out of the "loop" so to speak. I have a G5 dual 1.8 GHZ with 1.5 GB DDR Ram and I'm running Tiger 10.4.7 Ok so here's my issue: When I start to record an A

  • Sessions get disconnected with a STATUS 26

    I'm running Solaris 10 x86 update 5 will all patches that smpatch said were available and Sunray Software 4.0 with patch 127554.-03. All this is running on an X4150 within ESX 3.5. The DTUs seem to run fine after anywhere between 4 hours to 3 days an

  • How to force HTTP:ORMI Tunnelling from JDEV?

    Hi, I deployed successfully ADF BC as EJB on OC4J and I have tested them using BC4J tester of JDEV. I setup a SWING ADF small grid and want to force the HTTP tunneling... How can I do that?? Thanks in advance JO

  • Does my time capsule HAVE to join my existing wireless network please?

    ok i am trying to get my TC to join my wireless network but its not having it!! (it was but now i cant seem to get it to work) so my question is....can i just have its as its own separate wireless network just to talk with my macbook & imac so they c