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: 

RFC Definition Errors

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

Hi,

Try making them 'Optional' and see if works.

Regards,

~Athreya

0 Kudos

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

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

Regards,

Jinbin

0 Kudos

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