Documente Academic
Documente Profesional
Documente Cultură
- customer -
Query / View
w e i v
lic p Ap
n io t a
iv d In
liz a du
t io
St
n o i t za i rd a d an
BW
InfoCube
Update rules Communication Communication Structure Structure Transfer Rules transfer transfer structure structure
InfoSource
Communication Communication Structure Structure Transfer Rules transfer transfer structure structure
OLTP
transfer transfer structure structure Extraction Extraction Source Source Structure Structure
Infotype
DataSource
Cluster
Transaction Data
Empl. Name
DataSource
What is an InfoObject ?
The various OLTP data models are unified for BW. A unique name containing technical information and business logic Business objects / data elements become InfoObjects (BW term for Business Evaluation Object)
R/3 OLTP
BW Extractor
CO
Controlling
KOSTL
...
InfoObject 0COSTCENTER
HR
Human Resources
Table of employees
EMPLO COST_CENTER ...
Types of InfoObjects
Characteristics: evaluation groups like Cost Center, Product group, Material
Have discrete values stored in their master data tables (e.g. the characteristic Region has the values North, South, .. ) Special types of characteristics: Time characteristics like Fiscal period, Calendar year Unit characteristics which comprise currencies and units of measure like Local currency or Sales quantity
Key figures: continuously valued numerical fields like amounts and quantities (e.g.: Revenue and Sales quantity)
Reporting Properties
Employee
Display Text Selection ....
External
Employee (0EMPLOYEE) : IT 0, 1, 7, 8, 31
0PERSON 0PERS_AREA 0PERS_SAREA 0CO_MST_AR 0MAST_CCTR 0EMPLGROUP 0EMPLSGROUP 0ORGUNIT 0JOB 0HRPOSITION 0COMP_CODE ...
where can I investigate mapping between fields in HR-Content BW and fields in HR?... Regular Online documentation is really helpful...
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 10
Person Personnel area Personnel subarea Master cost center controlling area Master cost center Employee group Employee subgroup Organizational unit Job Position Company code
Employee (0EMPLOYEE)
... 0ANSALARY 0CURRENCY 0EMPLSTATUS 0EMPLPCT 0PAYPCT 0PAYRL_AREA 0PAYSCALEAR 0ESGFORCAP 0PAYSCALEGR 0PAYSCALELV 0PAYSCALETY 0COUNTRY_ID Annual salary Currency key Employment status Employment percentage Capacity utilization level Accounting area Pay scale area ES grouping for payscale provision Pay scale group Pay scale level Pay scale type Country grouping
Employee (0EMPLOYEE)
... 0ENTRYDATE 0SALARYAR 0SALARYGR 0SALARYLV 0SALARYTY Entry date to calculate len.of service Grade Region Pay Grade Grade Level Salary Structure
Person (0PERSON ) : IT 2, 6
0DATEBIRTH 0GENDER 0NATION 0PERSLANGU 0COUNTRY 0COUNTY_CDE 0POSTAL_CD 0REGION 0CITY ... Date of birth Gender Nationality Language Country key County code Postal code Region (State, Province, County) Location
InfoCubes
InfoCube - Characteristics
Central data stores for reports and evaluations Contains two types of data
Key Figures Characteristics
One business process is modeled at a time Data storage optimized for reporting by a Star Schema
Dimension 1 Dimension 2 Dimension 3
Characteristics are structured together in related branches called Dimensions The key figures, KPI's, and other calculations form the Facts This structure is the same for all R/3 application areas
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 16
Facts
Dimension n
Dimension 4
InfoCube - Dimensions
Dimension tables are groupings of related characteristics. A dimension table contains a generated primary key and characteristics. The keys of the dimension tables are foreign keys in the fact table.
Customer dimension
C Customer # 13970522 Region West ...
Product dimension
P Product # 2101004 Product group Displays ... T
Time dimension
Period 10 Fiscal year 1999 ...
Data Granularity is defined as the detail of the database, the characteristics which describe our key figures.
Fundamental atomic level of data to be represented The by words - for example, headcount by cost center, by nationality
It determines how far you can drill down on the data. Example: Time Granularity
Day versus Month A customer buys the same product 2 to 3 times a month With time granularity of Day: 2 or 3 fact table entries With time granularity of Month: 1 record in the fact table but a loss of information (i.e., number of orders on different weekdays).
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 18
The decision on granularity has the biggest impact on space and performance Reducing granularity means losing information With normal star schemas (i.e. big fact table and small dimension tables) the design of dimensions is primarily guided by analytical needs. Large dimension tables have a big impact on performance
Employees (0HR_PA_0):
0CALMONTH 0EMPLOYEE Calendar year / month Personnel number
Actions (0HR_PA_1): IT 0
0CALDAY 0EMPLSTATUS 0ACTIONREAS 0ACTIONTYPE 0EMPLOYEE Calendar day Employment status Reason for action Action type Personnel number
figures:
0HDCNT_LAST 0HDCNT_FTE 0ACTION_CNT 0AGE_KYF 0PAYPCT 0SRVCLENKYF Number of employees Number of FTEs Number of actions Age in years Capacity utilization level Length of Service Calendar day Calendar year / month Calendar year / quarter Calendar year
Time
characteristics:
0CALDAY 0CALMONTH 0CALQUARTER 0CALYEAR
Characteristics:
InfoSources + attributes of 0EMPLOYEE, 0PERSON + 0AGE, 0AGE_RANGE no navigational attributes due to challenges of time dependency !
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 21
Enhancements Enhancements InfoSet InfoSet of of SAP SAP Query Query Function Function module module
Transparent table / DB-view
Transparent Transparent Table, Table, Database Database View View Domain Domain Values Values
Extraction of data to complement the standard extractors Extraction without ABAP scripting (Query, views, domains) Modification of existing dataSource (not recommended by SAP)
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 23
Definition of DataSource
Definition of DataSource
all selection criteria of logicial database can be used as selection criteria without additional coding
BW
3 2
Load data
Replicate DataSources
OLTP
1
Define Append
Transfer structure
Customer Customer Append Append
Extraction structure
Customer Customer Exit Exit
1. Create append to existing extract structure of the Source 2. Use customer exit within SAP enhancement (RSAP0001):
1. 2. 3. 4.
EXIT_SAPLRSAP_001 for Transaction Data enhancements EXIT_SAPLRSAP_002 for Master data and Text enhancements EXIT_SAPLRSAP_004 for existing Hierarchy enhancements. New Hierarchy can be extracted from Flat file or create new Data Source using hierarchy data structure
Transaction: CMOD
Integrated in Customizing
Technical name of enhancement: RSAP0001 transaction data EXIT_SAPLRSAP_001 master data + texts EXIT_SAPLRSAP_002 hierarchies EXIT_SAPLRSAP_004
Use unique naming convention for Prod. vs. Dev. for Includes
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 36
Business Content Basics How to enhance HR Business Content Tips & Tricks
5. Let customer review and sign off every single phase of your project 6. Activate and use Standard Business Contents (especially dataflow often is reusable, rest is a valuable template for your own objects)
Paradigm Shift Gap Analysis
10. Involve customer in every project phase as an active part 11. Be Aware that parallel R/3 and BW Implementation require intense coordination 12. Need Management vision and Commitment -> check the expected added value 13. Project plan should have milestones with clear responsible persons and distance between milestones must be short (maximum 4 weeks --> drill down your milestones
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 39
BW R/3 Customizing
Transaction: SBIW
HR Structural Authorization in BW
0HR_PA_3
PSA
T77PR R/3 Org. Structure Profile
0HR_PA_2 Info Source
Struc Auth
Security Check
INDX Cluster
Info Source
Update Rules
T77UU User
RSSM Trans
OR
Function Modules RSSB_Generate _Authorizations
R/3 OLTP
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 42
BW
BW/HR Authorization
Accelerator (How to guide) is available to guide implementation Delivery since PI 2001.1 and 2001.2 / BW 3.0a
Create Structural Authorization Profile (IMG or TR-OOSP) Assign User to Profile (IMG or TR-OOSB) 3 4 5 6 7 8 9 Update T77UU table to include User Name Execute program RHBAUS00 to create INDX Activate 0HR_PA_2/3 Datasource in R/3 and BW Activate 0HR_PA_2/3 Infosource & Comm Structure Activate ODS objects and load data from R/3 Activate Target InfoObjects Authorization Relevant Execute RSSB Function Modules to generate BW Authorization (Report
RSSB_GENERATE_AUTHORIZATIONS)
3. Data Transfer from Source System (setup & schedule Infopackages) 4. Upload Business Packages (content for the portal) from www.iviewstudio.com into Portal. 5. Assign Imported Role to User Ids.
SAP AG 2004, HR Business Content - customer / Oliver Kunowsky / 46
Maintain V_T569R for Retroactive category to avoid long running delta extraction (OSS note 353177) Payroll Accounting
Extracted at Monthly Time Dimension PI 2004.1 will contain new payroll extractor (selection logic)
Upgrade Consideration
Review changes from both Basis and application perspectives and adopt new improvements wherever is appropriate.
Review and incorporate the necessary Master data (ie. Orgunit, Personnel Areas etc.) from non-R3 system Data Cleansing Eliminate dirty data via conversion or build in logic in transfer/update rules (former is preferable) Multiple source systems Clarify before projects start if more then 1 source system will be connected or will be planned for the future -->otherwise other consultants as You will have a migration project in future :-)
1. 2. 3. 4.
expand communication structure assign 0EMPLOYEE to 0PERSON in transfer rule use atributes in update rules without programing Attention: only usable when relation 0EMPLOYEE = 0PERSON
Dimension 2 Dimension 3
Facts
Dimension n
Dimension 4
but: often that will be in opposition to order the characteristics under thematic order
Tips & Hints for Installing BW/HR Business Content 6. Helpful OSS Notes
Org. management
543324 313215 Performance extraction DataSource 0ORGUNIT_ATTR Performance BW master data extraction 0HRPOSITION (performance note for 0HR_PA_OS_1 in process)
Pers. Administration
381239 HR BW: Counting leavings using actions
General HR
397208 BW: Authorizations for HR data extraction
General BW
529789 310304 324684 Different BW extraction / extractor checker + enter date selection as internal format for RSA3, esp. for time dep. master data DATETO/DATEFROM:Extracting time-depdnt master data Selections for language and time-dependence
Questions?
Q&A