SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
Trigger BI Process Chain from ECC
Applies to:
SAP BI/BW
Summary
This Article demonstrates the steps to trigger BI process chain from ECC background job (via Event)
Author: Obaidullah Shaikh
Company: AG Technologies
Created on: 28 September 2011
Author Bio
Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical
areas (ABAP) and he has experience of multiple custome reports development and has
experience of Migration/upgradation projects as well.
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Table of Contents
Introduction .........................................................................................................................................................3
SAP BI/BW..........................................................................................................................................................3
Event Creation ................................................................................................................................................3
Process Chain.................................................................................................................................................4
Function Module in BI .....................................................................................................................................5
SAP R/3 ..............................................................................................................................................................5
Report..............................................................................................................................................................5
Event in R/3.....................................................................................................................................................6
Background Job in R/3....................................................................................................................................6
Practical ..............................................................................................................................................................8
Related Content................................................................................................................................................10
Disclaimer and Liability Notice..........................................................................................................................11
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
Introduction
This document will discuss about how to trigger process chain depending on the transaction in ECC
(whenever any transaction happen in ECC, BI process chain automatically gets triggered and data will be
extracted in BI. It works like a real time enabled data source)
Real time Data Acquisition is one of the most important method to extract data from ECC to BI without any
delay. But this is method is supported only by a real time enabled data sources. There are many standard
Data source present in BI which are not real time enabled that can’t be extracted through Demon.
If there is any business requirement in which you need those data sources to be real time enabled, this
document will help.
SAP BI/BW
Event Creation
Create an Event from SM64 Named “ZR3_EVE”
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
Process Chain
Create a Process Chain from RSPC
Start Variant Condition
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
Function Module in BI
Create a FM in BI:- this should be RFC enabled FM. Here we will call a Standard FM that will trigger an
event “ZR3_EVE”, and that event will trigger the above mentioned process chain
SAP R/3
Report
Create a program:- That will call the BI FM
Call Function Module of BI
Syntax :- CALL FUNCTION <FM NAME> DESTINATION <RFC CONNECTION>
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
Event in R/3
Create an event from SM64
Background Job in R/3
Define job from SM36
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
 Enter the job name
 Click on step button
 Enter the program name
 Save
 Click on start condition
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
 Specify the event created above
 Click on save :- Job Status is Release
Practical
Trigger Event from ECC
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Check the Process Chain in BI
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
Related Content
1) http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4027834a-81e5-2c10-1692-
866e137fe2a3?QuickLink=index&overridelayout=true
2) http://wiki.sdn.sap.com/wiki/display/BI/Process+chains+creation+and+monitoring
3) http://wiki.sdn.sap.com/wiki/display/Basis/How+to+maintain+and+monitor+background+jobs+via+SA
P
Trigger BI Process Chain from ECC
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces
and therefore is not supported by SAP. Changes made based on this information are not supported and can
be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods
suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of
this technical article or code sample, including any liability resulting from incompatibility between the content
within this document and the materials and services offered by SAP. You agree that you will not hold, or
seek to hold, SAP responsible or liable with respect to the content of this document.

Trigger bi process chain from ecc

  • 1.
    SAP COMMUNITY NETWORKSDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 Trigger BI Process Chain from ECC Applies to: SAP BI/BW Summary This Article demonstrates the steps to trigger BI process chain from ECC background job (via Event) Author: Obaidullah Shaikh Company: AG Technologies Created on: 28 September 2011 Author Bio Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas (ABAP) and he has experience of multiple custome reports development and has experience of Migration/upgradation projects as well.
  • 2.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2 Table of Contents Introduction .........................................................................................................................................................3 SAP BI/BW..........................................................................................................................................................3 Event Creation ................................................................................................................................................3 Process Chain.................................................................................................................................................4 Function Module in BI .....................................................................................................................................5 SAP R/3 ..............................................................................................................................................................5 Report..............................................................................................................................................................5 Event in R/3.....................................................................................................................................................6 Background Job in R/3....................................................................................................................................6 Practical ..............................................................................................................................................................8 Related Content................................................................................................................................................10 Disclaimer and Liability Notice..........................................................................................................................11
  • 3.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3 Introduction This document will discuss about how to trigger process chain depending on the transaction in ECC (whenever any transaction happen in ECC, BI process chain automatically gets triggered and data will be extracted in BI. It works like a real time enabled data source) Real time Data Acquisition is one of the most important method to extract data from ECC to BI without any delay. But this is method is supported only by a real time enabled data sources. There are many standard Data source present in BI which are not real time enabled that can’t be extracted through Demon. If there is any business requirement in which you need those data sources to be real time enabled, this document will help. SAP BI/BW Event Creation Create an Event from SM64 Named “ZR3_EVE”
  • 4.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4 Process Chain Create a Process Chain from RSPC Start Variant Condition
  • 5.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5 Function Module in BI Create a FM in BI:- this should be RFC enabled FM. Here we will call a Standard FM that will trigger an event “ZR3_EVE”, and that event will trigger the above mentioned process chain SAP R/3 Report Create a program:- That will call the BI FM Call Function Module of BI Syntax :- CALL FUNCTION <FM NAME> DESTINATION <RFC CONNECTION>
  • 6.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6 Event in R/3 Create an event from SM64 Background Job in R/3 Define job from SM36
  • 7.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7  Enter the job name  Click on step button  Enter the program name  Save  Click on start condition
  • 8.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8  Specify the event created above  Click on save :- Job Status is Release Practical Trigger Event from ECC
  • 9.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9 Check the Process Chain in BI
  • 10.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10 Related Content 1) http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4027834a-81e5-2c10-1692- 866e137fe2a3?QuickLink=index&overridelayout=true 2) http://wiki.sdn.sap.com/wiki/display/BI/Process+chains+creation+and+monitoring 3) http://wiki.sdn.sap.com/wiki/display/Basis/How+to+maintain+and+monitor+background+jobs+via+SA P
  • 11.
    Trigger BI ProcessChain from ECC SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.