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


Please Help Members By Posting Answers For Below Questions

What is a currency factoring technique?

695


What is the lock object?

597


What is bdc? : abap bdc

604


What are the buffering types?

599


Difference between BDC vs Direct Loads?

657






What are domains and data element? : abap hr

599


how do you call third selection screen ?

1637


What is primary index?

532


What is the difference between getting and get late?

585


What is the function of a data element?

620


What is a report?

748


Is there any method apart from bdc for data upload to sap? : abap bdc

609


Where can you find error log for call transaction? : abap bdc

721


Why do we use abstract class

1025


What are the system table used in abap?

583