‎2007 Apr 18 2:42 PM
Hi there,
Please elucidate me the diffrence between forms & functions from ABAP point of view.........please try to make it lucid for me to understand as I'm functional consultant ........and got very little knowledge in ABAP.
Thanks
Kaushik
‎2007 Apr 18 2:44 PM
Are you talking about Subroutine and Fuctional module.
Subroutine used inside the program, but FM common to all program.
‎2007 Apr 18 2:44 PM
Are you talking about Subroutine and Fuctional module.
Subroutine used inside the program, but FM common to all program.
‎2007 Apr 18 2:46 PM
forms are like scripts/smartforms which are used to print data of standard transactions according to user requirements... these are driven by programs....
functions are programs which are written in se37 and execute for output purposes for EDI or normal output or remote output etc...
‎2007 Apr 18 2:47 PM
Hi,
You are talking about the Subroutine Forms or the Script/Smartforms
We define subroutines like PERFORM <name> using...
and write the code in FORM...ENDFORM.. They are Local to a Program, and they can't return a value.
(whereas the Script forms are created and changed in SE71 Tcode and for smartforms it is SMARTFORMS is the Tcode.)
Functions means function Modules are sap predefined programs which will give some output based on the input paramters.They are global programs and returns values.
reward if useful
regards,
ANJI
‎2007 Apr 18 2:55 PM
Hi Anji Reddy Vangala,
To extrapolate the query further if the Subroutine Forms can't return a value........then can you please tell me its usage ..........
Second thing is as per my understanding we can also write our own functions in SAP and call them in the programs .........
Am I right ??
Thanks
Kaushik