cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module based delta data source is not working.

0 Likes
1,791

I am trying to create a function module-based delta data source.

  • 1.Delta will be based on CPUTM (time of entry) and AEDAT (changed on)
  • 2.Setting CPUTM as delta pointer and safety interval low as 1
  • 3.Using the standard template RSAX_BIW_GET_DATA
  • 4.In E_T_DATA, passing the extract structure name
  • 5.The delta loop is written in the code is as below

ranges: l_r_CPUTM forMKPF- CPUTM,

l_r_ AEDAT forMKPF- AEDAT.

LOOP AT s_s_if-t_select INTO l_s_select.

CASE l_s_select-fieldnm.

WHEN ‘CPUTM’.

ls_ CPUTM -sign= ‘I’

ls_ CPUTM -option= ‘EQ’.

APPEND l_r_ CPUTM.

WHEN ‘AEDAT’.

ls_ AEDAT -sign= ‘I’

ls_ AEDAT -option= ‘EQ’.

APPEND l_r__ AEDAT.

ENDCASE.

ENDLOOP.

Is there anything wrong as the changed records are not pulled up?

View Entire Topic
prem_shanker
Participant
0 Likes

Hi Sudip,

From above I understood that you are using this time field CPUTM for delta.

Please provide your Select statement on how you are putting the record from the table

My recommendation is to use TSTMP (Timestamp field) by concatenating Date and Time i.e. AEDAT and CPUTM.

Then use the timestamp field for Delta.

This will make it very simple.

Than k you!!