on 03-16-2015 11:32 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.