You are on page 1of 7

QlikStart for use with SAP MM Purchasing

QlikStart for Use with SAP MM Purchasing

2010-12-08
QlikView Version: 10.xx English

Page 1 of 7

QlikStart for use with SAP MM Purchasing

Contents
1

INTRODUCTION................................................................................................................. 3

PREREQUISITES................................................................................................................ 4

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


3.1
3.2

CONTENTS.................................................................................................................... 5
DATA LOAD................................................................................................................... 5

SCRIPT DETAILS................................................................................................................ 7
4.1
4.1

MM PURCHASING TABLES............................................................................................. 7
CALCULATED FIELDS...................................................................................................... 7

Page 2 of 7

QlikStart for use with SAP MM Purchasing

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-MM_QVDGENERATOR.qvw

QVD Layer

02-SAP-MM_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 7

QlikStart for use with SAP MM Purchasing

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 7

QlikStart for use with SAP MM Purchasing

3 Installation and Population


3.1

Contents

The QlikStart template consists of 2 qvw files:

01_SAP-MM_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-MM_LAYOUT.qvw
o Load script for previously created QVD's
o Dashboards and reports for SAP MM Purchasing

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-MM_QVDGENERATOR.qvw and set the variables shown:

The SAP Language variable is used in the mapping load for material descriptions.
QVD Destination determines the location the resulting qvd files will be stored.
The Purchasing Start date will add a date to a where clause based on the
following dates: EKPO - AEDAT, EKKO - BEDAT, EBAN - BADAT, EKET - EINDT,
RBKP - BUDAT.
The Stock year will add a fiscal year based on the following: ISEG - GJAHR,
RSEG - GJAHR.

3. Open the script editor and add your connection string using the QVSAPConnector.dll
option.
Page 5 of 7

QlikStart for use with SAP MM Purchasing

4. Reload the script.


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

and reload the application.

Page 6 of 7

QlikStart for use with SAP MM Purchasing

4 Script Details
4.1

MM Purchasing Tables

The extraction script will connect to SAP and pull information from the following tables
described below:
Table
MAKT
ISEG
RSEG
RBKP
LFA1
EXPO
T024
EKKO
EORD
MARA
EBAN
EKET

Description
Material Descriptions
Physical Inventory Items
Document Item Incoming Invoice
Document Header Invoice Receipt
Vendor Master
Purchasing Document Item
Purchasing Groups
Purchasing Document Header
Purchasing Source List
Material Master
Purchasing Requisitions
Purchasing - Schedule Lines

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
EKET

Column
Delivery Days

Calculation

EKET

Purchasing
Days

[EINDT] - [BEDAT]

[SLFDT] -

[EINDT]

Page 7 of 7

Description
Stat Delivery date - Delivery
date on schedule
Delivery date - document
date of purchase order

You might also like