What is the difference between macro and subroutine?
Answer Posted / maya patil
1.macro doesn't have any return statement...but a subroutine
can have ..
2.execution time needed for a macro is much lesser than
subroutine
3.memory requirement for a macro is generally heigher..
4.subroutine can be classified as stated in Previous
answers..but no such classification is available with macro
although macro can have different types of nested form
5.generally no of instructions in macro are smaller than
subroutine
6.macro is always local to the program that defines it..
subroutine may or may not be local..
| Is This Answer Correct ? | 82 Yes | 12 No |
Post New Answer View All Answers
any 1 having notes on SAP-ABAP certification, or even if any 1 could provide the url for getting notes on SAP-ABAP certification, would be appreciated.
What is the difference between a dialog program and a report?
What are two methods of modifying sap standard tables?
Why bapi need then bdc ? : abap bdc
while implementing badi what are the tables u find??
What are the check tables and value tables?
Exception handling and how does it transfer from called method to calling method?
What is a data class? : abap data dictionary
What is meant by slab? How is indian slab and us slab? : sap abap hr
Explain what is a logical database?
What are the system fields? Explain?
In Smartforms or ADOBE Forms Can we get text from standard table in verticle form? if yes, How?
Why grouping of fields is required? What is the max no of modification groups for each field?
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary
What is the difference between commit-work and rollback-work tasks?