SlideShare a Scribd company logo
4
Most read
5
Most read
7
Most read
How to…
                                                        Create Generic Delta

                                                                   B USINESS I NFORMATION W AREHOUSE




                                         Applicable Releases: SAPI Release 3.0B
                                         August 2002


SAP (SAP America, Inc. and SAP AG) assumes no responsibility for errors or omissions in these materials.
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 consequential damages
that may result from the use of these materials.
SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within
these materials. SAP has no control over the information that you may access through the use of hot links contained in these
materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third
party web pages.
mySA P BI “How -To” papers are intended to simplify the product implementation. While specific product features and
procedures typically are explained in a practical business context, it is not implied that those features and procedures are
the only approach in solving a specific business problem using mySAP BI. Should you wish to receive additional information,
clarification or support, please refer to SAP Professional Services (Consulting/Remote Consulting
HOW TO … CREATE GENERIC DELTA




1 Business Scenario
You want to extract data from Z tables or table that does not have any standard extractors .
This document is written with BW 3.0B and Plug-in 2002.1. It was also tested with BW 2.1C
SP15 & PI 2002.1_46C Support Package 1.


2 The Step By Step Solution
The new generic delta service supports delta extractors on monotonic ‘delta attributes‘ like
Timestamp, Calendar day, Numeric pointer (e.g. document number, counter) – must be
strictly monotonic increasing with time. Only one attribute can be defined as the delta
attribute.


 1. Under Transaction SBIW - This
    step gives you the option of
    creating and maintaining generic
    Data Sources for transaction data,
    master data attributes or texts from
    any kind of transparent tables,
    database views or SAP query
    functional areas or via a function
    module, regardless of application.
    This enables you to use the
    generic extraction of data.




 Please Note: The following example is only used to illustrate how to use the generic delta. For
 extracting data from the VBAK table, the Logistics Extraction Cockpit is the recommended method.




©2002 SAP AMERICA , I NC. AND SAP AG                                                                1
HOW TO … CREATE GENERIC DELTA


 2. Create a Generic Data Source
        a). Select the Data Source type
        and assign a technical name to
        it.
        b). Choose Create
        The screen for creating a
        generic Data Source appears.




 3. a) Choose an application
    Component to which the data
    source is to be assigned.
    b) Enter the descriptive texts. You
    can choose these freely.
    c) Choose Generic Delta.




©2002 SAP AMERICA , I NC. AND SAP AG      2
HOW TO … CREATE GENERIC DELTA


 4. Specify the delta-specific field and
 the type for this field. Maintain the
 settings for the generic delta:
 Specify a safety interval.
 NOTE: Safety interval should be set so
 that no document is missed – even if it
 was not stored in the DB table when
 the extraction took place. (More Tips at
 the end of this document)




 4. Select Delta type:
 New status for changed records (I.e.
 after-image); This can be used with
 Data target ODS (AIE).

 Additive Delta (I.e. aggregated data
 records) (ADD)
 Then choose Save.




©2002 SAP AMERICA , I NC. AND SAP AG        3
HOW TO … CREATE GENERIC DELTA




 6. After step 4, the screen of step 3
 comes back. Now choose Save again.
 This will generate the data source.

 After generating the data source, you
 will see the Delta Update flag
 selected.
 In systems as of basis release 4.0B,
 you can display the current value for
 the delta-relevant field in the delta
 queue.




 7. Choose Save again.




©2002 SAP AMERICA , I NC. AND SAP AG     4
HOW TO … CREATE GENERIC DELTA




 8. Delta Attributes can be monitored in
 delta queue (RSA7). Also note LUW
 count does not equal to the changes
 records in the source table. Most of the
 time it will be ZERO. Delta is enabled
 by data selection logic
 LUW count can also have value 1.
 Whenever delta is extracted, the
 extracted data is stored in the delta
 queue tables to serve as a fallback,       Click
 when an error occurs during the
 update of the BW system. You will
 see a '1' in this field (the extract
 counts as one LUW) and are even
 able to be displayed in a detail screen.




©2002 SAP AMERICA , I NC. AND SAP AG                5
HOW TO … CREATE GENERIC DELTA




 Example for Determining Selection Intervals with a Generic Delta:
    1. For every delta extraction, there is a selection criteria generated: ?last extraction status
       (RSA7)” < x <= Today.
    2. Offsets for upper and lower delimiter are subtracted from the respective sides
    3. Example 1 shows the normal behavior (both offsets = 0), example 2 shows both safety
       intervals (offset for lower delimiter = 2, offset for upper delimiter = 1)

    4. Offset for lower delimiter can only be defined for delta method “new status for changed
       records


 Example 1 (both offsets = 0):

                                                                    already extracted
                                                                    to be extracted in the next run
                              last extraction   today


 Example 2 (offset = 2 resp. offset = 1):




 Tips:
    1. If delta field is Date (Record Create Date or change date), then use Upper Limit of 1 day.
       This will load Delta in BW as of yesterday. Leave Lower limit blank.
    2. If delta field is Time Stamp, then use Upper Limit of equal to 1800 Seconds (30 minutes).
       This will load Delta in BW as of 30 minutes old. Leave Lower limit blank.
    3. If delta field is a Numeric Pointer i.e. generated record # like in GLPCA table, then use
       Lower Limit. Use count 10-100. Leave upper limit blank. If value 10 is used then last 10
       records will be loaded again. If a record is created when load was running, those records
       may get lost. To prevent this situation, lower limit can be used to backup the starting
       sequence number. This may result in some records being processed more than once;
       therefore, be sure this DataSources is only feeding an ODS Object




