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

Using Table types in RFC

Former Member
0 Likes
3,716

Hi All,

I am trying to create one RFC. But in that RFC, I wish to use Table types as import and export parameters completly avoiding Tables tab. Will that effect the performance of RFC if I use Table types. If Yes, Please give clear clarification where it effects the performance.

Also please let me know how the performance of the RFC is effected if we use Tables tab.

Thanks,

Ravee..

5 REPLIES 5
Read only

uwe_schieferstein
Active Contributor
0 Likes
1,835

Hello Ravee

Since TABLES parameters are obsolete you should always use table types for "itab" parameters.

The system will always show you a warning about possible performance problems which you can ignore.

And if you ever really run into a performance problem with these table type parameters you could do a transformation within the RFC-fm (itab -> XML binary stream) and make the re-transformation (XML binary stream -> itab) in your calling program.

Regards

Uwe

Read only

Former Member
0 Likes
1,835

are you asking whether you can use Sorted or Hashed tables as parameters?

Yes, you can.

And it will have no effects on the RFC but positive effects on the processing

in the RFC-function.

Siegfried

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
1,835

Hi,

The performance is effected as the response time of the FM depends on the amount of data that you are trying to get from the remote system.

If you have TABLE TYPES in your import and export paramteres the amount of data that needs to be sent and receive is decided only at the run time. Where as for normal types the amount of data is always constant. For table types its depends how many records of data you want to send to the FM and how many records you want to read from the FM.

The performance in case where you have table types depends on the amount of data and the bandwidth of you network.

Regards,

Sesh

Read only

Former Member
0 Likes
1,835

Hi:

Now using of table parameter is obsolete, an example can be found in latest release like Ecc 6.0 onwards.

Regards

Shashi

Read only

0 Likes
1,835

"I wish to use Table types as import and export parameters completly avoiding Tables tab."

I'm not sure if Tables can be avoided, if just using regular ABAP. I know that the Importing tab would not work when I tried it (under vrs 4.6b).

Because you are launching separate processes, in separate memory areas: any parameter you use in RFC has to be known by the calling and the callee functions/programs. This means that you need a common reference. If you have more than one function module in a function group, you can use the TOP file and a 'Z' data dictionary structure.

I hope that this helps,

Dan Perecky