What are subroutines?
Subroutines are program modules which can be called from other ABAP/4 programs or within the same program.
Subroutines are program modules which can be called from other ABAP/4 programs or within the same program.
A. By defining macros.B. By creating include programs in the library.
A. By defining macros.B. By creating include programs in the library.
A. Internal Subroutines: The source code of the internal subroutines will be in thesame ABAP/4 program as the calling procedure (internal call). B. External Subroutines: The source code of the external subroutines will be in anABAP/4 program other than the calling procedure.
A. Internal Subroutines: The source code of the internal subroutines will be in thesame ABAP/4 program as the calling procedure (internal call). B. External Subroutines: The source code of the external subroutines will be in anABAP/4 program other than the calling procedure.
Formal parameters: Parameters which are defined during the definition of subroutinewith the FORM statement. Actual parameters: Parameters which are specified during the call of a subroutine withthe PERFORM statement.
Formal parameters: Parameters which are defined during the definition of subroutinewith the FORM statement. Actual parameters: Parameters which are specified during the call of a subroutine withthe PERFORM statement.
A. Input parameters are used to pass data to subroutines.B. Output parameters are used to pass data from subroutines.
A. Input parameters are used to pass data to subroutines.B. Output parameters are used to pass data from subroutines.
A. Calling by reference: During a subroutine call, only the address of the actualparameter is transferred to the formal parameters. The formal parameter has no memory of its own, and we work with the field of the calling program within the subroutine. If we change the formal parameter, the field contents in the calling program … Read more