Skip to Content
0
Former Member
Apr 20, 2005 at 02:44 PM

Importing functions to 46 from 47

19 Views

Hi,

I found a FM in 47 that is not available on 46. My program is on 46.

I copied and pasted the code from the FM from 47 into my program in 46. How do I format the code I just pasted to get this working? I keep getting an error message about FUNCTION-POOL. When I look in F1, I can't find the correct formatting for functions declared within a program. It looks something like

CALL FUNCTION '47FUNCTION'
EXPORTING
  STRING   = STRING1
IMPORTING 
  STRINGA  =STRING2.

*&--47FUNCTION---------------
FUNCTION 47FUNCTION
CODE
CODE
CODE
...
ENDFUNCTION.