Você está na página 1de 20

InfoSpoke: Part 1

Applies to:
SAP NetWeaver Business Warehouse (Formerly BI), Will also work on SAP BI 3.5. Business Intelligence
homepage.

Summary
This article gives clear picture about what is InfoSpoke, how to create it and how to use InfoSpoke to extract/
dump the data from InfoCube to File on Desktop.
Author:

Surendra Kumar Reddy Koduru

Company: ITC Infotech India Ltd. (Bangalore/INDIA)


Created on: 02 April 2010

Author Bio
Surendra Kumar Reddy Koduru is a SAP BI Lead Consultant currently working with ITC
Infotech India Ltd (Bangalore/INDIA). He has got rich experience and worked on various
BW/BI implementation/Support projects.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


1

InfoSpoke: Part 1

Table of Contents
Introduction: ........................................................................................................................................................ 3
Live Scenario: ................................................................................................................................................. 3
Steps: ............................................................................................................................................................... 3
Path/Tcode to Create: ..................................................................................................................................... 3
General Tab: ................................................................................................................................................... 4
Destination Tab: .............................................................................................................................................. 6
InfoObjects Tab: .............................................................................................................................................. 9
Selection Tab: ............................................................................................................................................... 10
Transformation Tab: ...................................................................................................................................... 10
Check InfoSpoke: .......................................................................................................................................... 11
Activate the InfoSpoke: ................................................................................................................................. 12
Execute the InfoSpoke: ................................................................................................................................. 15
Result/Generated two .CSV files in Desktop. ............................................................................................... 17
Related Content ................................................................................................................................................ 19
Disclaimer and Liability Notice .......................................................................................................................... 20

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


2

InfoSpoke: Part 1

Introduction:
InfoSpoke is the Object used for to extract/dump the data from Data Provider/Data Source (InfoCube,
InfoObject, DSO etc)
Using this Object we will extract the data into the following two destinations.
1. DB Table.
2. File.
Live Scenario:
I have data in InfoCube and I want to save the data into Flat File in .CSV format in Desktop or Application
Server. Here Im saving the file in Desktop.
I have some Characteristics InfoObjects and Key figure InfoObjects in InfoCube, but I want to only the
following four InfoObjects need to download to .CSV file.
Material

0MATERIAL

Plant

0PLANT

Calendar Day

0CALDAY

Net val. in statCurr

0NET_VAL_S

Qty in Base UoM

Qty in Base UoM

Steps:
Follow the following simple steps.
Path/Tcode to Create:
A. In the main menu of the Data Warehousing Workbench, choose Tools Open Hub Service
Create InfoSpoke Enter a technical name for your InfoSpoke. You can also select a template, if you
have InfoSpoke already in the system.
B. Choose Create InfoSpoke Icon.
C. Enter a description for your InfoSpoke.
Or
Go to RSBO Transaction code and create new InfoSpoke.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


3

InfoSpoke: Part 1

You can find the following Tabs.


1. General
2. Destination
3. InfoObjects
4. Selection
5. Transformation
General Tab:
In General tab page, select a DataSource. You can choose from an InfoCube, ODS objects, MultiProviders
or InfoObjects (attributes or texts).
Here Im selecting InfoCube as DataSource.
The destination name will come automatically but if you want to change it you can do it. By default it will be
the InfoSpoke name.
Then select an extraction mode. Here we have Two modes, one is Full another is Delta. And you also
specify the number of rows per data package for the data records to be extracted, but here Im taking
default Data Packages.
See the following Screens for the same.

Select InfoCube ad Data Source.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


4

InfoSpoke: Part 1

Select the InfoCube as ZSD_C03, and Extraction mode is Delta.


Note: Im assuming that ZSD_C03 InfoCube is already exists in BW System. In your case you may
select different InfoCube.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


5

InfoSpoke: Part 1

Destination Tab:
Choose the Destination tab page and enter the description.
Select File as our destination and press F4 on directory and select the path.
DB table:
If you select this option then the System will create a Database table automatically. We are going to see this
option in coming Articles.
File (CSV):
If you choose the application server as the storage for the file, you can select a Logical File Name or Logical
File Name from the dropdown box. If you choose Logical File Name, you get to the transaction for creating
logical file names by double clicking on the field for the file name.
Here we are working with File (Locally on Desktop).

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


6

InfoSpoke: Part 1

Here I selected Desktop as my destination path.


You can see the complete path once you choose Desktop.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


7

InfoSpoke: Part 1

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


8

InfoSpoke: Part 1

InfoObjects Tab:
In the InfoObjects tab page, we need to select the InfoObjects that need to be transferred/extraction. In doing
so, the available fields are displayed in the right half of the screen, and you can transfer them into the left half
of the screen by using the arrow keys.

Here I selected the following InfoObjects


0MATERIAL
0PLANT
0CALDAY
0NET_VAL_S
0QUANT_B
0BASE_UOM
0STAT_CURR
Only these fields are required for our extraction.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


9

InfoSpoke: Part 1

Selection Tab:
From the Selection tab page, we can restrict the selected fields even further. As a restriction, only simple
selections of single values and intervals are possible.

We are not restricting any values, so I didnt select any values for all above InfoObjects.
Transformation Tab:
Using this tab page Transformation, you can transform the data to be transferred using a BAdI. We are not
using it.

With this we completed all settings and now need to Check, Save and Activate the InfoSpoke.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


10

InfoSpoke: Part 1

Check InfoSpoke:

It is showing some information, see the same in the below screen.

It is telling that we cant use it in Process Chains, because this is normal file extraction into Desktop.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


11

InfoSpoke: Part 1

Activate the InfoSpoke:

Again it is displaying the same message i.e. you cant use it in Process Chains.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


12

InfoSpoke: Part 1

Ignore the message and just Click on Continue.


After Activation you can see the Active InfoSpoke like below.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


13

InfoSpoke: Part 1

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


14

InfoSpoke: Part 1

Execute the InfoSpoke:

After execution it will give information about the Processing request.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


15

InfoSpoke: Part 1

Just click on Continue.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


16

InfoSpoke: Part 1

Result/Generated two .CSV files in Desktop.


S_ZISP3.CSV : This file contains the structure of the InfoObjects.
ZISP3.CSV : This is actual content/data file.
See the Structure file:

See the actual data file.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


17

InfoSpoke: Part 1

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


18

InfoSpoke: Part 1

Related Content
All Articles and Blogs
Open Hub Destination: Part 1
Open Hub Destination: Part 2
Analysis Process Designer (APD): Part - 1
Analysis Process Designer (APD): Part - 2
Analysis Process Designer (APD): Part - 3
Using Customer Exit Variables in BW Reports Part - 3
How to use Customer Exit Variables in BW Reports: Part - 2
Using Customer Exit Variables in BW or BI Reports Part - 1
Using Text Variables with Customer Exits in Report Headings
For more information, visit the Business Intelligence homepage.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


19

InfoSpoke: Part 1

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.

SAP COMMUNITY NETWORK


2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


20

Você também pode gostar