SlideShare a Scribd company logo
LO Extraction: Part 3 Extractor
 Logic




Applies to:
SAP BI, SAP BW, ECC, ABAP, Business Intelligence

Summary
This part of the article explains the logic behind the LO Extractors and the relevant backend tables with the
details on important function modules.

Author:      P Renjith Kumar
Company: SAP Labs India Pvt Ltd
Created on: 26 August 2010

Author Bio
                 P Renjith Kumar is presently working in SAP Labs India Pvt Ltd and specializes in Extraction
                 and Modeling areas of BI. Basically as an ABAP consultant, he has extensive cross
                 functional experience and has been with end to end SAP ERP and BI implementation
                 projects across manufacturing domain.
                 .




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                      1
LO Extraction: Part 3 Extractor Logic




Table of Contents
The Design of the New Extract Structures ......................................................................................................... 3
Datasource.......................................................................................................................................................... 4
Datasource Activation ......................................................................................................................................... 5
Extraction Structure ............................................................................................................................................ 5
Setup Table......................................................................................................................................................... 5
Extractors ............................................................................................................................................................ 6
Extraction Method ............................................................................................................................................... 7
Dataflow: Overview ........................................................................................................................................... 11
The LO Cockpit ................................................................................................................................................. 13
Related OSS Notes .......................................................................................................................................... 14
Related Content ................................................................................................................................................ 14
   Links to my previous articles... ...................................................................................................................... 14
Copyright........................................................................................................................................................... 15




SAP COMMUNITY NETWORK                                      SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                                          2
LO Extraction: Part 3 Extractor Logic




The Design of the New Extract Structures
The extract structures are a fundamental part of the extraction concept. These are R/3 –DDIC structures that
contain all fields, whose data contents are transferred from the transaction data via the Datasource to BW,
when you activate the relevant extraction.
Most of the extract structures for applications 11, 12 and 13, are structured in such a way , so that most of
the fields within them are filled directly from the field contents of the LIS Communication structures. Some
additional fields are determined in the extraction module. Every LIS communication structure, that is used to
fill an extract structure, is assigned to an include structure in the extract structure. When you are adding extra
fields, whose field names are identical in several LIS communication structures intended for use in an
extractor, it is possible to assign uniquely, the LIS communication structures, from which the data contents
are transferred. However, this does not mean that you can include a field with the same name extract
structure.
This extract structure concept allows you to include other fields without modification – as Well as user-
defined fields, which were included using append technology, in the Corresponding include of the LIS
communication structure - in the extract structures. They are then automatically filled with the value from the
corresponding LIS communication structure.




SAP COMMUNITY NETWORK                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                       3
LO Extraction: Part 3 Extractor Logic




Datasource
A BW datasource is a structure, which is created in the source system and replicated to the BW system.
Maintaining a datasource in a source system is doing any changes related to the datasource. It could be
adding/deleting fields or checking the flags in the datasource like the hide and selection flag. Also, if the
datasource is provided in the LO Cockpit, changes can be made there too depending on how the extraction
of data is made for that datasource. Extraction could be of flat file extraction or of multiple flat structures i.e.,
hierarchies. There are four types of Datasource:
    1. Datasource for transaction data
    2. Datasource for master data
            i. Datasource for attributes
           ii. Datasource for texts
           iii. Datasource for hierarchies

Datasource for LO extraction is delivered by SAP as a part of business content. It has the naming convention

2LIS_<Application_Componnet>_<Event>_<Suffix>

Application Component = 2 digit number, It gives info related to application. E.g.
11 specifies Sales,
12 specifies shipping,
13 specifies Billing,

Event = Gives transaction name that provides the data for the application. E.g.: VA means creating,
changing, and diaplaying sales order.

Event VA means creating, changing or deleting orders.
Event VB means creating, changing or deleting quotations.
Event VC means creating, changing or deleting deliveries.
Event VD means creating, changing or deleting billing documents.

Suffix = It details the datasource, what level of data is extracted etc.
HDR represents Header data,
ITM represents Item data,
SCL represents Schedule line data,
KON represents Conditions data

Example:

Datasource: 2LIS_11_VAHDR

