Saturday, 3 May 2014

SAP BI/BW DESIGNING TIPS

Requirement Gathering


I prefer the below audience to be always present in Business user report requirements.

1. One Functional consultant, this person is helpful for a BW person in understanding business into SAP terms (Mandatory)
2. One BW Sr. Consultant/Solution Architect, he is a required attendee to make aware of users about the BW/BI/BOBJ (Mandatory)
3. One Project manager (optional), to make us understand what is promised to business and what not.

Without the Functional consultant, BW Solution Architect (Sr. Consultant) it is not good enough to proceed in collection of requirements.

For example:
Case 1:
In my experience, I've seen a scenario where in some of the companies they would allow any fresh graduates/low experienced people for requirements which may lead to a disaster situation in designing. So, it has to be avoided always.

In the above case, if a fresh graduate is present as BW report requirement gatherer they may accept for some of those avoidable requirements like invoice number or document number in prompts; very detailed level of reports in to BI/BW/BOBJ; posting date, fiscal year, period in prompts and many more....

Case 2:
There are cases where the requirements made without functional consultants, this is also an avoidable situation, because functional consultants are the person who assist us on the feasibility of the requirements.

Like if there is any field which is not exist in source system as standard and which is business insisting as requirement, here functional consultant can play a role to guide us what is the labour work or logic for extraction of that field in to BW.

Based on the above examples, you might have got an understanding that what are the major concerns on requirement gathering.

After a completion of milestone of report requirement gathering, the actual part of designing involves from BW side.

Designing


Data mapping

This hurdle is not an easy task, we need to get precise data mapping as these are kind of building blocks for our designing. It's like bricks to a building. If we don't have precise data then we may end up in wrong design.

For example: The field name may say Invoice amount but the data mapping for this field end up from postings table then this would lead us in wrong prospect where we cannot end up in appropriate design.

Data modelling
Activity 1 - Defining an approach

In this activity we need to invest much time to come up an appropriate design for the reports for this case I would like to share my knowledge.

     There are 2 types of approaches which I would like to highlight here

a. Top-Down approach
b. Bottom-Up approach

At first I would like to let the pros and cons of each approach and which would be an opt for any case.

a. Top-Down approach (from report level to source table level)

PROS:
             1.  Easy & efficient when we opt if most of the business content satisfies our requirement.
             2. Business content is easy available and pre-built.
CONS:
          1. Field descriptions in the report requirement may lead to wrong perceptions of grouping of reports. For Ex: field                                   description saying as "Invoice amount" but data mapping is from Contract tables for some reports and for other from invoice                tables.
          2. Business content is available but which is not satisfying in our requirements even 50%.
          3. Requires most of business knowledge to derive the grouping.
      4. There may be chances of Duplicate of data across the cubes/data model for ex: Invoice amount or Invoice related info                is used in most of the reports.
          5. Need to create Custom datasources as standard may not satisfy, 100%.
          6. More time taking process as understanding of business required.
          7. No re-usability (as it is specific to group of reports)


b. Bottom-Up approach(from datasource/table level to report level)

PROS:
          1. Use of Standard Datasources.
          2. No redundancy
          3. Mainly used for SAP source system.
          4. Can overcome the problem with difference in field descriptions (between source and reports).
          5. Not much business knowledge required.
          6. Less time taking process.
          7. can easily satisfy reports pulling data from multiple sources.
          8. Re-usability.

CONS:
          1. combination of cubes (creation of multi-cubes) is challenging in our case.

Activity 2 - Identification of standard datasources (if source system is ECC)

After defining your approach then the next task would be to  identify standard content datasources. Based on your report requirement and data mapping you can able to identify any standard datasources with the source tables mapped.

For examples: for invoice extraction (FI-CA), we can use 0FC_INVDOC_00; for postings we can use 0FC_BP_ITEMS; for payments extraction we can use 0FC_PAY, etc.

Activity 3 - Validation of datasources

once the datasources are identified then the next task would be validation of the datasource data with report requirement. If 80 to 90% of our report requirement satisfies with the datasource then we can use that datasource.

Activity 4 - Master data Identification

Master data has to be identified with the like attribute, text and hierarchy based on our requirement. for example: Company code, company code country, company code address, company code telephone number as master data attribute and Company code name as text data.
For Hierarchy, organization structure will be an opt example.

Activity 5 - Designing of cubes/Multicubes

Need to come up with a cube design like dimensions, key figures and multicubes based on our cube design.

Activity 6 - Prototype (Proof Of Concept)

In order to support our design prototyping of the design would be very advantageous which can give us 100% confident on our design and also can support ourselves in each and every scenario of the reporting requirement.

Conclusion:

Based on the above considerations we would be able to provide a perfect BW design or data model

Tuesday, 15 April 2014

Distributable Master Data Objects in SAP BW/BI

