‎2013 Jul 23 12:43 PM
Hi ,
I'm new to ABAP and was trying out some stuff, I came across this issue while calling the function module from the ABAP program.
I tried to create a function module which is Remote enabled and called the function from an ABAP program
The error screen is in the last screenshot in the ABAP editor.
Could you please help me resolve this issue
Regards,
Prathik
‎2013 Jul 23 12:49 PM
Remove Dots. (.) from A1 and B1.
Declasre another variable c1 as I and put import also.
Put . after C1.
CALL FUNCTION 'ZF_DEMO'
EXPORTING
A = A1
B = B1
IMPORTING
SUM = C1.
You need to put Import also because the function has to return value.
‎2013 Jul 23 12:48 PM
Hi Prathik,
Please remove the '.' after 'A1' at Line #16.
As you have ended the line by putting a DOT the system is unable recognize variable B.
Regards,
Santanu.
‎2013 Jul 23 12:49 PM
Remove Dots. (.) from A1 and B1.
Declasre another variable c1 as I and put import also.
Put . after C1.
CALL FUNCTION 'ZF_DEMO'
EXPORTING
A = A1
B = B1
IMPORTING
SUM = C1.
You need to put Import also because the function has to return value.
‎2013 Jul 23 12:55 PM
Hello Prathik
Also make sure that the Function Module has been activated.
Best regards,
Peter
‎2013 Jul 23 12:52 PM
Hi Prathik,
You are getting this error because you have ended the statement after A1 with the period(.).
Just remove that period and activate it.
‎2013 Jul 23 12:59 PM
In exporting , You have ended with statement DOT . Can you remove it
There's no Import Add Import then only you will get addition of those A + B
Regards,
Bastin.G
‎2013 Jul 23 1:00 PM
‎2013 Jul 23 1:01 PM