Professional Documents
Culture Documents
Reading Enhanced DataSource Fields For The Remote Cube
Reading Enhanced DataSource Fields For The Remote Cube
Applies to:
SAP BI 7.0. For more information, visit the EDW homepage.
Summary
SAP Remote Cube does not display the enhanced fields in the data source. The system does not run
Customer exits and application extensions (customer exit, BTE, BAdI) for direct access to the source system.
For reference click here. To overcome this shortcoming / limitation, the standard extractor should be
enhanced at the Enhancement Point.
Authors:
Author Bio
The authors work for CapGemini India. Expertises include ABAP and SAP BI.
Table of Content
Introduction ......................................................................................................................................................... 3
Scenario .............................................................................................................................................................. 3
Remote Cube ...................................................................................................................................................... 3
Definition ......................................................................................................................................................... 3
Approach to Scenario...................................................................................................................................... 3
How to Implement ........................................................................................................................................... 3
Enhancement Option .......................................................................................................................................... 3
Definition ......................................................................................................................................................... 3
Approach to Scenario...................................................................................................................................... 3
How to Implement ........................................................................................................................................... 3
Sample Code .................................................................................................................................................. 9
Output............................................................................................................................................................ 10
Related Content ................................................................................................................................................ 11
Disclaimer and Liability Notice .......................................................................................................................... 12
Introduction
SAP BI Remote Cube does not display the data for the fields which are enhanced in the Datasource. For the
enhanced fields to be populated, Customer Exit has to be written using TCode CMOD. However incase of
Remote Cube, Customer Exit is not called and hence the enhanced fields are not populated.
Scenario
We have installed Reporting Financials (EhP3) from the Business Content in the module Financial
Management & Controlling. According to the design there is a Multiprovider which has a Standard Cube and
Remote Cube (On the same Datasource). The remote cube is used for Data Reconciliation. The Datasource
has to be enhanced from different Tables as per the requirements. In case of Standard Cube, enhanced
fields are populated using Customer Exits. However this does not work for Remote Cubes.
In this document we will take an Example on the Datasource 0FI_AR_30 which has been enhanced with the
fields: ZZKUNN1 (Sold-to-party), ZMPFLAG (Multi Payer Flag), ZSUPCARR, ZBKTXT, 0LOGSYS,
ZDUN_PROC.
Remote Cube
Definition
A Remote InfoCube is a virtual InfoCube that does not physically store its own data in BW.
Approach to Scenario
The approach to scenario is by means of Implicit Enhancement Option explained next.
How to Implement
The scenario is implemented by means of Implicit Enhancement Option explained next.
Enhancement Option
The Enhancement Framework enables the customers to add functionality to standard SAP software without
actually changing the original repository objects, and to organize these enhancements as effectively as
possible. One of the ways of enhancement is by means of enhancement points.
Definition
Enhancement Options/Points are lines of code which are executed in addition to the existing SAP standard
code. There are two types of Enhancement Points: Explicit enhancement points which are provided by SAP
and the implicit enhancement points which are inherently available at the beginning or end of function
modules and subroutines.
Approach to Scenario
Since the SAP Remote Cube doesnt call custom function modules (which are part of the enhancement
RSAP0001), we can overcome this issue by implementing the implicit enhancement options in the extractor
function module. Here we will take an example of Customer Line Items Datasource 0FI_AR_30 to explain
the process involved. The corresponding extractor function module in which we would be implementing the
implicit enhancement option is SREP_FIAR_30.
How to Implement
Step 1: Goto TCode RSA2 and enter the Datasource Name
Step 4: Identify the positions where implicit enhancement options are present.
Step 5: This would highlight the places in the code where the implicit enhancement options are present.
Step 6: Right click on the line displayed at the end of the function module and select Create Implementation.
Step 8: Give a name and short text to the enhancement implementation being created.
Step 9: On saving the enhancement implementation in the appropriate package we get new lines as below
with an empty line to insert the code. The code logic to fill the enhanced fields can be written here either by
means of a separate include program or directly inserting the code between ENHANCEMENT 1
ZIMP_FIAR_30 and ENDENHANCEMENT statements.
Step 10: Once the code logic is written we have to activate the enhancement implementation.
Sample Code
The code logic to fill the enhanced fields depends on the fields appended. This would be the same code that
would have been written in any custom function module (part of the enhancement RSAP0001) for other
SAP Cubes.
Output
The Enhanced fields are populated as below:
Related Content
1) For more information on BI, visit the Business Intelligence homepage.
2) For more information on Enhancement Points, visit Enhancement Framework page.
3) For more information related to virtual provider, visit Virtual Provider Page.