©2002 SAP AMERICA , I NC. AND SAP AG                                                                  6

More Related Content

PDF
How to run v3 job
PDF
Sap bw lo extraction
PDF
Lo extraction part 7 enhancements
PDF
Customer exit variables in sap
PDF
Enhancing data sources with badi in SAP ABAP
PDF
Lo extraction part 3 extractor logic
PDF
Using error stack and error dt ps in sap bi 7.0
PDF
How to use abap cds for data provisioning in bw
How to run v3 job
Sap bw lo extraction
Lo extraction part 7 enhancements
Customer exit variables in sap
Enhancing data sources with badi in SAP ABAP
Lo extraction part 3 extractor logic
Using error stack and error dt ps in sap bi 7.0
How to use abap cds for data provisioning in bw

What's hot (20)

PDF
BW Adjusting settings and monitoring data loads
PDF
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
PDF
Line item dimension and high cardinality dimension
PPTX
PDF
Lo extraction part 2 database update logic
PDF
Business partner-2
 
PDF
Sap bw 4 hana vs sap bw on hana
PDF
Lo extraction part 4 update methods
PDF
Sap manual bank statement process flow
PDF
Variables in sap bi
PDF
Errors in process chains
PDF
Bw writing routines in update rules
PPT
Step by step lsmw tutorial
PDF
Create Kpi fiori apps
PDF
S4F01_EN_Col17 Financial Accounting in SAP S4HANA for SAP ERP FI Professional...
DOC
Functional specification doc Gst purcahse register
PPTX
SAP BADI Implementation Learning for Functional Consultant
PDF
Rda step by step
PDF
Introducing enhancement framework.doc
PDF
How to write a routine for 0 calday in infopackage selection
BW Adjusting settings and monitoring data loads
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Line item dimension and high cardinality dimension
Lo extraction part 2 database update logic
Business partner-2
 
Sap bw 4 hana vs sap bw on hana
Lo extraction part 4 update methods
Sap manual bank statement process flow
Variables in sap bi
Errors in process chains
Bw writing routines in update rules
Step by step lsmw tutorial
Create Kpi fiori apps
S4F01_EN_Col17 Financial Accounting in SAP S4HANA for SAP ERP FI Professional...
Functional specification doc Gst purcahse register
SAP BADI Implementation Learning for Functional Consultant
Rda step by step
Introducing enhancement framework.doc
How to write a routine for 0 calday in infopackage selection
Ad

Similar to How to create generic delta (9)

PPT
Create generic delta
PDF
Orecord mode dso
PDF
How to Create Delta Extraction Based ABAP CDS View... - SAP Community.pdf
PDF
SAP HANA SPS10- Backup/Recovery
PDF
Day 6.3 extraction_business_content_and_generic
PDF
Fm extraction
PDF
reading_sample_sap_press_operational_data_provisioning_with_sap_bw4hana (1).pdf
PPT
SAP BI Training in Chennai
PPT
Extractors sapr3
Create generic delta
Orecord mode dso
How to Create Delta Extraction Based ABAP CDS View... - SAP Community.pdf
SAP HANA SPS10- Backup/Recovery
Day 6.3 extraction_business_content_and_generic
Fm extraction
reading_sample_sap_press_operational_data_provisioning_with_sap_bw4hana (1).pdf
SAP BI Training in Chennai
Extractors sapr3
Ad

Recently uploaded (20)

PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Cell Structure & Organelles in detailed.
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Business Ethics Teaching Materials for college
PPTX
Pharma ospi slides which help in ospi learning
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPH.pptx obstetrics and gynecology in nursing
Cell Structure & Organelles in detailed.
2.FourierTransform-ShortQuestionswithAnswers.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Final Presentation General Medicine 03-08-2024.pptx
Business Ethics Teaching Materials for college
Pharma ospi slides which help in ospi learning
TR - Agricultural Crops Production NC III.pdf
Week 4 Term 3 Study Techniques revisited.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial disease of the cardiovascular and lymphatic systems
VCE English Exam - Section C Student Revision Booklet
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
O5-L3 Freight Transport Ops (International) V1.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Cell Types and Its function , kingdom of life
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

