cancel
Showing results for 
Search instead for 
Did you mean: 

Custom delta not working

Former Member
0 Kudos

Hi All,

I am using a custom delta extractor via function module. It is not working and extracting zero records when run in delta mode.

I am using below piece of code, when i put breakpoint on first line and test using RSA3 it doesnt hit debugger and extraction is finishing with zero records. However full extraction via same code and  extractor is working fine. Can you please let me know where the problem may be or what should i check?

--->(i am using break point here)     LOOP AT ss_if_t_select INTO l_s_select WHERE fieldnm = 'SUBID'. "“I_T_SELECT IS AN
*INTERNAL TABLE OF TYPE G_T_SELECT
MOVE-CORRESPONDING l_s_select TO r_subid. " “L_R_CDATE "IS DEFINED TO
*CONTAIN RANGE OF DATES
APPEND r_subid.
ENDLOOP.

LOOP AT i_t_select INTO l_s_select WHERE fieldnm = 'UPDDATS'.
MOVE-CORRESPONDING l_s_select TO r_upddats.
r_upddats-sign = 'I'.
r_upddats-option = 'GE'.
CLEAR r_upddats-high.
APPEND r_upddats.
ENDLOOP.

Thanks

Nayab

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nayab,

Delta extractor based on FM have many factors involved. Like your delta relevent field, then your data selection statement in OPEN CURSOR, safety limits.

Also if you have delta data available for your extractor as Kushal has already pointed out.

Can you let us know following to help you out further?

Delta Relevant Field

OPENCURSOR statement

Safety Limits

How are you manipulating delta enabled selection in your FM code?

Thanks

Amit

Former Member
0 Kudos

Hi Nayab,

When there are no new/changed records,the extractor will pick zero records. It does not hit the debugger if you try to debug the extraction when there are no records to fetch.

Try to run the extraction having some records for delta, I guess it should work fine.

Regards,

Kushal