cancel
Showing results for 
Search instead for 
Did you mean: 

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

sanjana_lingras
Active Participant
0 Kudos

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,

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182465
Active Participant
0 Kudos

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

ShyamPindiproli
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi Sanjana,

Yes this is pretty much feasible using the transaction LTRS. Both the scenarios can be covered by using transaction LTRS.

Thanks

Alok