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: 

Problem in BAPI creation

Former Member
0 Kudos

Hi,

I have created a Function Module as Z_DOC_READ as a local Object.

Now , I am trying to make it as RFC enabled. But, It not allowing to do that.

Instead it is throwing one Message as

"GENERIC TYPES ARE NOT ALLOWED IN RFC".

Please let me know, what is the wrong with this?

Any steps to be followed, while Making the FM as RFC enabled?

Please let me know.

Regards

Sandeep

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

You are using any genereic Data type while doing data declarations.

Search forum for GENERIC TYPES and re-check your code and change them.

2 REPLIES 2

amit_khare
Active Contributor
0 Kudos

You are using any genereic Data type while doing data declarations.

Search forum for GENERIC TYPES and re-check your code and change them.

Former Member
0 Kudos

You might have used generic data types for the interface parameters(like Import, Export, Tables..).

For an RFC function module, the associated type of an interface parameter should be a dictionary type.