SlideShare uma empresa Scribd logo
1 de 18
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
SAP BI/BW LO Extraction
Applies to:
SAP BI/BW. For more information visit the Enterprise Data Warehousing Homepage
Summary
This Article demonstrates the Steps for LO Extraction with different Update Modes
Author: Obaidullah Shaikh
Company: AG Technologies
Created on: 08 September 2011
Author Bio
Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas
(ABAP) and he has experience of multiple custome reports development and has experience of
Migration/upgradation projects as wel
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Table of Contents
LO Extraction ......................................................................................................................................................3
Introduction .........................................................................................................................................................3
LBWE Activities ..................................................................................................................................................3
Update Modes ....................................................................................................................................................6
Direct Delta:- ...................................................................................................................................................7
Queued Delta:-................................................................................................................................................8
Unserialized V3 update:..................................................................................................................................9
Setup Tables:....................................................................................................................................................10
Delete Setup Table (LBWG).............................................................................................................................11
Replicate DS in BI.............................................................................................................................................11
Delta Queue......................................................................................................................................................12
Fill Setup table (SBIW) or (OLI*BW).................................................................................................................13
T-Codes to Fill setup:- ......................................................................................................................................13
Extractor Checker.............................................................................................................................................14
Info Package (Repairful)...................................................................................................................................15
Related Content................................................................................................................................................17
Disclaimer and Liability Notice..........................................................................................................................18
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
LO Extraction
Introduction
This article addresses the requirement and significance of LO extraction. This article gives you the steps how
to do LO Extraction from R/3 System to BI. This will deal LBWE Activities like how to schedule the jobs in
SAP R/3 to fill setup table, also a brief discussion on Update mode and extraction of Logistic data to BI as
well.
LBWE Activities
The Logistics Extract Structures Customizing Cockpit (you can directly see it by transaction LBWE)
represents the central tool for the administration of extract structures.
Activate the data sources if it is inactive and give a request name to transport to Production system.
Just Click on Inactive under Update
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
Click ob Maintenance under Structure to select the fields for putting selection while Data Extraction
Click on Data Source Name under Datasource to hide/show the extractor fields
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
Click on Job Control under Update schedule the jobs in R/3 that will fetch data from base table to setup
table.
 Click on Start Date button to specify time at which job will trigger
 Click on Print Parameter to specify print parameter
 Finally click on Schedule to Schedule the job
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
Click on Direct Delta under Update mode to set the Update Mode
Update Modes
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
Direct Delta:-
Extraction data is transferred directly to the BW delta queues with each document posting.
Data Flow for LO Extraction with Direct Delta
Benefits :-
No need schedule at regular interval in order to transfer data into BW
 Serialization of documents is ensured by using the enqueue concept for applications
