Skip to Content

SAP LT ABAP to ABAP- Hoe to restrict specific data not to be sent to target system

Hi Experts,

We are using SAP LT for replicating data on table level from ABAP to ABAP system.

I have two scenarios where I am stuck how to handle data transfer :

1. While transferring data I want to transfer based on specific criteria Example . if PLANT = 'ABCD' then transfer those records from MARC table which satisfy this condition to Target ABAP system.

2. While transferring data from source to target system we do not want to overwrite few fields in Target system based on some conditions. Example KNA1 table - IF field value for BRSCH (Industry) = 'ABC' then do not overwrite value in KNA1 in target system for field BRAN1 (Industry Code1) and other field values in KNA1 should be updated as per source system except BRAN1 field value.

If we can achieve this via transformation rules , then please let me know few examples to achieve these scenarios.

Please let me know is there any way we can achieve above two scenarios in SLT ABAP to ABAP. Thanks.

Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 05, 2016 at 09:58 AM

    Hello Sanjana,

    Check out transaction IUUC_REPL_CONTENT to specify advanced replication settings. You can use this to control the records being replicated to HANA using custom ABAP code.

    Refer the "Guide_for_Replication_Settings.pdf" available in the SAP Note - 1733714

    Section 5 (Customizing the Replication Settings) of the above mentioned document has answers to both the questions you posted.

    Regards,

    Shyam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2016 at 01:30 PM

    Hi Sanjana,

    Please use LTRS as mentioned by Alok Varma. Its more easy to use LTRS.

    For coding we have 2 ways to do that 1) Parameter based

    2) Event based

    Thanks

    Abilash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.