SUBROUTINES

Module Objectives

  • Define and call subroutines
  • Define and use parameters
  • Define global and local data

Defining and Calling Subroutines 

Defining a Subroutine:

FORM subroutine USING lp1 lp2.
...
...
ENDFORM.

Calling a Subroutine:

PERFORM subroutine USING f1 f2.

Using Parameters to Pass Data

CHANGING
  •  Pass By Value & Result
USING
  • Pass By Reference 
  • Pass By Value

 TABLES 

  • Pass By Reference 

    Parameters Example

    parameter
    parameter

     

Comments

Post a Comment

Popular posts from this blog

SAP ABAP SELECT STATEMENT

SAP ADOBE FORMS

ABAP AUTHORIZATION CONCEPT