Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to update the Z table dynamically between two systems

Former Member
0 Likes
556

I have a couple of custom (Z) tables in SAP R/3 system and have the same Z tables in SAP CRM system as well. I need to retrieve the data from R/3 tables and update the tables in SAP CRM system. We don't want to use any replicate process. Just want to write a program to update the tables in SAP CRM system directly from SAP R/3 system tables.

I am looking for a program or Function module for this update. Any hints are appreciated.

1. I am retrieving the data from SAP R/3 system using RFC_READ_TABLE. - This is working.

2. Now I need to delete the entries from the same table in SAP CRM system and insert the entries retrieved from SAP R/3 system. Is ther any FM available?

Thanks for your help.

I have a couple of custom (Z) tables in SAP R/3 system and have the same Z tables in SAP CRM system as well. I need to retrieve the data from R/3 tables and update the tables in SAP CRM system. We don't want to use any replicate process. Just want to write a program to update the tables in SAP CRM system directly from SAP R/3 system tables.

I am looking for a program or Function module for this update. Any hints are appreciated.

1. I am retrieving the data from SAP R/3 system using RFC_READ_TABLE. - This is working.

2. Now I need to delete the entries from the same table in SAP CRM system and insert the entries retrieved from SAP R/3 system. Is ther any FM available?

Thanks for your help.

2 REPLIES 2
Read only

JoffyJohn
Active Contributor
0 Likes
490

Design your own remote enabled function module

for this purpose.

Read only

former_member848108
Active Participant
0 Likes
490

Hello Chandu,

You write a remote enable Function Module and use an untyped table parameter and a parameter for the table name for this purpose. You will need some dynamic programming for the updates.

Ozcan.

Edited by: Ozcan Gurdal on Jun 11, 2010 8:40 AM