0% found this document useful (0 votes)
149 views

ABAP Subroutines

Subroutines are programming modules that can be called from ABAP/4 programs to modularize and structure code by putting frequently used parts into reusable subroutines. A subroutine is defined with the keywords FORM and ENDFORM, including an optional name and parameters, and is called from the main program.

Uploaded by

ssvallabhaneni
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views

ABAP Subroutines

Subroutines are programming modules that can be called from ABAP/4 programs to modularize and structure code by putting frequently used parts into reusable subroutines. A subroutine is defined with the keywords FORM and ENDFORM, including an optional name and parameters, and is called from the main program.

Uploaded by

ssvallabhaneni
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 5

Subroutines

Subroutines
Subroutines are programming modules which can be called from ABAP/4 programs. Frequently used parts of program can be put into subroutines and these subroutines can be called explicitly from the program.

Subroutines contd.
We use subroutines mainly to modularize and structure our program.

Defining Subroutines
A subroutine is a block of code introduced by FORM and concluded by ENDFORM. FORM <name> <parameters. <..> ENDFORM.

Calling subroutines

You might also like