Showing posts with label SAP BW. Show all posts
Showing posts with label SAP BW. Show all posts

Wednesday, 15 November 2017

Multiple attribute values for one line of data: how to avoid infosets in BW without HANA

Introduction


I’d like to share my experience and to analyze possible solutions for a BW task which I’ve met on several retail projects.

I think this problem is quite interesting because it’s one of the examples of the general idea: how can we avoid using joins (infosets) on BW systems without HANA.

Problem description


Let’s imagine that we have POS data (receipts), and every position of every receipt can be related to many(!) promo-actions or discounts. It means that several actions can be applied to the same receipt position. For example, one of them was season discount, the second one – loyalty action from CRM, the third one was bonus-buy action and so on. This data is loaded to BW from POS system (the concrete method is not important in this case, it may be POSDM or abap-proxy or something else).

So, we have the following data:

SAP BW, SAP Live, SAP Guides, SAP Tutorial and Material, SAP Certification, SAP HANA

Users want to filter sales data in the reports by any action (one or many). And of course in the report we have to show full amount from the receipt position, regardless of filter by promo. For example, if user filter report by action P001 than the amount in the report should be 100, but not 33,33.

So, the question is: how to organize such data in BW, which data structure should we make?

Possible solutions


There are several different variants:

Variant A. In one infoprovider (infocube or dso) we store receipt positions with quantity, amount and so on, in the second infoprovider we store combination [Receipt Number, Position Number, Promo ID]. Than we combine them by an InfoSet and make a Bex-query on it. This is standard BW method and the easiest data structure, but it has one problem – it doesn’t work on large data volume.

If we have a BW on HANA, then we can make two ADSO and a composite provider which realize join between them. If we make this structure correctly, then this join will work on HANA level and it will be very fast.

But if we work with BW on classis DB, than using infosets will lead to join between two very large tables (because both of them consists position of receipt), and this join will work extremely slow. The size of every table can be tens of millions records and even more. So Bex-query in such case will work for hours or will not work at all.

Variant B. The second variant is to use one infocube and to multiply every line for receipt position during loading data to the cube as many times as the number of actions for this line. In my example it will be:

SAP BW, SAP Live, SAP Guides, SAP Tutorial and Material, SAP Certification, SAP HANA

In such variant we need to use special aggregation for receipt key figures (such as quantity or amount), otherwise they will be multiplied in reports (300 instead of 100).

It is rather bad variant too, because using special aggregation by the dimensions “receipt” and “receipt position” will not allow us to use aggregates. In such case aggregated reports will use the original infocube instead of it’s aggregates, special aggregation will be calculated at application server and the report’s speed will be very bad. Moreover, in such variant we need to multiply number of lines in the infocube, which is already very large. This will increase the load time and disk space used.

Variant С. The variant which I finally chose. This variant is based on the following idea: we make an additional service dimension which stores a combination of promo IDs for every receipt’s position. The code of this dimension is the concatenation of promo IDs separated by some special symbol, for example, by “&”. This dimension is filled during data load and is used for filtering data by any combination of promo-actions.

So, in this variant we should make the following steps:

1. Make an organizational restriction about maximum number of promo-actions allowable for receipt position, for example, five.

2. Make a new set of characteristics: ZPROMO1, …, ZPROMO5 type CHAR10 like 0RT_PROMO character.

3. Make an additional characteristic ZPROMOALL type CHAR60.

4. To the end-routine of transformation of POS data (to the infocube or to DSO) we add the code which fill this characteristic.

As a result we get the cube of the following structure:

SAP BW, SAP Live, SAP Guides, SAP Tutorial and Material, SAP Certification, SAP HANA

On the BEX query level:

1. On the ZPROMO1 dimension we make input-ready variable ZPROMO_V1 (several single values).

2. Make some dummy hidden key figure, inside it we restrict ZPROMO1 dimension by this variable.

3. Restrict ZPROMOALL dimension by the exit-variable ZVAR_PROMOALL (below is the full abap-code for it). In this exit we find all values of dimension ZPROMOALL which consist at least one of promo IDs selected by the user in the ZPROMO_V1 variable. This set of ZPROMOALL values is used for filtering.

