What is the difference between macro and subroutine?
Answer Posted / suman
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 ? | 241 Yes | 20 No |
Post New Answer View All Answers
What is the difference between rfc and bapi function modules? : abap bdc
how 2 create the normal form by using functional module
What are the ways you can do the tuning?
Value table VS check Table.
Can i Have Some Realtime Examples on Badi ?
data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.
What are the attributes of a field that can be activated or deactivated during runtime?
How do you document ABAP programs? Do you use program documentation menu option?
How would you define the exponents for a type ‘f’ field?
What are the types of views? : sap abap data dictionary
how do you transport lsmw data from one system to another?
Explain the properties of selection screen?
What is the use of abap data dictionary? : abap data dictionary
What is a data dictionary? : sap abap data dictionary
What is the difference between free and refresh?