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

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

$
0
0

Hi

 

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

 

yes

 

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

 

Safety Margin of two days is given in the code part

 

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'.

 

which means based on system date, they are calculating -2, so that two days earlier records. In you case, you can change it to sy-datum - 1, so that the previous day's record will only be considered.

 

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

 

Yes

 

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

 

Based on the time when you fetch data, you can write the code, normally we run it midnight after 12AM, which actually means we need to pull yesterday's data. so the code sy-datum - 1 will work for you. 

 

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

 

In the Infopackage data selection screen, you need to include the confirmed code by following the below procedure.

 

1) Data Selection tab, 8th column will be Type

2) Click on the input help, you will get a pop up as below, choose ABAP Routine

3) Give a description to the routine and click on Editor, just copy paste your and check for errors.

 

Capture.PNG 

 

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.

 

I am not sure about this. Let me try to do some research. Meanwhile you try the code part. We many also get help from others in meantime.

 

 

Regards

Karthik


Viewing all articles
Browse latest Browse all 8509

Trending Articles



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