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

Function module based delta data source is not working.

0 Likes
1,794

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

No Prem, that above code is also not working. Changed records are not being captured .

I got few questions ?

1.How you are popluating ZDATE.? it will always have blank data

2.are you setting ZDATE as delta field in generic delta option in RSO2 along with the code?

3. any changes in includes of that function module ?

prem_shanker
Participant
0 Likes

Hi,
please check my commets below