As a result, user can set filter by any number of promo-actions and the query result will contain all receipt positions, which are related to one or more action from the users’ filter. Then, is necessary, user can add to report separate dimensions “Promo1”, …, “Promo5”. This approach does not require any special aggregation, allows us to use aggregates and therefore provides high reports performance.

So, the best variant is to use BW on HANA and to forget about such problem with joins:)  But there are still BW implementations on classic DB, so this information may be useful. I used the last variant  (var. C) on two such projects and it really worked.

ABAP-code for user-exit:

    if i_step = '2'.
      Types: begin of ty_promo_all,
              code type /bic/oizpromoall,
             end of ty_promo_all.
      Data:
        t_promo_all type sorted table of ty_promo_all with UNIQUE key code,
        s_promo_all type ty_promo_all,
        s_str type string,
        l_promo_all type /bic/oizpromoall.

      clear t_promo_all.
      loop at i_t_var_range into loc_var_range
        where vnam = 'ZPROMO_V1'.
        if loc_var_range-low is not initial.
          concatenate '%' loc_var_range-low '%' into  s_str.
          select /BIC/ZPROMOALL into l_promo_all from /BIC/SZPROMOALL
            where /BIC/ZPROMOALL like s_str.
            clear s_promo_all.
            s_promo_all-code = l_promo_all.
            collect s_promo_all into t_promo_all.
          endselect.
        endif.
      endloop.

      loop at t_promo_all into  s_promo_all.
        clear l_s_range.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        l_s_range-low = s_promo_all-code.
        append l_s_range to e_t_range.
      endloop.
    endif.

Tuesday, 14 November 2017

Routines in SAP BW 7.x

There are different types of Routines available to write (ABAP) in SAP BW for data modification/population at different levels. Routines helps us to implement Business Rules or setup better Data Model which is not available in standard way.

This document will cover below routines in SAP BW (7.x).
(Covering “when to write” examples however “how to write” is kept on exploring mode)

◉ Transfer Routine
◉ Start Routine
◉ End Routine
◉ Expert Routine
◉ Field Routine

Transfer Routine will be available at Infoobject level whereas Start, End, Field & Expert Routine will be available at Transformation level.

In Transformation, the execution sequence either will be Start Routine -> Field Routine -> End Routine or only Expert Routine. Options for Start, End & Field Routine will be disabled once Transformation with Expert Routine is created.

◉ Transfer Routine: Available for Char/Currency/Unit infoobjects.


This routine is available at Infoobject level and executes only when data from DataSource is transferred to immediate infoprovider.

Purpose: Data transformation at Infoobject level. Data will be Refined as soon as it enters BW Infoprovider (data model).

Example: Suppose a BW is connected to 2 different ECC. One of the ECC stores unit for Litre as “L” and other as “LT”. In this case BW wants to maintain a single unit for Litre as “L” then Transfer Routine will ensure this process is followed and “LT” is converted to “L” using ABAP.

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

◉ Start Routine: Can be written in Transformation.


Start Routine executes first when a DTP is executed and can be created in a transformation as shown in the below screenshot. Start Routine processes whole bunch of data at a time (DTP Package size).

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

Purpose: Modify the source data (SOURCE_PACKAGE) i.e source DS, DSO or Cube etc. Before the data is reached  to target.

Example:

1. Deletion of record during data loads (Similar to DTP filter but Hard-Coded).
2. Populating Internal Table (Global) which can be used further.
3. Sorting of source data before sending to target.

◉ End Routine: Can be written in Transformation.


End Routine executes last when a DTP is executed and can be created in a transformation as shown in the below screenshot. End Routine processes whole bunch of data at a time (DTP Package size).

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

Purpose: Modify the target data (RESULT_PACKAGE) i.e. target DSO or Cube etc i.e. once data is processed in transformation and ready to store in infoprovider at that time modification can be done.

Example:

1. Population/Modification of target fields.
2. Populating Internal Table which can be used again in End Routine.

If multiple fields (Target) need to be populated/modified then End Routine should be used as all the fields can be populated/modified at one go in that data package instead of Field Routine which will work on individual field at a time.

◉ Expert Routine: Can be written in Transformation.


Expert Routine is alternate approach to Start, Field & End Routine and can be created using below screenshot.

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

After above screenshot, confirm the change. Once confirmed, below are the options.

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