This extracts data from Application component 11, that is Sales and Event is VA which is of sales order
creation/change and the header data is extracted.




SAP COMMUNITY NETWORK                      SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                          4
LO Extraction: Part 3 Extractor Logic




Datasource Activation
This is done at RSA5 transaction; Once this is done you can see the activated datasource in RSA6
transaction. Initially the datasource will be in D (Delivered) version, Once it is activated it will come to
A(Active) version, if you do any changes it will become M(Modified) version, then you need to activate again.

Extraction Structure
Extraction structure MC<Application><Event/group of events>0<Suffix>;
where MC is derived from the associated communication structures and <Suffix> is optional


Examples:

MC11VA0ITM: Extraction structure for the Datasource 2LIS_11_VAITM

MC02M_0HDR: Extraction structure for the DataSource 2LIS_02_HDR, where M_ indicates the group for the
events like
MA (order),
MD (delivery schedule),
ME (contact) and
MF (request).


Setup Table
Restructuring table (= setup table) <Extraction structure>SETUP
Example:
Extraction structure: MC11VA0ITM                 table: MC11VA0ITMSETUP

     2LIS_11_VAHDR             - MC11VA0HDRSETUP
      2LIS_11_VAITM             - MC11VA0ITMSETUP
      2LIS_11_V_ITM             - MC11V_0ITMSETUP




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                     5
LO Extraction: Part 3 Extractor Logic




Extractors
Extractors enable the upload of business data from source systems into the data warehouse
Example: MCEX_BW_LO_API

You can check this extractor in SE37.

Datasource Table
The table ROOSOURCE have all details about the datasource. You can give the input as your datasource
name and get all relevant details about the datasource


Table ROOSOURCE




Real time datasource

The "Real-time enabled" indicator determines whether a delta-enabled DataSource can supply data for a
real-time demon.




SAP COMMUNITY NETWORK                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                       6
LO Extraction: Part 3 Extractor Logic


Extraction Method
Depending on the extraction method, this field contains:
       'V': DDIC name of the transparent table or the databank view used for generic extraction.
       'F1': Name of the function module for the extraction (template in the function group RSAX, FB
        RSAX_BIW_GET_DATA)
       'F2': Name of the function module for the extraction (template in the function groups RSAX, FB
        RSAX_BIW_GET_DATA_SIMPLE)
       'D': DDIC name of the name from which texts are to be extracted.
       'Q': Functional area of the ABAP query (<4.6) or InfoSet of the InfoSet Query (>4.6).
       'A': For reaons of consistency, the DDIC name of the append structure

Information about datasource
In transaction RSA2 you can find all information about datasource, This is called datasource repository.




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                      7
LO Extraction: Part 3 Extractor Logic


Extract Structure administration tables

The interaction of the LIS communication structures with the extract structures is controlled,
amongst other things, by the table TMCEXCFS, in which information about the fields that
you have selected, or the fields which are not available for selection, is contained for all LIS
communication structures.

TMCEXCFS : LO Data Extraction: Field Status of Communication Structures




Give the extract structure name that you got from RSA2/ROOSOURCE.

It will show the state of each field with possible entries as given below




SAP COMMUNITY NETWORK                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                         8
LO Extraction: Part 3 Extractor Logic


CSTRU means communication structure and the filed status is given as output




Customer defined fields

In table TMCEXCFZ, all additional fields that the customer has chosen are recorded




Datasource assignment and generation

The extract structures are assigned to their DataSources using table TMCEXACT. In addition,
in TMCEXACT, the activation status for the extraction is saved.The DataSource is generated on the basis of
these tables (for example, according to the enhancement of an extract structure).




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                     9
LO Extraction: Part 3 Extractor Logic




SAP COMMUNITY NETWORK   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                       10
LO Extraction: Part 3 Extractor Logic


Dataflow: Overview




SAP COMMUNITY NETWORK   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                       11
LO Extraction: Part 3 Extractor Logic


Activation of datasource

Transaction RSA5




Transaction RSA6 : Post processing of datasource




SAP COMMUNITY NETWORK               SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                   12
LO Extraction: Part 3 Extractor Logic


The LO Cockpit

In transaction LBWE we will be able to see all the datasource for LO application.




