Documente Academic
Documente Profesional
Documente Cultură
2011-01-14
QlikView Version: 10.xx English
Page 1 of 8
QlikStart for use with SAP™ SD Sales and Distribution
Contents
1 INTRODUCTION................................................................................................................. 3
2 PREREQUISITES................................................................................................................ 4
4 SCRIPT DETAILS................................................................................................................ 7
4.1 SD SALES AND DISTRIBUTION TABLES............................................................................7
4.1 Calculated Fields......................................................................................................... 7
Page 2 of 8
QlikStart for use with SAP™ SD Sales and Distribution
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.
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™ SD Sales and Distribution
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™ SD Sales and Distribution
3.1 Contents
01_SAP-SD_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-SD_LAYOUT.qvw
o Load script for previously created QVD's
o Dashboards and reports for SAP™ SD Sales and Distribution
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.
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 start date will add a date to a where clause based on the following dates:
o VBAK - ERDAT
o VBAP - ERDAT
o VBEP - EDATU
o LIKP - ERDAT
o LIPS - ERDAT
o VBRK - ERDAT
o VBRP - ERDAT.
Page 5 of 8
QlikStart for use with SAP™ SD Sales and Distribution
3. Open the script editor and add your connection string using the QVSAPConnector.dll
option.
4. Reload the script.
5. Open the 02_SAP-SD_LAYOUT application and set the QVD Location of the extracted
qvd files:
Page 6 of 8
QlikStart for use with SAP™ SD Sales and Distribution
4 Script Details
Table Description
T001 Company Codes
T001W Plants/Branches
TSPAT Divisions
TVKOT Sales Organisations
TVTWT Distribution Channels
TVKBT Sales Offices
TVGRT Sales Groups
T001L Storage Locations
TVSTT Shipping Points
KNA1 Customer Master
KNVV Customer Master Sales Data
T134T Material Type Descriptions
MAKT Material Descriptions
T023T Material Group Descriptions
MARA Material Master
VBAK Sales Document Header
VBAP Sales Document Item
VBKD Sales Document Business Data
VBEP Sales Document Schedule Lines
LIKP Delivery Document Header
LIPS Delivery Document Item
VBFA Sales Document Flow
VBRK Billing Document Header
VBRP Billing Document Item
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.
The extraction process contains a number of calculated fields used in the front end analysis
application as shown below:
Page 7 of 8
QlikStart for use with SAP™ SD Sales and Distribution
Page 8 of 8