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

Function module based delta data source is not working.

0 Likes
1,796

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
0 Likes

Hello Prem,

My mistake. it should be CPUDT. (Date of entry).in the the above code it should be CPUDT insted of CPUTM and the selection i am using is

select * MKPF where

CPUDT in l_r_CPUDT AND

AEDAT in l_r_AEDAT endif.