BW/HR Implementation BW/HR Implementation ASAP For BW Accelerator ASAP For BW Accelerator
BW/HR Implementation BW/HR Implementation ASAP For BW Accelerator ASAP For BW Accelerator
BW/HR Implementation BW/HR Implementation ASAP For BW Accelerator ASAP For BW Accelerator
A Implementation
Implementation Guide for BW/HR
BW/HR
Document
Document Version 1.0
April 2001
SAP (SAP America, Inc. and SAP AG) assumes no responsibility for errors or omissions in these materials.
These materials are provided "as is" without a warranty of any kind, either express or implied, including but not
limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
non-infringement.
SAP shall not be liable for damages of any kind including without limitation direct, special,
special, indirect, or
consequential damages that may result from the use of these materials.
SAP does not warrant the accuracy or completeness of the information, text, graphics,
graphics, links or other items
contained within these materials. SAP has no control over the information that you may access through the use
of hot links contained in these materials and does not endorse your use of third party web pages nor provide any
warranty whatsoever relating to third party web pages.
05/08/12
BW/HR Implementation
Implementation
Table of Contents
TABLE
TABLE OF CONTENTS
CONTENTS......................
.............................................
..............................................
.............................................2
......................2
1. PURPOSE........
................
................
................
................
.................
.................
................
................
................
................
................
................
...........
... 4
2. SOFTWARE
SOFTWARE VERSION SUPPORTED .......
...............
................
.................
.................
...............
...........
........
........
........
......5
3. BW/HR REPORTING
REPORTING STRATEGY
STRATEGY........
.................
.................
................
................
................
...............
...........
........
........
.......
... 5
4. BW/HR SPECIFI
SPECIFICS
CS........
................
................
................
................
................
................
..............
..........
........
........
........
........
........
........
...... 10
5.1. General
Genera l Project Strat egy and Planning ...............................
..............................................................
........................................................
...........................
..13
13
6. ACTIVATING
ACTIVATING BUSINESS CONTENTS
CONTENTS........
................
.................
.................
...............
...........
........
........
........
........
......
.. 14
6.2. Consideration
Consid eration when Implementing PA and Organization Management .......
................................
.........................16
16
6.4. Considerati
Conside ration
on when Implem
Implementin
enting
g Payroll Accounting
Accounti ng ...............................
...........................................................
..............................
..18
18
6.7. Consideratio
Consider ation
n when Implem
Implementin
enting
g Benefit
Benefitss............................
...........................................................
.....................................................
......................20
20
Page 2
BW/HR Implementation
Implementation
8. APPENDIX........
................
................
................
................
.................
.................
................
................
................
................
..............
..........
........
......
.. 31
Page 3
BW/HR Implementation
Implementation
1. PURPOSE
This document is intended to provide customers, partners and consultants who plan
to implement BW/HR with critical considerations to facilitate the development of a
cost effective implementation strategy with tips & hints to aid a successful
implementation.
With release 2.0B of the SAP Business Information Warehouse (SAP BW), SAP
Information Warehouse
BW has become a robust data warehouse solution to serve reporting needs . It
integrates state-of-the-art Data Warehouse technologies with SAP business know-
how. It provides a platform to integrate the data from operative R/3 applications as
well as from any other business application and external data source such as
databases, online services and the Internet. The SAP Business Information
Warehouse enables Online Analytical Processing (OLAP) to format the information
of large amounts of operative and historical data. OLAP technology enables multi-
dimensional analyses according to various business perspectives. The pre-configured
Business Information Warehouse Server for
Server for core areas and processes ensures
information views within the entire enterprise.
With the much-enhanced functionality in BW 2.0 and a superior set of new business
contents in BW 2.1C, SAP
SAP BW has offered an environment that could satisfy all
enterprise reporting needs. This is especially true under one of the following
conditions:
• When data integration
integration from multiple
multi ple source systems is a requirement.
• When your transactional
transactional systems (OLTP) have been overly extended
extended
and it experiences
experiences severe performance problem while high performance
performance
reporting is a requirement.
requirement.
• When a unified user interface is essential in your environment.
However, there are special considerations should be given depending on the
functional areas. In the R/3 Human Capital Management or HR functional area, there
has been a substantial amount operational reporting functions in an R/3 environment.
To determine the most prudent BW/HR implementation strategy to achieve a most
cost effective implementation, one must first understand the available HR reporting
tools and the cross system HR reporting options. The first section of this document
provides a summary of available HR reporting tools and the decision criteria to form
the implementation strategy.
The second section of this document provides unique characteristics and the special
considerations when configuring BW/HR.
While HR has delivered a rich set of the pre-delivered business contents, most the
country specific data are absent in the standard business contents. This document
further discusses the techniques to extend business contents with two examples of US
specific enhancement as a point of reference.
Page 4
BW/HR Implementation
Implementation
2. Software Ve
Version Su
Supported
This document was written specifically for BW version 2.0B and 2.1C.
3.1. Overview
1
Refer to SAP Service Marketplace BW web page (http://service.sap.com/bw
http://service.sap.com/bw)) -> Online documentatio
documentation
n ->
Business
Business Explorer -> BEx Tool Bar Functions -> GoTo
2
Refer to SAP Service Marketplace BW web page -> Online documentation -> Administrator Workbench ->
Modeling -> InfoCube -> SAP Remote Cube
3
Refer to SAP Service Marketplace BW web page -> Online documentation
documentation -> Administrator
Administrator Workbench ->
Modeling -> InfoSet
Page 5
BW/HR Implementation
Implementation
Other Divisions
and Organisations
Comparative Benchmarking
Measures Data & Reports
Survey
Multi- Decision
a
t
Managerial
Dimensional a Support
s D Data & Reports
u
c Summaries System
o
F
HR Reporting Tools
Page 6
BW/HR Implementation
Implementation
Page 7
BW/HR Implementation
Implementation
extractors, InfoCubes,
InfoCubes,
key figures, and standard
queries)
3.3.
3.3. BW or R/3
R/3 Repo
Report
rting
ing Deci
Decisi
sion
on Crite
Criteri
ria
a
The following table of decision criteria depicts a general rule of thumb when
determining BW vs. R/3 reporting. Please be aware to make appropriate decision, you
should take all criteria and decision points into consideration and avoid taking a
single point out of context.
4
However, one cannot expect the equal sophistication of certain long-standing techniques that have been
developed in an R/3 HR environment, such as authorization handling.
Page 8
BW/HR Implementation
Implementation
or legacy system •
not a requirement •
•
Customization effort – high
Page 9
BW/HR Implementation
Implementation
needed
Data in Legacy system Type report: Legacy Operational •
4. BW/HR Specifics
4.1. HR Bu
Business Conten tents
HR delivers a rich set of business contents that cover all HR sub-functional
areas with cross sub-functional integration.
in tegration. As of BW 2.0B, HR has delivered
approximately 15 roles, 120 queries, 70 templates, 34 InfoSources, 17
InfoCubes, 200 key figures
figures and 100 characteristics.
charac teristics. These out of the box
business contents can be used as is or it can be served as a template or
example for customer-define business contents. The following table of
business contents summary provides a high-level description of the BW/HR
BW/HR
standard content delivery as of BW 2.1C and BW Plug-in 2000.1.
2000.1.
Page 10
BW/HR Implementation
Implementation
For the detailed business content map, please refer to Business Content
section of the BW online documentation on SAP Service Marketplace BW
web page under Documentation -> online documentation -> business content
-> Human Resources. This is an extremely useful source of information for
the gap analysis as the level of detail includes the Infotypes that source the
extractor at a technical field names level.
With the exception of Payroll Accounting, Time Management and CATS, the
HR data sources do not provide delta update5 capability at this time. While
this may be a concern of high volume customers in considering the data
extraction loading time, several possibilities can elevate this issue. Please
refer to the implementation consideration section of each sub-functional area
(section 5.2 through 5.4) of this document for the possible alternatives.
4.2. Masterter Da
Data Ce
Centri
tric
With the nature of the Human Resources business, the people related
InfoObjects, such as Employee, Person, and Applicant have
h ave tremendous
amount of the attributes to describe them. Hence it is master data centric.
When reviewing SAP delivered
delivered HR business contents, it is important to
recognize that although the Employee transaction data source consists of
merely two data elements (InfoObjects 0employee & 0calmonth), the critical
dimensions for drill down analysis can be brought in from Employee Master
data as dimensional characteristics via update rules or as navigational
attributes. The former approach is used in the standard delivered business
content for the Headcount and Action InfoCube. This approach added more
5
The delta update function referred in this section
section is the delta mechanism provided
provided within the R/3 HR data
extractor function not the BW delta functionality.
Page 11
BW/HR Implementation
Implementation
overheads during the population of the InfoCube, but would yield better
performance at query time. And without that we wouldn’t be able to report on
the master data history correctly, e.g. changes in cost center, when doing time
comparisons in BW queries.
5. BW/HR Im
Implem
lementat
tation
ion Approach
From the pre-delivered business contents perspective, HR is one of the function area
has the richest
ric hest set of the contents.
conten ts. As of BW release 2.0B along with R/3 Plug-in
2000.1, pre-delivered business contents are available in all HR functional areas.
While it is not possible to meeting all customer requirements at one hundred percent,
pre-delivered business contents provide the following advantages:
• It’s pre-configured with complete set of solution from roles to executable
queries.
• It provides the industry best practices and consistent data model from R/3 to
BW environments.
• It provides a fastest way to bring up a ‘Ready to Go’ prototype environment
to engage end users in an OLAP, Decision Support environment.
• It provides a great environment for ‘Cultural Change’ from traditional
operational reporting to Information Analysis environment.
• It provides the best ‘GAP’ analysis environment for the end user to define and
implement the ‘True’ business requirements
• It’s an environment to achieve ‘Quick’ Wins.
Page 12
BW/HR Implementation
Implementation
5.1.
5.1. Gene
Generarall Pro
Proje
ject
ct Stra
Strateg
tegy
y and
and Plan
Planni
ning
ng
Like all system implementation project, it is important to have a concrete
project strategy; a well defined project scope;
scope; select project team members;
schedule training; plan, estimate and obtain hardware and software and
develop a well defined project plan. For additional information, please refer
to ASAP BW on SAP SERVICE MARKETPLACE/BW or ASAP BW CD.
5.2. Rapid ImImplementati
tatio
on
The following are stages and specific steps for the key tasks of a BW/HR
rapid implementation:
5.2.1.
5.2.1. Scoping
Scoping the Rapid Implementatio
Implementation n phase (Project
(Project Preparatio
Preparation):
n):
• Which pre-delivered HR functional areas the rapid
implementation to be included
• Will limited US specific enhancement must be included in this
phase, i.e. SSN (Social Security Number) and Ethnicity.
• Determine the end-users and the security requirements during
this phase.
• Develop a high level implementation plan
• Form the project team.
• Project team training plan
• Determine Landscape and Transport Strategy (Basis)
• Acquire, Install and Test the Technical Environment
(hardware, software, database, desk top and connectivity - Basis)
5.2.2.
5.2.2. Develop
Develop the Rapid Impleme
Implementati
ntation
on plan (Blue
(Blue Print):
• Finalize a list of pre-delivered business contents to be
activated by functional components, data sources, InfoCubes,
InfoObjects, Queries, Workbooks, and roles.
• Assign responsibility for each components
• Agree upon the instrument (template) to record the test result
and additional requirements
requirements
• Develop evaluation criteria and test plan
• Establish user ids and security
• Check database parameter setup for performance
• Coordinate with DBA for TableSpaces definition
• Prepare end user training material
• Testing of BW operating environment (both Plug-ins, BW
backend and BW front-end).
5.2.3.
5.2.3. Execute
Execute Rapid Implement
Implementatio
ationn phase (Realizatio
(Realization)
n)
• Business Contents Activation
• Populate SAP delivered business contents with customer data
• Verify the content activation Result
Page 13
BW/HR Implementation
Implementation
5.2.4.
5.2.4. Final
Final Preparation
Preparation for
for Rapid Implementa
Implementation
tion
• Conduct End User Training
• Conduct System Tests with End User Feedback
• Conduct Volume Tests
• Conduct Stress Tests
• System Performance Tuning
Adjust system parameters
Adjust database parameters
Review Indexes
Review data loading time and evaluate feasible options:
Parallel processing; partitioning; multiCube;
Review Query performance and feasible options:
Aggregation; compression; MultiCube;
Iterative performance tuning
• Coordinate and Implement Production Scheduling
• Develop a BW Operations Guide
5.2.5.
5.2.5. Go Live and
and Support
Support for Rapid Impleme
Implementat
ntation
ion
• Follow and enhance the Operations Guide
• Monitor and address production issues, if any
• End user support
• Project Go-live Review
• Define the Scope of next Iteration of Implementation
5.3.
5.3. Iter
Iterat
ativ
ive
e Phas
Phased
ed Imp
Imple
leme
ment
ntat
atio
ion
n
Once the initial phase is completed, the end users should have sufficient
experiences with the new decision support environment to enable a more
informed decision when identifying the cost effective business requirements
above and beyond what the standard business contents provide. With the
template provided to the end users as a requirement feedback tool, end users
can now recording the requirement.
As a part of good project management and planning each incremental phase
should consist the following elements:
• A crisply defined project scope
• A well defined HR reporting strategy
• Sound business requirements
• Clearly defined expectations
• Well defined Critical Success Factor for each iteration
• A Pilot demo at the end of each phase
• Sound Data model
• Performance measurement and an alternative plan
6. Activa
ivating
ing Busine
iness Contents
This is one of the very key steps to accomplish the rapid implementation and quickly
realize the benefits of BW. The following sections provide a step-by-step procedure
on how to activate pre-delivered business contents.
6.1.
6.1. Gene
Genera
rall Pro
Proce
cedu
dure
re and
and Con
Consid
sider
erati
ation
ons
s
Page 14
BW/HR Implementation
Implementation
6.1.1. Setting
Setting up the Transp
Transport
ort Environ
Environment
ment
• Before setting up a transport strategy and procedure for BW, it is
important to first determine the system landscape under BW and the
companion R/3 systems. Generally, a three-tier BW landscape and the
corresponding
corresponding source systems for each is recommended.
• With such landscape, a transport strategy can be setup as follows:
• BW system: Develop systemsystem -> Q/A or Consolidation
Consolidation
system; upon
Successful testing
Develop system -> Productive system
• R/3 source system: Development system -> Q/A or
Consolidation
System; upon successful testing
Development system -> Productive
Productiv e system
• Checkout the Landscape Strategy Accelerator on SAP
SERVICE MARKETPLACE/BW
6
Alternatively, you could also start with activate the InfoObjects under the relevant IO Catalog choosing
Grouping “data flow before and after”; then proceed with activating the desired InfoCubes
InfoCubes with “data flow
f low
before and
and after”.
Page 15
BW/HR Implementation
Implementation
desired object
object is not on the list, right mouse click, search and select-
> object will appear in the left pane under a given functional area ->
drag and drop desired
desired object from left pane to the right -> expand
the objects -> check mark the object to be activated -> click push
button ‘Install” -> select install or install in background depending
depending
on amount of objects -> check log for error condition -> go through
problem resolution
resolution process as needed.
needed.
• Activate Transfer structure/Rules of Datasources on BW
side:
Admin Workbench -> Modelling -> Source system -> highlight
target source system -> right mouse click -> select Data Source
overview
overview -> start with master data (e.g. PA-PA-IO for HR), double
click on data source with red line over a circle -> Screen to maintain
Transfer structure and rules validate all data fields, including all
appended fields which should be presence in the transfer structure ->
review transfer rule and fill in the appropriate InfoObject name if
absent -> move corresponding
corresponding fields from right pane to left by
clicking single arrow or click the fire-cracker like icon to let system
propose the rules
rules -> if there’s special
special transformation rules should be
coded, click on InfoObject icon (4 th column under Transfer rules) ->
Create transformation code and save -> if all look good -> push
Activate (fire-work) icon on the top of the screen.
Hint: Checkout Online Documentation on SAP SERVICE
MARKETPLACE/BW or BW CD.
6.1.3.
6.1.3. Populate
Populate Business
Business Conten
Contents
ts with Custo
Customer
mer Data
• Master Data load should take place first:
For SAP delivered Master Data can be found under the InfoArea
with suffix of –IO, example PA-PA-IO for Master data Personnel
Administration. Create an InfoPackage for each InfoObjects with
_attr, _text and _hier, and extraction job should be scheduled
scheduled and
monitored for error-free extraction. In case of error, use Monitor
assistance to resolve problems.
• Transaction Data Load for each functional areas should take
place next with option to fill the InfoCubes immediately
immediately or as a
second step to be loaded from PSA. Testing with both option is
recommended
recommended for large volume transactions and the duration of load
for each should be maintained.
• A record of the duration of the extraction should be kept to
assess if there will be performance issues with production window
and potential strategy can be derived.
• A problem resolution tips and hints are attached
att ached in
Appendix xx.
6.1.4.
6.1.4. Data
Data Valida
Validatio
tion
n
• Validate data extraction
• Validate Query and Workbook data accuracy and usability
• Validate Web reporting, User Favorits
• Verify the security setup
6.2.
6.2. Cons
Consid
ider
erat
ation
ion whe
when
n Imple
Impleme
ment
nting
ing PA
PA and Org
Organ
aniz
izati
ation
on
Management
6.2.1.
6.2.1. Genera
Generall Plann
Planning
ing
Personnel Administration master data is sourced from various PA
InfoTypes. The organizational management InfoObjects are extracted
Page 16
BW/HR Implementation
Implementation
Page 17
BW/HR Implementation
Implementation
6.4.
6.4. Cons
Consid
ider
erat
ation
ion when
when Impl
Implem
emen
entin
ting
g Payro
Payroll
ll Accou
Accounti
nting
ng
6.4.1.
6.4.1. Genera
Generall Plann
Planninging
The primary sources of extraction for Payroll Accounting are Payroll
Result Table (RT Cluster table), Work Place Basic Pay (WPBP)
(WPBP) and
FI/CO Posting by wagetype.
wagetype. The following general implementation
considerations should be noted when planning:
• The standard transaction datasource for Payroll Accounting is
delivered at a Monthly time dimension.
• The month to date payroll result by wage type is concluded by
the end of the pay period for the month.
• The retroactive payroll result applies to the specific month the
retro payment is intended for.
• Customization for the pay period is complicated due to the
lack of pay period relevant time dimension in BW (i.e. no time
dimension for bi-weekly or semi-monthly). The retroactive and
delta update logic would further complicate the customization
effort. It is strongly recommend that investigate the use of drill
through capability in BW query by narrowing down where the
detailed payroll information is needed and jump target to R/3
payroll reports to obtain such information.
informa tion.
6.4.2.
6.4.2. Performanc
Performance e Conside
Consideration
rationss
• Customer implemented HR Payroll Accounting without FI/CO
integration should apply OSS note 140388 for improve the data
loading performance.
• For the initial load of an excessively large volume of payroll
accounting data, consider parallel initial load by dividing into
multiple infopackages using PERNR or time periods. Once initial
loads are completed successfully, you should and must use one
single delta update process for subsequent loads
6.4.3.
6.4.3. Recove
Recovery ry of delta
delta loads
loads
In the event that an unsuccessful data load occurred, you have two
options to recover:
• Reload as an initial load for the time periods needed. To reset
the initial load flag, please refer to the BW online documentation.
• Back-out the records in error and then execute YSET439
module. (Refer to appendix for the recovery procedures and the
source code listing of YSET439
YSET439 module).
6.5.
6.5. Cons
Consid
ider
erat
ation
ion whe
when
n Imple
Impleme
ment
nting
ing Tim
Time
e Mana
Manage
gemen
ment
t
6.5.1.
6.5.1. Genera
Generall Plann
Planning
ing
The SAP standard HR extractor delivers three Time Management
datasources. They are Planned Work Time, Actual Time and
Employee Quota (entitlement) and they are sourced from Infotype 1,
27, 2001-7 and PCL-B2 cluster. The following general implementation
implementati on
considerations should be noted when planning for Time Management
implementation:
• Planning of Time type and Quota type assignments:
Page 18
BW/HR Implementation
Implementation
Page 19
BW/HR Implementation
Implementation
Scenario are sourced primarily from Cluster table PCL5 plus T77KD
table; and the Compensation and Compensation Adjustments are from
InfoType 08, 14, 15
15 and 380. The
The following general implementation
considerations should be noted when planning for Compensation and
Cost Planning implementation:
Page 20
BW/HR Implementation
Implementation
Page 21
BW/HR Implementation
Implementation
6.8.
6.8. Cons
Consid
ider
erat
atio
ion
n when
when Imple
Impleme
ment
nting
ing Tra
Train
inin
ing
g and Eve
Events
nts
6.8.1.
6.8.1. Genera
Generall Plann
Planning
ing
As part of SAP standard extractor, Training and Events delivers three
transaction DataSources for Attendance, Cancellation and Resource
Reservations plus several master data DataSources, including four
hierarchies for business events, event group and locations. They are
sourced from InfoType 1000, 1001, 1021, 1023, 1024, 1036, PAD23,
25, 34 and other check & text tables plus application logic, such sales
organization, distribution channels and business event cost allocation.
There are many pre-establish structures, restricted and calculated key
figures available in T&E InfoCubes for use or as a template to derive
customer business rules and saving as your own InfoCubes.
Page 22
BW/HR Implementation
Implementation
4. Currency
Currency conv
convers
ersion
ion is based
based on the
the currency
currency type
type defined
defined in table
table
T77S0 (key: VMBUD
VMBUD WAERS).
WAERS). In the event that multiple currencies
are required, you may code desired logic in update rules.
5. To verify
verify the result
result of event
event cost
costs,
s, you
you can use
use the repor
reportt RHCCOS00
RHCCOS00
on R/3 side for validation. Also, refer to R/3 online documentation for
more detail.
• Event Capacity (Infotype 1024) calculation involving multiple
resources has calculation rules:
1. The Optimum
Optimum capaci
capacity
ty will
will adopt
adopt the “low
“lowest”
est” value
value
2. The Minimum
Minimum capac
capacity
ity will
will adopt
adopt the “high
“highest”
est” value
value
3. The Maximum
Maximum capac
capacity
ity will adopt
adopt the “lowest”
“lowest” value.
value.
Capacity calculation example:
Resource Optimum Minimum Maximum
PC 20 15 30
Room 25 18 32
Books 22 14 35
- -- - --- -- -- --- - -- -- - - -- - -- --- -- -- - - -- - ---- - -- --- --
Result 20 18 30
• Event charges consist of two types. The first is a proposed
charge per attendee. The second is the actual attendee charges by
attendee type (Attendee type (object type O/P) is compounded with Attendee
ID). Example of proposed and actual charges are as follows:
Pro
Proposed char
harge per atten
ttend
dee in Info
Infottype
ype 10
1021 $50
$500
Actual charge by attendee type Internal $200
External 300
Organization (for 5) 1000
• Integration Considerations:
1. For interna
internall billing,
billing, table
table T77S0
T77S0 SEMIN
SEMIN INLVINLV switc
switch
h must be
be turned
turned
on to ‘1’
2. For SD integra
integration
tion with
with external
external billin
billing,
g, table
table T77S0
T77S0 SEMIN
SEMIN FAKT
FAKT
switch
switch must be turned on.
• External Person object type ‘H’ related to object type ‘U’
external company.
• Status of Transfer to CO: S or U
• Length of resource reservation is delivered in duration of Days
and number of Hours.
Example:
Duration of Event = 2 days
Actual no. Hours per day = 2 hours
Total hours of resources utilization = 4 hours in a span of 2 days
7. Enha
Enhanc
ncining
g HR
HR Bus
Busin
ines
ess
s Con
Conte
tent
nts
s by
by Exa
Examp
mple
le – US
US Cou
Count
ntry
ry
Specific
Page 23
BW/HR Implementation
Implementation
7.1.
7.1. Gene
Genera rall Plan
Planni
ning
ng Con
Consiside
dera
rati
tion
onss
There are two techniques can be used to extend the BW/HR business contents
in an SAP environment:
• Append new fields to existing extract structures and fill them with
SAP customer exits. This is possible for transactional data, master data
and texts unless the SAP delivered extract structure is a view. The
technical name of the enhancement is ‘RSAP0001’ and the three customer
exits are:
Transaction data EXIT_SAP
EXIT_SAPLRSALRSAP_001
P_001
Master data and texts EXIT_SAPLRSA
EXIT_SAPLRSAP_002 P_002
hierarchies EXIT_SAPLRSAP_004
You can find further information in ‘Extending BW business content’
white paper posted on BW web web page in SAP
SAP Service Marketplace
Marketplace (alias
BW -> documentation).
• Use Generic Extractor to create new DataSources. There is no
programming knowledge in ABAP ABAP necessary, but working with data
dictionary is required. The Generic Extractor can be used to create new
DataSources for transactional data, master data and texts. The following
are the possible sources for the data:
Transparent database tables
Database views
Domain fixed values (text extraction)
Functional areas (global) of the SAP Query
tables, database views
table joins (limited according to ABAP SELECT)
SELECT)
logical
logical database
data extraction using self defined report
You can find further information in ‘Packet for Generic Data Extraction’
white paper posted on BW web web page in SAP
SAP Service Marketplace
Marketplace (alias
BW -> documentation).
Prior to begin the tasks of customization using one of the above techniques,
few additional considerations are recommended:
• Do observe the BW/HR reporting strategy as the guiding principal to
minimize the customization where makes business sense. Customization
can elongate the project duration, complicated future maintenance and
upgrades.
• Do evaluate the design from the overall BW architectural and data
model perspectives in determining the type and where the enhancement
belong.
• Do research and understand the business intelligence from R/3 data
structure perspective. For example, ethnic origin (Racky) text table
contains country id to make it unique. Therefore, when enhancing ethnic
origin from Infotype 77, you need to include coding to inlude the
country_id (molga) to make it unique and consistent with the ethnicity
text.
Page 24
BW/HR Implementation
Implementation
7.2.
7.2. Enhanc
Enhanceme
ement
nt Proc
Procedu
edures
res for US Countr
Country
y Speci
Specific
fic exam
example
ples
s
7.2.1. Determining what to use and where to extend the content for
Employee SSN and Ethnicity
In planning for the enhancement, the following research result has
been derived:
• Like employee nationality, gender, Social Security number and
ethnicity are attributes for an employee and also applies to any
person that would be included in Human Capital system. These are
attributes should be sharable among InfoCubes. Hence, it was
determined to extend 0Person Master Data and fill the data fields
via customer exit.
• Further investigate the HR source of extraction, it has
determined that the following mapping and additional data fields
are needed to make these two data elements unique:
• SSN (Social
(Social Security Number) does not require text
description, but Ethnicity will need a new datasource called
Ethnicity Text. To create this new datasource
dataso urce from T505S
Ethnicity text table, generic extractor with a database view would
be the simplest approach.
7.2.2.
7.2.2. Extending
Extending 0perso
0person n Master data forfor Ethnicity
Ethnicity and
and SSN
1) Extend 0Person Master data extract structure:
•In R/3: Transaction SBIW -> subsequent processing of
datasource -> Edit datasource -> Appl component PA-PA-IO
-> select 0person_attr -> click enhance data source ->
structure name default
defau lt as ZAHRMS_BW_IO_
ZAHRMS_BW_IO_PERSO PERSON N ->
Maintain the append structure for 0Person_attr as follows:
Page 25
BW/HR Implementation
Implementation
Page 26
BW/HR Implementation
Implementation
Page 27
BW/HR Implementation
Implementation
4) Repop
Repopulat
ulatee 0Per
0Person
son Master
Master Data
Data
• Create the Infopackage for 0Person master data, if not
already exists.
• Schedule 0person master data load
• Activate new master data 0Person???
7.2.3.
7.2.3. Create
Create Ethnicity
Ethnicity Text
Text DataSource
DataSource with Generic
Generic Extractor
Extractor
1) Define
Define Ethnicity
Ethnicity IO
IO Text
Text View
View named
named ZV_T50
ZV_T505S_
5S_TXT
TXT
Page 28
BW/HR Implementation
Implementation
2) Create
Create Zethni
Zethnic_t
c_text
ext DataSo
DataSource
urce
• In R/3: Transaction SBIW -> Generated DataSource
->Maintain Generic DataSource -> Create Text
‘Zethnic_Text’ as shown below:
Page 29
BW/HR Implementation
Implementation
3) In BW:
BW: Activate
Activate new
new DataSource
DataSource (refer
(refer to section
section 7.2.2
7.2.2 step 3).
4) Lo
Loadin
ading
g the new Ethnic
Ethnicity
ity Text
Text tabl
tablee
• Create the Infopackage for Zethnic_text table.
• Schedule Zethnic_text data load
Page 30
BW/HR Implementation
Implementation
8. Appendix
8.1.
8.1. Payr
Payrol
olll Extra
Extract
ctio
ion
n Error
Error Rec
Recov
over
ery
y Proc
Proced
edur
ure
e
8.1.1. Determine
Determine the State of of Affairs
Affairs
Go to Administrator Workbench and select the InfoCubes tab
Highlight Payroll InfoCube (Payroll 0PY_C01).
Go to the top of the screen and click on the Monitor Icon
Choose Time selection “Yesterday and today” or “In the past
week” depending on the starting date of the run; the system will
display both Action, Employee and Payroll Accounting
Transactions that have been processed during the selected period.
Unsuccessful runs will have either a yellow or a red status
indicator.
Double click on the Payroll Accounting Run to be recovered.
Follow the “Analysis” steps to obtain more information on the
reason of failure, including “Job Overview” in the source system.
If the run was abended for any reason, the “Analysis” will lead
you to the dumps for the date and date –1. Look for the dump with
“ALEREMOTE
“ALEREMOTE”” userid and within the range of time of your run.
Note the reason if you need further assistance from others. Exit
“Analysis”.
At the Monitor: Detail screen, select “Update Data” tab in the
middle of the screen.
Scroll down and view the number of yellow and red status
indicators. Typically, the Payroll Transaction will take well over
200 data packets.
If the Payroll Delta Update run has not processed more than ½
of the data packets successfully, it would be less time consuming
and less prone to error by taking the “Full Back Out Procedure”
list below.
If there are less than a dozen yellow and red status indicators,
take the Partial Back Out Procedure.
8.1.2.
8.1.2. Full
Full Back
Back Out Proced
Procedureure
Follow the procedures: Determine the state of affair, but seek
the previous successful run date for the Payroll Delta Transaction
and note the date.
Logon to HRP system; At the command line, lin e, execute
transaction SE38.
Execute Program “YSET0439”.
“YSET0439”.
At the range selection, enter Pernr range from 00000001 to
000999999.
At the run date, enter the date of last successful run date
determined at the first step of this procedure.
Turn off ‘Test’ flag
Execute by clicking the green check mark with a white flower
on the top.
Page 31
BW/HR Implementation
Implementation
Page 32
BW/HR Implementation
Implementation
REPORT YSET0439 .
TABLES: PERNR.
TABLES: PA0439.
GET PERNR.
SELECT SINGLE * FROM PA0439
WHERE PERNR = PERNR-PERNR AND SUBTY = '1001'.
IF SY-SUBRC = 0.
WRITE: / PA0439-PERNR, PA0439-PY1_LATEST_DATE,
PA0439-PY1_LATEST_DATE,
' set to ', DATE.
IF TEST = ' '.
PA0439-PY1_LATEST_DATE
PA0439-PY1_LATEST_DATE = DATE.
MODIFY PA0439.
COMMIT WORK.
ENDIF.
ENDIF.
8.3.
8.3. Custom
Customer
er Exit_S
Exit_SAPL
APLRSA
RSAP_0
P_002
02 samp
sample
le code
code for SSN & Ethn
Ethnicit
icity
y
*----------------------------------------------------------------------*
* INCLUDE ZXRSAU02 *
*----------------------------------------------------------------------*
DATA: L_T_OBJECT
L_T_OBJECT LIKE HROBJECT OCCURS 0 WITH HEADER LINE.
LINE.
INFOTYPES: 0001,
0002,
0041,
0077.
* misc. variables
DATA: L_TABIX LIKE SY-TABIX.
Page 33
BW/HR Implementation
Implementation
Page 34