Skip to Content
avatar image
Former Member

SELECTIVE REPLICATION IN slt

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 29, 2017 at 10:32 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 08, 2017 at 04:54 PM

    Hi Tanush,

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

    Thanks

    Arun

    Add comment
    10|10000 characters needed characters exceeded