Logistics Extraction
Logistics Extraction
Agenda
d
l
o
Initial-Load
BW
w
e
n
Delta-Load
Initial-Load
Delta-Load
R/3
S260
S260BIW1
S260BIW2
Statistical
Setup
Interface
Application
Cluster
Tables
MC11VA0ITMSETUP
V3 Update
V1 / V2
Update
Statistical
Setup
Interface
MCVBAK
MCVBAP
Sales Order
Delta-Queue
VBAK
VBAP
Application
Job
Infostructure
R/3
Update
Queue
MCVBAK
MCVBAP
Sales Order
VBAK
VBAK
VBAP
VBAP
Delivery
Invoice
Extract
Structure
Data/ InfoSource
MC11VA0HDR
MC11VA0ITM
MC11VA0SCL
MC11V_0ITM
MC11V_0SCL
2LIS_11_VAHDR
2LIS_11_VAITM
2LIS_11_VASCL
2LIS_11_V_ITM
2LIS_11_V_SCL
0SD_C04
0SD_C04
MCLIKP
...
MC12VC0HDR
MC12VC0ITM
MC12VC0SCL
2LIS_12_VCHDR
2LIS_12_VCITM
2LIS_12_VCSCL
0SD_C03
MCVBRK
...
MC13VD0HDR
MC13VD0ITM
2LIS_13_VDHDR
2LIS_13_VDITM
MCVBAK
...
R/3
0SD_C05
BW
The same R/3 Communication Structures are used to transfer data directly to BW
using new Datasources. Note: The LO data flow bypasses the LIS InfoStructures
5
Simple Handling
Advantages
Standardized Logistics
Solution
No LISFunctionality
Document Changes
Only changes to data that are relevant to BW are updated (smaller volumes
of data to upload.)
Function Enhancements
Simple to create without modifications.
BW Customizing Cockpit:
Central, Standardised maintenance tool for logistics applications
Customizing Cockpit:
LBWE
BW Log:
LBWF
Initialization/Setup:
OLI*BW
LO Extraction Step-by-Step
11. Infopackage for the Delta Upload
10. Set up Periodic V3 Update
9. Infopackage for the Delta Initialization
8. Delete Setup Tables / Setup Extraction
7. Activate Extract Structures
6. Maintain InfoCubes and Update Rules
5. Maintain Communication Structure / Transfer Rules
4. Assign InfoSource
3. Replicate DataSource in BW
2. Maintain DataSource
1. Maintain Extract Structures
10
Grouped by Communication
Structure (CS)
SAP Standard Extract Structures
can be enhanced (user appends
on CS are available here)
Missing fields like units and
compound characteristics will be
filled automatically
11
maintain extract-structure
Reactivate Extract-Structure
12
2. Maintain DataSource
Selection:
Selection Fields
Hide Fields
Cancellation Fields
At this point, you call up the general maintenance screen for Datasources by
selecting the extract structure fields that you want to transfer into the BW
13
system. This selection forms the basis for the process of generating the Datasource.
3. Replicate DataSource in BW
Replication of Datasource
4. Assign InfoSource
15
The Communication
Structure is the GLOBAL
(BW Definition of the Data).
Some Infoobjects may have
had their beginnings as
template datasource
Fields, that were mapped
to BW Infoobjects on the
Transfer rules Screen.
16
17
18
19
Setup Extraction
SAP OLTP System
SetUp
Tables
Full Load
Transaction
Data
Staging
Engine
20
Initialization/Simulation (OLI*BW)
Selection Criteria to limit
historical Data
Simulation:
No Update!
21
Infosource
SAP BW Server
Mapping and
Transfer Rules
Replicated
Metadata
DataSource
DataSource
I(nitial), F(ull)
Setup
Tables
Delta Queue
Update
Technology
Refresh
Statistical data
Application
Tables
D(elta)
Archived
Documents
Document
Processing
22
23
24
25
26
27
Simulation
Some Applications support Logs for Setup (e.g. SD)
Data-Queues
Update Queue
Transaction : SM13 (shows the data being updated)
Double click on MCEX_UPDATE_XX to see data
Delta Queue
Transaction: RSA7
(shows to be transferred data (delta) for a DataSource
and a Target system)
28
BW Log
You can control transfers to BW using a log. Log will be updated from the last
processed document. A user-related log is defined for each application, if the user
parameter MCL is set. The last posting procedure for each application is always
recorded; existing log entries are overwritten.
Recommendation
The log is only for test purposes. You should deactivate it during productive operation.
29
1. Double
Click
4. View
Data
2. Display
3. Double
Click
30
Delta-Queue (RSA7)
Mark a line and
press this button
31
32
ARFCSDATA
ARFCSSTATE
Pointer #1 =
Pointer #2 =
TRFCQOUT
BW #1 has Pointer #1
BW #1 has Pointer #2
BW #2 has Pointer #1
33
34
2LIS_08TRFKP
2LIS_08TRFKZ
2LIS_08TRTK
2LIS_08TRTLP
2LIS_08TRTS
Sales (11)
Shipping (12)
Billing (13)
35
36
Agenda
Delta Extraction with the V3 Update
Problems with the V3 Update
Essential Features
37
Agenda
Delta Extraction with the V3 Update
Problems with the V3 Update
Essential Features
38
This means that the data is collected for the BW system (Delta
Queue) in the R/3 update tables before the transfer to the
interface. The data is then retrieved there by means of a periodic
update process that needs to be started.
39
Docu.
Tables
V1
Document 2
V3 Collective Run
(for example,
daily or hourly)
Docu.
Tables
V1
Docu.
Tables
Call
V3 Module
Call
V3 Module
V3 Module
Document n
Call
One LUW,
One Commit
A
(Stopped qRFC)
Time
Transfer
to BW
B
Delta Queue
Update Tables
Delta
Request
Re
ex adi
ist ng
ing an
LU d p
Ws roc
for ess
a D ing
ata of
So a l l
ur
ce
V1
Re
ad
all ing
a
ex
ist nd p
r
i
for ng u oces
p
s in
a m da
od te d g o
f
ule at
a
Document 1
BW (PSA,
ODS, Cube)
40
Agenda
Delta Extraction with the V3 Update
Problems with the V3 Update
Essential Features
41
VBHDR
(Each step is a
full table scan)
Step 1:
Language :EN:
Step 2:
Language :DE:
:EN:
:EN:
:DE:
:EN:
.......
:EN:
:DE:
.......
:DE:
:EN:
.......
:EN:
.......
VA01
VA02
VA02
VA01
VA01
VA02
VA02
VA01
VA02
42
Agenda
Delta Extraction with the V3 Update
Problems with the V3 Update
Essential Features
44
Document 1
V1
Docu.
Tables
Document 2
V1
Delta
Request
Docu.
Tables
V1
a ll
of urce
g
in aSo
s
es at
oc a D
r
p
d for
n
S
a
ng LUW
i
a d ng
e
R sti
i
ex
Docu.
Tables
e
ul
od
M ate
n
io Upd
ct
tra V1
Ex th
wi
e
ul
od
M ate
n
io Upd
ct
tra V1
Ex th
wi
le
du
Mo te
a
on
cti Upd
tra
1
Ex th V
wi
Document n
Transfer
to BW
B
Delta Queue
BW (PSA,
(Stopped qRFC)
ODS, Cube)
Time
46
47
Docu.
Tables
V1
ue
ion que
extract
Filling
date
e V1 up
from th
Docu.
Tables
Document n
V1
Docu.
Tables
ue
on que
extracti
Filling
date
e V1 up
from th
eue
action qu
Filling extr
1 update
from the V
Document 2
One LUW,
One Commit
A
(Stopped qRFC)
Time
Transfer
to BW
B
Delta Queue
Extraction Queue
Delta
Request
Re
ex adin
ist
ing g an
LU d pr
Ws oc
for essi
a D ng
ata of a
ll
So
ur
ce
V1
Re
a
all din
en g a
qu trie nd
p
s
eu
e f in t roce
h
or
s
an e ex sing
tr
ap
pli acti of
o
ca
tio n
n
Document 1
BW (PSA,
ODS, Cube)
48
50
The new function from the logistics queue overview (LBWQ) is available
for monitoring the extraction queues
51
52
PI 2002.1
PI 2003.1
53
The new update methods are available for selection together with the
update method Serialized V3 Update in the Logistics Extraction
Structures Customizing Cockpit (LBWE) for each application:
PI 2002.1
Old Method
New Methods
New methods are
optional
54
55
Migration Procedure
The migration to the new update methods will happen automatically
during the upgrade.
The following preconditions are escential:
The Update tables of the particular application have to be empty.
All entries within V3 Update for the particular application have to be
processed.
All entries in the Extraction Queue (transaction LBWQ) have to be
processed. After successfull migration the Extraction Queue entries
have to be collected into the Delta Queue via the Reports
RMBWV3<Appl.-No.>
56
Agenda
Delta Extraction with the V3 Update
Problems with the V3 Update
Essential Features
57
Technical Details
For applications that are delivered with PI 2002.1 and have no entries in
table TMCEXUPD, no selection of alternative methods is possible for
the time being.
Queued Delta
V3 Update
MCEX_UPDATE_CALL_11
Dialog
MCEX_UPDATE_11_V1
V1 Update
MCEX_UPDATE_11
RSC1_TRFC_QUEUE_WRITE
MCEX_UPDATE_11_QRFC
Extraction
Collective Run
MCEX_UPDATE_11
RSC1_TRFC_QUEUE_WRITE
MCEX_UPDATE_11
V3 Collective Run
RSC1_TRFC_QUEUE_WRITE
59
Thanks
Thanks to Madhuchhanda Pandit, Uma Mahesh &
Rajesh Sarkar
60