Purpose: To handle complex requirement when standard approach for Start Routine & End Routine does not satisfy. In this routine SOURCE_PACKAGE and RESULT_PACKAGE both can be used at the same time for data modification.

Example:

Transpose of data i.e. source has 12 records (Monthly) for a year and in target only single record is required with all the months as columns for that year.

◉ Field Routine: Can be written in Transformation.


Field Routine is written for single field in the transformation where complex modification/derivation is required. Can be created as shown in the below screen shot.

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

Purpose: To modify/derive a individual field value.

Example:

1. Modification/Population of single field where the internal table is populated in Start Routine and read in Field Routine.

Note: If all the source fields are not mapped 1:1 in target then only Field Routine should be used else End Routine would be best option, as all the required fields are mapped and available in target for bulk processing.

2. Concatenate of 2 or more fields in to the single target field.
3. String modifications on the source fields and storing that in to target field.

Point (a) from example is explained:

Consider an example where Future Joiner’s Period, Quarter & Year needs to be calculated using Future Joiner field value as TRUE or FALSE. Below is the screenshot for the same.

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

As mentioned, if the fields used in the logic/calculation are available in the target and then End Routine will be best option as only single if will suffice to calculate all the fields falling under same condition. In this scenario, End Routine will improve the performance of the transformation.

If Future Joiner and Start Date are not available in Target then Field Routine should be used.

SAP BW, SAP Live, SAP Tutorial and Material, SAP Guides, SAP All Modules

Thursday, 26 October 2017

SAP BW Modelling Tools: ODP - Source System Editor

With SAP BW Modelling tools 1.17, user can create any source system directly from Eclipse based SAP BW Modelling tools. This is editor is only available for SAP BW/4 HANA system whereas in  SAP BW on HANA system user still need to define source system via traditional SAP GUI interface.

In SAP BW/4 HANA, these are few source systems which are available: – ODP based source system (SAPI, CDS, HANA, BW, SLT), HANA source system (SAP HANA Local Database Schema, SAP HANA Smart Data Access, SAP HANA Tenant Database schema), BIG Data and local file source system. We will see how to create ODP-SAPI source system.

The creation of new source system can be done via file menu, context menu of the project, Data source node and from data source folder (E.g. ODP_SAP, ODP_BW, HANA_LOCAL and so on). With the new source system editor, user must select as which type of source system he is creating as ODP based, HANA local source system, etc.

SAP BW Modelling Tools, SAP Learning, SAP Guides, SAP Tutorial and Material, SAP Certifications

While defining ODP based source system, user must choose as what is the connection of source system. There are three type of connection from which user can choose: –

1. RFC to same system: – To connect to same system with RFC connection.
2. RFC to different system: – Connect to other system like SAPI, BW via RFC connection.
3. HTTP connection: – Connect to other system via HTTP connection. Here the user should navigate to SOA manager to create logical port for the Web services- which must be of same name as of source system.

SAP BW Modelling Tools, SAP Learning, SAP Guides, SAP Tutorial and Material, SAP Certifications

User also need to create connection to the system if the connection with same name as of source system is not present. In new source system maintenance we have three different RFC connection which can be edited with edit button. The status icon shows whether the connection is fine or broken. For Example, if the one of the connection is broken then status for that connection will represent the same with red cross sign and if connection is fine then the same is represented by green check sign.  There are 3 connection that can be seen in ODP based source system maintenance screen: –

1. Logical Destination: – Used to connect to Remote System.
2. Dialog Destination: – used to connect to remote system with a dialog user. This is optional.
3. Callback Destination: – used to connect from remote system to BW system.

SAP BW Modelling Tools, SAP Learning, SAP Guides, SAP Tutorial and Material, SAP Certifications

With respect to ODP based source system user have to select the context of ODP source from the dropdown menu “ODP Context”. These are the context  :-

1. [SAPI] DataSources/Extractors
2. [BW] SAP NetWeaver Business Warehouse
3. [ABAP_CDS] ABAP Core Data Services
4. [HANA] HANA Information Views

Another important option in new source system editor is “Remote tree” check box. The Upload tree menu on toolbar of source system maintenance screen is associated with status of remote tree in source system.

It is enabled for only source system type ODP and only when Remote tree is enabled. This option is not available for all other source system types, e.g. HANA data source, file. In this case, a “local tree” is used which is shared by all source system which do not have a “remote tree” and (in case of ODP) not for all releases.  For ODP-SAPI, the upload tree functionality brings the Hierarchy defined in source system application component. For ODP-BW, it uploads brings the info areas created.