Going deeper to know the logic of extractor

Function Modules

Event VA (Order Processing)
R/3 Core:       MCV_STATISTICS_ORDER
Tables :        VBAK, VBAP, VBEP, VBUK, VBUP, VBKD
    
Event VC (Delivery)
R/3 Core:       MCV_STATISTICS_DELIVERY
Tables :        LIKP, LIPS, VBUK, VBUP
    
Event VD (Billing)
R/3 Core:       MCV_STATISTICS_INVOICE
Tables :        VBRK, VBRP, VBUK, VBUP

Extractor function module

Naming convention:
MCEX_UPDATE_nn (nn = application number), sometimes there is a second extractor
MCEX_UPDATE_nn_1

In case of the V3 update modes you can see the function module and its interface data in the transaction
SM13.




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                      13
LO Extraction: Part 3 Extractor Logic


In case of Delta queue you may see it in the transaction LBWQ.

In case of Direct Delta the data has been written directly to the BW delta queue (transaction RSA7).

If it has not been done by the call interface, the extractor will make a decision between the setup and the
online case (different targets: setup tables or BW delta queue).

Note: We will see in detail about the update modes in our next part.

Extractor API function module

Only one such module for all applications: MCEX_BW_LO_API

Will be called upon BW request of a full upload from Service API
Will read the data stored in the setup tables; SAPI will control the transmission to BW (e.g.IDOC/ALE)



Related OSS Notes
0214234 Missing extract structures in logistics
0328255 Not all fields provided in Customizing Cockpit
0328762 Incorrect DataSource 28.08.2000 Consulting
0377633 Client-specific deletion of rebuild tables



Related Content
SAP Developer Network
SAP Help

Links to my previous articles...
LO Extraction Part 1 – SD Overview
LO Extraction Part 2 – Database Update Logic




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                      14
LO Extraction: Part 3 Extractor Logic




Copyright
© Copyright 2010 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,
Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of
Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts
Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by
Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document
serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.




SAP COMMUNITY NETWORK                            SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG                                                                                                                15
Ad

More Related Content

What's hot (20)

Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sap
saborhade
 
How to run v3 job
How to run v3 jobHow to run v3 job
How to run v3 job
Anil Kumar
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selection
Valko Arbalov
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
shabari76
 
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
 
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
 
BW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loadsBW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loads
Luc Vanrobays
 
SAP BI/BW
SAP BI/BWSAP BI/BW
SAP BI/BW
ChanderRajpurohit
 
Extractioncockpit
Extractioncockpit Extractioncockpit
Extractioncockpit
JNTU University
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chains
Siva Kollipara
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
Nisit Payungkorapin
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
JNTU University
 
Integration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdfIntegration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdf
CarlosBerazaluceMino
 
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
 
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...
Andre Bothma
 
SAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdfSAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdf
KoushikGuna
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0
gireesho
 
SAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdfSAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdf
KrishnaAkula4
 
Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0
gireesho
 
Analysis process designer (apd) part 1
Analysis process designer (apd) part   1Analysis process designer (apd) part   1
Analysis process designer (apd) part 1
dejavee
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sap
saborhade
 
How to run v3 job
How to run v3 jobHow to run v3 job
How to run v3 job
Anil Kumar
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selection
Valko Arbalov
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
shabari76
 
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
 
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
 
BW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loadsBW Adjusting settings and monitoring data loads
BW Adjusting settings and monitoring data loads
Luc Vanrobays
 
Errors in process chains
Errors in process chainsErrors in process chains
Errors in process chains
Siva Kollipara
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
JNTU University
 
Integration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdfIntegration with Group Reporting Preparation Ledger.pdf
Integration with Group Reporting Preparation Ledger.pdf
CarlosBerazaluceMino
 
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
 
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...
Andre Bothma
 
SAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdfSAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdf
KoushikGuna
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0
gireesho
 
SAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdfSAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdf
KrishnaAkula4
 
Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0
gireesho
 
Analysis process designer (apd) part 1
Analysis process designer (apd) part   1Analysis process designer (apd) part   1
Analysis process designer (apd) part 1
dejavee
 

Viewers also liked (12)

Extractions and performance monitoring
Extractions and performance monitoringExtractions and performance monitoring
Extractions and performance monitoring
JNTU University
 
