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

RFC Definition Errors

Former Member
0 Likes
1,900

Hi All,

While creating a RFC function module, i have defined tables as follows.

Is it prohibited to use table type while defining the tables in the RFC?

The same pattern of definition works fine while defining the normal Function Modules...

Any idea to overcome this issue??

Regards

Pavan

7 REPLIES 7
Read only

Former Member
0 Likes
1,823

Hi,

Try making them 'Optional' and see if works.

Regards,

~Athreya

Read only

0 Likes
1,823

Hi Athreya,

I tried with selecting 'Optional' check box... Did not work..

Again getting same error as follows..

Only tables with flat line structures are allowed in RFC.

Regards

Pavan

Read only

0 Likes
1,823

Hi All,

I tried even using structures directly instead of table types for Tables definition.

The system popped up same error.

The system used is ECC 6.0 with Basis 700, SP level 009.

Interestingly such errors are not popping up in another system which is EHP7 Release 740 with SP level 004.

Any thoughts to overcome this issue???

Regards

Pavan

Read only

0 Likes
1,823

You can use Import/Export parameter with table types instead the Tables parameter.

I have just tested in version 7.02 sp 14 and also it is not possible to use table type in Table parameter.

Regards,

Felipe

Read only

Former Member
0 Likes
1,823

HI,Change the 'TYPE'  to 'LIKE' and press twice 'ENTER' will be ok.

Regards,

Jinbin

Read only

0 Likes
1,823

No, LIKE also does not support table types, you must use flat structures.

Read only

0 Likes
1,701

Check if there are string type in the structures defined. RFC don't support using string in tables parameter.