SAP BW Modelling Tools, SAP Learning, SAP Guides, SAP Tutorial and Material, SAP Certifications

Tuesday, 10 October 2017

ABAP CDS in SAP BW

Introduction


ABAP Core Data Services (CDS) Views were introduced with SAP ABAP 7.40 SP05. CDS allows the creation of rather complex views that by far exceed the capabilities of database views created in SE11. Besides their role in the ABAP Programming Language, CDS Views are the technology behind the virtual data model on top of the SAP S/4HANA application tables which, e.g. is used in SAP S/4HANA Analytics.

ABAP CDS, SAP BW, SAP Tutorial and Material, SAP Guides, SAP Learning, SAP Job

This aspect – the role of CDS in SAP S/4HANA Analytics – frequently brings up the question whether or how CDS might be used in the context of SAP BW powered by SAP HANA or SAP BW/4HANA.

The purpose of this blog is to clarify the role of CDS in SAP BW.


ABAP CDS in SAP BW – the reporting perspective


Since CDS is used to build the Virtual Data Model in SAP S/4HANA, a frequently asked question is, whether CDS Views could also be used to build a virtual layer on top of BW InfoProviders, most prominently Advanced DSOs, which could be consumed in analytic front end tools like in the SAP S/4HANA environment. Or, whether CDS could be used to enhance a SAP BW data model with data from a Z-table. The clear answer to this is – for a number of reasons: No.


The SAP BW data model


Anyone familiar with the way SAP BW generates database tables from its high level (InfoObject based) data model, knows that SAP BW entities typically are split into multiple tables with implicit relationships managed by the BW application. In addition, many of these tables contain technical fields which are of critical importance when writing to or reading from the object. All the logic that is required to correctly interpret these fields and deliver correct and consistent query results, is part of the BW application which creates the correct JOINs and filters at query runtime. All the SAP BW modeling artefacts (e.g. CompositeProviders, Advanced DSOs) are built such that they are aware of all these aspects and relieve the user from a detailed understanding.


The SAP BW security concept


SAP BW secures data from un-authorized access via Analysis Authorizations. This is again a concept specifically designed with the SAP BW data model in mind and it differs significantly from standard filter-based database security concepts. And just as with the data model aspects above, the evaluation and interpretation of Analysis Authorizations is done in the SAP BW application. Therefore, accessing SAP BW data via SQL or OpenSQL (which is the standard way to consume CDS views), would completely bypass the security layers of SAP BW and open the way for un-authorized access, which is prohibitive in pretty much any real world scenario.

Mixed Scenarios


These aspects have since long been the main reasons why SAP does not support direct consumption of SAP BW generated tables. As you may be aware, SAP BW powered by SAP HANA or SAP BW/4HANA provide capabilities addressing specifically this point – opening up SAP BW for SQL consumption. The approach taken here is to generate SAP HANA Calculation Views from the SAP BW data model that incorporate all the dependencies within the data model and the correct interpretation of all the technical fields and creating SAP HANA Analytic Privileges from SAP BW Analysis Authorizations to ensure security.

Conversely, when it comes to integrating non-BW data (e.g. in a Z-table or Z-view) with the SAP BW data model, this is done via Open ODS Views, which – conceptually – put a “SAP BW-shell” around a table or view.

Thus, also in this environment, CDS does not play a role in SAP BW.

SAP BW Technical Content


Tracking and monitoring the operations of a SAP BW system is one of the areas, where CDS in fact is playing a role. For example, SAP BW comes with tables containing statistics on loading and querying data, status information about load requests, etc. With SAP BW 7.5 SP04, CDS based technical content is shipped that provides administrators/modelers with such information. Being built on CDS, this content is much leaner and simpler than traditional SAP BW technical content, does not require loading of the data to a SAP BW InfoProvider, or even activation of SAP BW objects.

Consuming CDS Views in SAP BW


SAP BW can, however, leverage content built using CDS Views – most prominently SAP S/4HANA Analytics. For one, there is a dedicated Source System type ODP-CDS in SAP BW (since release 7.4) that allows to load data from a CDS View into SAP BW. This integration currently does not provide all services known from the classic extractor based data provisioning, but in certain scenarios it can be a valid option. Secondly, SAP S/4HANA Analytics content can be virtually consumed and combined with data in SAP BW via Open ODS Views.

