Vous êtes sur la page 1sur 8

QlikStart for use with SAP™ PS Project Systems

QlikStart for Use with SAP™ PS -


Project Systems

2011-03-14
QlikView Version: 10.xx English

Page 1 of 8
QlikStart for use with SAP™ PS Project Systems

Contents
1 INTRODUCTION................................................................................................................. 3

2 PREREQUISITES................................................................................................................ 4

3 INSTALLATION AND POPULATION..................................................................................5


3.1 CONTENTS.................................................................................................................... 5
3.2 DATA LOAD................................................................................................................... 5

4 SCRIPT DETAILS................................................................................................................ 7
4.1 PS PROJECT SYSTEM TABLES.......................................................................................7
4.1 Calculated Fields......................................................................................................... 7

Page 2 of 8
QlikStart for use with SAP™ PS Project Systems

1 Introduction

QlikStart templates provide a sample set of key information deliverables for your SAP™ modules
that combine data extraction scripts, pre defined calculations and a variety of sample analyses in
a front end application combining dashboards, charts and reports.

QlikStart templates contain value for both IT and the business, for IT a series of predefined
extraction scripts with table joins and calculations provide valuable insight. The business user
can start using the predefined reports to analyse their business within a very short time.

A high level architecture diagram of the QlikStart template is described below:

SAP R/3 01-SAP-PS_QVDGENERATOR.qvw QVD Layer 02-SAP-PS_LAYOUT.qvw

This document covers the technical background involved with the data extraction along with a
step by step guide to implement the QlikStart template .

Page 3 of 8
QlikStart for use with SAP™ PS Project Systems

2 Prerequisites
Completion of the QlikView Designer training courses as the process assumes knowledge of
standard QlikView script syntax such as mapping load etc.

Prior to starting the process you should have downloaded and installed the QlikView Connector
for use with SAP™ from here. The installation guide includes all the information re setup of the
connector on both the client and SAP™ instances.

Page 4 of 8
QlikStart for use with SAP™ PS Project Systems

3 Installation and Population

3.1 Contents

The QlikStart template consists of 2 qvw files:

 01_SAP-PS_QVDGENERATOR.qvw
o Connection string for SAP™
o Load script to extract relevant tables with calculations and associated key fields
o QVD creation script

 02_SAP-PS_LAYOUT.qvw
o Load script for previously created QVD's
o Dashboards and reports for SAP™ PS Project Systems

3.2 Data Load

The first step in the process will be to create the qvd files from which the layout application can
read from to populate the various reports contained within.

1. Copy both qvw files to a file location and create a folder for the QVD files.

2. Open 01_SAP-PS_QVDGENERATOR.qvw and set the variables shown:

 The SAP Language variable is used in the mapping load for various descriptions.
 QVD Destination determines the location the resulting qvd files will be stored.
 The Fiscal Year will add a date to a where clause based on the following year:
o RPSCO - GJAHR
 The Start date (YYYYMMDD format) will add a date to a where clause based on
the following dates
o AFKO - GSTRP
o AUFK - ERDAT
o MLST - DATEH

Page 5 of 8
QlikStart for use with SAP™ PS Project Systems

3. Open the script editor and add your connection string using the QVSAPConnector.dll
option.

4. Reload the script.

5. Open the 02_SAP-PS_LAYOUT application and set the QVD location of the extracted
qvd files:

and reload the application.

Page 6 of 8
QlikStart for use with SAP™ PS Project Systems

4 Script Details

4.1 PS Project System Tables


The extraction script will connect to SAP™ and pull information from the following tables
described below:

Table Description
T001 Company Codes
T001W Plants/Branches
TSPAT Divisions
TVKOT Sales Organisations
TVTWT Distribution Channels
MLTX Milestone Description
TKA01 Controlling Areas
RPSCO Project info, costs revenues
PRPS WBS Element Master Data
AFVC Operation within an order
AFKO Order Header
MAKT Material Descriptions
AFPO Order Item
AUFK Order Master Data
PROJ Project Definition
PRHI WBS Hierarchy
PRTE Project Scheduling Data
MLST Milestones

Each table has a key field prefixed with '%' these fields are hidden from the main reporting
application via the SET HidePrefix = '%' command on the main tab.

4.1 Calculated Fields

The extraction process contains a number of calculated fields used in the front end analysis
application as shown below:

Table Column Calculation Description


AFPO Material ApplyMap('MAKT',MATNR) Material descriptions
Description_MAKTX
RPSCO Planned Project if ([Value Value type 01 indicating
Type_WRTTP]='01',Values,
Cost 0) as [Planned Project
planned project cost
Cost],

RPSCO Planned Project if ([Value Value type 04 indicating


Type_WRTTP]='04',Values,
Cost 0) as [Planned Project
actual project cost

Page 7 of 8
QlikStart for use with SAP™ PS Project Systems

Cost],

RPSCO Planned Project if ([Value Value type P1 indicating


Type_WRTTP]='P1',Values,
Cost 0)
planned earned value

RPSCO Planned Project if ([Value Value type P2 indicating


Type_WRTTP]='P2',Values,
Cost 0)
actual earned value

RPSCO Project Element if(left(OBJNR, 2) = Object number slit to


'PR', mid(OBJNR, 3, 8),
if(left(OBJNR, 2) =
produce PR/NV project
'NV', mid(OBJNR, 3, elements
10),mid(OBJNR, 13, 8)))
as [Project Element]

PRPS WBS Company applymap('T001',PBUKR) WBS company name


Name BUTXT descriptions
PROJ Plant Name ApplyMap('T001W',WERKS) Plant descriptions
_NAME1
AFKO Basic Order Days [GLTRP] - [GSTRP] Duration using basic start
and end dates
AFKO Schedule Forecast [GLTPS] - [GSTPS] Duration using schedule
Days forecast start and end dates
AFKO Actual Release Days [FTRMI] - [GSTRI] Duration using actual start
and end dates
AFKO Schedule Days [GLTRS] - [GSTRS] Duration using schedule
start and end dates
AFVC Operation Company applymap('T001',BUKRS) Operation company name
Name_BUTXT descriptions
PROJ Project Division applymap('TSPAT',SPART) Division descriptions
Name_VTEXT
PROJ Project CO Area ApplyMap('TKA01',KOKRS) Controlling area
Name_BEZEI descriptions
PRHI WBS_Description applymap('PRPSMap',POSNR WBS Element descriptions
)

MLST Milestone ApplyMap('MLTX',MLST_ZAE Milestone descriptions


HL)
Name_KTEXT

Page 8 of 8

Vous aimerez peut-être aussi