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
What is a subroutine?
What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?
What abap statement will trigger list generation?
How is time management and payroll is integrated? : sap abap hr
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?
What is the structure of the bdc table? : abap bdc
How can we access the correction and transport system?
What happens if only one of the commands set screen and leave screen is used without using the other?
What is the difference between synchronous and asynchronous updates?
Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?
What are the functional areas? User groups? and how does ABAP query work in relation to these?
Can there be more than 1 main window in sap script?
Explain the disadvantage of using exec sql statement in abap?
How is the command suppress-dialog useful?
Explain get pernr concept when we use logical data base? : abap hr