Event Based Reporting - Concept for Best Utiliz..

download Event Based Reporting - Concept for Best Utiliz..

of 3

Transcript of Event Based Reporting - Concept for Best Utiliz..

  • 8/11/2019 Event Based Reporting - Concept for Best Utiliz..

    1/3

    9/23/2014 Event Based Reporting - Concept for best utiliz... | SCN

    http://scn.sap.com/community/bi-platform/blog/2014/08/12/ebr

    Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Industries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Log On Join UsHi, Guest Search the Community

    Activity Communications Actions

    Browse

    BI Platform

    0 Tweet 7

    In our daily Business Objects reports scheduling life, we often use events as a key factor for triggering the BO Reports.

    Data quality can be obtained by fixing the events as a dependency to a BO Report. If I'm not wrong, almost everyone

    who uses Business Objects follow this event dependency concept to maintain the quality of data in the reports. What

    else, we can play with those events??...

    I thought of sharing on how well we can utilize the BO events for Load balancing, Data quality and Maintenance

    activities.

    Basically, events are classified into 3 types.

    1. Custom Event -Occurs when you explicitly clicks its "Trigger this event" button.

    2. File Event-Waits for the particular file to generate in the desired location to trigger the event.

    3. Schedule Event -Triggers the event, when a particular object has been processed.

    To know more about events, read Page#229in Admin guide.

    Load Balancing:

    Rudiments:

    Dummy Reports - 3 or 4 Reports*

    Schedule Events - 3 or 4 Events*

    Priority events can be created to maintain the load balancing on BO servers. By creating these events, the reports will

    be kicked off based on the criticality. The four dummy reports which we have created will be executed every 1 min* and

    triggers the corresponding schedule events.

    Here, we can name those 4 dummy reports as Priority1_Report, Priority2_Report, Priority3_Report and

    Priority4_Report.

    Name those 4 schedule events as Event_P1, Event_P2, Event_P3 and Event_P4. (Fix the events as a OUT

    Conditions for corresponding Priority reports)

    The Priority events will be fixed as a condition to all the BO Reports based on the start time of the reports. For example,

    Event Names Fixed to the reports

    Event_P1 Scheduled to start between 8 AM -10 AM

    Event_P2 Scheduled to start between 10:01 AM - 11:30 AM

    Event_P3 Scheduled to start between 11:31 AM - 1:00 PM

    Event_P4 Scheduled to start after 1:01 PM

    How these events can be used?

    Pause these Priority Reports when there is a delay in the data load or any other issues to avoid reports kicking off

    at the same time.

    Once the data load process got completed or any other issues are fixed, release the "Priority1_Report" first to

    generate the critical reports depends on Event_P1.

    Release the "Priority2_Report" after 30-45 mins* after confirming that there are enough resource available for

    processing the next set of reports. By this time, most of the P1 reports might have completed.

    Release the "Priority3_Report" and "Priority4_Report" reports after 30-45 mins* respectively by checking the

    number of reports in RUNNING state.

    Maintenance Activities:

    I divide this module into 2 segments.

    Event Based Reporting - Concept for best utilizing theBO events

    Posted by Vijay Madhavin BI Platformon Aug 12, 2014 1:55:52 PM

    Share 1 0Like

    https://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febr&text=Event%20Based%20Reporting%20-%20Concept%20for%20best%20utilizing%20the%20BO%20events&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febr&via=SAPCommNethttp://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febrhttp://scn.sap.com/people/vijaymadhavanhttp://scn.sap.com/people/vijaymadhavanhttp://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febrhttps://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febr&text=Event%20Based%20Reporting%20-%20Concept%20for%20best%20utilizing%20the%20BO%20events&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febr&via=SAPCommNethttp://scn.sap.com/community/bi-platform/blog/2014/08/22/migrating-from-bo-65-to-boe-31http://scn.sap.com/community/bi-platform/blog/2014/08/11/avoid-sending-email-if-report-is-emptyhttp://scn.sap.com/contenthttp://scn.sap.com/actionshttp://scn.sap.com/communicationshttp://scn.sap.com/activityhttp://scn.sap.com/login.jspahttp://scn.sap.com/community/bi-platform/blog/2014/08/12/login.jspahttp://scn.sap.com/community/uachttp://scn.sap.com/community/developer-centerhttp://scn.sap.com/community/downloadshttp://scn.sap.com/welcomehttp://www.sapstore.com/http://scn.sap.com/community/newslettershttp://scn.sap.com/community/getting-started
  • 8/11/2019 Event Based Reporting - Concept for Best Utiliz..

    2/3

    9/23/2014 Event Based Reporting - Concept for best utiliz... | SCN

    http://scn.sap.com/community/bi-platform/blog/2014/08/12/ebr

    1. Maintenance on BO Server

    2. Maintenance on Data load server (DB)

    For Maintenance on BO Server, Rudiments:

    Dummy Reports - 1 Report

    Schedule Events - 1 Event

    To avoid report failures or to stop all the BO reports from kicking off, we can have this one dummy report to manage all

    these actions. The dummy reports which we have created will be executed every 1 min* and triggers the corresponding

    schedule events.

    Here, we can name that 1 dummy report as Allow_All_Reports.Name the schedule event as Event_AllowAll. (Fix this event as a OUT Conditions for "Allow_All_Reports" reports)

    How this event can be used?

    Make this event event as a mandatory event while scheduling a report.

    This event is going to be the key for BO Reports to stop or kick off.

    Incase of any issues, if you don't want your reports to trigger and to avoid the report failures, you can go-ahead

    and pause one single report "Allow_All_Reports" to control all other scheduled reports on your environment.

    Once the issues are resolved, you can resume this "Allow_All_Reports" to allow all the reports to kick off.

    Note -If you pause this report by mistake then none of your reports will trigger.

    For Maintenance on Data Load Server (DB), Rudiments:

    Dummy Reports - 3 or 4 Reports*

    Schedule Events - 3 or 4 Events*

    To avoid report failures or to stop all the BO reports which are hitting specific database during planned or unplanned

    maintenance on data load servers (DB), we can have these dummy report to manage all these actions. The dummy

    reports which we have created will be executed every 1 min* and triggers the corresponding schedule events.

    Here, we can name that 3 dummy report based on the DB Names like DB1_Report, DB2_Report and DB3_Report.

    Name the schedule event as Event_DB1, Event_DB2 and Event_DB3. (Fix these event as a OUT Conditions for

    respective DB Event reports)

    For example, Consider DB1_Report is scheduled for Oracle DB reports. Then, fix the Event_DB1 as a in-condition for all

    the reports which are hitting the Oracle Database. Incase of any unplanned maintenance or any issues with the

    database, we don't have to look for the metadata or identify the list of reports hitting the Oracle DB and pause them

    manually. All you need to do is, go-ahead and pause the DB1_Report which will in-turn hold all the reports which are

    hitting the Oracle DB since we have scheduled those reports with DB Event conditions.

    Event Name Reports hitting ...

    Event_DB1 Oracle Database

    Event_DB2 SQL Database

    Event_DB3 Teradata

    Data Quality:

    The Quality of data in the report can be maintained by fixing any of the 3 events (Custom, Schedule or File events).

    Based on the ETL jobs which loads the data to the tables used by the reports, we can fix the best event type as a

    condition to the BO Reports.

    If ETL jobs are generating any trigger files after processing the data, file event can be fixed as a condition to all

    those reports which are using the tables loaded by that particular ETL job.

    Custom Event can be used to kick off the reports, once the specific table got loaded.

    Scheduled event will be acting as a WATCHER Reports to monitor the status of ETL job. Based on the completion

    of ETL job, instance will be successful and triggers the corresponding event.

    To Summarize:While scheduling any reports, plan to fix the below events as a dependency to maintain the quality of data, load

    balancing and to avoid report failures or to pause \ resume any reports during planned \ unplanned maintenance period.

    Event to wait for: Event_AllowAll, , ,

    1. Event_AllowAll -Default event which should be fixed as a dependency for all scheduled reports. Pausing this

    report will hold all the reports in your environment.

    2. Priority Event -Should be fixed based on the scheduled start time of the report. Helps in Load balancing during

    loads delay or any other issues.

    3. Database Event -Fix this dependency based on the database the report is running against. Helps to pause \

  • 8/11/2019 Event Based Reporting - Concept for Best Utiliz..

    3/3

    9/23/2014 Event Based Reporting - Concept for best utiliz... | SCN

    http://scn.sap.com/community/bi-platform/blog/2014/08/12/ebr

    Follow SCNSite Index Contact Us SAP Help Portal

    Privacy Terms of Use Legal Disclosure Copyright

    Average User Rating

    (1 rating)

    0 Tweet 7

    resume the reports during maintenance period or any DB issues.

    4. Data Load Event -Based on the ETL process, fix the best suitable event for ensuring the data quality.

    Points to be noted:

    No DB connections are required for the dummy reports which has been created for load balancing and

    maintenance.

    As these reports are not hitting any DB's, instances will complete in few seconds.

    Place these event reports in a separate folder and maintain security level in such a way that only Administrators

    can Pause \ Resume these reports. (Customize your security levels based on the requirement)

    Fix the report LIMITS as 10.

    These event reports will be acting as a one stop location where you can control almost all the reports which arescheduled in your environment.

    *Based on business requirements.

    I welcome the feedback, comments and complements.

    Thanks

    Vijay Madhav

    573 Views

    Tags: bi_platform, events;, load_balancing, file_events, bo_events, sap_bo_events, event_based_reporting, bo_maintenance,

    schedule_events, custom_events

    Share 1 0Like

    There are no comments on this post

    0Comments

    http://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febrhttps://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febr&text=Event%20Based%20Reporting%20-%20Concept%20for%20best%20utilizing%20the%20BO%20events&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fcommunity%2Fbi-platform%2Fblog%2F2014%2F08%2F12%2Febr&via=SAPCommNethttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttp://www.sdn.sap.com/irj/scn/policyhttp://www.sdn.sap.com/irj/scn/policy?view=PPhttp://help.sap.com/http://scn.sap.com/docs/DOC-18476http://scn.sap.com/docs/DOC-19361http://spr.ly/SCNgoogleplushttp://bit.ly/SCNLnIhttp://bit.ly/SCNyouThttp://bit.ly/SCNFBhttp://bit.ly/SCNTwR