Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8524

Re: How to implement "Pseudo Delta" For DB Connect DataSource...

$
0
0

Hello Karthik,

 

Thank you so much for your prompt reply. In your suggested link, I have found the "ABAP Code" but its for new and changed records and since I do not have changed records.

 

1. Do I need to implement the following code only ?

 

 

DATA: l_idx LIKE sy-tabix.

 

READ TABLE l_t_range WITH KEY

fieldname = 'ERDAT'.    // My billing date field tech name: WDATE

l_idx = sy-tabix.

Data: w_date type sy-datum.

w_date = sy-datum - 2.

 

l_t_range-low = w_date.

l_t_range-high = sy-datum.

l_t_range-sign = 'I'.

l_t_range-option = 'BT'.

MODIFY l_t_range INDEX l_idx.

 

p_subrc = 0.

 

2. What is the "Safety Margin" of two days?

 

3. Do I need to replace only 'ERDAT' with my billing date field 'WDATE' and rest of the code is okay?

 

4. I need to load delta or new records on daily basis and is this code fulfilling my requirements?

 

5. I do not have any clue about "ABAP" and where to code and paste this code in the "Routine"?

 

6. What this note on link all about:

Note: In case of DB Loads or loads from Oracle, necessary time-stamp fields can be considered for building the pseudo delta on.

 

Many thanks!

 

Tariq Ashraf


Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>