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 do you use tab sets in layout sets?
How to create any functions?
What are the components in sap application server?
What was the requirement of IDoc in your project? How it was working?
How do you find out who has transported a transport request?
What are field symbols and field groups? Have you used component idx of structure clause with field groups?
What are the different methods of passing data?
What is the structure of the bdc table? : abap bdc
What are the different functions used in sap script? What are the parameters used in each function?
How can we send data to external programs?
How do you retrieve the data for repetitive structures ? : abap hr
What is a data dictionary? : abap data dictionary
What is a projection view? : abap data dictionary
What is is a match code? : abap data dictionary
Explain about interactive report?