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
How are BAPI different from Normal function modules ?
In a loop of an internal table, what is the use of at first & at last statements?
How to create a check box/option button in a list?
What are the basic objects of the data dictionary?
What is a table cluster? : abap data dictionary
Explain the difference between call screen and leave screen?
what is difference between user exit, customer exit and badi?
How would you set the formatting options statically and dynamically within a report?
if while coding power goes off , how to retrieve the codes?
What is a badi?
How can we use multiple transactions by using bdc_insert? : abap bdc
Explain what are the various types of selection screen event?
Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel
What are the system table used in abap?
How to determine the attributes of an internal table?