What is the difference between macro and subroutine?
Answer Posted / digant mehta
Subroutine: When a task is to be done repeatedly then it is written as subroutine and this subroutine will be called each time to perform that task.Subroutine program will be stored in some memory location and program control will be transfered to that location each time.where as in macro the number of instructions will be less than subroutine.Here each time u call a macro that set of instructions will be inserted in that location.It is faster than subroutine.But memory requirement is more than subroutine.
Read more: http://wiki.answers.com/Q/Difference_between_macro_and_subroutine#ixzz1JBBfwedM
| Is This Answer Correct ? | 18 Yes | 12 No |
Post New Answer View All Answers
What is an “on input filed” statements?
How many lists can a program can produce?
Why is pretty printer user in abap?
What is netweaver???what is the relationship with ABAP?
It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization
What is lock mechanism? How do we create lock objects in abap?
What is delivery class? : abap data dictionary
How do you read files from the application server ? : abap bdc
Is there any method apart from bdc for data upload to sap? : abap bdc
what is the difference between Blocked ALV and interactive ALV?
Search help exit details.
Explain how many types of tables exist and what are they in data dictionary?
SM35 transaction, How to automate BDC ?
What are the different types of luws?
Reports: Event functionality.