Extractors sapr3
Extractors sapr3Extractors sapr3
Extractors sapr3
JNTU University
 
Field symbols
Field symbolsField symbols
Field symbols
skumar_sap
 
Usgage of ABAP in BI
Usgage of ABAP in BIUsgage of ABAP in BI
Usgage of ABAP in BI
Biswabrata 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
 
Building the Business Case for SAP HANA
Building the Business Case for SAP HANABuilding the Business Case for SAP HANA
Building the Business Case for SAP HANA
Bluefin Solutions
 
Delivering digital devolution in local authorities bluefin solutions - dece...
Delivering digital devolution in local authorities   bluefin solutions - dece...Delivering digital devolution in local authorities   bluefin solutions - dece...
Delivering digital devolution in local authorities bluefin solutions - dece...
Bluefin Solutions
 
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.infoSAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
sapdocs. info
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
sapdocs. info
 
2015 04 Preparing for the SAP S/4HANA Migration
2015 04 Preparing for the SAP S/4HANA Migration2015 04 Preparing for the SAP S/4HANA Migration
2015 04 Preparing for the SAP S/4HANA Migration
Bluefin Solutions
 
Message, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type GroupMessage, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type Group
sapdocs. info
 
ABAP Advanced List
ABAP Advanced ListABAP Advanced List
ABAP Advanced List
sapdocs. info
 
Extractions and performance monitoring
Extractions and performance monitoringExtractions and performance monitoring
Extractions and performance monitoring
JNTU University
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
dejavee
 
Building the Business Case for SAP HANA
Building the Business Case for SAP HANABuilding the Business Case for SAP HANA
Building the Business Case for SAP HANA
Bluefin Solutions
 
Delivering digital devolution in local authorities bluefin solutions - dece...
Delivering digital devolution in local authorities   bluefin solutions - dece...Delivering digital devolution in local authorities   bluefin solutions - dece...
Delivering digital devolution in local authorities bluefin solutions - dece...
Bluefin Solutions
 
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.infoSAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
sapdocs. info
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
sapdocs. info
 
2015 04 Preparing for the SAP S/4HANA Migration
2015 04 Preparing for the SAP S/4HANA Migration2015 04 Preparing for the SAP S/4HANA Migration
2015 04 Preparing for the SAP S/4HANA Migration
Bluefin Solutions
 
Message, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type GroupMessage, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type Group
sapdocs. info
 
Ad

Similar to Lo extraction part 3 extractor logic (20)

A treatise on SAP logistics information reporting
A treatise on SAP logistics information reportingA treatise on SAP logistics information reporting
A treatise on SAP logistics information reporting
Vijay Raj
 
Sap business warehouse_v1
Sap business warehouse_v1Sap business warehouse_v1
Sap business warehouse_v1
Marco Aurélio Galvão
 
Summary Project Server Psi
Summary Project Server PsiSummary Project Server Psi
Summary Project Server Psi
Phuong Nguyen
 
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
 
New dimensions for_reporting
New dimensions for_reportingNew dimensions for_reporting
New dimensions for_reporting
Rahul Mahajan
 
USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6
USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6
USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6
Michael Parish
 
Sap Interview Questions - Part 1
Sap Interview Questions - Part 1Sap Interview Questions - Part 1
Sap Interview Questions - Part 1
ReKruiTIn.com
 
Ecc ad ldap
Ecc ad ldapEcc ad ldap
Ecc ad ldap
Shobha Nand Kumar
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
Phani Kumar
 
Integration Approach for MES
Integration Approach for MESIntegration Approach for MES
Integration Approach for MES
Vinod Kumar
 
Aucfanlab Datalake - Big Data Management Platform -
Aucfanlab Datalake - Big Data Management Platform -Aucfanlab Datalake - Big Data Management Platform -
Aucfanlab Datalake - Big Data Management Platform -
Aucfan
 
SAP BODS 4.2
SAP BODS 4.2 SAP BODS 4.2
SAP BODS 4.2
TL Technologies - Thoughts Become Things
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BW
tasmc
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameters
sakthirobotic
 
