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 the differences between structure and table in data dictionary in abap?
What is the difference between Exit and Stop?
Can we use flow logic control key words in abap/4 and vice-verse?
Explain how many types of tables exist and what are they in data dictionary?
What are the uses of secondary indexes?
What are the other modules integrated with om? : sap abap hr
What is a view in sap? : abap data dictionary
Application Category?
What are plan versions used for? : sap abap hr
What is the use of table control in bdc is it same in module pool table control? : abap bdc
What is the significance of hide?
How can we access the correction and transport system?
What will you code in start-of-selection & end-of-selecton & why?
What is the difference between the exits created in M.M and S&D?
Define database layer?