Académique Documents
Professionnel Documents
Culture Documents
Applies to:
SAP BI 7.0 Also works on SAP BW 3.5. For more information, visit the Business Intelligence Homepage.
Summary
This article is about Attribute Change Run (ACR), which adjusts aggregates for any change in characteristics
value. It is useful for characteristics which are used in aggregates build over cubes. Attributes, hierarchies
and aggregates need ACR, while text loads don‟t require. Attribute change run is specific to aggregates. If
any aggregates built on master data info objects it‟s important to perform ACR.
Author Bio
The author currently works for Wipro Technologies (Bangalore, India) as an Associate SAP
BI Developer. His expertise includes SAP BI 7.0 and ABAP.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 1
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Table of Contents
Introduction: ........................................................................................................................................................ 3
Scenario .............................................................................................................................................................. 3
Attribute Change Run ......................................................................................................................................... 3
Steps for ACR ................................................................................................................................................. 4
Process Chains ............................................................................................................................................. 33
Implementation Results .................................................................................................................................... 33
Related Contents .............................................................................................................................................. 34
Disclaimer and Liability Notice .......................................................................................................................... 35
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 2
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Introduction:
This article addresses the requirement of Attribute Change Run (also known as ACR) Concept for Purchase
Cube in SAP BI 7.0. This article describes a scenario of implementing the ACR Concept on SAP Demo:
Purchase Cube (0D_PU_C01) which is as follows.
Scenario
In SAP BI 7.0, we often require a sub set of data to be accessed from Info cube. So, in this case we need to
create smaller sets of data from the larger info cube. For Example: For a FY2009 with „Material A‟ data is
only required from a set of 10 materials
Since the info cube is small, the required disk I/0 volumes during the query execution will be smaller too, and
the query users will have an improved query performance.
SAP implements this idea in Business Intelligence & calls the new Info cube an Aggregate. An Info cube can
have many aggregates, and all these aggregates are very transparent to users. That is, End users can
comfortably create aggregates on Info cubes, and the BI OLAP processor does all the selection of the
appropriate aggregate. In case of non-availability of aggregates, OLAP decides need to retrieve data directly
from Info cube.
Fig 1.1 describes the changes affected to the availability of master data once a new record has been added.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 3
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 4
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.4 – Now, we create a Characteristic Info object with the name “TESTX_C”
Note: Important fact is that, we need to decide the type of objects we create here. It must be either Char / Key Fig.
Fig 1.5 – Right click the corresponding Info provider & create an Info object catalog
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 5
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.6 – Similar to Fig 1.5 we now create a Key figure Info Object Catalog.
We now create info objects inside the Info catalogs.
Note: Remember, Info objects are holders of information/data. These acts similar to buckets of data
Fig 1.7 – Now, right click on the Characteristic Info object Create Info object
This action will trigger the creation of the Info object within the Info provider similar to files in a „folder‟
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 6
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.8 – Describes how to name the characteristic – Necessary to specify a name & a description
Fig 1.9 – This describes the “Attribute” field of the particular Info object.
Note: Remember, Key Info objects are basically used in reporting as figures / numerical.
Fig 1.10 – Here we‟ll create a Key figure info object, which holds transactional data.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 7
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Attribute change run (ACR), adjusts aggregates for any change in characteristics value. It is useful for
characteristics which are used in aggregates build over cubes.
Fig 1.11 – Here we select the data type for a particular KFs
Example: Quantity here is a data type which has a unit of measure, which has been specified as 0UNIT.
Fig 1.12 – The Characteristic IO „Materials‟ defaults: CHAR (5) now click on „Maintain Master data‟
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 8
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Note: Quantity here refers to the data type. We fix it with 0UNIT for simplicity of the scenario description.
Fig 1.13 – Further to this step, we will now create some records for the Material master.
Note: Always note to have a Max. No. of hits > # of objects in master data
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 9
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 10
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.20 – This describes the creation of Info Cube for the particular Info provider. Click on the Info provider
TESTX Right Click & choose the option “Create Info Cube”
Attributes, hierarchies and aggregates need ACR, while text loads don‟t require the process.
Note: Now, we need to create an Info cube for the same. So, the best way to resolve this is by using Copy cubes.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 11
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.21 – Here, we are copying a standard cube‟s structure (With phyiscal data store) to an sample test
cube called “TESTXube” which is nothing but meta data or skeletal model of the cube.
As shown now we create copy cubes for the same.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 12
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.23 – Further after this step we need to choose the Dimensions, Navigational Attributes & Keyfigures for
the newly created cube. We have to now make sure that the deimensions are perfectly modelled, as the
reporting section (Viz. using BEx etc) will encounter lot of planning from modelling side.
Info Cubes
The Infocube database design has a central database table, known as „Fact Table‟ which is
surrounded by associated dimension tables.
Info Objects can contain single field definitions such as transaction data or complex Customer Master
Data that hold attributes, hierarchy and customer texts that are stored in their own tables.
These dimension tables contain references to pointer tables that point to master data tables which in
turn contain Master data objects such as material and destinations stored in BI 7.0 as Info objects.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 13
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.24 – Currently checking the Info object Z38_MATID after activation.
Fig 1.25 – Here, once after activation, we create a new “Application component Area” in the Data Sources
section. To perform this operation, right click on the top of the DS “Create new Appl. Comp. Area”
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 14
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Attribute change run is specific to aggregates. This is the CSV flat file which holds the values. It‟s to be noted
there‟s no MATGRP referencing here. If any aggregates built on master data info objects it‟s important to
perform ACR. This is really important as the CSV/Excel flat files are the raw input data for these specific
aggregates, must hold the referencing very well.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 15
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.29 – This details the „Extraction‟ tab of the Data source. Here, its necessary to note that we need to
make correct settings for the CSV upload. The Data seperator for the CSV is „,‟ [Comma] and the Escape
Sign is „ “ ‟ (double-hypen).
Fig 1.30 – This is the “Proposal” tab. In the previous Fig. 1.29 please note the “Header rows to be ignored”
here is set to 1. Once these minor details are cared, which also important ones, the extraction will be pretty
smooth.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 16
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
We need to perform a transformation. We key in the source & the target names of Data Source.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 17
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Possibility: If you are not able to see your characteristic in ACR as either it is not used in any
aggregate or there is no master data change recorded for the characteristic.
Solution: Perform a right click on Characteristic name and activate master data and then check.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 18
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.39 – This describes the “Execute” tab. We need to initiate this at the end to mandate flow of data from
PSA level to the Info provider(s) level, via the DTP.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 19
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.40 – Now, at last we need to create an Info package. Just right click on the Data source & choose the
option “Create Info Package”
Fig 1.41 – The Info package must be named with its „Description‟ & now, click on Save Activate.
Fig 1.42 – This shows activated IP. Info Package is an important & first thing to be initiated in data flow. We
must always trigger IP only after complete model has been complete to avoid complications.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 20
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 1.43 – Now in the IP level, trigger the start of the data load immediately by choosing the respective option
& press “Start”
Pl. note data for X600 is not loaded. It‟s a reference flag variable.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 21
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
All the characteristics for which there is any master data change appear in the ACR screen.
If you do not have aggregates, just activating the master data is same as attribute change run.
Possibility:
How can we rectify when an attribute change run job fails in a process chain?
Solution:
If attribute change run fails in a process chain, it will most probably due to ALEREMOTE lock. Then
you had to wait for some time and repeat the failed process
When it fails, just go to RSA1 Tools Apply Hierarchy/Attribute change.
Now if we click on info objects, it will have a list of info objects which are affected by last master data
run and hierarchy list tells us the list of hierarchies which got changed
Now we can select all info objects & hierarchies and click on execute button.
The attribute change is scheduled with the given job name in background. We can monitor this job in
background and can have a look at logs.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 22
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 23
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Now, we perform Aggregation; Right click the cube TESTXBE and then select „Maintain Aggregates‟
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 24
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig. 2.2 – Here, enter short description & long description, and then click to continue
Possibility:
Info object not found, what we must do.
Solution:
If we could not find the Info Object, it's because it doesn't have to be activated. Check if any modified
data in the master data tables (SE16 on the tables, data with the version A)
Also if we want to do an attribute change run forcefully then we can create a variant and then execute
attribute change run
In Attribute Change Run screen Now, Create a Variant Select your Info object and Save Later,
Choose your created variant Execute.
This variant will be handy for you whenever you do a load and for some reason the info object is not
available in list of ACR.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 25
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Select the Info objects & click drag into the right frame TESTXUBE Below „Materials‟
Fig 2.6 – This dialog prompts us to start the background job immediately -or- later. Click on
„Immediate‟ as there‟s no big data loads from the flat files.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 26
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Fig 2.7 – Further after this, we need to click on the “Aggregate Data” or alternatively Shift + F9
Fig 2.8 – Select the „Field Selection for Outputs‟ for the TESTXUBE cube
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 27
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Here, the change we have initiated is like Material ID: X400 object‟s Material Group is changed from Material
Group: BREAD Material Group: BISCUIT
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 28
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Now, that we initiated the change, we can visibly find the value change for X400.
For further understanding, we are initiating another change for X500‟s data.
Here, the change we have initiated is like Material ID: X500 object‟s Material Group is changed from
Material Group: BREAD Material Group: BISCUIT
So, overall we get such an output.
Now, go to the Info provider & apply the Attribute Change, which is the main step.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 29
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 30
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
If info object needs attribute change run it will get automatically listed in the attribute change run list.
If it‟s not there in the list, it means your data is already active and doesn't need attribute change run.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 31
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 32
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Process Chains
Step by step analysis for the integration of attribute change runs in process chains
1. Start
2. Execute Info package ( Say if you are loading 2 Info Objects just have them all parallel )
3. You might want to load in sequence - Attributes Texts Hierarchies
4. And all connecting Info packages
5. Attribute Change Run ( Add all relevant Info Objects)
Start
Text: Infopackge1C
ACR
( Add In object 1 & Info object 2 to this variant )
Fig 2.23 – This figure is a simple demonstration of further simplicity introduced by process chains for ACR.
The above are the steps which are to be followed for effective data transfer.
Implementation Results
Thus, the Implementation of Attribute Change Run (ACR) Concept for Purchase Cube SAP in BI 7.0 has
been successfully completed.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 33
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
Related Contents
SAP: Adjusting Changes to Hierarchies and Attributes
System Response Upon Changes to Data: SAP Net Weaver BI Accelerator Index
SAP SCN Blogs - ACR Concept
Wipro Knet Websites - Attribute Change Run
For more information, visit the Business Intelligence homepage.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 34
Implementation of Attribute Change Run (ACR) Concept for Purchase Cube in SAP BI 7.0
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 35