project_real_wp
project_real_wpproject_real_wp
project_real_wp
Daren Bieniek
 
Getting insights from IoT data with Apache Spark and Apache Bahir
Getting insights from IoT data with Apache Spark and Apache BahirGetting insights from IoT data with Apache Spark and Apache Bahir
Getting insights from IoT data with Apache Spark and Apache Bahir
Luciano Resende
 
5 Steps for Architecting a Data Lake
5 Steps for Architecting a Data Lake5 Steps for Architecting a Data Lake
5 Steps for Architecting a Data Lake
MetroStar
 
SAP PR released
SAP PR releasedSAP PR released
SAP PR released
piwal123
 
Delta machenism with db connect
Delta machenism with db connectDelta machenism with db connect
Delta machenism with db connect
Obaid shaikh
 
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron ApplianceIntegrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Sandeep Chellingi
 
A treatise on SAP logistics information reporting
A treatise on SAP logistics information reportingA treatise on SAP logistics information reporting
A treatise on SAP logistics information reporting
Vijay Raj
 
Summary Project Server Psi
Summary Project Server PsiSummary Project Server Psi
Summary Project Server Psi
Phuong Nguyen
 
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
 
New dimensions for_reporting
New dimensions for_reportingNew dimensions for_reporting
New dimensions for_reporting
Rahul Mahajan
 
USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6
USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6
USERV Auto Insurance Corticon Rule Model 2015 (Simplified) V6
Michael Parish
 
Sap Interview Questions - Part 1
Sap Interview Questions - Part 1Sap Interview Questions - Part 1
Sap Interview Questions - Part 1
ReKruiTIn.com
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
Phani Kumar
 
Integration Approach for MES
Integration Approach for MESIntegration Approach for MES
Integration Approach for MES
Vinod Kumar
 
Aucfanlab Datalake - Big Data Management Platform -
Aucfanlab Datalake - Big Data Management Platform -Aucfanlab Datalake - Big Data Management Platform -
Aucfanlab Datalake - Big Data Management Platform -
Aucfan
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BW
tasmc
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameters
sakthirobotic
 
Getting insights from IoT data with Apache Spark and Apache Bahir
Getting insights from IoT data with Apache Spark and Apache BahirGetting insights from IoT data with Apache Spark and Apache Bahir
Getting insights from IoT data with Apache Spark and Apache Bahir
Luciano Resende
 
5 Steps for Architecting a Data Lake
5 Steps for Architecting a Data Lake5 Steps for Architecting a Data Lake
5 Steps for Architecting a Data Lake
MetroStar
 
SAP PR released
SAP PR releasedSAP PR released
SAP PR released
piwal123
 
Delta machenism with db connect
Delta machenism with db connectDelta machenism with db connect
Delta machenism with db connect
Obaid shaikh
 
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron ApplianceIntegrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Integrating SFDC and Oracle ERP with IBM Websphere CastIron Appliance
Sandeep Chellingi
 
Ad

Recently uploaded (20)

GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 

