cancel
Showing results for 
Search instead for 
Did you mean: 

SELECTIVE REPLICATION IN slt

Former Member
0 Kudos

Hi ,I have a table called as DRAD in ECC. In it there is a column named OBJKEY. Now OBJKEY has values with different lengths. Basically i want to have a check in it where the last 4 charachters is not equal to '2005' skip the records. I have created a EVEN-RELATED RULE WITH BOR. This is my include.

DATA: var TYPE string,
var2(4) TYPE c,
length TYPE n LENGTH 5,
diff TYPE n LENGTH 5.

var = <wa_s_drad>-OBJKY .
length = STRLEN( var ).
diff = length - 4.
var2 = var+diff(4).
if var2 NE '2005'.
SKIP_RECORD .
endif.

basically nothing happens and the table is neither in load state nor failed states.

any leads will be appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Tanush,

Did you try reloading the entire table after applying the changes to the Tables in LTRS.

Thanks

Arun

Andrey_M
Advisor
Advisor
0 Kudos

do you have other tables in same configuration that are successfully replicated?
I'm not sure that yor problem is releated to the rule that you created - at least the table must change the status from load to replication even no records are replicated. Did you try to replicate this table without any filter?

Former Member
0 Kudos

Yes it replicates without filters