sapnote_0000581778_2lis_03_bf_DSO_building

Preview:

Citation preview

12.01.2011 Page 1 of 4

SAP Note 581778 - ODS capability of extractors frominventory management

Note Language: English Version: 7 Validity: Valid Since 24.08.2009

Summary

SymptomIndividual fields within a row are not updated into the ODS when you loadcertain data records of the 2LIS_03_BF extractor. All the characteristicsthat are not keys in the target DataStore and the were updated via 'MOVE'are affected.

Other termsODS, 2LIS_03_BF, 2LIS_03_UM, 2LIS_03_BX, 2LIS_40_S278, 0STORNO, ROCANCEL,RODMUPDMOD, 0RECORDMODE, inventory management, 0IC_C03,application 03, logistics extraction cockpit, LBIW

Reason and PrerequisitesThe extractor 2LIS_03_BF does not return any "connected" after and beforeimages, as in the SD extraction, for example.

Originally, the extractor was only designed for updating into an InfoCube.The extraction method was converted from the "D" delta process to "ABR1"with PI 2000.1 patch 4, or PI-A 2000.1 patch 4 so that it could be updatedinto an ODS object (see Notes 322303, 385703, and 323811).

If documents are canceled in inventory management, a new document isgenerated (new document and item number).This type of operation is transferred into BW with the field "ROCANCEL" setto 'X'. This results in the necessary inversion of quantities or value keyfigures. A new record is generated for this in the ODS (the "precedingdocument" has a different key).

For example:

ODS key: Doc. No. | Item No. | Doc. Year

Movement data:

Document Item Document year Movement type Qty ROCANCEL4711 1 2002 101 +1004712 1 2002 102 -100 X

ODS Item.Document Item Document year Movement type Quantity4711 1 2002 101 +1004712 1 2002 -100

The "Movement type" field was set to "initial" in the data record fordocument "4712" by the processing during the ODS update.

Document 4712 is a before image (0RECORDMODE = 'X') for the ODS. Beforeimages set all characteristics and key figures with the "overwrite"attribute to initial because the after image is expected to have therelevant values afterwards. Therefore, this data does not arrive in theODS. Nevertheless, the before image (document 4712) does not have anyconnection with the after image (document 4711) because there are differentkeys (document/item/document year). The SAP R/3 inventory managementcontrols these activities with new material documents and (reversal)

12.01.2011 Page 2 of 4

SAP Note 581778 - ODS capability of extractors frominventory management

movement types.

BW technology Note 747037 provides more information.

SolutionYou have two options to evaluate cancellations or operations which containreversal movement types and ROCANCEL = "X" in the ODS:

1. In the technical rule group of a transformation, assign the initialvalue ' ' via a rule of the 'constant' type for the target InfoObject'ORECORDMODE'.

2. Implement a start routine (update rule)

Insert the following code into the start routine of your update:

ODS key: Material doc.|Item number|Calendar year

*BEGIN*******************************LOOP AT DATA_PACKAGE. if DATA_PACKAGE-recordmode eq 'X'. DATA_PACKAGE-recordmode = ''. modify DATA_PACKAGE. endif.endloop.*END*********************************

3. Change the transfer rules

With the transfer rules, do not assign the DataSource field "ROCANCEL" tothe InfoObject "0RECORDMODE" in the InfoSource. As a result, only recordswith "0RECORDMODE" = ' ' are transferred to the ODS. For the ODS, the afterimages whose characteristics or key figures that are set to overwrite arenot deleted.

Other special features when updating the inventory management extractorsinto ODS objects:

1. 2LIS_03_BF and 2LIS_03_UM

a) ODS capability

For more information, see Notes 322303, 323811 and 385703.

b) Key creation

For 2LIS_03_BF, see Note 417703.The following keys are available for 2LIS_03_UM:1. MCMSEG-BUKRS2. MCMSEG-BELNR3. MCMSEG-GJAHR4. MCMSEG-BUZEIField number 4 is not delivered by default in the extraction structure, butit can be added using the logistics extraction structures of theCustomizing Cockpit.Field number 1 may not be included in the relevant organizationalstructure.

12.01.2011 Page 3 of 4

SAP Note 581778 - ODS capability of extractors frominventory management

2. 2LIS_03_BX (up to and including 3.0B 2LIS_40_S278)

The dynamic stock calculation from stocks (2LIS_03_BX) and movements(2LIS_03_BF) is only possible with (non-cumulative) InfoCubes.Using ODS technology is only useful in this context for:

- an Enterprise DataWarehouse layer

- the realization of a snapshot scenario:See the How to paper for this topic at:-> http://service.sap.com/bi-> Left navigation area: BI InfoIndex-> in the info index: N ("Non-cumulatives") ->"How to... Handle inventory management scenarios in SAP BW 3.x" (pdf)

Use Note 773823 to update the InfoSource 2LIS_03_BX into an ODS.Also bear in mind that you cannot enter any key figures into an ODS object(see Notes 752492 and 782314).

Header Data

Release Status: Released for CustomerReleased on: 24.08.2009 11:45:15Master Language: GermanPriority: Recommendations/additional infoCategory: ConsultingPrimary Component: BW-BCT-MM-IM Inventory Management

Valid Releases

Software Component Release FromRelease

ToRelease

andSubsequent

SAP_BW 20 20B 20B X

SAP_BW 70 700 702 X

SAP_BW 71 710 720

BI_CONT 703 703 703 X

BI_CONT 704 704 704 X

PI 2001.2 2001_2_31I

2001_2_46C

X

Related Notes

Number Short Text

929378 2LIS_03_BF, 2LIS_03_BX, 2LIS_03_UM and BI 2004s

782314 Problem with Non Cumulative Keyfigures in ODS for reporting

773823 P25:ODS objects cannot be loaded with opening stock

752492 Non cumulative keyfigures are incorrectly allowed in ODS

747037 Update of before images in ODS objects

670901 Missing data fields during update in ODS object

12.01.2011 Page 4 of 4

SAP Note 581778 - ODS capability of extractors frominventory management

Number Short Text

417703 Missing/duplicate record during extraction with 2LIS_03_BF

385703 2LIS_03_BF,2LIS_03_UM,2LIS_40_REVAL Incorrect Delta Process

323811 DataSource ... must not be updated into ODS object

322303 ODS ability of DataSources for MM-IC and Retail