How to create generic delta

  • 1. How to… Create Generic Delta B USINESS I NFORMATION W AREHOUSE Applicable Releases: SAPI Release 3.0B August 2002 SAP (SAP America, Inc. and SAP AG) assumes no responsibility for errors or omissions in these materials. 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 consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. mySA P BI “How -To” papers are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using mySAP BI. Should you wish to receive additional information, clarification or support, please refer to SAP Professional Services (Consulting/Remote Consulting
  • 2. HOW TO … CREATE GENERIC DELTA 1 Business Scenario You want to extract data from Z tables or table that does not have any standard extractors . This document is written with BW 3.0B and Plug-in 2002.1. It was also tested with BW 2.1C SP15 & PI 2002.1_46C Support Package 1. 2 The Step By Step Solution The new generic delta service supports delta extractors on monotonic ‘delta attributes‘ like Timestamp, Calendar day, Numeric pointer (e.g. document number, counter) – must be strictly monotonic increasing with time. Only one attribute can be defined as the delta attribute. 1. Under Transaction SBIW - This step gives you the option of creating and maintaining generic Data Sources for transaction data, master data attributes or texts from any kind of transparent tables, database views or SAP query functional areas or via a function module, regardless of application. This enables you to use the generic extraction of data. Please Note: The following example is only used to illustrate how to use the generic delta. For extracting data from the VBAK table, the Logistics Extraction Cockpit is the recommended method. ©2002 SAP AMERICA , I NC. AND SAP AG 1
  • 3. HOW TO … CREATE GENERIC DELTA 2. Create a Generic Data Source a). Select the Data Source type and assign a technical name to it. b). Choose Create The screen for creating a generic Data Source appears. 3. a) Choose an application Component to which the data source is to be assigned. b) Enter the descriptive texts. You can choose these freely. c) Choose Generic Delta. ©2002 SAP AMERICA , I NC. AND SAP AG 2
  • 4. HOW TO … CREATE GENERIC DELTA 4. Specify the delta-specific field and the type for this field. Maintain the settings for the generic delta: Specify a safety interval. NOTE: Safety interval should be set so that no document is missed – even if it was not stored in the DB table when the extraction took place. (More Tips at the end of this document) 4. Select Delta type: New status for changed records (I.e. after-image); This can be used with Data target ODS (AIE). Additive Delta (I.e. aggregated data records) (ADD) Then choose Save. ©2002 SAP AMERICA , I NC. AND SAP AG 3
  • 5. HOW TO … CREATE GENERIC DELTA 6. After step 4, the screen of step 3 comes back. Now choose Save again. This will generate the data source. After generating the data source, you will see the Delta Update flag selected. In systems as of basis release 4.0B, you can display the current value for the delta-relevant field in the delta queue. 7. Choose Save again. ©2002 SAP AMERICA , I NC. AND SAP AG 4
  • 6. HOW TO … CREATE GENERIC DELTA 8. Delta Attributes can be monitored in delta queue (RSA7). Also note LUW count does not equal to the changes records in the source table. Most of the time it will be ZERO. Delta is enabled by data selection logic LUW count can also have value 1. Whenever delta is extracted, the extracted data is stored in the delta queue tables to serve as a fallback, Click when an error occurs during the update of the BW system. You will see a '1' in this field (the extract counts as one LUW) and are even able to be displayed in a detail screen. ©2002 SAP AMERICA , I NC. AND SAP AG 5
  • 7. HOW TO … CREATE GENERIC DELTA Example for Determining Selection Intervals with a Generic Delta: 1. For every delta extraction, there is a selection criteria generated: ?last extraction status (RSA7)” < x <= Today. 2. Offsets for upper and lower delimiter are subtracted from the respective sides 3. Example 1 shows the normal behavior (both offsets = 0), example 2 shows both safety intervals (offset for lower delimiter = 2, offset for upper delimiter = 1) 4. Offset for lower delimiter can only be defined for delta method “new status for changed records Example 1 (both offsets = 0): already extracted to be extracted in the next run last extraction today Example 2 (offset = 2 resp. offset = 1): Tips: 1. If delta field is Date (Record Create Date or change date), then use Upper Limit of 1 day. This will load Delta in BW as of yesterday. Leave Lower limit blank. 2. If delta field is Time Stamp, then use Upper Limit of equal to 1800 Seconds (30 minutes). This will load Delta in BW as of 30 minutes old. Leave Lower limit blank. 3. If delta field is a Numeric Pointer i.e. generated record # like in GLPCA table, then use Lower Limit. Use count 10-100. Leave upper limit blank. If value 10 is used then last 10 records will be loaded again. If a record is created when load was running, those records may get lost. To prevent this situation, lower limit can be used to backup the starting sequence number. This may result in some records being processed more than once; therefore, be sure this DataSources is only feeding an ODS Object ©2002 SAP AMERICA , I NC. AND SAP AG 6