‎2008 May 30 10:43 AM
‎2008 May 30 11:25 AM
Hi,
I think you should search first like this simple question on this forum, if you not satisfie then post the thread.Its the way to find the solution of our question.
And second thing, after posting the thread and got satisfie then you should close the thread...
Rgd
Rahul
‎2008 May 30 10:44 AM
Hi,
I searched the forum with the terms "difference between function module and subroutine" and found loads of answers.
You may want to do the same.
Regards,
Nick
‎2008 May 30 10:45 AM
‎2008 May 30 10:54 AM
removed by moderator
Edited by: Durairaj Athavan Raja on Jun 2, 2008 3:40 PM
‎2008 May 30 10:45 AM
Nick Young had suggested a way to find the answer , even after that if you people keep posting answers, people will forget about searching and you will find the same question repeated many times here. (of course everytime with copy/paste from help.sap.com and sometimes even misleading/wrong answers). Please stop this.
i am deleting all the answers in this post. let the user search the forum.
Raja
Edited by: Durairaj Athavan Raja on Jun 2, 2008 3:35 PM
‎2008 May 30 10:48 AM
Manik,
you might want to have another look at FM and subroutines, because I don't think I agree with all your statements, for example:
1. Sub routines doesn't return any values.
Why wouldn't a subroutine return a value? As a matter effect, a subroutine SHOULD often return a value!!!!
‎2008 May 30 10:55 AM
Micky,
You'll like this...
Follow the two links posted by Venkat, they both include the answer posted by Manik, posted by other people.
It's almost as if poeple are posting information without really understanding it.....
Regards,
Nick
‎2008 May 30 10:55 AM
what means import and export n changing thy stand for return value man
‎2008 May 30 10:59 AM
>
> It's almost as if poeple are posting information without really understanding it.....
you can bet your sweet bottom this is happening all the time!
‎2008 May 30 11:02 AM
Nick,
Seems you are right, but where are they getting this stuff from???
I searched on help.sap.com and help functions via ABAP editor, but I can't find anything like it.
But unfortenately I have seen this behavior before....too bad.
Regards,
Nick.
‎2008 May 30 10:46 AM
removed by moderator
Edited by: Durairaj Athavan Raja on Jun 2, 2008 3:38 PM
‎2008 May 30 10:47 AM
removed by moderator
Edited by: Durairaj Athavan Raja on Jun 2, 2008 3:39 PM
‎2008 May 30 10:48 AM
removed by moderator
Edited by: Durairaj Athavan Raja on Jun 2, 2008 3:39 PM
‎2008 May 30 10:48 AM
‎2008 May 30 11:02 AM
removed by moderator
Edited by: Durairaj Athavan Raja on Jun 2, 2008 3:40 PM
‎2008 May 30 11:25 AM
Hi,
I think you should search first like this simple question on this forum, if you not satisfie then post the thread.Its the way to find the solution of our question.
And second thing, after posting the thread and got satisfie then you should close the thread...
Rgd
Rahul
‎2008 May 30 11:31 AM
and the correct answer actually is:
it does not matter, we're supposed to use methods anyway
‎2008 Jun 02 2:01 PM
Fn Modules can be called in any program .
Sub routines can also be called but the program needs to be called vai submit option .
Fn modules are executed outside the program area , but subroutines are exectued inside the program .
U can maintain the exceptions separately but subroutines u need to hard code and i dont think the same exceptions are possible for all the programs calling them .
Reward points if useful