Applies to:
SAP BI 2004s or SAP BI 7.x. For more information, visit the Business Intelligence homepage.
Summary
This Document describes how to create user-defined functions Using Business Add-Ins (BAdIs), and the Decision between Multiple Alternatives process type we can set the process chains to execute conditionally.
Author(s): Monalisa Mohanty
Company: Accenture Services Pvt Ltd.
Created on: 12 September 2012
Author Bio
Monalisa working with Accenture has almost five years of experience in SAP BI with ABAP and IP skills. She has worked on various SAP implementations and production support projects.
Table of Contents
Introduction: 3
Go to Transaction Code SE18. 3
Use transaction SE24 to create a class ZCL_GET_USER_REGION. 6
Use transaction RSPC to create the process chain with the below process type. 8
Related Content 9
Copyright 10
Using Business Add-Ins (BAdIs), user-defined functions, and the Decision between Multiple Alternatives process type we can set the process chains to execute conditionally. For example, we can set up the process chain to select between alternative paths, stop execution based on certain criteria, or prevent further transactional data loads until master data is fixed.
The four steps to facilitate conditional process chain execution using a BAdI implementation with a user-defined function in the Formula Builder transformation. This method applies to SAP NetWeaver BI 7.0.
Process Overview
1. 1. Go to Transaction SE18. Give the BADI Name RSAR_CONNECTOR (standard BADI). Then Go to Implementation menu and click on create. The standard BADI which needs to use is RSAR_CONNECTOR.
1. 2. Enter the ABAP code so the system recognizes the user-defined function in Formula Builder. To enter the code, double-click on GET.
1. 3. In the Class Builder screen that appears,Check the parameters
1. 4. Now go to the method of the above class and implement the code for passing the custom function. Where in the detail function name is passed.
Ad And this custom user function will be called in the process chain.
1. 5. Create the class ZCL_GET_USER_REGION with a method USER_REGION. Figure 5 shows the Class Builder screen with the method entered. Select Static Method for the Level, set the Visibility to Public, and enters a Description for the method.
1. 6.The parameter to be passed are:
7. Write your detail coding in the class for the decision making in process chain based on the condition provided.
1. 8. Create the process chain and drag the process type decision between multiple alternatives.
No 9. Now click on create new formula and we can see the custom formula user defined functions is available.
Th 10. The detail process chain will look like this.
Once the process chain is completed now schedule the process chain and execute it.
The chain will run as per the region to which the users belong to.
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
For more information, visit the https://www.scn.sap.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |