‎2008 Jan 16 7:40 PM
Hi,
I have just developed a remote enabled FM with 3 import parameters.
one of them is " ADD TYPE C."
When I try to activate it I am getting a message:
" GENERIC TYPES ARE NOT ALLOWED IN RFC ".
Will it encounter any problems during a RFC call?
goldie.
‎2008 Jan 16 7:44 PM
‎2008 Jan 16 7:44 PM
Hi Goldie,
Try to change the type to refer to a similar data element in dictionary. With RFC, generic types don't work.
Did you try to activate the FM?
Thanks
Sanjeev
‎2008 Jan 16 7:49 PM
Yes, I got the message when I tried to activate it.
what are generic types? and what are the other types.
If you have a link, please send it.
Really apprecitate your help.
‎2008 Jan 16 7:44 PM
‎2008 Jan 16 7:50 PM
That worked!!
Thanks Rich.
Whats the difference between CHAR01 and C?
‎2008 Jan 16 7:55 PM
C is a pre-defined data type in ABAP, the reason it is generic in this case, is because there is no length assigned, even though we all know the default is 1 for its length. CHAR01 is actually a data element in the ABAP Dictionay which has a character type, and a length of 1, this is why it works.
Regards,
Rich Heilman
‎2008 Jan 16 8:08 PM