Distributable Master Data Objects 
The following master data objects can be distributed:
  • Change Numbers
  • Article Master Record
  • User Master Record
  • Purchasing Info Record
  • Business Process
  • Classification, class and characteristics
  • Conditions
  • Cost Center
  • Cost center group
  • Cost element group
  • Cost element
  • Customer Master Record
  • Activity type
  • Activity Master Record
  • Activity type group
  • Vendor Master Record
  • Material Master Record
  • Unit of measure for cost center and cost element combination
  • Source List
  • Human Resources: HR Master Data, Organizational Data
  • Profit Center
  • G/L Account
  • Bill of material (materials and documents)
  • Activity price of cost center and cost element combination
  • Value scale and quota scale
Some of these master data objects are described in more detail below:
Change Numbers
If a change number is distributed using the message type ECMMAS, it contains:
  • Change master record (in long text if available)
  • Alternative dates
  • Validity
  • Object types for change master record
  • Object management records (in long text if available)
If the distributed change number does not already exist in the target system, it is created here. It is not yet possible to delete a change number in the target system nor to distribute it using a change pointer.
Article Master Record
For further information about distributing articles refer to the topic below in the document ISR - SAP Retail:


User Master Record
For further information about the central administration of user master data, refer to the ALE Implementation Guide (Transaction SALE).
Modelling and Implementing Business Processes
Predefined ALE Business Processes
Cross-Application Business Processes
Central user administration
Purchasing Info Record
When Purchasing Info Records are distributed in the message INFREC the following data is transferred:
  • General data and texts
  • Purchasing organizational data and texts for purchasing organizational data
The following data is not distributed:
  • Customs tariff preference data
  • Order price history
The prerequisite is that the master records of the vendors and materials in question have already been distributed
The number ranges for purchasing info records need to be synchronized system-wide.
  • When the IDoc for purchasing info records of a stock material is posted, if the purchasing info record for the material and the appropriate supplier does not already exist in the receiver system, the number of the purchasing info record is copied from the central system. Otherwise, the existing purchasing info record is updated.
  • For purchasing info records for non-stock materials, the purchasing info record number is always copied from the central system. If a purchasing info record with the same number already exists, the system checks whether it has the same supplier and material group as the info record from the central system.
When a purchasing info record is posted, its conditions are not changed. However, the NETPR (net price) and EFFPR (effective price) fields are updated. In other words, the values are copied from the central system.
Conditions for info records must be transferred separately using the standard conditions distribution (message COND_A).
If the PLANT filter object is used in modeling the distribution of purchasing info records, the plant field must contain the value SPACE when you are working with purchasing info records which deal with more than one plant.
If the Material or Material listing filter objects are used for modeling the distribution of info records, the Material field must contain the value SPACE when you are working with purchasing info records for non-stock materials.
The supplier listing filter object cannot be used in the distribution of purchasing info records. Only material listings are allowed to be used as filter objects in the distribution of purchasing info records.
SAP provides the following enhancements:
  • MMAL0003: ALE purchasing info record distribution: Outbound Processing
  • MMAL0004: ALE purchasing info record distribution: Inbound Processing
For information on purchasing info records refer to the documentation MM - Purchasing in.
Business Process
For further information about distributing business processes refer to the documentation CO - Process Cost Accounting under the topic:


Classification
For the message type CLFMAS the dependencies of other message types, such as MATMAS and CREMAS must be maintained in different filter groups.
Conditions
The message type COND_A is used to distribute Conditions.
Fields which are reduced are set to initial in the receiver system. If you reduce whole segments, these are deleted in the target system.
Conditions with use E (= bonus, conditions for later calculation) can only be distributed manually and not with the change document system.
Cost Center
When cost centers are distributed, the field CV_OTYPE for the joint venture object type is not distributed with them.
Customer Master Record
Addresses of contact persons are not distributed.
Long texts are not included in the change document system.
Activity Master Record
When Activity Master Records are distributed in the message SRVMAS the following data is transferred:
  • Activity basic data
  • Short texts (multi-language)
  • Short texts (multi-language)
The activity conditions must be distributed separately with the message COND_A.
If you want to distribute activity contracts or maintain the same master data centrally so that you can use it in other R/3 Systems, then you should distribute activity master records.
Activity master records or any changes made to them are distributed with the report RBDSESRV or with the SMD tool.
Vendor Master Record
When distributing vendor master data, reminder data is posted in inbound processing only to the default dunning area.
If you are using SAP Retail, you can also distribute values for vendor characteristics.
Material Master Record
Changes to the material type of a material cannot be distributed. The material type of a material (field MTART) can only be transferred to the receiving R/3 System, if you create a material, not if you change a material. A single material may therefore have different material types in different systems.
The production version segment (E1MKALM) is only used in outbound processing. You cannot import the information into an R/3 System. This information can, however, be processed by non-SAP systems.
For further information about distributing material master records see the SAP Library in the
Source List
The message SRCLST is used to distribute Source List Records.
The prerequisite is that the master records of the vendors, materials and possibly contracts have already been distributed
Source list records referring to a scheduling agreement cannot be distributed, because scheduling agreements cannot be distributed using ALE.
If you use the purchasing organization filter object when modeling the distribution of source lists, the supplier field must contain a space if you are working with source lists which span more than one purchasing organization.
If you use the Supplier filter object when modeling the distribution of source lists, the supplier field must contain a space if you are working with source list records which are supplier-independent.
The supplier listing filter object cannot be used in the distribution of source lists. Only material listings are allowed to be used as filter objects.
SAP provides the following enhancements:
  • MMAL0001: ALE source list distribution: Outbound Processing
  • MMAL0002: ALE source list distribution: Inbound Processing