ABAP CDS in SAP BW – the ETL perspective


One specific use case where CDS views can play a role are the SQL expert routines in SAP BW Transformations. To simplify, for example, a complex look-up on customer specific Z-tables in a transformation, it can be very useful to define a CDS view on top of these tables and use that CDS view within the SQL export routine.

Monday, 9 October 2017

SAP BW 7.3 Configuration Steps Part - 2

Introduction


This document will contain the basic BW Configuration steps after installation of SAP BW system. The configurations mentioned here are to be performed after system installation and basis configurations mentioned in SAP BW 7.3 Configurations part1 document. Here is the link https://saponlineguides.blogspot.in/2017/10/sap-bw-73-configuration-after-installation-of-bw-part-1.html

Step 1: Set Analysis authorizations in transaction code RSCUSTV23

Set “Current Procedure with Analysis Authorizations“.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 2: Hide 3.x Functions of Data Warehousing Workbench.

Path->SPRO->Display IMG-> Hide 3.x Functions of Data Warehousing Workbench.

Selecting below option can hide all 3.x functions of the DW Workbench for which there is a new functionality available.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Note: If the indicator is set, you are no longer asked if the old or new Data Sources should be transferred when they are replicated; they are always transferred as new Data Sources.

If you want to use old 3.x functionalities, don’t hide this function

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 3: Set Traffic Light Color in the below path of IMG

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

If no data available then status would be green

Incase of warnings ,status would be in yellow

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 4: Change source system name after transport in RSLGMP transaction or below path .

Path->SPRO-> IMG

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Below settings needs to be done in quality and production systems. Which will convert  original source system name to target source
system name .

If we are transporting objects to quality system, target would be quality system .Original source system will be your development system where you have developed objects and moving to further landscape.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 5: Create Destination for Import Post-Processing in RSTPRFC or below path

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Below setting needs to be done in target system (quality system and production system) before moving transports.

Process chain transport will fail ,in case of unavailability of below setting or ALEREMOTE password issue or RFC destination unavailability between BW development system to further landscape (TBD<->TBQ, TBP).

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 6: Display of Numeric Values in the Business Explorer in RSCUSTV4 transaction code below path

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Set “X” in case of ‘value division by zero’

‘does not exist’

‘number overflow’.

Any of above mentioned scenario in BEx report will give out put as “X”

In case of mixed currency or UOM ,report will show * value.

Step 7: Activate Personalization in BEx

Path->SPRO->IMG

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

It will allow you to personalize BEx variables, webapplication variable and BEx history.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 8: Set BEx Analyzer Version in RRMX_CUST or below path

Path->SPRO->IMG

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Set BEx analyzer version to be called from RRMX

You can select either 3.x version or Sap Netweaver version.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 9: Maintain Web Protocol (HTTP/HTTPS)

Path->SPRO->IMG.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Specify HTTP or HTTPS as per requirement,

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

By default HTTP protocol will be called by web application designer or query designer.

Step 10: Set Standard Web Templates

Path->SPRO->IMG

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Specified web Templates will be called for broadcasting, query pre calculation, EP reporting, adhoc analysis.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 11: Determine Settings for Web Templates

Path->SPRO->IMG

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Below specified Web template needs to be activate from business content

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Step 12: Maintain Source system ID’s in RSA1 transaction code

Path->

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

RSA1->TOOLS->Assignment of Source Syst.To Source Syst. ID.

SAP BW, SAP Module, SAP Modules List, SAP Business Warehouse, SAP Certifications, SAP Tutorials, Materials and Modules

Sunday, 8 October 2017

SAP BW 7.3 Configuration after installation of BW - Part 1

Introduction


This document contains the Configuration steps which are to be performed after installing SAP BW system.

Step 1: Maintain the logical Systems

After installation, login to the 000 client and add the logical system entry.

Transaction BD54: Add all Logical systems which are in use

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 2: Defining Client in transaction code SCC4 or use below path to configure client

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

It will take you to below screen

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Create new entries

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

◉ Enter client number, name, logical system name, std currency, client role.
           For development system selects customizing

