What are the differences between Macro & subroutine?
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwyRXkoUtjUrVWtAIEmDCH8cCgxD00WdjmfSh-UhfcCrt5BBRM4PpimXZQ291zTyyAzepi3IA8JBNWOjyl4kue8xZZrtxjpM0rzq0hEI_qIMsWShHasBT1MDk2UvNTGvvusAUdJWEMu38/w400-h225/SAP+ABAP.jpg)
Macro |
Subroutine |
1. Definition
& calling in the same program. |
1. Definition
& calling may/may not in the same Program. |
2. Definition
should be the 1st & calling should be The next. |
2. Calling
should be the 1st & Definition should Be the next. |
3. Macros can take up to 9 inputs. |
3.
Subroutines can take any no of inputs. |
4. Macros cannot be debugged. |
4. Sub-routines
can be debugged at run time. |
No comments:
Post a Comment