Skip to Content
0
Former Member
Apr 10, 2009 at 06:10 PM

FM and SWO1question

39 Views

I created a FM with import parameter MATNR, Remote Enable is set.

When I attach this FM to a business object by using SWO1, it says:

"Data type MATNR cannot be used for methods"

The reason is:

"You tried to create a method in the BOR with a data type that is not supported. Only data elements and structures are allowed as reference types for parameters in the BOR."

But when I change the parameter in the FM, not passing by value, It says:

"Reference parameters are not allowed with RFC"

If I set the FM to not remote call enable, I cannot attach to the business object type.

How can I solve this problem? Thanks!