Changes and transports for client-specific objects

           For development system: “select Automatic recording of changes”

           For Quality/Production system: “No changes allowed”

Cross-client Object changes

           For development system: Changes to repository and cross-client Customizing allowed.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

After creating the standard client, add the parameter login/no_automatic_user_sapstar in the instance profile and restart the system for the parameter to take effect. After the restart, you will be able to login to the standard client using the sap* user id   with the standard password.

Perform a client copy from 000 client to the standard client which you have created

T-code SCCL.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Schedule a background job to by giving the above input values.

Once the client copy is completed, perform a kernel upgrade to the latest level and then support pack upgrade.

Step 3: RSADMINC (Customizing Table General BW) table configuration

Update the Table with below values:

INFOIDOCFRQ update with the value 10

IDOCPACKSIZE update with the value 30000

PSAPARTSIZE update with the value 1000000      

File name: BW_OLAP_CACHE

File name span: BW_OLAP_CACHE_SPAN

UOM_BUFF_SIZE: 500

SPLT_QRY_TAB_THR: 50

SPLT_DM_TAB_THR: 20

ORA_PARALLEL_DEG: 4

TMPLID_ANALYZER: ANALYSIS_PATTERN_SPECIAL

RSER_TMPL_ID: 0REPORT_DEFAULT_SPECIAL

This table should have updated with User in source system for ALE communication – ALEREMOTE

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 4: ALEREMOTE settings for Background users

Set ALEREMOTE as the default setting for background users (table entry RSADMINA)

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 5: Activating the Software Component SAP_BW in the CVERS_ACT Table

You can use Function module “RS_SET_ACTIVE_COMPONENT_FLAG” in SE37 to set flag I_ACTIVE_FLAG = ‘X’

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 6: Preparing the BW System

Go to transaction code RSA1:

Start the Data Warehousing Workbench (transaction RSA1). When starting for the first time, the ‘myself source system’ is created automatically and table RSLOGSYSDEST is modified.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 7: Activate Technical Content

When starting the Data Warehousing Workbench (transaction RSA1) for the first time, the content is activated automatically.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 8: Set the BW Transport System as Default

Field TADIRPOPUP in table RSADMINS (System Settings) is set to “x”. With this entry, you define that the BW transport system is activated in the default system

In case of blank value the dialog prompting the user to enter a transport request does not appear when editing the objects.

Development system: As we need to record changes and collect into transport request, Field TADIRPOPUP in table RSADMINS should not
be blank.

This setting will work on top of SCC4 transport settings.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 9: Defining the Recording Time for Transports

Go to->transaction code RSA1, click on transport connection.

Then Edit -> Transport -> Switch-on Standard.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 10: Create job and schedules weekly once

Job name: ZBW_OLAP_CACHE_CLEAR

Program name: RSR_CACHE_RSRV_CHECK

Step 11: Schedule report to clear the DTP buffer

Job: ZBW_DTP_CACHE_CLEAR

Program: RSBKCHECKBUFFER

Step 12: Deleting Messages and Parameters of the BW Background

Job: BI_DELETE_OLD_MSG_PARM_DTPTEMP on daily basis

Program: RSBATCH_DEL_MSG_PARM_DTPTEMP.

Step 13: Metadata repository configuration

Prerequisite: The HTTP or HTTP(s) port needs to be open based on the usage. By default, metadata repository will open using HTTP protocol. In case if you want to launch metadata repository using HTTPS protocol, you can add the below ICM parameter in the instance profile using RZ10 T-code and restart the ICM in SMICM transaction.

Icm/HTTP/redirect_0 = PREFIX=/, FROM=*, FROMPROT=http,
PROT=https, HOST=logicalsystem.FQDN, PORT=XXXX (HTTPS PORT NO)

Transaction code: STRUST

Activate SSL server Standard

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

SPRO -> Maintain web protocol HTTP/HTTPS.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Transaction code SICF: Activate service “rso_metadata_repository”

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Metadata repository then launches fine in RSA1transaction.

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration

Step 14: Activate personalization content:

Create Development package with project specific naming convention using T-code SE21 or SE80.

Then activate the personalization content using SPRO transaction

SAP Business Warehouse, SAP BW, SAP Learning, SAP Guides, SAP Certification, SAP Live Access, SAP Configuration