+ All Categories
Home > Documents > Trade BW Logistic Extraction

Trade BW Logistic Extraction

Date post: 02-Jun-2018
Category:
Upload: littlebros
View: 478 times
Download: 28 times
Share this document with a friend

of 54

Transcript
  • 8/11/2019 Trade BW Logistic Extraction

    1/54

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 1

    Trade BW Logistic Extraction

    Appl ies to:This document applies to SAP ERP EhP4 and SAP BW BI_CONT 704.

    Summary

    This document contains a detailed description about the main logistical extractions on a retail point of view.Each extractor/DataSource is described on a very detailed level, means field information, used process keysand retail specifics are mentioned. Additional you can find general informations about how overall handlingand setup of a logistic extraction process, for example stock initialization, reconstruction, necessarycustomizing is described in detail.

    Author(s):

    Company: SAP

    Created on:12 June 2009

    Author Bio

    Michael Prokopi is a senior developer in Trading Industries and has been working for SAP since 2001. Hismain topics of expertise are Trade BW content.

  • 8/11/2019 Trade BW Logistic Extraction

    2/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 2

    Table of Contents

    Applies to:.....................................................................................................................................................1

    Summary......................................................................................................................................................1

    Author Bio.....................................................................................................................................................1

    Table of Contents..........................................................................................................................................2

    Preliminary Remarks.....................................................................................................................................3Process Description ......................................................................................................................................3

    ERP Extractor Development..........................................................................................................................4

    Customizing ..............................................................................................................................................4

    Selecting an Industry ) ............. ............. .............. ............. ............. ............. ............. ............. .............. ............. ...... 4

    Process /Transaction Keys....................................................................................................................................5

    Determining the Process key.................................................................................................................................8

    DataSources for Logistic Data ...................................................................................................................9

    Purchasing data (scheduled line).................. ............. ............. ............. ............. .............. ............. ............. ........... 10

    Sales & Distribution...................... ............. .............. ............. ............. ............. ............. ............. .............. ............. 15

    Inventory Management................... .............. ............. ............. ............. ............. .............. ............. ............. ........... 29Revaluation at Retail (Retail only)................ .............. ............. ............. ............. ............. ............. .............. ........... 37

    General Information about usage of Business Content ................................................................................40

    Logistic Extract Structures .......................................................................................................................40

    Basic Structure ............. ............. ............. ............. .............. ............. ............. ............. ............. ............. .............. .. 40

    Customizing Cockpit ............ ............. ............. ............. ............. ............. .............. ............. ............. ............. ......... 40

    Log for Logistic Extract Structures (Tx LBWF)........ ............. .............. ............. ............. ............. ............. ............. .. 41

    Overview about the Process of Reconstruction............ ............. ............. .............. ............. ............. ............. ......... 41

    Data Initialization in BW...........................................................................................................................42

    Master Data............... .............. ............. ............. ............. ............. .............. ............. ............. ............. ............. ..... 42

    Transaction Data (Without Stocks) ............. ............. ............. ............. ............. .............. ............. ............. ............. 43

    Stocks Initialization to SAP BW ............. ............. ............. .............. ............. ............. ............. ............. ............. ..... 43

    SAP BW General Remarks for Retail .......................................................................................................48

    Tables, Transactions...................................................................................................................................51

    Related Content..........................................................................................................................................53

    Copyright ....................................................................................................................................................54

  • 8/11/2019 Trade BW Logistic Extraction

    3/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 3

    Preliminary Remarks

    This document is intended to give a general overview about the movement data extractors on a retailperspective. The focus is to describe which movement data is normally used in the retail area.

    Process Description

    The first requirement for modeling Logistics processes in SAP BW as key figures or key performance

    indicators (KPIs) was the development of comprehensive extractors for the transaction data (movementdata). This development covers Purchasing, Inventory Management and Sales & Distribution as well asretail-specific applications retail price revaluation.

    Due to continuous operational processes in the source system (SAP ERP), documents that supply data forevaluations in a data warehouse are constantly being created.

    The DataSources described in this document deliver the document data at the detailed level meansdocuments number, document line item and document date.

    Figure 1: General overview about logistic extractors

    The following graphic shows the data from the LIS communication structures being used as an interface tothe application. The data is pulled based on extract structures for Logistics to the central Delta Management(Delta Queue). If we are talking about a reconstruction of data the data will be written into setup tables witchcan be used starting point for a Full data extraction to SAP BW.

  • 8/11/2019 Trade BW Logistic Extraction

    4/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 4

    Figure 2: Detailed view to logis tic extractors mentioned in this document

    This document describes the development in SAP ERP (OLTP) as well as industry-specific aspects ofBusiness Content Development for SAP BW.

    ERP Extractor Development

    The following section describes the extractor development that was carried out in the operative SAP ERP.The Plug-In development comprises Customizing, transaction data and master data extraction. These aredescribed in the following sections.

    Customizing

    Selecting an Industry )

    In the BW Customizing for the OLTP System, the correct industry (none, Retail or CP) must be selected toensure that the extraction of the transaction data functions correctly (see Figure 3).

  • 8/11/2019 Trade BW Logistic Extraction

    5/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 5

    Figure 3 Selection of the Industry with transaction MCB_

    It is not possible to use a combination of industries (Retail AND CP, for example). You must select anindustry for each OLTP System/client. If "none" is selected, updating to the relevant transfer informationstructure does not take place.

    Remark: It is possible that other IBUs (such as Oil & Gas) may use the Retail/CP extractors in future

    releases, and may therefore be included in industry Customizing.

    Process /Transaction Keys

    The extractors are basically structures that collect information from the documents of the correspondingLogistics application (Purchasing, Inventory Management or Sales and Distribution, for example) andtransfer it to SAP BW.

    The individual applications produce a large number of key figures that must be transferred to SAP BW usingthese extractors. By using the "process/transaction key", SAP document information is analyzed in advanceso that key figures for particular processes can be used more easily by customers.

    This means that the lines that are to be transferred contain only transfer quantity or transfer value fields.

    The actual key figure is hidden behind a process key. This means that generic key figures (transfer quantityand transfer values) are used, which then acquire a more precise significance in combination with theprocess key. The following table shows several lines that are to be transferred, with their various transactionkeys (Purchasing, for example):

  • 8/11/2019 Trade BW Logistic Extraction

    6/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 6

    Transactionkey

    Quantit y (in BU,for example)

    Transfer value 1(Purchase price,for example)

    Transfer value 2(Sales pr ice, forexample)*

    (Characteristics:material/article,for example)

    Furthercharacteristics

    001 10 PC 30 USD 35 USD CHOCOLATE ...

    007 20 CAR 240 USD 270 USD SHIRT ...

    002 5 CAR 15 USD 18 USD PANTS ...

    ... .... .... ... ... ...

    Comment: *Sales price exists in Purchasing for Retail only

    The first line would mean:

    Process key: 001 -> purchase order with external vendor, material/article CHOCOLATE, Quantity 10 piecesat a purchase price of 30 USD for particular characteristics.

    The data is transferred line by line as it appears in the document, which means that for each document item(in Purchasing for each schedule line number), a record is transferred so that the document hierarchy

    (header, item, schedule line) is "flattened".

    The process /transaction keys are defined using the Customizing transaction MCB0. The same setting canbe also found in the SAP BW extraction customizing SBIW under Settings for Application-SpecificDataSources (PI) + Logistics + Settings for IBU Retail / CP + Transaction Key Maintenance for SAP BW.

  • 8/11/2019 Trade BW Logistic Extraction

    7/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 7

    Figure 4 - Maintaining the Process/ Transaction Keys

    This transaction is based on Customizing table TMCLVBW, text table TMCLVBWT.

    As the process keys must generally be dissolved into specific (general -> specific, e.g. Quantity -> Goodsreceipt quantity) key figures when queries are created during updating. A thorough knowledge of the processkeys is essential for customer-specific transformations to DataTargets or for creating customer specificqueries.

    Example for a routine logic: Update routine for the "Purchase order quantity /external vendor" key figure in

    the InfoCube (pseudo-code):

    IF COMM_STRUCTURE-PROCESSKEY = `001`.

    RESULT = COMM_STRUCTURE-TRANS_AMOUNT.

    ELSE.

    CLEAR RESULT. Do not update key figure

    ENDIF.

  • 8/11/2019 Trade BW Logistic Extraction

    8/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 8

    Process keys are always assigned to their Logistics applications (Example: 02 = Purchasing) and applicationcomponent (industry or CORE component). As most of the keys are industry-independent, these areassigned to the relevant core component (such as MM, SD).

    Remark: MM/SD process keys may be broken down into further process keys due to industry requirements.

    Example:

    Industry independent (Core) Industry dependent

    Application MM IS-R

    Transaction Key 010/110 - Receipt/issue fromwarehouse transfer

    002/102 - Goods receipt/issue DC

    003/103 - Merchandise clearing receipt/issue

    If, therefore, Retail has been selected as the industry, the 010 or 110 keys never appear in the Purchasingextractor. Instead, the 002/003 or 102/103 keys show that this key has been broken down. Based on thevalues and quantities from the DataSource, 010 = 002 + 003 or 110 = 102 + 103.

    As process keys are supplied interactively in the corresponding LIS function modules, it is possible to use

    customer-specific process keys (customer name space 500-999).These keys can be supplied via theassociated customer exit in the Logistics application.

    Determining the Process key

    To ensure that the process keys are determined using the method described above, a function group withfunction modules that enhance the LIS communication structures accordingly was created during extractordevelopment.

    The communication structures have been extended to include the fields necessary for updating DataSourcesfor specific purposes, for example purchasing document item MCEKPO: MCEKPOBWAP (append structure).

    If it is not clear how the process keys were created, a code inspection (debugging) should be performed.

    Technical Information:

    Development class: MCBW

    Function group: MCRS

    Function modules:

    Function module Description

    LOG_CHECK_ENRICHMENT Check enhancement for industry

    LOG_CHECK_PROCESSKEY Checks whether a process key exists

    LOG_CONTENT_BILLING Enhancement billing

    LOG_CONTENT_DELIVERY Enhancement delivery

    LOG_CONTENT_ORDER Enhancement sales order

  • 8/11/2019 Trade BW Logistic Extraction

    9/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 9

    LOG_CONTENT_PURCHASING Enhancement purchasing for SAP BW

    LOG_CONTENT_PURCHPRICE_REVAL Enhancement cost price revaluation

    LOG_CONTENT_SALESPRICE_REVAL Enhancement revaluation at retail

    LOG_CONTENT_STOCKS_MSEG Enhancement inventory management

    Your choice of transaction key is only active if transaction MCB_ has been used to select an industry!

    DataSources for Logisti c Data

    In the following chapter the most relevant data sources to run a retail business are named and described indetail.

    Appl ication Area DataSource BW appl ication component

    Purchasing 2LIS_02_SCL MM

    Material movements 2LIS_03_BF MM_IC

    Stock Revaluation 2LIS_03_UM MM_IC

    Stock initialization 2LIS_03_BX SD

    SD sales order 2LIS_11_VAITM SD

    SD delivery 2LIS_12_VCITM SD

    SD billing document 2LIS_13_VDITM SD

    SD settlement 2LIS_11_V_ITM SD

    Retail Revaluation 2LIS_40_REVAL IS-R-IO

    The InfoSource 2LIS_40_REVAL was developed especially for SAP Retail, and it belongs to BW applicationcomponent IS-R-IO. The other new DataSource do not only belong to the Retail application, and aretherefore assigned to other BW application components:

  • 8/11/2019 Trade BW Logistic Extraction

    10/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 10

    Purchasing data (scheduled line)

    2LIS_02_SCL Purchasing Scheduled Line

    The Data Source provides purchasing data at document schedule line level.

    Relevant Communication Structures (Updating):

    - MCEKKO (Purchasing document header)

    - MCEKKO (Purchasing document items

    - MCEKET (Purchasing document schedule lines)

    Relevant extract structure

    - MC02M_0SCL with substructures

    Characteristics

    InfoObject Field in Transfer Structure Description

    0MATL_GROUP MATKL Material group

    0SCHED_LINE ETENR Schedule line number

    0VENDOR LIFNR Vendor number

    0SCL_DELDAT EINDT Planned delivery date of document schedule line

    0INV_PARTY PREST Invoicing party

    0BWAPPLNM BWAPPLNM Application component

    0DOC_CAT BSTYP Purchasing document category

    0DOC_ITEM EBELP BW: document item number

    0DOC_NUM EBELN BW: document number

    0DOCTYPE BSART Purchasing document category

    0MATERIAL MATNR Material number

    0INV_PTY LIFRE Different invoicing party

    0SUP_PLANT PLIWK Supplying plant to which partner roles have beenassigned

    0SCHED_TIME UZEIT Schedule line time

    0ENTRY_DATE SYDAT Date on which the purchasing document was entered

    0SUPPL_VEND LLIEF Supplying vendor

    0MPN_MATNR EMATN Manufacturer part

    0ORD_ADDR PBEST Ordering address

    0PARTNER PLIEF Vendor to whom partner roles have been assigned

    0SUPPLIER PWLIF Goods supplier

    0STGR_LOC LGORT Storage location

  • 8/11/2019 Trade BW Logistic Extraction

    11/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 11

    0STORNO ROCANCEL Cancellation/reversal indicator

    0RT_PROMO AKTNR Promotion

    0PUR_REASON BSGRU Reason for ordering

    0ITM_CAT PSTYP Item category in purchasing document

    0PUR_GROUP EKGRP Purchasing group

    0PLANT WERKS Plant

    0BATCH CHARG Batch number

    0PROCESSKEY BWVORG BW: process key

    0PURCH_ORG EKORG Purchasing organization

    0SUPP_PLANT RESWK Supplying plant

    Time Characteristics

    InfoObject Field in Transfer Structure

    Description

    0SCHED_DATE SCL_BEDAT Schedule line date

    0DOC_DATE BEDAT Document date

    0STAT_DATE SLFDT Statistics date

    0PSTNG_DATE BUDAT Posting date in document

    0FISCVARNT PERIV Fiscal year variant

    Units

    InfoObject Field in Transfer StructureDescription

    0BASE_UOM LMEIN Base unit of measure

    0LOC_CURRCY HWAER Local currency

    0PO_UNIT MEINS Purchase order unit of measure

    0ORDER_CURR WAERS PO currency

    Key Figures

    InfoObject Field in Transfer Structure

    Description Rocancel?

    0NO_RMDRS MAHNZ Number of reminders/expediters X0ORDER_VAL BWEFFWR Effective order value X

    0NO_SCL NOSCL Counter for scheduling agreement schedule lines X

    0CPDEOGPVOC DBWGEO Delta PO/GR PP excl. tax X

    0CPPVLC BWGEO BW: purchase value in local currency X

    0CPPVOC BWGEOO BW: purchase value in order currency X

  • 8/11/2019 Trade BW Logistic Extraction

    12/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 12

    0CPQUAOU BWMNG BW: quantity in order unit X

    0CPSTLC BWGVP BW: SalesWmS in local currency X

    0CPSVLC BWGVO BW: sales value in local currency X

    0SUBTOT_OC1 BWKZWI1 Subtotal 1 X

    0NUMERATOR UMREN Numerator for conversion of sales unit into SKU.

    0PUR_GROVAL BWBRTWR Gross order value in order currency X

    0EXCHG_RATE WKURS Currency exchange rate for price determination andstatistics

    0DENOMINTR UMREZ Denominator for conversion of sales unit into SKU.

    0CPDEOGQUOU DBWMNG Delta PO/GR order quantity X

    0SUBTOT_OC6 BWKZWI6 Subtotal 6 X

    0SUBTOT_OC5 BWKZWI5 Subtotal 5 X

    0SUBTOT_OC4 BWKZWI4 Subtotal 4 X

    0SUBTOT_OC3 BWKZWI3 Subtotal 3 X

    0SUBTOT_OC2 BWKZWI2 Subtotal 2 X

    Column ROCANCELshows the relevant key figure during extraction, multiplied by -1 if the 0STORNO (=ROCANCEL) field has been marked X. This occurs when, for example, a document item is changed. If thisis the case, the system extracts the unchanged old data before changes are made with ROCANCEL = X andthe new data after the change with ROCANCEL is extracted. This means that the data record containing theold data with negative values then cancels out the original data.

    Measuring vendor quantity reliability or showing open order stock correctly is done by including the deltafields (quantity, value) in the transfer information structure and updating them to the appropriate InfoCubes.Deltas occur when the goods receipt quantity entered is greater (negative delta) or smaller (positive delta)

    than the quantity ordered. Deleting purchase orders also creates deltas.

    The application component becomes more important if customers from mixed industries use Industry 1 (CP,for example) in an R/3 System, and Industry 2 (Retail, for example) in a different R/3 System. In cases suchas this where a SAP BW System is supplied by both systems, the process key may no longer beunambiguous.

    Specific Retail enhancements

    InfoObject Field in Transfer Structure Description

    - ITEM_CAT EA Retail BW Extr. Enhancement: Item Type

    - REC_TYPE EA Retail BW Extr. Enhancement: Data Record Type

    - ATTYP Material Category (lot, display, set)

    - VLFKZ Plant category (Distribution center or store)

    All these 4 fields are used for the explosion of structured articles to there components. The explosion of thestructured articles is mainly done in SAP ERP.

  • 8/11/2019 Trade BW Logistic Extraction

    13/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 13

    Therefore a new customizing is defined that supports the explosion depending on the plant category(distribution center or store) and the material category (lot, display or set). The customizing can be found inthe SAP reference IMG (SPRO): Logistics General + Material Master + Retail-Specific Settings + Settingsfor Structured Materials + Structured Material in Logistics Process.

    Depending on the settings in the customizing the explosion of structured articles is executed during theextraction of the data to SAP BW. The necessary coding is located in a activedelivered BADIimplementation WRF_BWEXT_STRUKTART of BADI RSU5_SAPI_BADI. The BADI is also used and

    relevant for DataSources 2LIS_03_BF and 2LIS_03_BX.

    The fields ITEM_CAT contains the information if a record delivered by the DataSource is an original item or ifthe item was created by the above mentioned BADI implementation WRF_BWEXT_STRUKTART. The fieldwill be interpreted in the start routine of the corresponding InfoSource 2LIS_02_SCL.

    Value Meaning

    00 Original position

    01 Position created for retail by BADI implementationWRF_BWEXT_STRUKART

    The field REC_TYPE contains the information if the record contains is header component or a itemcomponent of a structured article. This field is currently not in the data flow to SAP BW but can be used fordetailed analysis.

    Value Meaning

    0 Header component of a structured article

    1 Component of a structured article

    Currently in the SAP BW content there are no corresponding InfoObject for the 4 new fields and therefore nomapping exists in the transformation from DataSource to InfoSource.

    Process/ transaction keys

    Appl ication Process key Meaning

    MM (02) 0 Undefined Operation/Vendor

    MM (02) 1 Purchase Order/Vendor

    MM (02) 2 Goods Receipt/Vendor

    MM (02) 3 Invoice/Vendor

  • 8/11/2019 Trade BW Logistic Extraction

    14/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 14

    MM (02) 4 Scheduling Agreement/Vendor

    MM (02) 5 Returns Order / Vendor

    MM (02) 6 Returns/Vendor

    MM (02) 7 Credit Memo/Vendor

    MM (02) 8 Contract / Vendor

    MM (02) 9 Offer / Vendor

    MM (02) 40 Inquiry / Vendor

    MM (02) 41 Return Sched.Agreemt / Vendor

    MM (02) 10 Undefined/ Intern. Comp. Code

    MM (02) 11 Purch. Order/Intern. Comp.Code

    MM (02) 12 GR/Intern. Company Code

    MM (02) 14 Sched. Agreement/Int. Co. Code

    MM (02) 15 Return Orders/Int. Comp. Code

    MM (02) 16 Returns/Internal Company Code

    MM (02) 51 Return Sched.-Agreement / Int. Comp. Code

    MM (02) 20 Undefined/Cross-Company Code

    MM (02) 21 Purchase Order/Cross-Co. Code

    MM (02) 22 GR/Cross-Company Code

    MM (02) 23 Invoice/Cross-Company Code

    MM (02) 24 Sched. Agreemt/Cross-Co.Code

    MM (02) 25 Returns Order/Cross-Comp. Code

    MM (02) 26 Returns/Cross-Company Code

  • 8/11/2019 Trade BW Logistic Extraction

    15/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 15

    MM (02) 27 Credit Memo/Cross-Comp. Code

    MM (02) 28 Contract / Cross-Company

    MM (02) 61 Return Sched.-Agreement/ Cross-Comp.Code

    Note: All the process keys are relevant for both Retail and CP customers!

    Sales & Distribution

    2LIS_11_VAITM: SD Sales Document Items

    This DataSource contains document data for sales orders at item level.

    Relevant Communication Structures:

    - MCVBAK Sales order document header

    - MCVBAP Sales order document item

    - MCVBKD Sales Document: Commercial Data

    - MCVBUK Sales Document: Header Status; Admin.Data

    - MCVBUP Sales Document: Item Status

    Relevant extract structure:

    - MC11VA0ITM with substructures

    InfoObject Field intransf.structure

    Description

    0STORNO ROCANCEL Cancelling ind.

    0DOC_NUMBER VBELN SD document

    0REJECTN_ST ABSTA Rejection stat.

    0S_ORD_ITEM POSNR Item

    0STS_ITM UVALL Item

    0STS_BILL UVFAK Item bill.data

    0STS_PRC UVPRS Pricing

    0STS_DEL UVVLK Item deliv.data

    0QUOT_FROM ANGDT Valid from

    0DOC_TYPE AUART Sales doc.type0ORD_REASON AUGRU Order reason

    0QUOT_TO BNDDT Valid to

    0COMP_CODE BUKRS Company code

    0BILL_BLOCK FAKSK Billing block

    0LOC_CURRCY HWAER Local currency

  • 8/11/2019 Trade BW Logistic Extraction

    16/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 16

    0SOLD_TO KUNNR Sold-to party

    0RATE_TYPE KURST Exch.rate type

    0CUST_GRP1 KVGR1 Customer grp 1

    0CUST_GRP2 KVGR2 Customer grp 2

    0CUST_GRP3 KVGR3 Customer grp 3

    0CUST_GRP4 KVGR4 Customer grp 4

    0CUST_GRP5 KVGR5 Customer grp 5

    0DEL_BLOCK LIFSK Delivery block

    0STAT_CURR STWAE Statist. curr

    0DOC_CATEG VBTYP Document cat.

    0SALES_OFF VKBUR Sales office

    0SALES_GRP VKGRP Sales group

    0SALESORG VKORG Sales org.

    0DISTR_CHAN VTWEG Distr. channel

    0REASON_REJ ABGRU RejectionReason

    0CH_ON AEDAT Changed on

    0ORDER_PROB AWAHR Order probab.

    0GROSS_WGT BRGEW Gross weight

    0BWAPPLNM BWAPPLNM Application comp.

    0PROCESSKEY BWVORG BW:Trnsctn key

    0BATCH CHARG Batch

    0EXCHG_CRD CMKUA Exchange rate

    0EANUPC EAN11 EAN/UPC

    0CREATEDON ERDAT Created on

    0CREATEDBY ERNAM Created by

    0CREA_TIME ERZET Time

    0BILBLK_ITM FAKSP Billing block

    0UNIT_OF_WT GEWEI Weight unit

    0CML_CF_QTY KBMENG CumConfirmedQty

    0CML_CD_QTY KLMENG CumConfirmedQty

    0COND_UNIT KMEIN Unit of measure

    0SALESDEAL KNUMA_AG Sales deal

    0COND_PR_UN KPEIN Pricing unit

    0CML_OR_QTY KWMENG Order quantity

    0SUBTOTAL_1 KZWI1 Subtotal 1

    0SUBTOTAL_2 KZWI2 Subtotal 2

    0SUBTOTAL_3 KZWI3 Subtotal 3

  • 8/11/2019 Trade BW Logistic Extraction

    17/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 17

    0SUBTOTAL_4 KZWI4 Subtotal 4

    0SUBTOTAL_5 KZWI5 Subtotal 5

    0SUBTOTAL_6 KZWI6 Subtotal 6

    0MIN_DL_QTY LFMNG Min. dely qty

    0STOR_LOC LGORT StorageLocation

    0REQDEL_QTY LSMENG Required DlvQty

    0MATL_GROUP MATKL Material group

    0MATERIAL MATNR Material

    0MAT_ENTRD MATWA MaterialEntered

    0BASE_UOM MEINS Base unit

    0MATL_GRP_1 MVGR1 MaterialGroup 1

    0MATL_GRP_2 MVGR2 MaterialGroup 2

    0MATL_GRP_3 MVGR3 MaterialGroup 3

    0MATL_GRP_4 MVGR4 MaterialGroup 4

    0MATL_GRP_5 MVGR5 MaterialGroup 5

    0NET_PRICE NETPR Net price

    0NET_VALUE NETWR Net value

    0NET_WT_AP NTGEW Net weight

    0UNLD_PT_WE PABLA UnlPt ShiptoPar

    0BILLTOPRTY PKUNRE Bill-to party

    0PAYER PKUNRG Payer

    0SHIP_TO PKUNWE Ship-to party

    0PROD_HIER PRODH Prod.hierarchy

    0FORWAGENT PSPDNR FwdAgent

    0ITEM_CATEG PSTYV Item category

    0SALESEMPLY PVRTNR Sales employee

    0ROUTE ROUTE Route

    0DIVISION SPART Division

    0STAT_DATE STADAT Statistics date

    0EXCHG_STAT STCUR Exch.rate stats

    0SUB_REASON SUGRD Reason

    0DENOMINTR UMVKN Denominator (Factor conv.:SalesUnit -> WH Unit)

    0NUMERATOR UMVKZ Nominator (Factor conv: SalesUnit -> WH Unit)

    0DENOMINTRZ UMZIN Denominator (Factor for converting sales units to baseunits (target qty)

    0NUMERATORZ UMZIZ Numerator (Factor for converting sales units to baseunits (target qty)

    0ST_UP_DTE VDATU UpdateDateStats

  • 8/11/2019 Trade BW Logistic Extraction

    18/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 18

    0PRVDOC_CTG VGTYP Prec.doc.categ.

    0VOLUMEUNIT VOLEH Volume unit

    0VOLUME_AP VOLUM Volume

    0SALES_UNIT VRKME Sales unit

    0SHIP_POINT VSTEL Shipping point

    0DOC_CURRCY WAERK Doc. currency

    0COST WAVWR Cost

    0PLANT WERKS Plant

    0TARGET_QU ZIEME Target qty UoM

    0TARGET_QTY ZMENG Target quantity

    0TARG_VALUE ZWERT Out.agr.targ.vl

    0SALES_DIST BZIRK Sales district

    0SERV_DATE FBUDA Serv.rendered

    0BILL_DATE FKDAT Billing date

    0INCOTERMS INCO1 Incoterms

    0INCOTERMS2 INCO2 Incoterms 2

    0CUST_GROUP KDGRP Customer group

    0ACCNT_ASGN KTGRD AcctAssgGr

    0EXCHG_RATE KURSK Exchange rate

    0TRANS_DATE KURSK_DAT Translation dte

    0PRICE_DATE PRSDT Pricing date

    0RT_PROMO WAKTION Promotion

    0PRODCAT WMINR Prod.cat.no.

    0ORDER_CURR WAERK_VBAK Doc. Currency

    0DIV_HEAD SPARA Division

    0DOC_CATEGR VGTYP_AK Sales doc.type ref.d

    0WBS_ELEMT PS_POSID WBS element

    0ORD_ITEMS ANZAUPO Order items

    0FISCVARNT PERIV Fi.year variant

    0TAX_VALUE MWSBP Tax amount

    Process keys

    Appl ication Process key Meaning

    SD (11) 000 Sales order / misc.

    SD (11) 001 Sales order / standard

  • 8/11/2019 Trade BW Logistic Extraction

    19/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 19

    SD (11) 002 Returns order / standard

    SD (11) 003 Sales order / third-party

    SD (11) 004 Returns order / third-party

    SD (11) 005 Customer quotation

    2LIS_11_V_ITM: SD Sales Item Data Settl ement

    This DataSource contains settlement values from sales documents (sales order) and delivery documents atitem level. It can be used for transferring open values from SD (for example, open order quantity).

    Relevant Communication Structures:

    - MCVBAK Sales order document header

    - MCVBAP Sales order document item

    - MCVBKD Sales Document: Commercial Data

    - MCVBUK Sales Document: Header Status; Admin.Data

    - MCVBUP Sales Document: Item Status

    Relevant extract structure:

    - MC11V_0ITM with substructures

    InfoObject Field in transfer structure

    Description

    0STORNO ROCANCEL Cancelling ind.

    0DOC_NUMBER VBELN SD document

    0REJECTN_ST ABSTA Rejection stat.

    0S_ORD_ITEM POSNR Item

    0COMP_CODE BUKRS Company code

    0BILL_BLOCK FAKSK Billing block

    0LOC_CURRCY HWAER Local currency

    0SOLD_TO KUNNR Sold-to party0CUST_GRP1 KVGR1 Customer grp 1

    0CUST_GRP2 KVGR2 Customer grp 2

    0CUST_GRP3 KVGR3 Customer grp 3

    0CUST_GRP4 KVGR4 Customer grp 4

    0CUST_GRP5 KVGR5 Customer grp 5

  • 8/11/2019 Trade BW Logistic Extraction

    20/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 20

    0DEL_BLOCK LIFSK Delivery block

    0STAT_CURR STWAE Statist. curr.

    0DOC_CATEG VBTYP Document cat.

    0SALES_OFF VKBUR Sales office

    0SALES_GRP VKGRP Sales group

    0SALESORG VKORG Sales org.

    0DISTR_CHAN VTWEG Distr. channel

    0REASON_REJ ABGRU RejectionReason

    0BATCH CHARG Batch

    0EANUPC EAN11 EAN/UPC

    0CREATEDON ERDAT Created on (1)

    0BILBLK_ITM FAKSP Billing block

    0MATL_GROUP MATKL Material group

    0MATERIAL MATNR Material

    0MAT_ENTRD MATWA MaterialEntered

    0BASE_UOM MEINS Base unit

    0MATL_GRP_1 MVGR1 MaterialGroup 1

    0MATL_GRP_2 MVGR2 MaterialGroup 2

    0MATL_GRP_3 MVGR3 MaterialGroup 3

    0MATL_GRP_4 MVGR4 MaterialGroup 4

    0MATL_GRP_5 MVGR5 MaterialGroup 5

    0OPENORDQTY OAUME Open orders qty

    0OPENORDVAL OAUWE Open orders

    0BILLTOPRTY PKUNRE Bill-to party

    0PAYER PKUNRG Payer

    0SHIP_TO PKUNWE Ship-to party

    0PROD_HIER PRODH Prod.hierarchy

    0FORWAGENT PSPDNR FwdAgent

    0SALESEMPLY PVRTNR Sales employee

    0ROUTE ROUTE Route

    0DB_CRD_IND SHKZG Returns

    0DIVISION SPART Division

    0STAT_DATE STADAT Statistics date

    0EXCHG_STAT STCUR Exch.rate stats

    0DENOMINTR UMVKN Denominator (Factor conv.:SalesUnit -> WHUnit)

    0NUMERATOR UMVKZ Nominator (Factor conv: SalesUnit -> WH Unit)

  • 8/11/2019 Trade BW Logistic Extraction

    21/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 21

    0VOLUMEUNIT VOLEH Volume unit

    0SALES_UNIT VRKME Sales unit

    0SHIP_POINT VSTEL Shipping point

    0DOC_CURRCY WAERK Doc. currency

    0PLANT WERKS Plant

    0SALES_DIST BZIRK Sales district

    0INCOTERMS INCO1 Incoterms

    0INCOTERMS2 INCO2 Incoterms 2

    0CUST_GROUP KDGRP Customer group

    0EXCHG_RATE KURSK Exchange rate

    0TRANS_DATE KURSK_DAT Translation dte

    0RT_PROMO WAKTION Retail Promotion

    0DIV_HEAD SPARA Division

    0WBS_ELEMT PS_POSID WBS element

    0OP_DOC_ITM ANZOAUPO Open order items

    0DLV_QTY LFIMG_AVME Delivery qty

    0DEL_VAL MCBW_LFWRT Del. order value

    0NETPR_VKM MCBW_NETPR_AVKM NtPrSlsQtyOrItm

    0FISCVARNT PERIV Fi.year variant

    No transaction keys exist for this DataSource. Open values and quantities always relate to a specific salesorder and no differentiation is made, for example, between internal and external procedures.

    (1) This field was also transferred in the DataSource to allow open orders (quantity, value) to be determinedcorrectly during BW updating. This date is necessary to ensure that the open order quantity is determinedcorrectly for the time period.

    2LIS_12_VCITM: SD Shipping , Delivery i tem data

    This DataSource extracts delivery document data at item level.

    The following DataSources can also be used for transferring delivery document data. They have not yet beenused in Business Content for Retail / CP:

    2LIS_12_VCHDR: SD Shipping, Delivery header data2LIS_12_VCSCL: SD Shipping, Delivery schedule line data.

    Relevant Communication Structures:

    - MCLIKP Delivery document header

    - MCLIPS Delivery document item

  • 8/11/2019 Trade BW Logistic Extraction

    22/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 22

    - MCVBUK Sales Document: Header Status; Admin.Data

    - MCVBUP Sales Document: Item Status

    Relevant extract structure:

    - MC11VC0ITM with substructures

    InfoObject Field intransf.structure

    Description

    0STORNO ROCANCEL Cancelling ind.

    0DELIV_NUMB VBELN SD document

    0PICK_CONF KOQUA Confirmation

    0STS_PICK KOSTA Picking status

    0DELIV_ITEM POSNR Item

    0GOODSMV_ST WBSTA GoodsMovementSt

    0UNLOAD_PT ABLAD Unloading point

    0COMP_CODE BUKRS Company code

    0SALES_DIST BZIRK Sales district

    0BILL_BLOCK FAKSK Billing block

    0INCOTERMS INCO1 Incoterms

    0INCOTERMS2 INCO2 Incoterms 2

    0CUST_GROUP KDGRP Customer group

    0SOLD_TO KUNAG Sold-to party

    0SHIP_TO KUNNR Ship-to party

    0DEL_TYPE LFART Delivery type0SHIP_DATE LFDAT Delivery date

    0CREDITOR LIFNR Vendor

    0DEL_BLOCK LIFSK Delivery block

    0LOAD_PT LSTEL Loading point

    0ROUTE ROUTE Route

    0DOC_CATEG VBTYP Document cat.

    0SALESORG VKORG Sales org.

    0SHIP_POINT VSTEL Shipping point

    0GI_DATE WADAT Planned GI date

    0ACT_GI_DTE WADAT_IST Actual GI date

    0CH_ON AEDAT Changed on

    0RT_PROMO AKTNR Promotion

    0GRS_WGT_DL BRGEW Gross weight

    0BWAPPLNM BWAPPLNM Application comp.

  • 8/11/2019 Trade BW Logistic Extraction

    23/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 23

    0PROCESSKEY BWVORG BW:Trnsctn key

    0BATCH CHARG Batch

    0EANUPC EAN11 EAN/UPC

    0CREATEDON ERDAT Created on

    0CREATEDBY ERNAM Created by

    0CREA_TIME ERZET Time

    0BILBLK_DL FAKSP Block

    0UNIT_OF_WT GEWEI Weight unit

    0BUS_AREA GSBER Business area

    0PICK_INDC KOMKZ Picking ID

    0CUST_GRP1 KVGR1 Customer grp 1

    0CUST_GRP2 KVGR2 Customer grp 2

    0CUST_GRP3 KVGR3 Customer grp 3

    0CUST_GRP4 KVGR4 Customer grp 4

    0CUST_GRP5 KVGR5 Customer grp 5

    0CONSU_FLAG KZVBR Consumption

    0DLV_QTY LFIMG Delivery qty

    0ACT_DL_QTY LGMNG Actual dlv.qty

    0WHSE_NUM LGNUM Warehouse no.

    0STOR_LOC LGORT StorageLocation

    0STRGE_BIN LGPLA Storage bin

    0STRGE_TYPE LGTYP Storage type

    0MATL_GROUP MATKL Material group

    0MATERIAL MATNR Material

    0MAT_ENTRD MATWA MaterialEntered

    0BASE_UOM MEINS Base unit

    0MATL_GRP_1 MVGR1 MaterialGroup 1

    0MATL_GRP_2 MVGR2 MaterialGroup 2

    0MATL_GRP_3 MVGR3 MaterialGroup 3

    0MATL_GRP_4 MVGR4 MaterialGroup 4

    0MATL_GRP_5 MVGR5 MaterialGroup 5

    0NET_WGT_DL NTGEW Net weight

    0BILLTOPRTY PKUNRE Bill-to party

    0PAYER PKUNRG Payer

    0ITM_TYPE POSAR Item type

    0PROD_HIER PRODH Prod.hierarchy

    0FORWAGENT PSPDNR FwdAgent

  • 8/11/2019 Trade BW Logistic Extraction

    24/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 24

    0ITEM_CATEG PSTYV Item category

    0SALESEMPLY PVRTNR Sales employee

    0STAT_DATE STADAT Statistics date

    0DENOMINTR UMVKN Denominator (Factor conv.:SalesUnit -> WH Unit)

    0NUMERATOR UMVKZ Nominator (Factor conv: SalesUnit -> WH Unit)

    0SHP_PR_TMF VBEAF Fixed proc.time

    0SHP_PR_TMV VBEAV Var. proc. time

    0ST_UP_DTE VDATU UpdateDateStats

    0REFER_DOC VGBEL Reference doc.

    0REFER_ITM VGPOS Reference item

    0PRVDOC_CTG VGTYP Document cat.

    0SALES_OFF VKBUR Sales office

    0SALES_GRP VKGRP Sales group

    0VOLUMEUNIT VOLEH Volume unit

    0VOLUME_DL VOLUM Volume

    0SALES_UNIT VRKME Sales unit

    0DISTR_CHAN VTWEG Distr. channel

    0PLANT WERKS Plant

    0NO_DEL_IT ANZLIPOS NoDlvItems

    0DIVISION SPARA Division

    0WBS_ELEMT PS_POSID WBS element

    0FISCVARNT PERIV Fi.year variant

    0DEL_WA_DH WA_DELAY_LF GI delay

    Process keys

    Appl ication Process key Meaning

    SD (12) 100 Misc. customer delivery

    SD (12) 101 Warehouse delivery / customer

    IS-R(12) 102 Promotion delivery customer

    SD (12) 103 Cross-docking / customer delivery

    SD (12) 104 Flow-through / customer delivery

    SD (12) 105 Distribution of returns / customer delivery

    SD (12) 106 Customer returns

  • 8/11/2019 Trade BW Logistic Extraction

    25/54

  • 8/11/2019 Trade BW Logistic Extraction

    26/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 26

    0STORNO ROCANCEL Cancelling ind.

    0BILL_NUM VBELN SD document

    0BILL_ITEM POSNR Item

    0CH_ON AEDAT Changed on

    0COMP_CODE BUKRS Company code

    0SALES_DIST BZIRK Sales district

    0BILL_TYPE FKART Billing type

    0BILL_DATE FKDAT Billing date

    0BILL_CAT FKTYP BillingCategory

    0LOC_CURRCY HWAER Local currency

    0CUST_GROUP KDGRP Customer group

    0SOLD_TO KUNAG Sold-to party

    0PAYER KUNRG Payer

    0EXRATE_ACC KURRF Exch.rate-acct.

    0STAT_CURR STWAE Statist. curr.

    0DOC_CATEG VBTYP Document cat.

    0DISTR_CHAN VKORG Sales org.

    0SALESORG VTWEG Distr. channel

    0DOC_CURRCY WAERK Doc. currency

    0RT_PROMO AKTNR Promotion

    0DOC_NUMBER AUBEL Sales document

    0S_ORD_ITEM AUPOS Item

    0REBATE_BAS BONBA Rebate basis

    0REBATE_GRP BONUS Vol. rebate grp

    0GRS_WGT_DL BRGEW Gross weight

    0BATCH CHARG Batch

    0EANUPC EAN11 EAN/UPC

    0CREATEDON ERDAT Created on

    0SERV_DATE FBUDA Serv.rendered

    0INV_QTY FKIMG Billed qty

    0BILL_QTY FKLMG Bill.qty in SKU

    0UNIT_OF_WT GEWEI Weight unit

    0SALESDEAL KNUMA_AG Sales deal

    0CO_AREA KOKRS Controllng area

    0COSTCENTER KOSTL Cost center

    0EXCHG_RATE KURSK Exchange rate

    0TRANS_DATE KURSK_DAT Translation date

  • 8/11/2019 Trade BW Logistic Extraction

    27/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 27

    0CUST_GRP1 KVGR1 Customer grp 1

    0CUST_GRP2 KVGR2 Customer grp 2

    0CUST_GRP3 KVGR3 Customer grp 3

    0CUST_GRP4 KVGR4 Customer grp 4

    0CUST_GRP5 KVGR5 Customer grp 5

    0SUBTOTAL_1 KZWI1 Subtotal 1

    0SUBTOTAL_2 KZWI2 Subtotal 2

    0SUBTOTAL_3 KZWI3 Subtotal 3

    0SUBTOTAL_4 KZWI4 Subtotal 4

    0SUBTOTAL_5 KZWI5 Subtotal 5

    0SUBTOTAL_6 KZWI6 Subtotal 6

    0STOR_LOC LGORT StorageLocation

    0REQ_QTY LMENG Required qty

    0MATL_GROUP MATKL Material group

    0MATERIAL MATNR Material

    0MAT_ENTRD MATWA MaterialEntered

    0BASE_UOM MEINS Base unit

    0MATL_GRP_1 MVGR1 MaterialGroup 1

    0MATL_GRP_2 MVGR2 MaterialGroup 2

    0MATL_GRP_3 MVGR3 MaterialGroup 3

    0MATL_GRP_4 MVGR4 MaterialGroup 4

    0MATL_GRP_5 MVGR5 MaterialGroup 5

    0TAX_AMOUNT MWSBP Tax amount

    0NETVAL_INV NETWR Net value

    0NET_WGT_DL NTGEW Net weight

    0BILLTOPRTY PKUNRE Bill-to party

    0SHIP_TO PKUNWE Ship-to party

    0ITM_TYPE POSAR Item type

    0PROD_HIER PRODH Prod.hierarchy

    0PROV_GROUP PROVG Commission grp

    0PRICE_DATE PRSDT Pricing date

    0ITEM_CATEG PSTYV Item category

    0SALESEMPLY PVRTNR Sales employee

    0CSHDSC_BAS SKFBP Csh.disc.bas

    0SCALE_QTY SMENG Scale quantity

    0DIVISION SPARA Division

    0DIV_HEAD SPART Division

  • 8/11/2019 Trade BW Logistic Extraction

    28/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 28

    0STAT_DATE STADAT Statistics date

    0DENOMINTR UMVKN Denominator (Factor conv.:SalesUnit -> WH Unit)

    0NUMERATOR UMVKZ Nominator (Factor conv: SalesUnit -> WH Unit)

    0ST_UP_DTE VDATU UpdateDateStats

    0REFER_DOC VGBEL Reference doc.

    0REFER_ITM VGPOS Reference item

    0SALES_OFF VKBUR Sales office

    0SALES_GRP VKGRP Sales group

    0VOLUMEUNIT VOLEH Volume unit

    0VOLUME_DL VOLUM Volume

    0SALES_UNIT VRKME Sales unit

    0SHIP_POINT VSTEL Shipping point

    0COST WAVWR Cost

    0PLANT WERKS Plant

    0WBS_ELEMT PS_POSID WBS element

    0NO_INV_IT ANZFKPOS No.billng items

    0FISCVARNT PERIV Fi.year variant

    0EXCHG_STAT STCUR Exch.rate stats

    0BWAPPLNM BWAPPLNM Application comp.

    0PROCESSKEY BWVORG BW:Trnsctn key

    0GROSS_VAL BRTWR Gross value

    Process keys

    Appl ication Process key Meaning

    SD (13) 200 Misc. billing

    SD (13) 201 Sales / standard

    SD (13) 202 Credit memo / standard

    SD (13) 203 Sales / third-party

    SD (13) 204 Credit memo / third-party

  • 8/11/2019 Trade BW Logistic Extraction

    29/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 29

    Inventory Management

    2LIS_03_BF - Material movements from Inventory Controlling

    This DataSource is used to transfer all material movements data from Logistics Inventory Management. Datais created for each single item (stored in document table MSEG). No revaluations are extracted fromFinancial Accounting (UM). DataSource, 2LIS_03_UM, is created for this process (see the next section).

    Relevant Communication Structure- MCMSEG (Material document, Event BF)

    Relevant extract structure

    - MC03BF0 with substructure

    The fields BWGEO, BWGVO, BWGVP and BWMNG will be multiplied by -1 if movements are cancelled (formore information, see below). The original document fields, such as DMBTR and MENGE will, however,remain unchanged and are an exact match of the characteristics for MSEG.

    InfoObject Field in transfer-structure

    Description Rocancel?

    0STORNO ROCANCEL Cancel. ind.

    0RT_PROMO AKTNR Promotion

    0COORDER AUFNR Order

    0VAL_CLASS BKLAS Valuation class

    0DOC_DATE BLDAT Document date

    0STOCKTYPE BSTAUS LIS stk values (3)

    0STOCKCAT BSTTYP Stock cat. LIS

    0PSTNG_DATE BUDAT Posting date

    0COMP_CODE BUKRS Company Code

    0BWAPPLNM BWAPPLNM Application comp. (4)

    0MOVETYPE BWART Movement type

    0STOCKRELEV BWBREL BW: Stock rel.

    0CPPVLC BWGEO BW:CValLocCrcy X

    0CPSVLC BWGVO BW:CValLocCrcy X

    0CPSTLC BWGVP BW: RtlTLocCrcy X

    0VAL_TYPE BWTAR Valuation type

    0CPQUABU BWMNG BW: Qty BUn X

    0PROCESSKEY BWVORG Transfer process

    0BATCH CHARG Batch

    0VALUE_LC DMBTR LC amount

    0MATMREA GRUND Reason for mvt.

  • 8/11/2019 Trade BW Logistic Extraction

    30/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 30

    0BUS_AREA GSBER Business area

    0CO_AREA KOKRS CO area

    0COSTCENTER KOSTL Cost center

    0SOLD_TO KUNNR Customer

    0WHSE_NUM LGNUM Whse number

    0STOR_LOC LGORT Stor. location

    0STRGE_BIN LGPLA Storage bin

    0STRGE_TYPE LGTYP Storage type

    0VENDOR LIFNR Vendor

    0MATERIAL MATNR Material

    0DOC_NUM MBLNR Material doc.

    0BASE_UOM MEINS Base unit

    0QUANT_B MENGE Quantity

    0DOC_YEAR MJAHR Mat. doc. year

    0PROFIT_CTR PRCTR Profit center

    0DCINDIC SHKZG Debit/credit indicator (1)

    0LOC_CURRCY WAERS Local currency

    0PLANT WERKS Plant

    0DOC_ITEM ZEILE Item

    0FISCVARNT PERIV Fi.year variant

    0CPNOITEMS NOPOS Counter Items X

    0MOVE_PLANT UMWRK Receiving plant

    (1) The debit/credit indicator shows the direction of the material movement (S = stock increase (receipt), H =stock reduction (issue)). This indicator should be taken into account during InfoCube updating. The valueof the debit/credit indicator can usually be derived from the value of the process key (e.g. process key001 = goods receipt external vendor -> debit/credit indicator = S). If material documents are canceled,the cancellations can be easily recognized as they are differentiated from the original procedures by thereversed debit/credit indicator (e.g. transaction key = 001 and debit/credit indicator = H -> canceledgoods receipt vendor). In the supplied standard, cancellations reduce the original key figure. Thesignificance of the debit/credit indicator is explained in greater detail later in this document.

    (2) The "Relevant to stock" indicator determines whether or not the material document line changes thestock figure and must therefore be updated. Movements that do not cause a change in stock are

    consumption postings or transaction postings in connection with inventory management by materialgroup (Retail only). This should be taken into account when updating stocks in SAP BW.

    (3) The stock characteristic value (unrestricted use, in quality inspection etc.) is significant in combinationwith the stock category (valuated, vendor consignment etc.). It is possible to model this in customer-specific InfoCubes (caution: only quantities can be compared for stock categories other than valuatedstock, as changes in stock value do not allow projections to the stock characteristic values to be made).

  • 8/11/2019 Trade BW Logistic Extraction

    31/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 31

    Stock category

    Stockcharacteristicvalue V

    aluatedstock

    Vendorcon

    signmentstock

    Salesorder

    stock

    Projectstoc

    k

    Returnable

    transportpackaging

    Unrestricteduse

    X X

    In qualityinspection

    X X

    Blocked X X

    In Transit

    etc... X X

    (4) The application component increases in significance if mixed-industry customers use Industry 1 (CP, forexample), in one R/3 System, and Industry 2 (such as Retail) in another R/3 System. In such cases,where the SAP BW System is supplied by both systems, the process key may be ambiguous.

    Additional retail fields

    InfoObject Field in

    transfer-structure

    Description Area which is using theadditional fields

    - ITEM_CAT EA Retail BW Extr. Enhancement: ItemType

    Explosion of structuredarticles

    - REC_TYPE EA Retail BW Extr. Enhancement: DataRecord Type

    - ATTYP Material Category

    - VLFKZ Plant category

    0RSL_STAUTO SAUTO Item automatically created ERMA Stock ledger

    0RSL_STMAT MATST Structured material

    0RT_SASTST VKSTT Value at Sales Prices Including Value-Added Tax

    0RT_SASTSV VKSTA Value at sales prices excluding value-added tax

    0RT_MOVTRAN UMLKZ Indicator: Movement type is stock transfer

  • 8/11/2019 Trade BW Logistic Extraction

    32/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 32

    0RT_MOVRET RETKZ Indicator: Return from call

    0RT_MOVINV INVKZ Indicator: Movement type is physicalinventory

    0RT_MOVADJ KORR Indicator: Movement type is inventory

    correction

    0RT_MATPOST UMMATKZ Transfer Posting Material to Material

    Normally thesame info. as0LOC_CURRCY

    WAERSST Currency Key

    0RT_CPUDT CPUDT Day On Which Accounting Document WasEntered

    RMA (Retail Method ofAccounting)

    0RMA_XCC RMA_XCC Relevant Valuation Method

    0MA_LNK RMA_LINKP Item from Corresponding Stock Removal

    0RMA_RFLG RMA_BWEXT_REL

    Flag: Cross-Company Code StockTransfer

    Additional fields for explosion of structured articles:

    The same append WRF_MC03BF0_ADDON_SMAT is used as described for the DataSource 2LIS_02_SCL.If you need further information about the business logic behind these fields please read chapter 02-Purchasing.

    Additional fields for ERMA stock Ledger:

    These fields are relevant if a customer wants to use the SAP BW Business Content in the area of ERMAstock ledger, delivered with BI CONT 7.03 SP6. All fields are not automatically added to the extractionstructure. The fields must be added to the extraction structure by activating the corresponding businessfunctions and executing a XPRA (report RMCSBWXP_COM). Therefore also no mappings from ERP fieldsto BW InfoObjects are delivered in the transformation. The InfoObjects in quotes are available in theInfoSource and can be manually mapped to the source fields of the ERP.

    Additional fields for RMA:

    In case that the Business Function Retail Method of Accounting (ISR_RETAIL_RMA, ISR_RETAIL_RMA2,ISR_RETAIL_RMA_3, ISR_APPL_AGENCY_4, ) is activated, the respective extract structure will beaugmented automatically by these additional fields. For this fields again no standard mapping to a BW

    InfoObject exists but the table above can be used to create a manual mapping.

    Appl ication Process Key Meaning

    MM (03) 000 Misc. receipts

  • 8/11/2019 Trade BW Logistic Extraction

    33/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 33

    MM (03) 001 Goods receipt / vendor

    MM (03) 004 Article transfer posting receipt

    MM (03) 005 Stock correction inventory +

    MM (03) 006 Stock correction other +

    IS-R (03) 007 Receipt value-only article (single article posting)

    MM (03) 010 Receipt from stock transfer

    IS-R (03) 002 Merchandise clearing receipt

    IS-R (03) 003 GR from DC

    MM (03) 100 Misc. issues

    MM (03) 101 Returns / Vendor

    MM (03) 104 Article transfer posting issue

    MM (03) 105 Stock correction inventory -

    MM (03) 106 Stock correction other -

    IS-R (03) 107 Issue value-only article (single article posting)

    MM (03) 110 Issue from stock transfer

    IS-R (03) 102 Merchandise clearing issue

    IS-R (03) 103 GI from DC

    IS-R (03) 201 Permanent markdown

    IS-R (03) 202 Markdown cancellation

    IS-R (03) 203 Transfer out RMA

    IS-R (03) 211 Markup

    IS-R (03) 212 Markup cancellation

    IS-R (03) 213 Transfer in RMA

  • 8/11/2019 Trade BW Logistic Extraction

    34/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 34

    IS-R (03) 450 Generic Article (not relevant)

    Note: The process keys 002/003 and 102/103 further describe the processes from the core keys 010/110.

    As can be seen from the overview, the process keys from Inventory Management can be divided intoreceipts and issues. They can also be divided into canceled and regularprocedures.

    An S in the debit/credit indicator shows a regular receipt, while a regular issue is marked with an H. Theopposite is true for canceled procedures.

    Procedure Description Debit/creditindicator S

    Debit/creditindicator H

    0 Misc. receipts Regular Canceled

    1 Goods receipt / vendor Regular Canceled

    2 Merchandise clearing / receipt Regular Canceled

    3 Goods receipt / DC Regular Canceled

    4 Article transfer posting / receipt Regular Canceled

    5 Stock correction inventory + Regular Canceled

    6 Stock correction other + Regular Canceled

    7 Receipt value-only article Regular Canceled

    10 Receipt from stock transfer Regular Canceled

    Receipts

    100 Misc. issues Canceled Regular

    101 Returns receipt / vendor Canceled Regular

    102 Merchandise clearing / issue Canceled Regular

    103 Goods issue / DC Canceled Regular

    104 Article transfer posting / issue Canceled Regular

    105 Stock correction inventory - Canceled Regular

    106 Stock correction other - Canceled Regular

    107 Issue value-only article Canceled Regular

    110 Issue from stock transfer Canceled Regular

    Issues

    NB: Cancellations for the DataSource are recognized by the entry 0STORNO = X (= ROCANCEL). Thefields maked with "X" in the table are transferred with negative values.

    2LIS_03_UM - Stock Revaluations

    This DataSource contains data from value-based revaluations from Financial Accounting (only data fromFinancial Accounting (documents stored in table BSEG) that is generated because of revaluations). This

  • 8/11/2019 Trade BW Logistic Extraction

    35/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 35

    data is necessary for updating value-based stock changes for valued stock in BW. The DataSource alsocontains key figures that are referred to as "Cost-price revaluations".

    Relevant Communication Structure:

    - MCMSEG (Material document, Event UM)

    Relevant extract structure

    - MC03UM0 with substructure

    InfoObject Field in transfer-structure

    Description

    0STORNO ROCANCEL Cancelling ind.

    0RT_PROMO AKTNR Promotion

    0DOC_NUM BELNR Document number

    0VAL_CLASS BKLAS Valuation class0DOC_DATE BLDAT Document date

    0PSTNG_DATE BUDAT Posting date

    0COMP_CODE BUKRS Company code

    0BWAPPLNM BWAPPLNM Application comp.

    0MOVETYPE BWART Movement type

    0CPPVLC BWGEO BW:CValLocCrcy

    0CPQUABU BWMNG BW: Qty BUn

    0PROCESSKEY BWVORG BW:Transaction key

    0VALUE_LC DMBTR LC amount

    0FISCYEAR GJAHR Fiscal year

    0BUS_AREA GSBER Business area

    0CO_AREA KOKRS Controllng area

    0COSTCENTER KOSTL Cost center

    0SOLD_TO KUNNR Customer

    0VENDOR LIFNR Vendor

    0MATERIAL MATNR Material

    0BASE_UOM MEINS Base unit0DCINDIC SHKZG Debit/credit

    0LOC_CURRCY WAERS Local currency

    0PLANT WERKS Plant

    0FISCVARNT PERIV Fi.year variant

    0CPNOITEMS NOPOS Counter Items

  • 8/11/2019 Trade BW Logistic Extraction

    36/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 36

    0QUANT_B MENGE Quantity

    0STORNO is not important for this DataSource as no cancellations in SAP ERP for revaluations haveoccurred.

    Process/transaction keys

    Appl ication Process Key Meaning

    MM (03) 050 Misc. revaluation +

    MM (03) 051 Revaluation / price change +

    MM (03) 052 Revaluation / invoice verification +

    MM (03) 150 Misc. revaluation -

    MM (03) 151 Revaluation / price change -

    MM (03) 152 Revaluation / invoice verification

    2LIS_03_BX - Stock Initialization

    In order to model stocks in BW, it is necessary to initialize the current operational stock in the source system.To do this the DataSource 2LIS_03_BX can be used.

    Relevant extract structure

    - MC03BX0 with substructure

    The extract structure MC03BX0 includes the complete extract structure from DataSource 2LIS_03_BFMC03BF0, there it is not described again.

    A stock initialization must be started manually using transaction MCNB. There it is possible to schedule theinit at the store/article/storage location level. To get a better performance it is recommended not to switch onthe flag: Zero Stock to be transferred. To create zero stock information for the stock InfoCubes in SAP BW,

    especially for the correct marker update, it is necessary to execute report SAP_REFPOINT_COMPLETE(note 823951).

    An additional performance improvement can be reached by switching of the complete RIS enrichment intransaction MCH_ (refer to note 728360). It is not recommended to execute the stock initialization withoutany restriction by plant, material or storage location. These input fields should be used to create workpackages for the stock initialization process.

  • 8/11/2019 Trade BW Logistic Extraction

    37/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 37

    Figure 1: Stock Initialization for 2LIS_03_BX

    This program should always be scheduled or run in the background.

    Revaluation at Retail (Retail only)

    2LIS_40_REVAL Revaluation at Retail (Retail only)

    This DataSource is used to transfer item-exact data from the retail price revaluation document (USEG)(Retail only).

    Relevant Communication Structures:

    - MCUSEG

    Relevant extract structure

    - MC40RP0REV with substructure

    InfoObject Field in transfer-structure

    Description

    0RT_PROMO AKTNR Promotion

    0BWAPPLNM BWAPPLNM Application comp.

    0STOCKRELEV BWBREL BW: Stock rel.

    0CPPVLC BWGEO BW:CValLocCrcy

    0CPSVLC BWGVO BW:SValLocCrcy

    0CPSTLC BWGVP BW: RtlTLocCrcy

    0CPQUABU BWMNG BW: Qty BUn

    0CPQUASU BWMVE BW: Qty in SUn

    0PROCESSKEY BWVORG BW:Trnsctn key

    0LOC_CURRCY HWAER Local currency

  • 8/11/2019 Trade BW Logistic Extraction

    38/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 38

    0MATERIAL MATNR Material

    0BASE_UOM MEINS Base unit

    0RT_REVREAS PV_GRUND Reason SP chng

    0DCINDIC SHKZG Debit/credit

    0RT_NOAFFMA SPANN Not aff. margin

    0DOC_YEAR UBJAHR Rev.doc. year

    0DOC_NUM UBLNR Value change doc

    0DENOMINTR UMVKN Denominator

    0NUMERATOR UMVKZ Nominator

    0DOC_ITEM UZEIL Item number

    0RT_REVDAT VPDAT SP change date

    0SALES_UNIT VRKME Sales unit

    0PLANT WERKS Plant

    0CPNOITEMS NOPOS Counter Items

    Addi tional f ields for retai l

    InfoObject Field in transfer-structure

    Description Area which is using theadditional fields

    0RT_COSTAFF AFFECT_COST_VAL Adjust Cost Value(Result)

    Stock Ledger and RMA

    0RMA_RFLG BWEXT_REL Relevant ValuationMethod

    0RT_UPSTA UPSTA Item status of retailrevaluation document

    0RT_SPRCHTY UAKT Change Category of Sales Price Origin fromOld to New Price

    0RT_VKSNO VKSALN_OLD Total inventory value atretail without tax

    0RT_VKSPO VKSAL_OLD Value of Total ValuatedStock at Sales Price

    The cursive fields where not directly added to the extract structure. That means that these fields are notautomatically available at customer side and must be added executing the XPRA concept. The fields must

    be added to the extraction structure by activating the corresponding business functions and executing aXPRA (report RMCSBWXP_COM).

    Therefore also no mappings from ERP fields to BW InfoObjects are delivered in the transformation. TheInfoObjects in quotes are available in the InfoSource and can be manually mapped to the source fields of theERP.

    Appl ication Process Key Meaning

  • 8/11/2019 Trade BW Logistic Extraction

    39/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 39

    IS-R (40) 000 Undefined / Revaluation at Retail

    IS-R (40) 001 Revaluation at Retail -

    IS-R (40) 002 Misc. issues / Revaluation at Retail

    IS-R (40) 011 Revaluation at Retail +

    IS-R (40) 012 Misc. receipts / Revaluation at Retail

    IS-R (40) 101 Markdown Cancellation

    IS-R (40) 111 Markup Cancellation

    IS-R (40) 201 Permanent Markdown RMA

    IS-R (40) 211 Markup RMA

  • 8/11/2019 Trade BW Logistic Extraction

    40/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 40

    General Information about usage of Business Content

    Logis tic Extract Structures

    Basic Structure

    Logistics Extract Structures are used for extracting movement data and have been created to replace thetransfer info structures that have been used in the past. Documents are either created, changed or deleted in

    the application (for example, Purchasing, Inventory Management). The new data is then prepared online incommunication structures separate per application which are then updated the Central Delta Managementvia the extract structures of the DataSource. The data transfer can be done in three different update modes,direct delta (data is written directly into the delta queue), queued delta (first the data is collected in a qRFCqueue before the data will be transferred with a scheduled process to the delta queue) or unserialized V3Posting (only used for application 03-Inventory Controlling). In transaction RSA7 the data can be used todisplay the data in the Delta queue. With the transaction RSA3 it is possible simulate a BW extractiondepending on parameters like update mode, Package size.

    A additional possibility is to load/reload a complete document history using the reconstruction functionality.For each application a separate report/transaction exists that can be used to fill so called setup tables. Thissetup tables are finally used to transfer the data to SAP BW if the uses chooses a full upload/request in the

    corresponding Info Package of the DataSource.Only one restructuring table exists for each extraction structure. It has the same name as the extractionstructure with SETUP as postfix, for example, extraction structure MC03BF0, restructuring tableMC03BF0SETUP.

    Customizing Cockpit

    With this Cockpit you can manage extract structures that are to be used to copy logistics movement-datafrom Online Transaction Processing into the SAP BW. Extract structures are filled in with information fromthe communication structures.

    The cockpit contains the following functions, which are listed in their execution sequence:

    1. Maintaining Extract Structures

    Each extract structure can be maintained from customer based on the delivered SAP version. The extractstructure is provided with information by the communication structure assigned to it. You can use only certainfields from the communication structure. SAP delivers extract structures that you can expand and change.Extract structures are generated automatically after they are created, which generates fields that were notthere before (including units and compound characteristics). The extract structure is modelled after thecommunication structure and created hierarchically. This step is unnecessary if users choose to introduceadditional fields.

    2. Maintaining DataSources

    You can use this function to call up general maintenance for DataSources for which you want to set whichfields can be selected or negated. For each field you can set values for Selection, Hide fields, Inversionand field only know in customer exits. This is step is unnecessary if no additional fields have been includedin an extraction structure.

    3. Activating the update

    If you activate this, data will be written into the extract structures from that point on, both online and by fillingin the restructure table (see below).

  • 8/11/2019 Trade BW Logistic Extraction

    41/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 41

    4. Update control

    For each application it can be configured how the data is updated from the application to the central deltamanagement. Three possible options are available: Queued Delta, Direct Delta or Unserialized V3Update.

    Figure 2: LO-Extraction: Customizing Cockpit (transaction LBWE)

    Log for Logistic Extract Structures (Tx LBWF)

    You can control transfers to BW using a log. A user-related log is defined for each application, if the userparameter MCL is set. The last posting procedure for each application is always recorded; existing logentries are overwritten.

    Recommendation

    The log is only for test purposes. You should deactivate it during productive operation.

    Overview about the Process of Reconstruction

    Initialization must be prepared in SAP ERP (OLTP). A setup/reconstructing run fills setup tables which thencan be read during initialization (Full upload). In order to make it possible to reset if the setup process iscancelled, its recommended to assign a name to each background processing run of the reconstructingprocess. If the reconstruction process cancelled or was interrupted by archiving documents, thereconstructing state is saved under this run name. If you then restart the process using the same name, thesystem continues processing from the intermediate status that was saved. Once the run is completedsuccessfully, the intermediate status is deleted. Statistical setup should be run in the background becausedepending on the selection criterias and depending on the amount of data the processes are very timeconsuming. You can find the corresponding setup program in SAP BW customizing transaction SBIW under:

  • 8/11/2019 Trade BW Logistic Extraction

    42/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 42

    Settings for Application-Specific DataSources (PI) + Logistics + Managing Transfer Information Structures +Setup of Statistical Data + Application-Specific Setup of Statistical Data. As mentioned before for eachsingle application a separate transaction exists which will update the corresponding setup table. You can findthe transactions at the end of this document.

    Figure 3: Statistical Setup extract st ructures

    Deletion of Setup Tables Content (Transaction LBWG):

    Since the data in the setup tables are no longer needed after initialization, you can delete the data. To be onthe safe side, you can also do this before the setup to ensure that data that has not already been setup isavailable.

    Deleting tables is carried out for all clients, for performance reasons (the tables will be dropped and thenrecreated! )

    Data Initialization in BW

    Master Data

  • 8/11/2019 Trade BW Logistic Extraction

    43/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 43

    It is recommended that master data is loaded first from the source system during initial supply of a SAPBW System, before the first transaction data is loaded. This approach increases performance during initialloading of transaction data.

    Within the master data, the attributes and hierarchies should be loaded first, followed by the texts.

    This sequence is merely a recommendation for supplying BW with data from the source systems initially, andis not binding. It is also difficult to adhere to this sequence in the productive system.

    Transaction Data (Without Stocks)

    Differentiating between full and delta uploads is particularly important when transferring transaction data.

    Performing a full upload is only useful for supplying a BW system initially or for statistical setup. Once theBW System has been supplied with initial data, delta uploading should be used to transfer any new orchanged data to the BW System.

    Stocks Initialization to SAP BW

    Various Scenarios

    Three basic scenariosto suit different customer requirements are described in detail here:

    Scenario 1:

    Your SAP ERP system went live periods ago and you want to use the SAP BW to report on some but not onthe complete set of historical data. For example your SAP ERP system contains about 2 years of historicalstock informations but as a starting point for reporting its enough to start with the last three historicalmonths.

    For this scenario it is necessary to use all the available inventory movement DataSources 2LIS_03_BX,2LIS_03_BF, 2LIS_03_UM and 2LIS_40_REVAL.

    1. Log the ERP system for any activity

    2. Empty all queues for the application 03 and 40

    Therefore you have to run the collection run to empty the outbound queue for the applications inventorycontrolling (03) and retailing (40) in transaction LBWE.

  • 8/11/2019 Trade BW Logistic Extraction

    44/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 44

    Figure 5: Logistic Extraction Cockpit

    After the step all entries in the qRFC queue should be gone. You can double-check the success usingtransaction LBWQ.

    Figure 6: qRFC Monitor

    3. Delete all data in Delta Queue

    Therefore you have two possible ways. First possibility is to start transaction RSA7 in SAP ERP anddelete existing entries for DataSources 2LIS_03_BF, 2LIS_03_UM and 2LIS_40_REVAL.

    Figure 7 Delta Queue

    The second alternative would be to go to the corresponding InfoPackage of each DataSource anddelete the existing Delta Init as shown in the screenshot.

  • 8/11/2019 Trade BW Logistic Extraction

    45/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 45

    Figure 8 InfoPackage Deletion of the Delta Init

    4. Clean Up the setup tables for application 03 and 40

    To do that you have to execute transaction LBWG for application 03 and 40 to make sure that no

    data is in the setup tables before you run the reconstruction.

    Figure 9 Deletion of Setup tables per Appl ication

    5. Start the stock initialization process using DataSource 2LIS_03_BX and transaction MCNB

    This process will now create a current stock snapshot as it is right now in the system. That meansthe current stock information on the level of article, plant and storage location is stored in thecorresponding setup table. The transaction is very time consuming, therefore it is absolutelynecessary to strictly follow the performance hints mentioned in chapter of DataSource 2LIS_03_BX.

    Figure 10 - Reconstruction for DataSource 2LIS_03_BX

    6. Reschedule the jobs for filling the central delta management out of the qRFC and execute a DeltaInit without data transfer for DataSources 2LIS_03_BF, 2LIS_03_UM and 2LIS_40_REVAL.

  • 8/11/2019 Trade BW Logistic Extraction

    46/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 46

    Figure 11 LBWE Job Schedule

    At the end of this process the system is ready to handle new created transactions in a normal way asbefore. You can validate the process using the transaction RSA7. For each of the DataSources aseparate green entry must exist.

    Figure 12 BW Delta Queue

    7. Unlog the user in SAP ERP

    After finishing the step 5 it would be possible to unlog the users in the system. Important is that thefollow processes require most of the system resources looking at CP and also memory. Therefore forresponse time for the unloged users will be slower than normal. Its recommended to keep the usersout of the system as long as possible.

    8. Upload the initial stock information to SAP BW

    Now the initial stock information based on DataSources 2LIS_03_BX must be uploaded to SAP BW.In the Info Package you have to set the flag Generate Initial Status.

    Figure 13 InfoPackage Upload the initial stock

  • 8/11/2019 Trade BW Logistic Extraction

    47/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 47

    Finally when the data is correctly transferred to the cube, please compress the request with markerupdate to determine and set the correct ending inventory. In the following screen the importantsetting is highlighted.

    Figure 14 Compression w ithout marker Update

    9. Execute the reconstruction of the history for documents for the past x months.

    To fill the setup tables for DataSources 2LIS_03_BF, 2LIS_03_UM and 2LIS_40_REVAL withhistorical data its necessary to schedule the specific reconstruction transactions.

    DataSource Reconstruction Transaction

    2LIS_03_BF OLI1BW

    2LIS_03_UM OLIZBW

    2LIS_40_REVAL ORISBW

    10. Full Upload of the historical stock information to SAP BW

    For each DataSources the historical informations are transferred in a FULL Update InfoPackage toSAP BW. After scheduling the uploaded to the DataTarget using a DTP the data must be finallycompressed without marker update. That means the historical data will not influence the currentending inventory that was loaded with DataSource 2LIS_03_BX.

    Figure 15 Compression with marker Update

    11. Reschedule the Delta Uploads for the Inventory Movements

  • 8/11/2019 Trade BW Logistic Extraction

    48/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 48

    Finally you can reschedule the daily delta upload for the DataSources 2LIS_03_BF, 2LIS_03_UMand 2LIS_40_REVAL. Important is that these new data must be again updated with marker update.

    Scenario 2:

    All the material movements since the source system went live are to be transferred to the BW System.The opening stock of the previous legacy system is posted to the R/3 System in the form of a materialdocument when the transfer of legacy data is posted. This allows the current stock to be calculated using thesum of all the existing material documents (sum of all receipts and issues).

    Only the material movements and revaluations must be loaded to the BW System using the InfoSources2LIS_03_BF, 2LIS_03_UM and 2LIS_40_REVAL. The current stock is then calculated automatically byadding all the receipts and issues. An additional stock initialization is not necessary. Important here is thatthe complete history has to be compressed with marker update in the SAP BW otherwise the marker wouldnot get the correct ending inventory value.

    This scenario should only be selected if the date on which the R/3 System went live is no t too far inthe past, so that the system does not have to deal with an excessively large data volume.

    It is also important when the BW System goes live to decide how far back into the past you want to lookand to select the time period to be analyzed carefully.

    It would, of course, make little sense to perform setup of transaction data from the material documents for sixmonths ago and transfer the data to BW, if only the stocks from 2 months before the BW System went liveare to be analyzed. You should always check how many material documents were created in a particularperiod.

    Scenario 3:

    Execute a stock initialization without uploaded any historical stock

    Scenario 3 deals with the simplest situation. You dont want to use SAP BW to analyze historical stockvalues that existed before the SAP BW System went live. Once the stock has been initialized (that is, oncethe current stock from a source system has been transferred), all future material movements are to betransferred.

    For the scenario 3 you have to follow the same steps as described in scenario 1 excluding steps 9 and 10.

    SAP BW General Remarks for Retail

    As Retail customers deal with very large volumes of data, which, logically, affect the way data is stored,administrated and evaluated, it is important to note the following points:

  • 8/11/2019 Trade BW Logistic Extraction

    49/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 49

    The supplied Content, and particularly the InfoCube design, is intended only as an example, along the linesof a Best Practice Scenario. It is important to ensure that the selected data design enables the informationrequired to be modeled realistically within the technical framework available.

    It is important to select a data design takes into account the requirements of both the user and of thesystem administrator. Thus, for example, all the stores of a particular distribution chain should be storedin one InfoCube, and those belonging to another distribution chain should be stored in another. In POS(storage at store/receipt number/article level), it is even recommended that a separate InfoCube is usedfor each store. The data should be combined using MultiProvider technique.

    Very large retailers should consider using several SAP BW Systems (one for each distribution chain, forexample) and combining the data at an aggregated level (enterprise/quarter) in a central BW System.This is ideally supported by the fact that every InfoCube is, by definition, an InfoSource for either its ownor a different SAP BW System.

  • 8/11/2019 Trade BW Logistic Extraction

    50/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 50

  • 8/11/2019 Trade BW Logistic Extraction

    51/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 51

    Tables, Transactions

    Process/transaction key:

    - Activating and choosing industry MCB_

    - Overview and maintenance MVB0

    Extract structures:

    DataSource Extract structure Setup table Setup Transaction

    2LIS_02_HDR MC02M_0HDR MC02M_0HDRSETUP OLI3BW

    2LIS_02_ITM MC02M_0ITM MC02M_0ITMSETUP OLI3BW

    2LIS_02_SCL MC02M_0SCL MC02M_0SCLSETUP OLI3BW

    2LIS_03_BF MC03BF0 MC03BF0SETUP OLI1BW

    2LIS_03_BX MC03BX0 MC03BX0SETUP MCNB

    2LIS_03_UM MC03UM0 MC03UMSETUP OLIZBW

    2LIS_40_REVAL MC40RP0REV MC40RP0REVSETUP ORISBW

    2LIS_11_VAHDR MC11VA0HDR MC11VA0HDRSETUP OLI7BW

    2LIS_11_VAITM MC11VA0ITM MC11VA0ITMSETUP OLI7BW

    2LIS_11_VASCL MC11VA0SCL MC11VA0SCLSETUP OLI7BW

    2LIS_11_V_ITM MC11V_0ITM MC11V_0ITMSETUP OLI7BW

    2LIS_11_V_SCL MC11V_0SCL MC11V_0SCLSETUP OLI7BW

    2LIS_12_VCHDR MC12VC0HDR MC12VC0HDRSETUP OLI8BW

    2LIS_12_VCITM MC12VC0ITM MC12VC0ITMSETUP OLI8BW

    2LIS_12_VCSCL MC12VC0SCL MC12VC0SCLSETUP OLI8BW

    2LIS_13_VDHDR MC13VD0HDR MC13VD0HDRSETUP OLI9BW

    2LIS_13_VDITM MC13VD0ITM MC13VD0ITMSETUP OLI9BW

    Task Transaction

    Customizing-Cockpit LBWE

  • 8/11/2019 Trade BW Logistic Extraction

    52/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 52

    Deleting setup Tables LBWG

    Extract structures log LBWF

    Delta-Queue RSA7

    Activating/Deactivating LIS Update MCH_

    Extractor Checker RSA3

    Important tables Meaning

    TMCEXCFZ Extract structures, Fields Customer

    TMCEXCFS Extract structures, Fields SAP

    TMCEXACT Extract structures, Activating update DataSources

    TMCEXEVE Extract structures, Events

  • 8/11/2019 Trade BW Logistic Extraction

    53/54

    Trade BW Logistic Extraction

    SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX -bpx.sap.com | BOC - boc.sap.com

    2008 SAP AG 53

    Related Content

    Please include at least three references to SDN documents or web pages. 52

    www.sdn.sap.com/irj/sdn/howtoguides

    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328Reference 2

    http://www.sdn.sap.com/irj/sdn/howtoguideshttps://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-http://www.sdn.sap.com/irj/sdn/howtoguides
  • 8/11/2019 Trade BW Logistic Extraction

    54/54

    Trade BW Logistic Extraction

    Copyright

    2008 SAP AG. Al l 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, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

    IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries,zSeries, System i, System i5, System p, System p5, System x, System z, System z9, z/OS, AFP, Intelligent Miner, WebSphere,Netfinity, Tivoli, Informix, i5/OS, POW ER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks ofIBM Corporation.

    Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe SystemsIncorporated 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 ofCitrix Systems, Inc.

    HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, MassachusettsInstitute 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 byNetscape.

    MaxDB is a trademark of MySQL AB, Sweden.

    SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as theirrespective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. Allother product and service names mentioned are the trademarks of their respective companies. Data contained in this document servesinformational 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 ("SAPGroup") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors oromissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in theexpress warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting anadditional warranty.

    These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied

    warranties of merchantability, fitness for a particular purpose, or non-infringement.SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequenti


Recommended