Application Development 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: 

Passing untyped structure to a RFC function

dany_charbonneau
Explorer
0 Kudos

Hi,

I need to use parallel process and therefore, I must use a RFC enable function.

My process must be dynamic so I have to use a dynamic interna table like :

FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE.

Unfortunalty, it seems impossible to pass an untyped structure to a RFC enabled function.

I do not want to use "export to database" for obvious performance reasons. It also doesn't make sense to use shared memory object to acheive this...

Is there any trick I can use here ?

Thanks !

2 REPLIES 2

former_member589029
Active Contributor
0 Kudos

We used an RFC to migrate data from different tables from system 1 to system 2. Since the structures of the tables were different we basically had the same problem. To solve it we moved all the data from one table (system1) into an internal table of type char1000 and based on the dictionary structure extracted the data in system 2 back into the db table.

Since we had a few very large tables we did the transfer in packages of 100,000 at a time.

Hope that helps.

Michael

Former Member
0 Kudos

Dany,

I tried serializing the dynamic table to xml, the operation takes too long, almost 10 seconds for 200K records.

I tried to serialize using strings, even worse...

No result so far sorry

Isidoro!