Human Resources: HR Master Data, Organizational Data
Profit Center
Statistical key figures are not distributed.
Master data can only be maintained in the local system of the controlling area.
G/L Account
The EXTERNAL ACCOUNTING INFORMATION field in the company code segment is only included if new G/L accounts are created. Changes to this field are not posted. For security purposes, you have to do this manually.
Bill of Materials
Bills of material (BOM) are distributed with all items valid on the key date and, if applicable, with local object dependencies. Only simple bills of material can be distributed.
The distribution of bills of material does not include:
  • Long texts for headers, alternatives and items
  • Sub-items
  • Global object dependencies these must exist in the system
  • BOM history - only the status of the BOM on the key date is distributed.
  • the BOM item objects, for example materials, documents and classes. These objects must be distributed separately from, and before, the BOM.
  • If applicable, the change number. The change number must exist in the system.
If you send bills of material directly, the user receives a list of all bills of material selected by the system which can be manually edited afterwards. Because only simple BOMs can be distributed, the user cannot select relevant alternative and variant BOMs, plant assignments and material variants for distribution.
You can overwrite the selection date displayed on the selection screen in the detail list. You can also replace it with a change number. For maintenance in the target system, you can also give a valid-from date or a change number (engineering change management). If you do not change it, the valid-from date or change number is copied from the sending system.
Here are the message variants for message type BOMMAT:
  • CNG (change, standard): Changes the BOM items.
The BOM header data remains unchanged. It creates the BOM in the target system, if it is not already there. This is the default if you do not select a message variant.
  • CRE (create): Creates the BOM.
If the BOM already exists in the target system, the IDoc is not posted.
  • DEL (delete): Deletes the BOM.
You should use this function with the utmost caution, since the deletion of the BOM also deletes references from other applications (such as routing and production orders).
Changes to simple material BOMs or BOM items can also be distributed with the SMD tool. This way you can identify items in the target system using the fields, item category, item number, sort string and object. The object field is dependent on item category material, document data and class data.
Value Scale and Quota Scale

In SAP Retail characteristics must be distributed before value and quota scales. Characteristics are not distributed with value and quota scales. For more information see the SAP Retail documentation under Material Group: Value and Quota Scales.

Business Planning and Analytical Services in SAP

Business Planning and Analytical Services 

Purpose

Various BI interfaces and tools are available if you want to modify the Business Planning and Analytical Services scenario.

Advantages for Application Development

In this section, we distinguish between the two BI planning solutions, BI integrated planning and the BW-BPS, and analysis process design (for example, for data mining solutions).

BI Integrated Planning

·        You can develop your own data models and planning-specific metadata objects for your business planning.
·        You can use the BEx Query Designer to define input-ready queries for the manual entry of plan data.
·        In the BEx Analyzer and Web Application Designer, you can develop planning applications that support both manual and automatic data entry and changes.
·        With the SAP enhancement concept, you can make enhancements to the standard in the BI system. Within the BI system, you can use customer exits and BAdIs to make enhancements in the Query Designer and the Web Application Designer.
Business Planning and Simulation (BW-BPS)
·        You can use the BW-BPS Web Interface Builder to create Web-enabled planning applications in the form of Business Server Page applications (BSP applications).
·        Services that are based on the SAP NetWeaver Internet Communication Framework (ICF) are delivered with BI. The service for the Status and Tracking System (STS) is implemented as a Web service.
Analysis Process Design
·        You use the analysis process designer to define analysis processes that explore and identify hidden or complex relationships between BI data.
·        You use the data mining workbench to create models. This allows you to use the methods according to your requirements.

Prerequisites


Area
Prerequisites
BI integrated planning: modeling the data basis
-
BI integrated planning: modeling planning-specific metadata objects
-
BI integrated planning: definition of an input-ready query
-
BI integrated planning: creation of Web templates
Proficiency in standard markup languages
Enhancements using function exits and BAdIs


ABAP proficiency

BW-BPS: Web service for STS
-
BW-BPS: Web Interface Builder of BW-BPS
ABAP proficiency
Analysis Process Design
-
Data mining
-