Skip to Content
0

SELECTIVE REPLICATION IN slt

Jun 28, 2017 at 02:50 PM

90

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Andrey Martynov
Jun 29, 2017 at 10:32 AM
0

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?

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Yes it replicates without filters

0
avatar image
Former Member Aug 08, 2017 at 04:54 PM
0

Hi Tanush,

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

Thanks

Arun

Share
10 |10000 characters needed characters left characters exceeded