Generic Delta




We have seen Extraction from Table, View , Infoset , and Fucntional module...

But the data sources created using all these wont have delta capability...




To get delta capability for this datasources we use generic delta











This is how delta mechanism work with calendar day... we must have a date field in source table...

we have an Upper time interval and Lower time interval.

we are doing our first data load on  2.01.2011

now upper time interval becomes 2.01.2011... and lower time interval is blank...

data will be loaded from source to target till 2.01.2011,

so SO1 and SO2 reaches target...



some new data is availabe in ECC tables... and we are doing a load on 4.01.2011

now value in upper time interval moves to lower time interval and date on which data loading is happening becomes the new upper time interval... so data records between the lower and upper time interval is only pulled to target... 

So,  SO3 and SO4 reaches Target...

This is how delta is handled using Calendar day..



Draw back..

Consider this scenario,



We have 2 postings on same day one at 10.00 AM and other at 5.00PM..

Now consider our first data load is happening at 12.00 AM on 2.01.2011...

On first load we will get SO1 and SO2...

Now second load is happening on 4.01.2011, our lower time interval will be set to 2.01.2011 and upper limit will be set to 4.01.2011

In this case we will loose our 1 record, ie, SO3

to avoid this we use safety interval upper limit and safety interval lower limit...





In this we ignore one day for a safety interval...

first load happens on 2.01.2011, upper limit set to 1.01.2011 and lower limit blank

when we load data to target 1 day is ignored .. so only SO1 reaches target...

second load happens on 4.1.2011, upper limit is set to 3.01.2011 and lower limit is set to 1.01.2011




Only disadvantage in this method is we will have a data latency of 1 day..

To overcome this data latency we can use Time stamp delta method..




The procedure is same as of Calendar day... only difference is we use TIME instead of DATE in upper limit and lower limit... 



If data is being loaded to DSO or Master data(Infoobject) then choose "new Status for changed Records"

If data loaded to Infocube, then choose "Additive Delta"


now we can see that our datasource have delta capability....





Comments

  1. Hats off to you sir. Clear and crisp explanation. I see this across your documents.

    ReplyDelete
    Replies
    1. Thank you Aslam for maintaining such a wonderful blog. I've seen so many blogs for BW. But the one you are maintaining is UNIQUE. Hatsoff for your explanation which brings clarity about the topics. Hope you would be posting more such Articles focussing more on Interviews and also, we are expecting more on BI-ABAP.

      Delete
  2. Hello Sir, this is sekhar again. Would request you to add few points on "NUMERIC POINTER" option under Delta Specific Field tab, but in your signature style :-)

    ReplyDelete
    Replies
    1. NUMERIC POINTER also works on the same concept of calday and time stamp...
      Numeric Pointer will be pointing to any unique field ..
      we normally dont use NUMERIC POINTER.. as it cannot record changes in the same record..
      Used only in HR datasources

      Delete
  3. Very nice explanation, thanks for sharing.... Naresh Anakamatla (SAP BI Consultant)

    ReplyDelete
    Replies
    1. Hi Mahmaed Thanks for giving Day Wise Delta Loading, Please Can u explain me clearly on Time stamp....How to give in lower limit...

      Delete
  4. Cannot thank you enough for posting these...I came across this website today and I think there is no better explanation about concepts then how you are presenting it.!!!!

    ReplyDelete
  5. Hi aslam nice document can you plz post the FI Delta scenario

    ReplyDelete
  6. Hi Aslam, Blog is very informative and detailed explained. I would like to ask you a Query here..
    When we are creating a Generic DataSource through Infoset Query and wanted to enable Delta.. We don't have an option of Numeric Pointer here could you please explain that once and also we don't have Extract Structure in in case of Infoset...

    ReplyDelete
  7. very useful information thanks for sharing thank you

    ReplyDelete
  8. what is "DELTA" meaning in SAP BI , as we are using it manywhere , like Delta update, Delta Transfer,Delta Load,
    Please Help urgent clarification required.

    ReplyDelete
    Replies
    1. Delta load means .. new records after the last successful data load..

      Delete
    2. It is very help ful for BI Freshers.
      Thanks a lot.

      Delete
  9. hello sir,
    I cant able to select SD as application component (i couldnt find any option in the data source
    help please!!
    regards,
    kumar

    ReplyDelete
  10. Hi Aslam,

    The blog is too good man... Kudos...!!! Seems to be a single stop for most of the concepts. Thanks a lot dude. Its not that easy to maintain all these information in a such a detail way.... Wish you the best future....!!!!

    Regards,
    Raj

    ReplyDelete
  11. this site is exceptionally good.for any newbie can say "Eureka"

    ReplyDelete
  12. If I am not wrong. I guess the time 12:00 am should be 12:00 pm

    ReplyDelete
  13. really good blog thank you bro

    ReplyDelete

Post a Comment