Limitation:-
The number of LUWs per data source in the BW delta queues increases significantly because
different document changes are not summarized into one LUW in the BW delta queues. Therefore this
update method is recommended only for customers with a low occurrence of documents (a maximum of
10000 documents)
no documents can be posted during delta initialization procedure from the start of the
recompilation run in R/3
Document
Tables
Document 1 V1
Delta Queue
(Stopped qRFC)
Document
TablesDocument 2 V1
Document
TablesDocument 3 V1
Delta Request
BW Workbench
(PSA, ODS, Master Data or Info cube)
(
Transfer to BW
Extraction Module with V1 Update
Reading and
processing all existing
LUWS for a Datasource
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
Queued Delta:-
The extraction data (for the relevant application) is written in an extraction queue (instead of in the update
data as in V3) and can be transferred to the BW delta queues by an update collective run.
Data Flow for LO Extraction with Queued Delta
Benefits:-
Document postings (relevant for the involved application) can be opened again as soon as the
execution of the recompilation run (or runs, if several and running in parallel) ends
Collective run clearly performs better than the serialized V3
Recommended for customers with a high occurrence of documents
Event handling is possible here, because a definite end for the collective run is identifiable: in fact,
when the collective run for an application ends, an is automatically triggered and, thus, it can be used to start
a subsequent job.
Limitations:-
Need schedule job at regular interval in order to transfer data into BW
Document
TablesDocument 1 V1
Extraction Queue
Document
TablesDocument 2 V1
Document
TablesDocument n V1
Delta Request
BW Workbench
(PSA, ODS, Master Data or Info cube)
(
Transfer to BW
Extraction Module with V1 Update
Reading and
processing all
existing LUWS for
an application
Delta Queue
(Stopped qRFC)
(
Extraction Collective Run
One LUWS, One
Commit
Reading and
processing all
existing LUWS for
a Datasource
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Unserialized V3 update:
The extraction data continues to be written to the update tables using a V3 update module and then is read
and processed by a collective update run
Data Flow for LO Extraction with Unserialized V3 Update
Data is read in the update collective run without taking the sequence into account and then transferred to the
BW delta queues.
Document
TablesDocument 1 V1
Update Tables
Document
TablesDocument 2 V1
Document
TablesDocument n V1
Delta Request
BW Workbench
(PSA, ODS, Master Data or Info cube)
(
Transfer to BW
V3 Module call
Reading and
processing all
existing LUWS for
an application
Delta Queue
(Stopped qRFC)
(
V3 Collective Run
One LUWS, One
Commit
Reading and
processing all
existing LUWS for
a Datasource
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
Setup Tables:
Access to application tables are not permitted, hence setup tables are there to collect the required data from
the application tables.
When a load fails, you can re-run the load to pull the data from setup tables. Data will be there in setup
tables. Setup tables are used to Initialize delta loads and for full load. Its part of LO Extraction scenario.
With this option, you avoid pulling from R/3 directly as we need to bring field values from multiple tables. You
can see the data in the setup tables. Setup table name will be extract structure name followed by SETUP.
Set up table names starts with 'MC' followed by application component '01'/'02' etc and then last digits of the
Data source name and then followed by SETUP
Also we can say the communication structure (R/3 side, you can check it in LBWE also) name followed by
'setup'
example: MC13VD0HDRSETUP
 If you want to check data in set up tables you better look at the transaction NPRT here you
can see the table name from which data is picking.
 Setup tables are cluster tables and are used to extract the data from R/3 Tables.(LO
Extractors)
 Basically, for entire application like SD-Billing we have got it's own setup Tables...so while
filling the set-up tables, we usually fill for the entire application.
Ex: OLI7BW is for filling setup Tables for SD application.
OLI9BW T-code is for Billing Application,
 When u fill the setup Tables, the data from different tables..VBAK, VBAP, VBRK, VBRP...etc
will come through communication Structures and saved in Setup Tables...
 The main advantage of having setup Tables is, we can read the data in different
levels..Header level as well as Item level.
 when we run init load or Full load in BW, the data will be read from Setup Tables for the first
time( Entire data will be read).... and the delta records will be updated to Delta Queue once
the v3 job runs... and we can extract the delta records from Delta Queue.
 Once we successfully run the init, we can delete setup Tables.
 Filling up the set up tables depends on the Datasource.
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
Delete Setup Table (LBWG)
Before filling the setup table we need delete it’s content because it may have some garbage value.
 For deletion of setup table, select application component whose setup table need to be deleted
Replicate DS in BI
In BW, Replicate the data source (RSDS) & initialize the infopackage without data transfer:-
 Enter Data source name & Source system
 Data source MenuReplicate Datasource
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 12
Create Info package on the data source & initialize it.
Delta Queue
Check the Data source entry Delta Queue (RSA7)
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 13
Fill Setup table (SBIW) or (OLI*BW)
Once init is completed in BW and delta queue is created in SAP R/3 (RSA7) then do the setup
SBIW Steps:-
T-Codes to Fill setup:-
OLI1BW :-Material Movements
OLIZBW :- Invoice Verification/Revaluation
OLI3Bw :- Purchasing Documents
OLI4BW :- Shop Floor Information system
OLIFBW :- Repetitive Manufacturing
OLIQBW :- Quality Management
OLIIBW :- Plant Maintenance
OLISBW :- Service Management (customer Service)
OLI7BW :- SD Sales Order
OLI8BW :- Deliveries
OLI9BW :- SD Billing Documents
VIFBW :- LES-Shipment Cost
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 14
VTBW :- LES-Transport
ORISBW :- Retail
OLIABW :- Agency Business
OLI6BW :- Invoice Verification
OLI4KBW :- Kanban
Extractor Checker
Check the Data in the Data source using RSA3 (Extractor Checker)
 Enter the Datasource Name and Click on Extraction button
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 15
Info Package (Repairful)
In BW, Run the Info Package as “Repairful request”
Select Check box (Indicate Request as Repair Request)
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 16
Click on Start
Finally Data is update to the corresponding target
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 17
Related Content
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d07aa007-84ab-2d10-46ba-
a5a2679f0d7b?QuickLink=index&overridelayout=true
LO Extraction - Part 1 SD Overview
http://forums.sdn.sap.com/thread.jspa?threadID=1778957
For more information visit the Enterprise Data Warehousing Homepage
SAP BI/BW LO Extraction
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 18
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.

Mais conteúdo relacionado

Mais procurados

Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
knreddyy
 
Lo extraction part 2 database update logic
Lo extraction   part 2 database update logicLo extraction   part 2 database update logic
Lo extraction part 2 database update logic
JNTU University
 
Lo extraction – part 5 sales and distribution (sd) datasource overview
Lo extraction – part 5  sales and distribution (sd) datasource overviewLo extraction – part 5  sales and distribution (sd) datasource overview
Lo extraction – part 5 sales and distribution (sd) datasource overview
JNTU University
 
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Sabyasachi Das
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
dejavee
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimension
Praveen Kumar
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
JNTU University
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chains
Siva Kollipara
 
Lo extraction part 4 update methods
Lo extraction   part 4 update methodsLo extraction   part 4 update methods
Lo extraction part 4 update methods
JNTU University
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0
gireesho
 

Mais procurados (20)

Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
 
SAP BW Introduction.
SAP BW Introduction.SAP BW Introduction.
SAP BW Introduction.
 
Lo extraction part 2 database update logic
Lo extraction   part 2 database update logicLo extraction   part 2 database update logic
Lo extraction part 2 database update logic
 
Lo extraction – part 5 sales and distribution (sd) datasource overview
Lo extraction – part 5  sales and distribution (sd) datasource overviewLo extraction – part 5  sales and distribution (sd) datasource overview
Lo extraction – part 5 sales and distribution (sd) datasource overview
 
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
 
Extractioncockpit
Extractioncockpit Extractioncockpit
Extractioncockpit
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimension
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
 
Sap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hanaSap bw 4 hana vs sap bw on hana
Sap bw 4 hana vs sap bw on hana
 
Sap bw4 hana architecture archetypes
Sap bw4 hana architecture archetypesSap bw4 hana architecture archetypes
Sap bw4 hana architecture archetypes
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chains
 
Lo extraction part 4 update methods
Lo extraction   part 4 update methodsLo extraction   part 4 update methods
Lo extraction part 4 update methods
 
Sap archiving process
Sap archiving processSap archiving process
Sap archiving process
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
 
Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0Using error stack and error dt ps in sap bi 7.0
Using error stack and error dt ps in sap bi 7.0
 
HANA WITH ABAP OVERVIEW
HANA WITH ABAP OVERVIEWHANA WITH ABAP OVERVIEW
HANA WITH ABAP OVERVIEW
 
SAP BI/BW
SAP BI/BWSAP BI/BW
SAP BI/BW
 
SAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdfSAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdf
 

Destaque

How to create generic delta
How to create generic deltaHow to create generic delta
How to create generic delta
Jacques Kalees
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logic
JNTU University
 
Step by step procedure for loading of data from the flat file to the master d...
Step by step procedure for loading of data from the flat file to the master d...Step by step procedure for loading of data from the flat file to the master d...
Step by step procedure for loading of data from the flat file to the master d...
Prashant Tyagi
 
Cultural diversity and unlocking the human potential
Cultural diversity and unlocking the human potentialCultural diversity and unlocking the human potential
Cultural diversity and unlocking the human potential
pitra.hutomo
 

Destaque (16)

How to create generic delta
How to create generic deltaHow to create generic delta
How to create generic delta
 
SAP BW - Info objects ppt
SAP BW - Info objects pptSAP BW - Info objects ppt
SAP BW - Info objects ppt
 
SAP BW - Info object (characteristics)
SAP BW - Info object (characteristics)SAP BW - Info object (characteristics)
SAP BW - Info object (characteristics)
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logic
 
Delta machenism with db connect
Delta machenism with db connectDelta machenism with db connect
Delta machenism with db connect
 
Db connect with sap bw
Db connect with sap bwDb connect with sap bw
Db connect with sap bw
 
Reporting: Conditions
Reporting: ConditionsReporting: Conditions
Reporting: Conditions
 
Delta Management overview
Delta Management overviewDelta Management overview
Delta Management overview
 
Co pa extraction
Co pa extractionCo pa extraction
Co pa extraction
 
Step by step procedure for loading of data from the flat file to the master d...
Step by step procedure for loading of data from the flat file to the master d...Step by step procedure for loading of data from the flat file to the master d...
Step by step procedure for loading of data from the flat file to the master d...
 
Pd t 27
Pd t 27Pd t 27
Pd t 27
 
Saran makalah kb
Saran makalah kbSaran makalah kb
Saran makalah kb
 
Freefixer log
Freefixer logFreefixer log
Freefixer log
 
Biolog condtarea10
Biolog condtarea10Biolog condtarea10
Biolog condtarea10
 
Cultural diversity and unlocking the human potential
Cultural diversity and unlocking the human potentialCultural diversity and unlocking the human potential
Cultural diversity and unlocking the human potential
 
 

Semelhante a Sap bw lo extraction

Day 6.4 extraction__lo
Day 6.4 extraction__loDay 6.4 extraction__lo
Day 6.4 extraction__lo
tovetrivel
 
Maintaining aggregates
Maintaining aggregatesMaintaining aggregates
Maintaining aggregates
Sirisha Kumari
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
Phani Kumar
 
Errors while sending packages from oltp to bi (one of error at the time of da...
Errors while sending packages from oltp to bi (one of error at the time of da...Errors while sending packages from oltp to bi (one of error at the time of da...
Errors while sending packages from oltp to bi (one of error at the time of da...
bhaskarbi
 
SAP BI/DW Training with BO Integration
SAP BI/DW Training with BO IntegrationSAP BI/DW Training with BO Integration
SAP BI/DW Training with BO Integration
mishra4927
 
51191092 sap-r3-extraction
51191092 sap-r3-extraction51191092 sap-r3-extraction
51191092 sap-r3-extraction
hnt_dv
 
Day 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_genericDay 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_generic
tovetrivel
 
Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02
johnbryan26
 

Semelhante a Sap bw lo extraction (20)

Cool features 7.4
Cool features 7.4Cool features 7.4
Cool features 7.4
 
Day 6.4 extraction__lo
Day 6.4 extraction__loDay 6.4 extraction__lo
Day 6.4 extraction__lo
 
Maintaining aggregates
Maintaining aggregatesMaintaining aggregates
Maintaining aggregates
 
Trigger bi process chain from ecc
Trigger bi process chain from eccTrigger bi process chain from ecc
Trigger bi process chain from ecc
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
 
Working with SAP Business Warehouse Elements in SAP Datasphere_.pdf
Working with SAP Business Warehouse Elements in SAP Datasphere_.pdfWorking with SAP Business Warehouse Elements in SAP Datasphere_.pdf
Working with SAP Business Warehouse Elements in SAP Datasphere_.pdf
 
Errors while sending packages from oltp to bi (one of error at the time of da...
Errors while sending packages from oltp to bi (one of error at the time of da...Errors while sending packages from oltp to bi (one of error at the time of da...
Errors while sending packages from oltp to bi (one of error at the time of da...
 
Sap basis online training classes
Sap basis online training classesSap basis online training classes
Sap basis online training classes
 
SAP BI/DW Training with BO Integration
SAP BI/DW Training with BO IntegrationSAP BI/DW Training with BO Integration
SAP BI/DW Training with BO Integration
 
SAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdfSAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdf
 
51191092 sap-r3-extraction
51191092 sap-r3-extraction51191092 sap-r3-extraction
51191092 sap-r3-extraction
 
SAP HANA SPS10- Enterprise Information Management
SAP HANA SPS10- Enterprise Information ManagementSAP HANA SPS10- Enterprise Information Management
SAP HANA SPS10- Enterprise Information Management
 
Lsmw
LsmwLsmw
Lsmw
 
Sap business warehouse_v1
Sap business warehouse_v1Sap business warehouse_v1
Sap business warehouse_v1
 
Nw2004s What Is New
Nw2004s What Is NewNw2004s What Is New
Nw2004s What Is New
 
Day 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_genericDay 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_generic
 
Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02
 
SAP BI Training in Chennai
SAP BI Training in ChennaiSAP BI Training in Chennai
SAP BI Training in Chennai
 
Pivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First LookPivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First Look
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BW
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Sap bw lo extraction

  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 SAP BI/BW LO Extraction Applies to: SAP BI/BW. For more information visit the Enterprise Data Warehousing Homepage Summary This Article demonstrates the Steps for LO Extraction with different Update Modes Author: Obaidullah Shaikh Company: AG Technologies Created on: 08 September 2011 Author Bio Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas (ABAP) and he has experience of multiple custome reports development and has experience of Migration/upgradation projects as wel
  • 2. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2 Table of Contents LO Extraction ......................................................................................................................................................3 Introduction .........................................................................................................................................................3 LBWE Activities ..................................................................................................................................................3 Update Modes ....................................................................................................................................................6 Direct Delta:- ...................................................................................................................................................7 Queued Delta:-................................................................................................................................................8 Unserialized V3 update:..................................................................................................................................9 Setup Tables:....................................................................................................................................................10 Delete Setup Table (LBWG).............................................................................................................................11 Replicate DS in BI.............................................................................................................................................11 Delta Queue......................................................................................................................................................12 Fill Setup table (SBIW) or (OLI*BW).................................................................................................................13 T-Codes to Fill setup:- ......................................................................................................................................13 Extractor Checker.............................................................................................................................................14 Info Package (Repairful)...................................................................................................................................15 Related Content................................................................................................................................................17 Disclaimer and Liability Notice..........................................................................................................................18
  • 3. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3 LO Extraction Introduction This article addresses the requirement and significance of LO extraction. This article gives you the steps how to do LO Extraction from R/3 System to BI. This will deal LBWE Activities like how to schedule the jobs in SAP R/3 to fill setup table, also a brief discussion on Update mode and extraction of Logistic data to BI as well. LBWE Activities The Logistics Extract Structures Customizing Cockpit (you can directly see it by transaction LBWE) represents the central tool for the administration of extract structures. Activate the data sources if it is inactive and give a request name to transport to Production system. Just Click on Inactive under Update
  • 4. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4 Click ob Maintenance under Structure to select the fields for putting selection while Data Extraction Click on Data Source Name under Datasource to hide/show the extractor fields
  • 5. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5 Click on Job Control under Update schedule the jobs in R/3 that will fetch data from base table to setup table.  Click on Start Date button to specify time at which job will trigger  Click on Print Parameter to specify print parameter  Finally click on Schedule to Schedule the job
  • 6. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6 Click on Direct Delta under Update mode to set the Update Mode Update Modes
  • 7. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7 Direct Delta:- Extraction data is transferred directly to the BW delta queues with each document posting. Data Flow for LO Extraction with Direct Delta Benefits :- No need schedule at regular interval in order to transfer data into BW  Serialization of documents is ensured by using the enqueue concept for applications Limitation:- The number of LUWs per data source in the BW delta queues increases significantly because different document changes are not summarized into one LUW in the BW delta queues. Therefore this update method is recommended only for customers with a low occurrence of documents (a maximum of 10000 documents) no documents can be posted during delta initialization procedure from the start of the recompilation run in R/3 Document Tables Document 1 V1 Delta Queue (Stopped qRFC) Document TablesDocument 2 V1 Document TablesDocument 3 V1 Delta Request BW Workbench (PSA, ODS, Master Data or Info cube) ( Transfer to BW Extraction Module with V1 Update Reading and processing all existing LUWS for a Datasource
  • 8. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8 Queued Delta:- The extraction data (for the relevant application) is written in an extraction queue (instead of in the update data as in V3) and can be transferred to the BW delta queues by an update collective run. Data Flow for LO Extraction with Queued Delta Benefits:- Document postings (relevant for the involved application) can be opened again as soon as the execution of the recompilation run (or runs, if several and running in parallel) ends Collective run clearly performs better than the serialized V3 Recommended for customers with a high occurrence of documents Event handling is possible here, because a definite end for the collective run is identifiable: in fact, when the collective run for an application ends, an is automatically triggered and, thus, it can be used to start a subsequent job. Limitations:- Need schedule job at regular interval in order to transfer data into BW Document TablesDocument 1 V1 Extraction Queue Document TablesDocument 2 V1 Document TablesDocument n V1 Delta Request BW Workbench (PSA, ODS, Master Data or Info cube) ( Transfer to BW Extraction Module with V1 Update Reading and processing all existing LUWS for an application Delta Queue (Stopped qRFC) ( Extraction Collective Run One LUWS, One Commit Reading and processing all existing LUWS for a Datasource
  • 9. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9 Unserialized V3 update: The extraction data continues to be written to the update tables using a V3 update module and then is read and processed by a collective update run Data Flow for LO Extraction with Unserialized V3 Update Data is read in the update collective run without taking the sequence into account and then transferred to the BW delta queues. Document TablesDocument 1 V1 Update Tables Document TablesDocument 2 V1 Document TablesDocument n V1 Delta Request BW Workbench (PSA, ODS, Master Data or Info cube) ( Transfer to BW V3 Module call Reading and processing all existing LUWS for an application Delta Queue (Stopped qRFC) ( V3 Collective Run One LUWS, One Commit Reading and processing all existing LUWS for a Datasource
  • 10. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10 Setup Tables: Access to application tables are not permitted, hence setup tables are there to collect the required data from the application tables. When a load fails, you can re-run the load to pull the data from setup tables. Data will be there in setup tables. Setup tables are used to Initialize delta loads and for full load. Its part of LO Extraction scenario. With this option, you avoid pulling from R/3 directly as we need to bring field values from multiple tables. You can see the data in the setup tables. Setup table name will be extract structure name followed by SETUP. Set up table names starts with 'MC' followed by application component '01'/'02' etc and then last digits of the Data source name and then followed by SETUP Also we can say the communication structure (R/3 side, you can check it in LBWE also) name followed by 'setup' example: MC13VD0HDRSETUP  If you want to check data in set up tables you better look at the transaction NPRT here you can see the table name from which data is picking.  Setup tables are cluster tables and are used to extract the data from R/3 Tables.(LO Extractors)  Basically, for entire application like SD-Billing we have got it's own setup Tables...so while filling the set-up tables, we usually fill for the entire application. Ex: OLI7BW is for filling setup Tables for SD application. OLI9BW T-code is for Billing Application,  When u fill the setup Tables, the data from different tables..VBAK, VBAP, VBRK, VBRP...etc will come through communication Structures and saved in Setup Tables...  The main advantage of having setup Tables is, we can read the data in different levels..Header level as well as Item level.  when we run init load or Full load in BW, the data will be read from Setup Tables for the first time( Entire data will be read).... and the delta records will be updated to Delta Queue once the v3 job runs... and we can extract the delta records from Delta Queue.  Once we successfully run the init, we can delete setup Tables.  Filling up the set up tables depends on the Datasource.
  • 11. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11 Delete Setup Table (LBWG) Before filling the setup table we need delete it’s content because it may have some garbage value.  For deletion of setup table, select application component whose setup table need to be deleted Replicate DS in BI In BW, Replicate the data source (RSDS) & initialize the infopackage without data transfer:-  Enter Data source name & Source system  Data source MenuReplicate Datasource
  • 12. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 12 Create Info package on the data source & initialize it. Delta Queue Check the Data source entry Delta Queue (RSA7)
  • 13. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 13 Fill Setup table (SBIW) or (OLI*BW) Once init is completed in BW and delta queue is created in SAP R/3 (RSA7) then do the setup SBIW Steps:- T-Codes to Fill setup:- OLI1BW :-Material Movements OLIZBW :- Invoice Verification/Revaluation OLI3Bw :- Purchasing Documents OLI4BW :- Shop Floor Information system OLIFBW :- Repetitive Manufacturing OLIQBW :- Quality Management OLIIBW :- Plant Maintenance OLISBW :- Service Management (customer Service) OLI7BW :- SD Sales Order OLI8BW :- Deliveries OLI9BW :- SD Billing Documents VIFBW :- LES-Shipment Cost
  • 14. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 14 VTBW :- LES-Transport ORISBW :- Retail OLIABW :- Agency Business OLI6BW :- Invoice Verification OLI4KBW :- Kanban Extractor Checker Check the Data in the Data source using RSA3 (Extractor Checker)  Enter the Datasource Name and Click on Extraction button
  • 15. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 15 Info Package (Repairful) In BW, Run the Info Package as “Repairful request” Select Check box (Indicate Request as Repair Request)
  • 16. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 16 Click on Start Finally Data is update to the corresponding target
  • 17. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 17 Related Content http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d07aa007-84ab-2d10-46ba- a5a2679f0d7b?QuickLink=index&overridelayout=true LO Extraction - Part 1 SD Overview http://forums.sdn.sap.com/thread.jspa?threadID=1778957 For more information visit the Enterprise Data Warehousing Homepage
  • 18. SAP BI/BW LO Extraction SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 18 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.