Lo extraction part 3 extractor logic

  • 1. LO Extraction: Part 3 Extractor Logic Applies to: SAP BI, SAP BW, ECC, ABAP, Business Intelligence Summary This part of the article explains the logic behind the LO Extractors and the relevant backend tables with the details on important function modules. Author: P Renjith Kumar Company: SAP Labs India Pvt Ltd Created on: 26 August 2010 Author Bio P Renjith Kumar is presently working in SAP Labs India Pvt Ltd and specializes in Extraction and Modeling areas of BI. Basically as an ABAP consultant, he has extensive cross functional experience and has been with end to end SAP ERP and BI implementation projects across manufacturing domain. . SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1
  • 2. LO Extraction: Part 3 Extractor Logic Table of Contents The Design of the New Extract Structures ......................................................................................................... 3 Datasource.......................................................................................................................................................... 4 Datasource Activation ......................................................................................................................................... 5 Extraction Structure ............................................................................................................................................ 5 Setup Table......................................................................................................................................................... 5 Extractors ............................................................................................................................................................ 6 Extraction Method ............................................................................................................................................... 7 Dataflow: Overview ........................................................................................................................................... 11 The LO Cockpit ................................................................................................................................................. 13 Related OSS Notes .......................................................................................................................................... 14 Related Content ................................................................................................................................................ 14 Links to my previous articles... ...................................................................................................................... 14 Copyright........................................................................................................................................................... 15 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 2
  • 3. LO Extraction: Part 3 Extractor Logic The Design of the New Extract Structures The extract structures are a fundamental part of the extraction concept. These are R/3 –DDIC structures that contain all fields, whose data contents are transferred from the transaction data via the Datasource to BW, when you activate the relevant extraction. Most of the extract structures for applications 11, 12 and 13, are structured in such a way , so that most of the fields within them are filled directly from the field contents of the LIS Communication structures. Some additional fields are determined in the extraction module. Every LIS communication structure, that is used to fill an extract structure, is assigned to an include structure in the extract structure. When you are adding extra fields, whose field names are identical in several LIS communication structures intended for use in an extractor, it is possible to assign uniquely, the LIS communication structures, from which the data contents are transferred. However, this does not mean that you can include a field with the same name extract structure. This extract structure concept allows you to include other fields without modification – as Well as user- defined fields, which were included using append technology, in the Corresponding include of the LIS communication structure - in the extract structures. They are then automatically filled with the value from the corresponding LIS communication structure. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 3
  • 4. LO Extraction: Part 3 Extractor Logic Datasource A BW datasource is a structure, which is created in the source system and replicated to the BW system. Maintaining a datasource in a source system is doing any changes related to the datasource. It could be adding/deleting fields or checking the flags in the datasource like the hide and selection flag. Also, if the datasource is provided in the LO Cockpit, changes can be made there too depending on how the extraction of data is made for that datasource. Extraction could be of flat file extraction or of multiple flat structures i.e., hierarchies. There are four types of Datasource: 1. Datasource for transaction data 2. Datasource for master data i. Datasource for attributes ii. Datasource for texts iii. Datasource for hierarchies Datasource for LO extraction is delivered by SAP as a part of business content. It has the naming convention 2LIS_<Application_Componnet>_<Event>_<Suffix> Application Component = 2 digit number, It gives info related to application. E.g. 11 specifies Sales, 12 specifies shipping, 13 specifies Billing, Event = Gives transaction name that provides the data for the application. E.g.: VA means creating, changing, and diaplaying sales order. Event VA means creating, changing or deleting orders. Event VB means creating, changing or deleting quotations. Event VC means creating, changing or deleting deliveries. Event VD means creating, changing or deleting billing documents. Suffix = It details the datasource, what level of data is extracted etc. HDR represents Header data, ITM represents Item data, SCL represents Schedule line data, KON represents Conditions data Example: Datasource: 2LIS_11_VAHDR This extracts data from Application component 11, that is Sales and Event is VA which is of sales order creation/change and the header data is extracted. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 4
  • 5. LO Extraction: Part 3 Extractor Logic Datasource Activation This is done at RSA5 transaction; Once this is done you can see the activated datasource in RSA6 transaction. Initially the datasource will be in D (Delivered) version, Once it is activated it will come to A(Active) version, if you do any changes it will become M(Modified) version, then you need to activate again. Extraction Structure Extraction structure MC<Application><Event/group of events>0<Suffix>; where MC is derived from the associated communication structures and <Suffix> is optional Examples: MC11VA0ITM: Extraction structure for the Datasource 2LIS_11_VAITM MC02M_0HDR: Extraction structure for the DataSource 2LIS_02_HDR, where M_ indicates the group for the events like MA (order), MD (delivery schedule), ME (contact) and MF (request). Setup Table Restructuring table (= setup table) <Extraction structure>SETUP Example: Extraction structure: MC11VA0ITM table: MC11VA0ITMSETUP  2LIS_11_VAHDR - MC11VA0HDRSETUP 2LIS_11_VAITM - MC11VA0ITMSETUP 2LIS_11_V_ITM - MC11V_0ITMSETUP SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 5
  • 6. LO Extraction: Part 3 Extractor Logic Extractors Extractors enable the upload of business data from source systems into the data warehouse Example: MCEX_BW_LO_API You can check this extractor in SE37. Datasource Table The table ROOSOURCE have all details about the datasource. You can give the input as your datasource name and get all relevant details about the datasource Table ROOSOURCE Real time datasource The "Real-time enabled" indicator determines whether a delta-enabled DataSource can supply data for a real-time demon. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 6
  • 7. LO Extraction: Part 3 Extractor Logic Extraction Method Depending on the extraction method, this field contains:  'V': DDIC name of the transparent table or the databank view used for generic extraction.  'F1': Name of the function module for the extraction (template in the function group RSAX, FB RSAX_BIW_GET_DATA)  'F2': Name of the function module for the extraction (template in the function groups RSAX, FB RSAX_BIW_GET_DATA_SIMPLE)  'D': DDIC name of the name from which texts are to be extracted.  'Q': Functional area of the ABAP query (<4.6) or InfoSet of the InfoSet Query (>4.6).  'A': For reaons of consistency, the DDIC name of the append structure Information about datasource In transaction RSA2 you can find all information about datasource, This is called datasource repository. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 7
  • 8. LO Extraction: Part 3 Extractor Logic Extract Structure administration tables The interaction of the LIS communication structures with the extract structures is controlled, amongst other things, by the table TMCEXCFS, in which information about the fields that you have selected, or the fields which are not available for selection, is contained for all LIS communication structures. TMCEXCFS : LO Data Extraction: Field Status of Communication Structures Give the extract structure name that you got from RSA2/ROOSOURCE. It will show the state of each field with possible entries as given below SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 8
  • 9. LO Extraction: Part 3 Extractor Logic CSTRU means communication structure and the filed status is given as output Customer defined fields In table TMCEXCFZ, all additional fields that the customer has chosen are recorded Datasource assignment and generation The extract structures are assigned to their DataSources using table TMCEXACT. In addition, in TMCEXACT, the activation status for the extraction is saved.The DataSource is generated on the basis of these tables (for example, according to the enhancement of an extract structure). SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 9
  • 10. LO Extraction: Part 3 Extractor Logic SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 10
  • 11. LO Extraction: Part 3 Extractor Logic Dataflow: Overview SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 11
  • 12. LO Extraction: Part 3 Extractor Logic Activation of datasource Transaction RSA5 Transaction RSA6 : Post processing of datasource SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 12
  • 13. LO Extraction: Part 3 Extractor Logic The LO Cockpit In transaction LBWE we will be able to see all the datasource for LO application. Going deeper to know the logic of extractor Function Modules Event VA (Order Processing) R/3 Core: MCV_STATISTICS_ORDER Tables : VBAK, VBAP, VBEP, VBUK, VBUP, VBKD  Event VC (Delivery) R/3 Core: MCV_STATISTICS_DELIVERY Tables : LIKP, LIPS, VBUK, VBUP  Event VD (Billing) R/3 Core: MCV_STATISTICS_INVOICE Tables : VBRK, VBRP, VBUK, VBUP Extractor function module Naming convention: MCEX_UPDATE_nn (nn = application number), sometimes there is a second extractor MCEX_UPDATE_nn_1 In case of the V3 update modes you can see the function module and its interface data in the transaction SM13. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 13
  • 14. LO Extraction: Part 3 Extractor Logic In case of Delta queue you may see it in the transaction LBWQ. In case of Direct Delta the data has been written directly to the BW delta queue (transaction RSA7). If it has not been done by the call interface, the extractor will make a decision between the setup and the online case (different targets: setup tables or BW delta queue). Note: We will see in detail about the update modes in our next part. Extractor API function module Only one such module for all applications: MCEX_BW_LO_API Will be called upon BW request of a full upload from Service API Will read the data stored in the setup tables; SAPI will control the transmission to BW (e.g.IDOC/ALE) Related OSS Notes 0214234 Missing extract structures in logistics 0328255 Not all fields provided in Customizing Cockpit 0328762 Incorrect DataSource 28.08.2000 Consulting 0377633 Client-specific deletion of rebuild tables Related Content SAP Developer Network SAP Help Links to my previous articles... LO Extraction Part 1 – SD Overview LO Extraction Part 2 – Database Update Logic SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 14
  • 15. LO Extraction: Part 3 Extractor Logic Copyright © Copyright 2010 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 15