Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Forms & Function........

Former Member
0 Likes
1,013

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

1 ACCEPTED SOLUTION
Read only

alex_m
Active Contributor
0 Likes
943

Are you talking about Subroutine and Fuctional module.

Subroutine used inside the program, but FM common to all program.

4 REPLIES 4
Read only

alex_m
Active Contributor
0 Likes
944

Are you talking about Subroutine and Fuctional module.

Subroutine used inside the program, but FM common to all program.

Read only

Former Member
0 Likes
943

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...

Read only

Former Member
0 Likes
943

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

Read only

0 Likes
943

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